Commit Graph

2867 Commits

Author SHA1 Message Date
Lennart Poettering
4bf2bbb6fb lookup: fix NUL termination of search path array 2011-07-23 00:47:50 +02:00
Lennart Poettering
ddd8876392 util: user parse_uid() wherever applicable 2011-07-23 00:47:17 +02:00
Lennart Poettering
034a2a52ac sd-login: beef up login api, to add monitoring and enumerating 2011-07-22 21:01:15 +02:00
Lennart Poettering
bccc1d8859 shutdown: untabify 2011-07-22 04:32:22 +02:00
Harald Hoyer
2006d9acb1 shutdown: initialize the controlling terminal
Thanks Kay Sievers!
2011-07-22 04:31:21 +02:00
Harald Hoyer
3b8a1f3fee shutdown: remove close_nointr_nofail after make_stdio call
make_stdio itsselves closes the fd already
2011-07-22 04:31:21 +02:00
Lennart Poettering
f782b8d031 util: use readdir_r() instead of readdir() 2011-07-22 04:31:21 +02:00
Lennart Poettering
830964834f install: add new installer implementation
This new installer will replace the current code of "systemctl enable"
but also be available via D-Bus. It adds a couple of new features:

- Mask/Unmask calls
- Reenable call
- Preset call
- Support for enabling units temporarily (i.e. in /run/systemd instead
  of /etc/systemd)
- Enumeration of installed units
- Support for out-of-search-path units

systemctl and D-Bus are not hooked up with this yet
2011-07-22 04:31:21 +02:00
Lennart Poettering
09adcdf71d systemctl: fix indenting 2011-07-22 04:31:21 +02:00
Lennart Poettering
f437d5d203 path-lookup: add both the configured and the fixed search paths in 2011-07-22 04:31:20 +02:00
Lennart Poettering
c800e48374 path-lookup: make inclusion of user private units optional 2011-07-22 04:31:20 +02:00
Lennart Poettering
d8eaa1144f update TODO 2011-07-22 04:31:20 +02:00
Kay Sievers
ff4daf5a34 fix hwclock_apply_localtime_delta() to properly handle negative TZ offset
Localtime may be a negative number, i.e. GMT-7. Fix based on a
patch from Kelly Anderson <kelly@silka.with-linux.com>.
2011-07-21 20:28:27 +02:00
Lennart Poettering
f68c5a7076 sysctl: support multiple prefixes in a single invocation 2011-07-15 02:01:31 +02:00
Lennart Poettering
55af389785 logind: enable PowerOff/Reboot calls 2011-07-15 01:53:11 +02:00
Lennart Poettering
e5fcb85286 update TODO 2011-07-15 01:53:11 +02:00
Kay Sievers
35bf8dfb85 distribute: src/libsystemd-*.sym 2011-07-15 01:47:47 +02:00
Kay Sievers
ae446765eb libsystemd-daemon: support installation in --with-rootlibdir 2011-07-15 01:31:06 +02:00
Lennart Poettering
673eab9bf0 README: document license 2011-07-14 23:53:53 +02:00
Lennart Poettering
3fd476bb11 git: hide more files from git 2011-07-14 23:52:16 +02:00
Lennart Poettering
1eae4c45c9 libs: add symbol versioning for the benefit of RPM 2011-07-14 23:49:37 +02:00
Lennart Poettering
114a50f898 sd-daemon: turn sd-daemon.c into a shared library 2011-07-14 23:06:31 +02:00
Lennart Poettering
d40c98162f uaccess: become a nop when not run on a systemd system 2011-07-14 22:51:28 +02:00
Lennart Poettering
74b91131ed logind: introduce libsystemd-login.so as fast path to access logind data 2011-07-14 22:51:28 +02:00
Lennart Poettering
0a55b298d9 systemctl: don't try rebooting with /dev/initcl if Upstart worked 2011-07-14 18:05:33 +02:00
Lennart Poettering
501c92c432 logind: fix some potentially uninitialized accesses 2011-07-13 23:17:05 +02:00
Lennart Poettering
736925d5cd build-sys: bump release 2011-07-13 23:11:53 +02:00
Lennart Poettering
576a01c873 nspawn: compress mount table a bit 2011-07-13 22:50:59 +02:00
Lennart Poettering
4e2d4c08fc man: add a couple of crosslinks 2011-07-13 22:42:21 +02:00
Lennart Poettering
a61933adac man: add man page for systemd-loginctl 2011-07-13 22:37:53 +02:00
Lennart Poettering
85f248b266 consolidate TODO 2011-07-13 22:05:35 +02:00
Lennart Poettering
f5c1b9eeb9 nspawn: always use bind mounts to make API file systems available in the container
This ensures that read-only flags are never passed from the container to
the host OS.
2011-07-13 21:57:56 +02:00
Lennart Poettering
2eb916cdff logind: use new udev_enumerate_add_match_parent() where applicable 2011-07-13 21:49:21 +02:00
Lennart Poettering
309c2a2ce9 loginctl: use new udev_device_has_tag() call from libudev where applicable 2011-07-13 20:11:23 +02:00
Lennart Poettering
f2994ddbf9 logind: remove some unused labels 2011-07-13 20:06:27 +02:00
Lennart Poettering
4d44e4f0b5 udev: actually check for existance of ID_PATH_TAG before we use it 2011-07-13 20:06:11 +02:00
Lennart Poettering
de07ab16c6 loginctl: implement missing kill verb 2011-07-13 19:59:28 +02:00
Lennart Poettering
a17204af0e unit: use ESRCH as error when we don't find anybody to kill 2011-07-13 19:59:28 +02:00
Lennart Poettering
0a524ba7c3 unit: accept empty defaults for kill who/mode args 2011-07-13 19:59:28 +02:00
Lennart Poettering
88e3dc903b loginctl: implement more verbs 2011-07-13 19:59:28 +02:00
Kay Sievers
d4b36d99f1 seat: udev - use ID_PATH_TAG instead of 'sed' hack 2011-07-13 19:45:36 +02:00
Lennart Poettering
82e487c56d unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn 2011-07-12 04:25:02 +02:00
Lennart Poettering
3611581ebd service: properly handle who argument on D-Bus kill calls 2011-07-12 04:05:33 +02:00
Lennart Poettering
ee17ee7c5c tmpfiles: allow creation of named pipes with tmpfiles 2011-07-12 03:56:56 +02:00
Lennart Poettering
97f73ffb04 update TODO 2011-07-12 03:42:44 +02:00
Lennart Poettering
7a2a0b907b sysctl: support application of sysctl subtrees 2011-07-12 03:36:17 +02:00
Lennart Poettering
54479a8fe9 build-sys: fix copynpaste mistake 2011-07-12 01:18:48 +02:00
Lennart Poettering
64452b1c02 build-sys: remove autogenerated bus introspection files from git 2011-07-12 01:16:24 +02:00
Lennart Poettering
9356a6c656 build-sys: fix make distcheck 2011-07-12 01:11:40 +02:00
Lennart Poettering
7a41c61168 build-sys: add a number of missing header files to EXTRA_DIST 2011-07-12 01:11:40 +02:00