1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00
Commit Graph

893 Commits

Author SHA1 Message Date
Kay Sievers
0b603b4e76 suse: add 'smtp' LSB facility 2010-12-09 18:50:30 +01:00
Michal Schmidt
67575eef76 path: fix watching the root directory
If you have a path unit with:
  DirectoryNotEmpty=/foo
and "/foo" does not exist, creating it later escapes the attention of systemd.

When adding watches for parent directories, systemd never adds one for the root
directory. It attempts to add a watch for an empty string instead, which fails.

If the path is "/", we must not trim the slash.
2010-12-01 16:39:58 +01:00
Ozan Çağlayan
550c4dcc41 src/quotacheck.c: Fix typo
Fix quota misspelling in quotacheck.c

Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
2010-12-01 16:32:58 +01:00
Miklos Vajna
f5c88ec133 build-sys: frugalware linux support 2010-11-29 17:07:41 +01:00
Kay Sievers
d0ef2204b4 gnome-ask-password-agent: also support libnotify < 0.7 for now 2010-11-26 17:59:53 +01:00
Kay Sievers
2e6081f2ff udev: make sure we aleways read from netlink, if there is data 2010-11-26 16:06:30 +01:00
Kay Sievers
99448c1f01 udev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices 2010-11-26 04:51:30 +01:00
Lennart Poettering
d83685ac1b dbus: use the right data slot allocator
Thanks to 'trapni' on IRC for tracking this down.
2010-11-25 01:37:24 +01:00
Lennart Poettering
59d1a83370 manager: bump up max number of units to 128K
https://bugzilla.redhat.com/show_bug.cgi?id=655857
2010-11-24 23:36:40 +01:00
Lennart Poettering
46ff0ed7b0 mount: trivial typo fix 2010-11-24 22:28:28 +01:00
Thierry Reding
9a60da2834 build-sys: allow cross-compilation
When cross-compiling systemd, the introspection XML files fail to be
generated because the systemd host binary is not executable. This patch
works around this by putting the introspection XML data into separate
ELF sections and extracting them from the binary when generating the XML
files.

The extracted XML data is passed through the strings utility in order to
strip the trailing NUL character. A small AWK script is used to prepend
the doctype and add the opening and closing node tags respectively.
Finally, the C preprocessor is used to substitute the correct doctype
information from the D-Bus header files.
2010-11-23 22:38:55 +01:00
Lennart Poettering
aeb70c8d60 logger: fix error handling 2010-11-23 01:36:54 +01:00
Lennart Poettering
cfcfd4aefe swap: order file-based swap devices after remount-rootfs 2010-11-22 21:06:56 +01:00
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