Commit Graph
3395 Commits
Author SHA1 Message Date
Kay Sievers 3ce4fad8f5 always use /etc/os-release and ignore all distro-specific files
The text mode welcome message will only show the distro name stored
in /etc/os-release and no longer read any distro-specific files.  If
/etc/os-release does not exist, 'Linux' will be printed.

When the source tree is is ./configure'd, only /etc-os-release is read
to guess the distro to build for. If /etc/os-release does not exist,
--with-distro= needs to be specified.
2012-02-13 01:51:51 +01:00
Kay Sievers f9941a4b94 build-sys: simplify ENABLE_MANPAGES 2012-02-13 01:11:22 +01:00
Kay Sievers 0de4f05584 build-sys: do not use split-/usr in distcheck 2012-02-13 01:03:33 +01:00
Lennart Poettering 704323542e build-sys: publish man pages also on fdo 2012-02-11 01:59:49 +01:00
Lennart Poettering 204fa33c82 build-sys: prepare 42 2012-02-11 01:52:18 +01:00
Lennart Poettering 53ed2eeb2e TODO 2012-02-11 01:18:03 +01:00
Piotr Drąg cc26086ff4 l10n: Updated Polish translation 2012-02-11 00:45:29 +01:00
Michał Górny bc9bdbbab4 build-sys: Support explicitly specifying --enable-split-usr.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45875
2012-02-11 00:28:30 +01:00
Lennart Poettering 4099a281bb util: fix handling of empty files in read_one_line_file()
https://bugs.freedesktop.org/show_bug.cgi?id=45362
2012-02-11 00:27:12 +01:00
Lennart Poettering 89f134406a logind: introduce CanReboot/CanPowerOff bus calls 2012-02-11 00:13:10 +01:00
Lennart Poettering 4c2b0e4e42 build-sys: minor typo fix 2012-02-10 21:45:15 +01:00
Lennart Poettering 75db9a7760 man: make building of man pages optional 2012-02-10 21:44:14 +01:00
Lennart Poettering cabca20b1a journal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that we can fake SCM_CREDENTIALS 2012-02-10 15:46:24 +01:00
Michal Schmidt 5c72face73 cgroup: fix inverted condition
A bug was introduced in acb14d3 "cgroup: when getting cgroup empty
notifications, always search up the tree".

When the given cgroup is found the hashmap, we should be happy and
return it, not go looking up the tree for another one.

Fixes the hanging NetworkManager on shutdown for me.
2012-02-10 02:57:45 +01:00
Lennart Poettering 1b73da108b logind: make seat device management accessible to normal users/via polkit 2012-02-10 02:35:48 +01:00
Benjamin Franzke 80df5f4c3b logind: Allow PowerOff/Reboot in default context 2012-02-10 02:33:41 +01:00
Lennart Poettering 05d02d8db0 main: fix reexecution of systemd, use right path to binary 2012-02-09 23:25:57 +01:00
Frederic Crozat 4536f71691 kmod-setup: fix build with libkmod 2012-02-09 21:57:58 +01:00
Lennart Poettering 02c4ef9c35 service: imply NotifyAccess=main if WatchdogSec= is used 2012-02-09 21:11:25 +01:00
Lennart Poettering 092317d034 man: document restart options 2012-02-09 21:01:29 +01:00
Michael Olbrich 4b9397474f service: add StartLimitInterval/StartLimitBurst/StartLimitAction 2012-02-09 21:01:29 +01:00
Bill Nottingham 54f5e17193 man: Clarify man page with respect to automatic fstab dependencies
Automatic mounts will be added if 'MountAuto=yes' is in system.conf,
regardless of whether comment=systemd.mount is set.
2012-02-09 20:04:38 +01:00
Michal Schmidt 81006b8ad8 install: fix incorrect 'Access denied' message with a non-existent unit
With "systemctl is-enabled non-existent.service"
_UNIT_FILE_STATE_INVALID (-1) was wrongly interpreted as -errno.
Return -ENOENT in this case.

