Commit Graph

880 Commits

Author SHA1 Message Date
Kay Sievers
16f6682d0b mount_cgroup_controllers: expect 2 items from fscanf() 2010-11-22 11:06:38 +01:00
Lennart Poettering
be8088a2fb systemctl: don't return LSB status error codes for systemctl show
Use them only for systemctl status.

https://bugzilla.redhat.com/show_bug.cgi?id=637183
2010-11-21 22:40:03 +01:00
Lennart Poettering
600a328fc2 mount: do not try to mount disable cgroup controllers
https://bugzilla.redhat.com/show_bug.cgi?id=655222
2010-11-21 22:29:10 +01:00
Lennart Poettering
c8b2e52cf6 systemctl: redirect enable/disable to chkconfig if applicable 2010-11-21 22:17:04 +01:00
Lennart Poettering
e9ecea8805 Revert "Revert "fsck: add new -l switch to fsck mount options""
This reverts commit c8bc83f5ea.

As Karel pointed out the -l switch doesn't actualy conflict with
per-filesystem options, since those can be seperated by -- in the
command line. Since -l is here to stay we hence enable it again for now.
2010-11-19 04:22:36 +01:00
Lennart Poettering
1cd4a9f0e9 cryptsetup: actually show disk name 2010-11-18 23:40:27 +01:00
Lennart Poettering
b1a2da0a79 cryptsetup: show udev device name when asking for password 2010-11-18 23:34:42 +01:00
Lennart Poettering
24a3597372 sysctl: don't consider missing kernel options fatal 2010-11-18 23:03:42 +01:00
Lennart Poettering
8e1bd70d4c sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d 2010-11-18 21:52:26 +01:00
Lennart Poettering
40f9afa721 mount: trivial optimization 2010-11-18 19:23:17 +01:00
Lennart Poettering
10aa703482 util: introduce /etc/os-release so that distros don't need to patch systemd to get a welcome message 2010-11-18 04:46:28 +01:00
Lennart Poettering
a45b9fd094 job: make sure we don't fail umount.target if a mount unit failed to stop 2010-11-18 03:52:39 +01:00
Lennart Poettering
9f4527411b cgroup: after killing cgroup processes, ensure the group is really dead gone. wait for 3s at max 2010-11-18 02:37:35 +01:00
Lennart Poettering
2db9ecac35 cgroup: if we couldn't remove a cgroup after killing evertyhing in it then it's fine 2010-11-18 02:36:51 +01:00
Lennart Poettering
2f8cd170ae cryptsetup: automatically order crypt partitions before cryptsetup.target 2010-11-18 02:16:36 +01:00
Lennart Poettering
06d4c99ab3 manager: make list of default controllers configurable 2010-11-18 00:42:35 +01:00
Lennart Poettering
7838dc3ae1 build: expose libcryptsetup dependency in build string 2010-11-18 00:39:09 +01:00
Lennart Poettering
d686d8a97b cgroup: by default, duplicate service cgroup in the cpu hierarchy 2010-11-17 21:27:53 +01:00
Lennart Poettering
74fe1fe36e pam: duplicate cgroup tree in the cpu hierarchy by default, optionally more 2010-11-17 20:24:25 +01:00
Kay Sievers
230e5a3fb0 Revert "update TODO"
This reverts commit afe635e718.

Oops, libnotify should not have been in here.
2010-11-17 13:19:10 +01:00
Kay Sievers
afe635e718 update TODO 2010-11-17 11:58:42 +01:00
Lennart Poettering
0cf8469387 ask-password: add --console mode to ask questions on /dev/console 2010-11-16 04:28:04 +01:00
Lennart Poettering
42e19823e6 cryptsetup: reword questions a little 2010-11-16 03:47:14 +01:00
Lennart Poettering
4313fc2ceb path: don't mention too many inotify msgs 2010-11-16 03:27:00 +01:00
Lennart Poettering
494856b55c cryptsetup: include device name in password question 2010-11-16 03:24:17 +01:00
Lennart Poettering
b853f6e9d6 cryptsetup: lock ourselves into memory as long as we deal with passwords 2010-11-16 03:23:52 +01:00
Lennart Poettering
967072694d plymouth: use updated socket name 2010-11-16 03:12:54 +01:00
Lennart Poettering
d90b9d27af pam: always rely on loginuid instead of uid to determine cgroup and XDG_RUNTIME_DIR 2010-11-16 00:10:57 +01:00
Lennart Poettering
0baf24ddd5 cgroup: call root cgroup system instead of systemd-1 2010-11-15 23:55:53 +01:00
Lennart Poettering
e3aa71c38c exec: automatically determine right TERM= setting based on tty name 2010-11-15 23:49:02 +01:00
Lennart Poettering
96a8cbfae1 pam: rename master user cgroup to 'master' 2010-11-15 23:22:33 +01:00
Lennart Poettering
af2d49f70b drop support for MANAGER_SESSION, introduce MANAGER_USER instead 2010-11-15 22:13:26 +01:00
Lennart Poettering
62347bc24a path: properly free PathSpec structs 2010-11-15 22:13:26 +01:00
Lennart Poettering
40dde66fa0 manager: ignore invalid epoll events 2010-11-15 22:13:26 +01:00
Lennart Poettering
36af55d997 unit: introduce ConditionDirectoryNotEmpty= 2010-11-15 22:13:25 +01:00
Matthias Clasen
5c273f8556 build-sys: fix building against libnotify 0.7
Here are two patches I needed to get systemd to build against the
current libnotify and vala releases.
2010-11-15 22:13:25 +01:00
Lennart Poettering
8c4dd542af units: get rid of no_requires unit flag, and make crypto disks require cryptsetup service 2010-11-15 18:26:37 +01:00
Lennart Poettering
99f08d14a7 load-dropin: add support for .requires directories 2010-11-15 04:24:04 +01:00
Lennart Poettering
49d50c55bb cryptsetup: bind cryptsetup service to both source and destination device 2010-11-15 04:11:42 +01:00
Lennart Poettering
9b3d909074 manager: consider jobs already installed as redundant when reducing new transactions 2010-11-15 03:44:11 +01:00
Lennart Poettering
672028dc4e path: avoid immediate restarting of units triggered by paths if nothing actually changed on disk 2010-11-15 00:49:21 +01:00
Lennart Poettering
782195a3c3 path: always look for IN_ATTRIB since deletion is signalled that way 2010-11-15 00:47:29 +01:00
Lennart Poettering
6210e7fc31 manager: always pull 'following' units into transaction 2010-11-14 23:48:21 +01:00
Lennart Poettering
9381a72403 util: always highlight distro name 2010-11-14 23:48:20 +01:00
Lennart Poettering
92ab323c82 units: make use of agetty mandatory 2010-11-14 23:48:20 +01:00
Lennart Poettering
41242c42bf manager: don't fail transaction if adding CONFLICTED_BY job fails 2010-11-14 23:48:20 +01:00
Lennart Poettering
824a1d590a pam: rename 'no-session' to 'user' cgroup 2010-11-14 23:48:20 +01:00
Lennart Poettering
57339f47f1 job: make it possible to wait for devices to be unplugged 2010-11-14 23:48:20 +01:00
Lennart Poettering
9c73736da8 tmpfiles: ignore files marked with the sticky bit 2010-11-14 20:12:51 +01:00
Lennart Poettering
f90cf44c02 load-fragment: properly do comparison of words 2010-11-14 19:59:10 +01:00