summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-02-09systemctl: check for no more work after chkconfigMichal Schmidt
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-09service: ignore SIGPIPE by defaultsystemd/v41Lennart Poettering
2012-02-09modules-load: resolve aliases before insert modulesDave Reisner
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-09kmod: make GCC shut upLennart Poettering
2012-02-09modules-load: use libkmod rather than modprobeTom Gundersen
2012-02-09kmod-setup: use libkmod rather than modprobeTom Gundersen
2012-02-08ratelimit: if interval/burst are set to 0, assume ratelimiting shall be disabledLennart Poettering
2012-02-08service: set WATCHDOG_USEC environmen variableMichael Olbrich
2012-02-08service: introduce WatchdogSec and hook up the watchdog with the existing ↵Michael Olbrich
failure logic
2012-02-08systemd: Add systemd.setenv for /proc/cmdline parsing.William Douglas
Check for systemd.setenv when parsing /proc/cmdline. ex: systemd.setenv=PATH=/opt/bin
2012-02-07logind: Terminate bus_login_session_user_propertiesBenjamin Franzke
Fixes segfault in systemd-logind, triggered by: systemd-loginctl show-session $XDG_SESSION_ID. Bug introduced by d200735e13c52dcfe36c0e066f9f6c2fbfb85a9c, so only systemd v39 is affected.
2012-02-07logind: fix introspection dataLennart Poettering
2012-02-07logind: introduce ActivateSessionOnSeat()Lennart Poettering
2012-02-07ratelimit: fix macro definitionLennart Poettering
2012-02-07main: use a shorter default $PATH if /usr is mergedLennart Poettering
2012-02-07mount: adjust dependencies for remote filesystemsMichal Schmidt
Currently remote mounts automatically get: After=remote-fs-pre.target network.target remote-fs-pre.target is already After=network.target. Just make sure remote-fs-pre.target is pulled in by remote-fs.target if any remote filesystems are configured. For the mount units it is then sufficient to get: After=remote-fs-pre.target Later NetworkManager will hook its NM-wait-online.service into remote-fs-pre.target.wants in order to remove the need for the administrator to enable the service manually when he has any remote filesystems. https://bugzilla.redhat.com/show_bug.cgi?id=787314
2012-02-07builtin: kmod - depend on libkmod >= 5Lucas De Marchi
2012-02-06keymap: Add Fujitsu Siemens Amilo Li 2732Bruno Redondi
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-02-03cgroup: when getting cgroup empty notifications, always search up the treeLennart Poettering
2012-02-03path: convert failure field to enumLennart Poettering
2012-02-03swap: replace failure boolean by result enumLennart Poettering
2012-02-03timer: convert failure bool into enumLennart Poettering
2012-02-03automount: convert failure boolean to enumLennart Poettering
2012-02-03mount: replace failure boolean by enumLennart Poettering
2012-02-03socket: replace failure boolean by enumLennart Poettering
2012-02-03service: replace "failure" boolean by enum, and export itLennart Poettering
This should give admins more useful hints why a service failed.
2012-02-02util: prevent daemon-reload from reaping service processes.Chris Paulson-Ellis
The reaping of generator processes run as part of a daemon-reload should not call waitid(PID_ALL). The waitid() call in execute_directory() is intended only to reap the executed processes, but if a service process exits at about the same time as a daemon-reload, then that service process is reaped as well, preventing it from being reaped in the proper place in manager_dispatch_sigchld(). Fixes https://bugs.freedesktop.org/show_bug.cgi?id=43625
2012-02-02sd-daemon: support for building sd-daemon.c with Bionic (Android)Alvaro Soliverez
sd-daemon.h is a drop-in file, so we should make sure it doesn't break builds for anybody. https://bugs.freedesktop.org/show_bug.cgi?id=42675
2012-02-02manager: tell correctly if the manager is bootingMichal Schmidt
The assumption that the initial job is the job with id==1 is incorrect. Some jobs may be enqueued before the job that starts the default unit as in this example: -.mount changed dead -> mounted Trying to enqueue job quotacheck.service/start/fail Installed new job quotacheck.service/start as 1 Installed new job systemd-stdout-syslog-bridge.socket/start as 2 Enqueued job quotacheck.service/start as 1 Trying to enqueue job quotaon.service/start/fail Installed new job quotaon.service/start as 5 Enqueued job quotaon.service/start as 5 Activating default unit: default.target Trying to enqueue job graphical.target/start/replace This fixes a bug where displaying of boot status messages was turned off too early.
2012-02-02coredump: avoid coredump loops, divert coredump if journald itself is crashingLennart Poettering
2012-02-01exec: include path name of binary we are about to execute when renaming ↵Lennart Poettering
forked off processes Immediately after forking off a process change the comm name and argv[0] to "(foobar)" where "foobar" is the basename of the path we are about to execute. This should be useful when charting boot progress.
2012-02-01service: add watchdog timestampMichael Olbrich
This patch adds WatchdogTimestamp[Monotonic] to the systemd service D-Bus API. The timestamp is updated to the current time when the service calls 'sd_nofity("WATCHDOG=1\n")'. Using a timestamp instead of an 'alive' flag has two advantages: 1. No timeout is needed to define when a service is no longer alive. This simplifies both configuration (no timeout value) and implementation (no timeout event). 2. It is more robust. A 'dead' service might not be detected should systemd 'forget' to reset an 'alive' flag. It is much less likely to get a valid new timestamp if a service died.
2012-02-01logind: add GetSessionByPID() bus callLennart Poettering
2012-02-01ata_id: fix identify string fixupAndreas Schwab
2012-02-01ata_id: whitespace fixesKay Sievers
2012-02-01keymap: Fix touchpad toggle button on Lenovo IdeapadJames M. Leddy
https://launchpad.net/bugs/922405 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2012-02-01socket: typo in dump outputMichal Schmidt
2012-01-31logind: if we have to stop a session, kill at least its leaderLennart Poettering
2012-01-31load-fragment: properly parse size values denoted in bytesLennart Poettering
2012-01-31journal: increase compression threshold for objects from 64 to 512Lennart Poettering
Apparently the perfomance price for compression is to steep to apply it for all objects >= 64 and < 512 in size, as measured by Arjan Van De Ven, hence increase the threshold to 512 which yields better results.
2012-01-31login: lock down input devices on extra seatsRay Strode
We need to tell the X server to grab the keyboards and mice associated with a hotplugged seat, so that it doesn't have the ability to control the kernel vt consoles.
2012-01-30extras: cdrom_id - create only /dev/cdromKay Sievers
2012-01-30pkg-config: rootlibexecdir -> systemdutildirKay Sievers
Better don't export historic names for split / vs. /usr filesysystems.
2012-01-30extras: cdrom_id - create /dev/cdrom and conditionally /dev/dvd for sr0Kay Sievers
Udev does no longer automatically create udev rules in /etc from the device hotplug path. No device name reservation will happen anymore; this model creates too many problems for setups with many device changes or media which is booted on different hardware. Enumerated device names which are based on device discovery order or on persistent on-disk name reservation will in general not be supported by udev in the future. It is a problem that can not be solved properly, and it always creates new problems at the same time it tries to solve the original one. Udev will no longer pretend it can solve these issues, and people should switch to available alternatives which provide the far better compromise. From now on, udev will only create /dev/cdrom for the first optical drive, and if the drive is capable /dev/dvd. No other devices will get any compatibility symlinks or enumerated device names like cdrom1, cdrom2, and so on. The /dev/cdrom and /dev/dvd links have by default a negative link priority, which will cause them to be overwritten by any other device which clains the same names with already existing udev rules. If stable device names are needed, the /dev/disk/by-id/ links, which uniquely identify a specific piece of hardware should be used. The links usually contain a device serial number and the link names will not depend on device discovery order. If completely identical devices with identical or no serial number need to be handled at the same time, the /dev/disk/by-path/ links can be used. These links depend on the physical port which is used to connect the device. It will change when the same device is moved to a different port or host adapter. If custom names are needed, custom udev rules which match on specific device properties need to be added by the administrator.
2012-01-29main: don't force text mode in console_setup()Michal Schmidt
When systemd starts, plymouth may be already displaying progress graphically. Do not switch the console to text mode at that time. All other users of reset_terminal_fd() do the switch as before. This avoids a graphical glitch with plymouth, especially visible with vesafb, but could be also seen as a sub-second blink with radeon. https://bugzilla.redhat.com/show_bug.cgi?id=785548
2012-01-29do not stop rule processing when device node is no longer aroundKay Sievers
Device nodes might have been deleted again by the kernel before an 'add' or 'change' event is even started. We need to run all rules, regardless of the state in /dev.
2012-01-27logind: make sure we create /var/lib/systemd before using itLennart Poettering
2012-01-27pkg-config: export libexecdir, so that that gdm can use it to find the x ↵Lennart Poettering
server wrapper
2012-01-27socket: if SO_RCVBUFFORCE fails, fall back to SO_RCVBUF, to have at least a ↵Lennart Poettering
little effect
2012-01-27log: increase socket buffers for logging by defaultLennart Poettering