https://bugzilla.redhat.com/show_bug.cgi?id=766579
2012-02-09 10:36:56 +01:00
Michal Schmidt ab5919fa1a systemctl: check for no more work after chkconfig
Avoid a bogus message from 'systemctl enable ...' when all units given
are SysV services:
   Warning: unit files do not carry install information. No operation
   executed.

https://bugzilla.redhat.com/show_bug.cgi?id=787407
2012-02-09 10:05:15 +01:00
Lennart Poettering 353e12c2f4 service: ignore SIGPIPE by default 2012-02-09 03:18:04 +01:00
Lennart Poettering 12ac304714 update TODO 2012-02-09 02:13:36 +01:00
Lennart Poettering ccd07a083e journal: limit caps we pass to journald 2012-02-09 02:06:13 +01:00
Dave Reisner cea6691857 modules-load: resolve aliases before insert modules
This keeps behavior in line calling /sbin/modprobe -- aliases will be
resolved to the relevant modules, and errors from inserting modules
which are already loaded are ignored.
2012-02-09 01:44:54 +01:00
Lennart Poettering 2c8b32d9f7 build-sys: get rid of a few unnecessary AC_SUBST calls 2012-02-09 01:41:39 +01:00
Lennart Poettering cdb454f2de kmod: make GCC shut up 2012-02-09 01:24:40 +01:00
Lennart Poettering fa4ab99705 man: document x-systemd-device-timeout= 2012-02-09 01:20:09 +01:00
Lennart Poettering b13df9644b build-sys: prepare release 41 2012-02-09 01:06:07 +01:00
Lennart Poettering 2707271e8e man: fix XML
Spotted by Sergey Ptashnick.
2012-02-09 00:52:29 +01:00
Tom Gundersen 83684a3553 modules-load: use libkmod rather than modprobe 2012-02-09 00:47:09 +01:00
Tom Gundersen 728beb28a7 kmod-setup: use libkmod rather than modprobe 2012-02-09 00:43:05 +01:00
Lennart Poettering 2496985585 update TODO 2012-02-08 21:59:28 +01:00
Lennart Poettering cafac610a7 ratelimit: if interval/burst are set to 0, assume ratelimiting shall be disabled 2012-02-08 21:35:49 +01:00
Lennart Poettering e8ab3ccba4 man: document the WATCHDOG_USEC environment variable 2012-02-08 21:24:41 +01:00
Michael Olbrich 6e0bcc980b service: set WATCHDOG_USEC environmen variable 2012-02-08 17:11:06 +01:00
Michael Olbrich bb242b7b52 service: introduce WatchdogSec and hook up the watchdog with the existing failure logic 2012-02-08 17:10:38 +01:00
Lennart Poettering aa704ba8c2 man: document systemd.setenv= 2012-02-08 16:33:55 +01:00
William Douglas 9e7c53579a systemd: Add systemd.setenv for /proc/cmdline parsing.
Check for systemd.setenv when parsing /proc/cmdline.
ex: systemd.setenv=PATH=/opt/bin
2012-02-08 16:33:55 +01:00
Kay Sievers e0d25329b2 move /usr/bin/systemd to /usr/lib/systemd/systemd 2012-02-08 00:08:10 +01:00
Benjamin Franzke 1d4ec31570 logind: Terminate bus_login_session_user_properties
Fixes segfault in systemd-logind, triggered by:
systemd-loginctl show-session $XDG_SESSION_ID.

Bug introduced by d200735e13,
so only systemd v39 is affected.
2012-02-07 23:52:58 +01:00
Lennart Poettering cae5846b2c logind: fix introspection data 2012-02-07 20:12:21 +01:00
Lennart Poettering 84c3361e12 logind: introduce ActivateSessionOnSeat() 2012-02-07 20:12:13 +01:00
Lennart Poettering acdfc041cc ratelimit: fix macro definition 2012-02-07 15:56:53 +01:00
Lennart Poettering 2c6db6fb9b main: use a shorter default $PATH if /usr is merged 2012-02-07 15:56:28 +01:00
Lennart Poettering e9c06c79f2 configure: it makes no sense to install systemd with stow 2012-02-07 14:43:33 +01:00
Lennart Poettering 20908246d6 update TODO 2012-02-07 14:39:26 +01:00