Commit Graph

2687 Commits

Author SHA1 Message Date
Lennart Poettering bbc7328308 pam: set XDG_SEAT and XDG_VTNR when logging in 2011-07-26 23:09:34 +02:00
Lennart Poettering add30678a1 sd-login: add new call sd_seat_can_multi_session() 2011-07-26 23:09:09 +02:00
Lennart Poettering 64559e8b4e logind: rename can_activate_sessions to can_multi_session 2011-07-26 21:49:29 +02:00
Lennart Poettering 40cbb26f3b udev: fix copy/paste error when applying sysctl to network devices 2011-07-26 21:45:18 +02:00
Lennart Poettering 02f130cbd9 pkgconfig: move library .pc files to libdir 2011-07-26 21:44:37 +02:00
Lennart Poettering 0843f2d65e selinux: check PID 1 label instead of /selinux mount point to figure out if selinux is already initialized 2011-07-25 21:59:05 +02:00
Lennart Poettering 871e580949 selinux: log how much time it takes to load the SELinux policy and database 2011-07-25 21:22:57 +02:00
Lennart Poettering 41e4d6e9ac sysctl: apply network specific sysctls to each network card as they appear 2011-07-25 20:25:49 +02:00
Lennart Poettering 8d41a963d6 machine-id: be nice and generate compliant v4 UUIDs
Newly generated machine IDs now qualify as randomized v4 UUIds. This is
trivial to do and hopefully increases adoption of the ID for various
purposes.
2011-07-25 19:32:43 +02:00
Kay Sievers fb922d4f82 seat: add another 'Plugable' device id 2011-07-25 14:35:33 +02:00
Lennart Poettering 729e3769c3 systemctl: hook up new install logic
This adds a number of new options to systemctl, for presets, reenabling,
masking/unmask, and runtime operations.
2011-07-25 04:58:02 +02:00
Lennart Poettering 4b7a6af440 nspawn: mount a new /proc instance in the container so that we don't see the hosts' PID tree
This partially reverts f5c1b9eeb9.
2011-07-23 15:54:52 +02:00
Lennart Poettering e1ea662c33 systemctl: remove monitor command since it is mostly useless 2011-07-23 04:21:47 +02:00
Lennart Poettering 34c4b47b7f systemctl: split --help into multiple sections 2011-07-23 04:20:22 +02:00
Lennart Poettering 253ee27a0c manager: add log control via RT signals 2011-07-23 04:15:38 +02:00
Lennart Poettering c0576cd6d6 bus: expose installer functions 2011-07-23 03:44:47 +02:00
Lennart Poettering 5780425ea7 login: drop unused variables 2011-07-23 01:18:20 +02:00
Lennart Poettering 4b67834e9f util: make use of get_user_creds() and get_group_creds() wherever applicable 2011-07-23 01:17:59 +02:00
Lennart Poettering e6a6b40679 install: don't choke on dead links 2011-07-23 00:49:32 +02:00
Lennart Poettering 3d7d60c822 uaccess: port over to using sd-login 2011-07-23 00:48:11 +02:00
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