chiark / gitweb /
Benjamin Franzke [Thu, 9 Feb 2012 23:56:44 +0000 (00:56 +0100)]
logind: Allow PowerOff/Reboot in default context
Lennart Poettering [Thu, 9 Feb 2012 22:25:57 +0000 (23:25 +0100)]
main: fix reexecution of systemd, use right path to binary
Frederic Crozat [Thu, 9 Feb 2012 13:12:10 +0000 (14:12 +0100)]
kmod-setup: fix build with libkmod
Lennart Poettering [Thu, 9 Feb 2012 20:11:25 +0000 (21:11 +0100)]
service: imply NotifyAccess=main if WatchdogSec= is used
Lennart Poettering [Thu, 9 Feb 2012 20:01:18 +0000 (21:01 +0100)]
man: document restart options
Michael Olbrich [Thu, 9 Feb 2012 12:05:23 +0000 (13:05 +0100)]
service: add StartLimitInterval/StartLimitBurst/StartLimitAction
Bill Nottingham [Thu, 9 Feb 2012 19:04:38 +0000 (20:04 +0100)]
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.
Michal Schmidt [Thu, 9 Feb 2012 09:36:56 +0000 (10:36 +0100)]
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
Michal Schmidt [Thu, 9 Feb 2012 09:05:15 +0000 (10:05 +0100)]
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
Lennart Poettering [Thu, 9 Feb 2012 02:18:04 +0000 (03:18 +0100)]
service: ignore SIGPIPE by default
Lennart Poettering [Thu, 9 Feb 2012 01:13:36 +0000 (02:13 +0100)]
update TODO
Lennart Poettering [Thu, 9 Feb 2012 01:06:13 +0000 (02:06 +0100)]
journal: limit caps we pass to journald
Dave Reisner [Thu, 9 Feb 2012 00:39:35 +0000 (19:39 -0500)]
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.
Lennart Poettering [Thu, 9 Feb 2012 00:41:39 +0000 (01:41 +0100)]
build-sys: get rid of a few unnecessary AC_SUBST calls
Lennart Poettering [Thu, 9 Feb 2012 00:24:40 +0000 (01:24 +0100)]
kmod: make GCC shut up
Lennart Poettering [Thu, 9 Feb 2012 00:20:09 +0000 (01:20 +0100)]
man: document x-systemd-device-timeout=
Lennart Poettering [Thu, 9 Feb 2012 00:06:07 +0000 (01:06 +0100)]
build-sys: prepare release 41
Lennart Poettering [Wed, 8 Feb 2012 23:52:26 +0000 (00:52 +0100)]
man: fix XML
Spotted by Sergey Ptashnick.
Tom Gundersen [Wed, 8 Feb 2012 20:52:19 +0000 (21:52 +0100)]
modules-load: use libkmod rather than modprobe
Tom Gundersen [Wed, 8 Feb 2012 20:52:18 +0000 (21:52 +0100)]
kmod-setup: use libkmod rather than modprobe
Lennart Poettering [Wed, 8 Feb 2012 20:59:18 +0000 (21:59 +0100)]
update TODO
Lennart Poettering [Wed, 8 Feb 2012 20:35:49 +0000 (21:35 +0100)]
ratelimit: if interval/burst are set to 0, assume ratelimiting shall be disabled
Lennart Poettering [Wed, 8 Feb 2012 20:24:41 +0000 (21:24 +0100)]
man: document the WATCHDOG_USEC environment variable
Michael Olbrich [Wed, 8 Feb 2012 09:10:35 +0000 (10:10 +0100)]
service: set WATCHDOG_USEC environmen variable
Michael Olbrich [Wed, 8 Feb 2012 09:10:34 +0000 (10:10 +0100)]
service: introduce WatchdogSec and hook up the watchdog with the existing failure logic
Lennart Poettering [Wed, 8 Feb 2012 15:33:16 +0000 (16:33 +0100)]
man: document systemd.setenv=
William Douglas [Tue, 7 Feb 2012 20:31:20 +0000 (12:31 -0800)]
systemd: Add systemd.setenv for /proc/cmdline parsing.
Check for systemd.setenv when parsing /proc/cmdline.
ex: systemd.setenv=PATH=/opt/bin
Kay Sievers [Tue, 7 Feb 2012 23:08:10 +0000 (00:08 +0100)]
move /usr/bin/systemd to /usr/lib/systemd/systemd
Benjamin Franzke [Tue, 7 Feb 2012 21:39:35 +0000 (22:39 +0100)]
logind: Terminate bus_login_session_user_properties
Fixes segfault in systemd-logind, triggered by:
systemd-loginctl show-session $XDG_SESSION_ID.
Bug introduced by
d200735e13c52dcfe36c0e066f9f6c2fbfb85a9c,
so only systemd v39 is affected.
Lennart Poettering [Tue, 7 Feb 2012 19:12:21 +0000 (20:12 +0100)]
logind: fix introspection data
Lennart Poettering [Tue, 7 Feb 2012 19:12:13 +0000 (20:12 +0100)]
logind: introduce ActivateSessionOnSeat()
Lennart Poettering [Tue, 7 Feb 2012 14:56:53 +0000 (15:56 +0100)]
ratelimit: fix macro definition
Lennart Poettering [Tue, 7 Feb 2012 14:56:28 +0000 (15:56 +0100)]
main: use a shorter default $PATH if /usr is merged
Lennart Poettering [Tue, 7 Feb 2012 13:43:33 +0000 (14:43 +0100)]
configure: it makes no sense to install systemd with stow
Lennart Poettering [Tue, 7 Feb 2012 13:39:04 +0000 (14:39 +0100)]
update TODO
Michal Schmidt [Tue, 7 Feb 2012 10:05:18 +0000 (11:05 +0100)]
mount: adjust dependencies for remote filesystems
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
Lennart Poettering [Tue, 7 Feb 2012 02:38:23 +0000 (03:38 +0100)]
NEWS: update
Lennart Poettering [Tue, 7 Feb 2012 02:32:03 +0000 (03:32 +0100)]
build-sys: bump release
Kay Sievers [Tue, 7 Feb 2012 02:23:05 +0000 (03:23 +0100)]
autogen.sh: detect historic split-system-directories and add root options
Lennart Poettering [Fri, 3 Feb 2012 04:25:31 +0000 (05:25 +0100)]
cgroup: when getting cgroup empty notifications, always search up the tree
Lennart Poettering [Fri, 3 Feb 2012 04:04:48 +0000 (05:04 +0100)]
path: convert failure field to enum
Lennart Poettering [Fri, 3 Feb 2012 03:47:32 +0000 (04:47 +0100)]
swap: replace failure boolean by result enum
Lennart Poettering [Fri, 3 Feb 2012 03:03:21 +0000 (04:03 +0100)]
timer: convert failure bool into enum
Lennart Poettering [Fri, 3 Feb 2012 02:27:25 +0000 (03:27 +0100)]
automount: convert failure boolean to enum
Lennart Poettering [Fri, 3 Feb 2012 02:10:56 +0000 (03:10 +0100)]
mount: replace failure boolean by enum
Lennart Poettering [Fri, 3 Feb 2012 01:31:54 +0000 (02:31 +0100)]
socket: replace failure boolean by enum
Lennart Poettering [Fri, 3 Feb 2012 01:01:35 +0000 (02:01 +0100)]
service: replace "failure" boolean by enum, and export it
This should give admins more useful hints why a service failed.
Lennart Poettering [Thu, 2 Feb 2012 01:21:59 +0000 (02:21 +0100)]
update TODO
Chris Paulson-Ellis [Thu, 2 Feb 2012 17:32:05 +0000 (17:32 +0000)]
util: prevent daemon-reload from reaping service processes.
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
Alvaro Soliverez [Mon, 7 Nov 2011 18:10:25 +0000 (15:10 -0300)]
sd-daemon: support for building sd-daemon.c with Bionic (Android)
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
Michal Schmidt [Thu, 2 Feb 2012 11:39:33 +0000 (12:39 +0100)]
manager: tell correctly if the manager is booting
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.
Lennart Poettering [Thu, 2 Feb 2012 05:21:31 +0000 (06:21 +0100)]
man: document that we support tcpwrappers only for access control
We do not support, and explicitly never want to support environment
variable settings and suchlike in tcpwrappers.
https://bugs.freedesktop.org/show_bug.cgi?id=45143
Lennart Poettering [Thu, 2 Feb 2012 00:22:49 +0000 (01:22 +0100)]
coredump: avoid coredump loops, divert coredump if journald itself is crashing
Lennart Poettering [Wed, 1 Feb 2012 21:33:15 +0000 (22:33 +0100)]
exec: include path name of binary we are about to execute when renaming 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.
Michael Olbrich [Wed, 1 Feb 2012 16:17:12 +0000 (17:17 +0100)]
service: add watchdog timestamp
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.
Lennart Poettering [Wed, 1 Feb 2012 18:04:54 +0000 (19:04 +0100)]
logind: add GetSessionByPID() bus call
Michal Schmidt [Tue, 31 Jan 2012 22:58:15 +0000 (23:58 +0100)]
socket: typo in dump output
Lennart Poettering [Tue, 31 Jan 2012 22:51:16 +0000 (23:51 +0100)]
logind: if we have to stop a session, kill at least its leader
Lennart Poettering [Tue, 31 Jan 2012 22:13:16 +0000 (23:13 +0100)]
update TODO
Lennart Poettering [Tue, 31 Jan 2012 19:53:34 +0000 (20:53 +0100)]
load-fragment: properly parse size values denoted in bytes
Lennart Poettering [Tue, 31 Jan 2012 19:35:07 +0000 (20:35 +0100)]
journal: increase compression threshold for objects from 64 to 512
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.
Ray Strode [Tue, 31 Jan 2012 18:47:12 +0000 (13:47 -0500)]
login: lock down input devices on extra seats
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.
Lennart Poettering [Tue, 31 Jan 2012 17:23:23 +0000 (18:23 +0100)]
update TODO
Kay Sievers [Mon, 30 Jan 2012 15:32:18 +0000 (16:32 +0100)]
pkg-config: rootlibexecdir -> systemdutildir
Better don't export historic names for split / vs. /usr filesysystems.
Michal Schmidt [Sun, 29 Jan 2012 20:55:51 +0000 (21:55 +0100)]
main: don't force text mode in console_setup()
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
Mike Kazantsev [Fri, 27 Jan 2012 20:13:42 +0000 (21:13 +0100)]
logind: add sys_tty_config capability, to let it use VT_ACTIVATE ioctl on "activate" action
Lennart Poettering [Fri, 27 Jan 2012 19:48:28 +0000 (20:48 +0100)]
logind: make sure we create /var/lib/systemd before using it
Mike Kazantsev [Fri, 27 Jan 2012 18:56:44 +0000 (19:56 +0100)]
build-sys: add creation of /var/lib/systemd path, used by logind
Lennart Poettering [Fri, 27 Jan 2012 18:06:34 +0000 (19:06 +0100)]
pkg-config: export libexecdir, so that that gdm can use it to find the x server wrapper
Lennart Poettering [Fri, 27 Jan 2012 17:58:02 +0000 (18:58 +0100)]
socket: if SO_RCVBUFFORCE fails, fall back to SO_RCVBUF, to have at least a little effect
Lennart Poettering [Fri, 27 Jan 2012 17:57:37 +0000 (18:57 +0100)]
log: increase socket buffers for logging by default
Lennart Poettering [Fri, 27 Jan 2012 17:14:06 +0000 (18:14 +0100)]
log: never delay logging if the log server is stuck, always drop messages quickly
Michal Schmidt [Thu, 26 Jan 2012 00:19:19 +0000 (01:19 +0100)]
mount: fix automount regression
Tom Gundersen noticed a regression where comment=systemd.automount in
fstab no longer prevented the adding of the After=foo.mount dependency
into local-fs.target. He bisected it to commit
9ddc4a26.
It turns out that clearing the default_dependencies flag is necessary
after all, in order to avoid complementing of Wants= with After= in the
target unit. We still want to add the dependencies on quota units and
umount.target though.
Lennart Poettering [Wed, 25 Jan 2012 01:20:38 +0000 (02:20 +0100)]
README: update header line
Lennart Poettering [Wed, 25 Jan 2012 00:12:23 +0000 (01:12 +0100)]
build-sys: enable automake's check-news option
Lennart Poettering [Wed, 25 Jan 2012 00:07:31 +0000 (01:07 +0100)]
build-sys: bump release
Lennart Poettering [Wed, 25 Jan 2012 00:02:41 +0000 (01:02 +0100)]
build-sys: include NEWS file for v38, v39
Lennart Poettering [Tue, 24 Jan 2012 23:13:05 +0000 (00:13 +0100)]
virt: detect LXC+libvirt containers
Lennart Poettering [Tue, 24 Jan 2012 23:12:47 +0000 (00:12 +0100)]
man: document systemd-cgtop tool
Lennart Poettering [Tue, 24 Jan 2012 04:15:04 +0000 (05:15 +0100)]
login: fix multi-seat check
Lennart Poettering [Tue, 24 Jan 2012 03:32:09 +0000 (04:32 +0100)]
login: extend comments in multi-seat-x
Lennart Poettering [Mon, 23 Jan 2012 22:34:36 +0000 (23:34 +0100)]
login: add multi-session X wrapper
In preparation for https://bugzilla.gnome.org/show_bug.cgi?id=655380 we
decided it's better to include the multi-seat X wrapper in systemd,
rather than gdm. (Side effect: this makes this accessible for other
DMs)
This is a stop-gap for now, until X gins proper multi-seat graphics
support at which point this code will go away without replacement.
Lennart Poettering [Mon, 23 Jan 2012 21:03:32 +0000 (22:03 +0100)]
update TODO
Lennart Poettering [Mon, 23 Jan 2012 21:02:43 +0000 (22:02 +0100)]
update TODO
Lennart Poettering [Mon, 23 Jan 2012 21:01:29 +0000 (22:01 +0100)]
journal: move journal TODO into main TODO
Lennart Poettering [Mon, 23 Jan 2012 20:56:55 +0000 (21:56 +0100)]
util: use /dev/rtc symlink if possible before we go searching for a suitable device
Kay Sievers [Mon, 23 Jan 2012 03:42:11 +0000 (04:42 +0100)]
add .vimrc
Kay Sievers [Sun, 22 Jan 2012 17:40:13 +0000 (18:40 +0100)]
README: fix git URLs
Kay Sievers [Sun, 22 Jan 2012 17:20:42 +0000 (18:20 +0100)]
login: move seat udev rules to login subdir
Lennart Poettering [Sun, 22 Jan 2012 17:21:15 +0000 (18:21 +0100)]
cgtop: add new cgtop tool
Lennart Poettering [Sun, 22 Jan 2012 17:19:24 +0000 (18:19 +0100)]
tmpfiles: fix bad memory access
Lennart Poettering [Sun, 22 Jan 2012 17:18:51 +0000 (18:18 +0100)]
cgls: don't show kernel threads by default
Dan Horák [Thu, 19 Jan 2012 11:42:53 +0000 (12:42 +0100)]
journal: systemd v38 fails to build on big-endians
Hi,
during the builds for Fedora/s390x I've found that systemd v38 fails to
build on big-endian platforms.
...
make[2]: Entering directory `/root/systemd'
CC src/journal/libsystemd_journal_la-sd-journal.lo
src/journal/sd-journal.c: In function 'init_location':
src/journal/sd-journal.c:69:22: error: incompatible types when
initializing type 'long unsigned int' using type 'sd_id128_t'
src/journal/sd-journal.c:69:20: error: incompatible types when assigning
to type 'sd_id128_t' from type 'long unsigned int'
make[2]: *** [src/journal/libsystemd_journal_la-sd-journal.lo] Error 1
I see the problem in using le64toh() on the 16 bytes boot_id structure
in init_location()
Please see
http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=544375 for a
full build log and attachment for a proposed fix.
With regards
Dan
Lennart Poettering [Sat, 21 Jan 2012 02:44:11 +0000 (03:44 +0100)]
systemctl: don't show ln -s/rm output in 'install' mode if --quiet is passed
Lennart Poettering [Sat, 21 Jan 2012 02:15:54 +0000 (03:15 +0100)]
util: open the first RTC that has hctosys=1 set
Lennart Poettering [Sat, 21 Jan 2012 01:51:13 +0000 (02:51 +0100)]
readahead: don't monopolize IO when replaying
Lennart Poettering [Sat, 21 Jan 2012 00:47:53 +0000 (01:47 +0100)]
dbus: export ControlGroupPersistent field on the bus again
Kay Sievers [Sat, 21 Jan 2012 00:19:57 +0000 (01:19 +0100)]
update TODO
Michal Schmidt [Fri, 20 Jan 2012 22:44:22 +0000 (23:44 +0100)]
socket: don't fail the socket on ENOTCONN
Albert Strasheim reported a socket unit with Accept=yes was failing
sometimes.
getpeername() returns ENOTCONN if the connection was killed by TCP RST.
The socket unit must not fail when it happens.
Reproducer available at:
https://bugzilla.redhat.com/show_bug.cgi?id=783344
Michal Schmidt [Fri, 20 Jan 2012 02:03:25 +0000 (03:03 +0100)]
dbus-execute: don't publish control_group_persistent on DBus for now
Since the addition of ControlGroupPersistent, systemd is trivially
killed by "systemctl status any.service".
bus_property_append_bool must not be used for a tri-state int.
Also, should it really "b", or do we want the tri-state nature to be seen?
For now just comment out the buggy DBus property.