Lennart Poettering
46574a5b4a
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations
2010-10-14 02:58:37 +02:00
Lennart Poettering
d48141ba0b
umount: try to get rid of DM devices
2010-10-14 02:33:09 +02:00
Lennart Poettering
2ca1b42253
shutdown: log to console by default
2010-10-14 01:27:31 +02:00
Lennart Poettering
85ed27f699
units: introduce kexec.service, kexec.target and exit.target
2010-10-14 00:57:52 +02:00
Fabiano Fidencio
bec9996d6a
vala: register new D-Bus calls
2010-10-14 00:56:50 +02:00
Lennart Poettering
20b09ca7fd
systemctl: rework halt/reboot/poweroff/kexec/exit logic around --force
2010-10-14 00:56:12 +02:00
Lennart Poettering
0003d1ab75
manager: hookup shutdown helper and signals
2010-10-14 00:54:48 +02:00
Lennart Poettering
6652a2b9e5
dbus: expose shutdown helper via D-Bus
2010-10-14 00:53:51 +02:00
Fabiano Fidencio
b9080b03a9
manager: hookup execution of systemd-shutdown helper
...
(Modified by Lennart Poettering)
2010-10-14 00:52:26 +02:00
Lennart Poettering
e61cd18666
shutdown: make use of wait_for_terminate_and_warn()
2010-10-14 00:50:11 +02:00
Lennart Poettering
d37fb98bbc
shutdown: execute rescue kill only once
2010-10-14 00:49:53 +02:00
Lennart Poettering
567ea02a89
shutdown: don't chdir to /, since init is running with / as cwd anyway
2010-10-14 00:49:22 +02:00
Lennart Poettering
7e23b34c7d
umount: be a bit more verbose when unable to umount/unswap/delete loopbacks
2010-10-14 00:43:35 +02:00
Lennart Poettering
ce726252a9
umount: simplify code for deactivating loop devices
2010-10-14 00:43:13 +02:00
Lennart Poettering
b854a7e728
umount: properly enumerate loopback devices
2010-10-14 00:42:44 +02:00
Lennart Poettering
2054a5b8cb
umount: unescape path from /proc/self/mountinfo first, then check against api mount list
2010-10-14 00:41:57 +02:00
Lennart Poettering
f23c09b0fd
condition: fix copyright
2010-10-14 00:40:39 +02:00
Martin Pitt
60d19551d8
keymap: Apply force-release rules to all Samsung models.
...
The force-release list for Samsung is already an ultralong monster, and
reportedly still incomplete (see https://launchpad.net/bugs/574250 ).
Give up and instead apply the force-release quirk to all Samsung models. The
worst that can happen is that autorepeat behaves a bit weird, but that's much
better than a complete freeze after each keypress.
2010-10-13 18:08:41 +02:00
Lennart Poettering
491ad5dc66
mount: pull in fsck only in systemd instances
2010-10-13 17:18:36 +02:00
Kay Sievers
26e190cf87
move .h file from SOURCES to DIST to make vala autotools happy
2010-10-13 13:55:06 +02:00
Kay Sievers
fc416258f3
udevd: do not wrongly delay events for devices with swapped names
...
Renaming network devices might delay events for the other device, which has
the same devpath in the meantime as the original event. Causing a delay until
the timout of the event is reached.
Look at the ifindex/devnum of the devices to check if they are really
the same devices.
2010-10-13 13:08:29 +02:00
Kay Sievers
457c67e7c1
version bump
2010-10-13 13:08:29 +02:00
Lennart Poettering
9fff8a1f16
mount: hook in q fsck@.service instance for all mount points with passno > 0
2010-10-13 03:57:04 +02:00
Lennart Poettering
560d8f2381
systemctl: warn if user enables unit with no installation instructions
2010-10-13 03:13:23 +02:00
Lennart Poettering
2cccbca4fd
dbus: add introspection to midlevel paths
2010-10-13 03:03:31 +02:00
Lennart Poettering
37072578da
lookup: look for dynamic throw-away units in /dev/.systemd/system
2010-10-13 02:34:21 +02:00
Lennart Poettering
f601daa701
inotify: properly handle multiple inotify events per read()
2010-10-13 02:34:00 +02:00
Lennart Poettering
52661efd21
unit: add minimal condition checker for unit startup
2010-10-13 02:15:41 +02:00
Lennart Poettering
e04aad61bb
swap: major rework, use /sbin/swapon for setting up swaps, fix merging of aliased swap disks
2010-10-12 04:08:04 +02:00
Lennart Poettering
60b912f6b1
mount: minor cleanups
2010-10-12 04:08:04 +02:00
Lennart Poettering
538da63d53
systemctl: drop [] around date in status output
2010-10-12 04:08:04 +02:00
Lennart Poettering
4a9e2fffdf
systemctl: show whether we follow somebody in 'status' output
2010-10-12 04:08:01 +02:00
Lennart Poettering
06ae4bfeb0
update fixme
2010-10-12 04:04:22 +02:00
David Zeuthen
18f5c802df
Install libgudev-1.0.so in prefix / instead of prefix /usr
...
This is to match where libudev.so is installed and it works because
all dependent libraries are already installed in / instead of /usr on
most distros:
$ ldd /usr/lib64/libgudev-1.0.so
linux-vdso.so.1 => (0x00007fff44dff000)
libudev.so.0 => /lib64/libudev.so.0 (0x0000003bf2600000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003fb5200000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003fb4e00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003d5b000000)
librt.so.1 => /lib64/librt.so.1 (0x0000003d5b800000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003fb4a00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003d5ac00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003d5a800000)
With this change it is possible to write libgudev applications that
can be installed in /bin or /sbin and can run without /usr being
mounted. This is needed for e.g. udisks, NetworkManager and other
subsystem-specific daemons.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-10-11 12:10:02 -04:00
Lennart Poettering
50caaedb2c
service: introduce Restart=on-failure and Restart=on-abort
2010-10-08 18:34:54 +02:00
Lennart Poettering
c84ed68f30
units: enable utmp for serial gettys too
2010-10-08 18:22:44 +02:00
Lennart Poettering
c8f26f42e2
util: don't specifically check for the /dev/null major/minor, just check whether something is a char or block device
2010-10-08 18:22:28 +02:00
Lennart Poettering
6daf4f9001
unit: rename 'banned' load state to 'masked'
2010-10-08 18:21:52 +02:00
Lennart Poettering
169c1bda80
service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
...
This should fix accounting for pam_limits and suchlike.
https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08 16:07:50 +02:00
Kay Sievers
926e430133
systemd-shutdown: add umount.h to sources
2010-10-08 14:47:55 +02:00
Lennart Poettering
b9c0d4415b
systemctl: fix 'systemctl enable getty@.service'
2010-10-08 03:09:25 +02:00
Lennart Poettering
f34277d911
service: increase default timeout for sysv scripts to 3min
...
For SysV services we cannot set the timeout inside the configuration
file. Hence let's pick a large timeout by default.
https://bugzilla.redhat.com/show_bug.cgi?id=635393
2010-10-08 02:49:44 +02:00
Lennart Poettering
40b8a33210
mount: properly handle NULL fstype
...
https://bugzilla.redhat.com/show_bug.cgi?id=636752
2010-10-08 02:43:08 +02:00
Lennart Poettering
00dc5d769a
unit: introduce 'banned' load state for units symlinked to /dev/null
2010-10-08 02:31:36 +02:00
Lennart Poettering
c2b3f093d9
update fixme
2010-10-07 23:50:34 +02:00
Lennart Poettering
447be15505
systemd-user-sessions: install .service file and enable by default
2010-10-07 23:48:48 +02:00
Lennart Poettering
4a8a5b2963
user-sessions: properly unlink both nologin files
2010-10-07 23:16:48 +02:00
Lennart Poettering
e92787416c
user-sessions: add minimal utility to kill user sessions that shall be called before destroying services on shutdown
2010-10-07 22:38:40 +02:00
Lennart Poettering
83d8b7c179
shutdown: drop last referral to mp->read_only
2010-10-07 20:47:26 +02:00
Lennart Poettering
143b4e9b8d
shutdown: drop redundant read_only bool var
2010-10-07 20:46:35 +02:00