chiark / gitweb /
elogind.git
9 years agojob: start job timer when we begin running the job, not already when we add it to...
Lennart Poettering [Wed, 23 Feb 2011 17:46:57 +0000 (18:46 +0100)]
job: start job timer when we begin running the job, not already when we add it to the queue of jobs

9 years agocryptsetup: try to show the mount point for a crypto disk if we can
Lennart Poettering [Wed, 23 Feb 2011 17:46:27 +0000 (18:46 +0100)]
cryptsetup: try to show the mount point for a crypto disk if we can

9 years agorescue: terminate plymouth entirely when going into rescue mode
Lennart Poettering [Wed, 23 Feb 2011 17:42:08 +0000 (18:42 +0100)]
rescue: terminate plymouth entirely when going into rescue mode

9 years agoask-password: fix handling of timeouts when waiting for password
Lennart Poettering [Wed, 23 Feb 2011 00:12:29 +0000 (01:12 +0100)]
ask-password: fix handling of timeouts when waiting for password

9 years agoask-password: supported plymouth cached passwords
Lennart Poettering [Wed, 23 Feb 2011 00:12:07 +0000 (01:12 +0100)]
ask-password: supported plymouth cached passwords

9 years agomain: print warning if /usr is on a seperate partition
Lennart Poettering [Wed, 23 Feb 2011 00:10:20 +0000 (01:10 +0100)]
main: print warning if /usr is on a seperate partition

9 years agoplymouth: don't wait forever for plymouth in case it is stuck
Lennart Poettering [Tue, 22 Feb 2011 15:26:07 +0000 (16:26 +0100)]
plymouth: don't wait forever for plymouth in case it is stuck

9 years agoupdate TODO
Lennart Poettering [Tue, 22 Feb 2011 01:45:06 +0000 (02:45 +0100)]
update TODO

9 years agovirtualization: check cpuid first, since it is cheaper than DMI
Lennart Poettering [Tue, 22 Feb 2011 00:39:19 +0000 (01:39 +0100)]
virtualization: check cpuid first, since it is cheaper than DMI

9 years agoutil: make string static
Lennart Poettering [Mon, 21 Feb 2011 23:19:03 +0000 (00:19 +0100)]
util: make string static

9 years agoplymouth: ensure we start not a single getty before plymouth is gone because we never...
Lennart Poettering [Mon, 21 Feb 2011 22:55:17 +0000 (23:55 +0100)]
plymouth: ensure we start not a single getty before plymouth is gone because we never know which ttys plymouth still controls

9 years agoREADME: document that we need ipv6
Lennart Poettering [Mon, 21 Feb 2011 21:40:56 +0000 (22:40 +0100)]
README: document that we need ipv6

9 years agocondition: drop pointless double negation
Lennart Poettering [Mon, 21 Feb 2011 21:10:04 +0000 (22:10 +0100)]
condition: drop pointless double negation

9 years agounit: introduce ConditionVirtualization=
Lennart Poettering [Mon, 21 Feb 2011 21:07:55 +0000 (22:07 +0100)]
unit: introduce ConditionVirtualization=

9 years agovirtualization: beef virtualization code
Lennart Poettering [Mon, 21 Feb 2011 20:48:59 +0000 (21:48 +0100)]
virtualization: beef virtualization code

9 years agodbus: don't rely that timer/path units have an initialized unit field
Lennart Poettering [Mon, 21 Feb 2011 18:26:53 +0000 (19:26 +0100)]
dbus: don't rely that timer/path units have an initialized unit field

9 years agomount: make sure network mounts are ordered after network.target
Lennart Poettering [Mon, 21 Feb 2011 12:32:18 +0000 (13:32 +0100)]
mount: make sure network mounts are ordered after network.target

9 years agokmsg-syslogd: fix build
Lennart Poettering [Mon, 21 Feb 2011 03:01:26 +0000 (04:01 +0100)]
kmsg-syslogd: fix build

9 years agokmsg-syslogd: increase terminate timeout to 5min to generte less debug spew
Lennart Poettering [Sun, 20 Feb 2011 22:20:19 +0000 (23:20 +0100)]
kmsg-syslogd: increase terminate timeout to 5min to generte less debug spew

9 years agosystemctl: shutdown(8) - call kexec if kexec kernel is loaded
Kay Sievers [Sun, 20 Feb 2011 20:09:07 +0000 (21:09 +0100)]
systemctl: shutdown(8) - call kexec if kexec kernel is loaded

9 years agounit: don't timeout fsck
Lennart Poettering [Sun, 20 Feb 2011 19:27:59 +0000 (20:27 +0100)]
unit: don't timeout fsck

9 years agoman: fixed typo in SyslogIdentifier=
Mike Kazantsev [Sat, 19 Feb 2011 05:10:49 +0000 (10:10 +0500)]
man: fixed typo in SyslogIdentifier=

9 years agotmpfiles: never clean up block devices
Lennart Poettering [Sat, 19 Feb 2011 13:20:16 +0000 (14:20 +0100)]
tmpfiles: never clean up block devices

9 years agomain: refuse --test as root
Lennart Poettering [Sat, 19 Feb 2011 13:20:00 +0000 (14:20 +0100)]
main: refuse --test as root

9 years agounits: order fsck@.service before basic.target instead of local-fs.target to relax...
Lennart Poettering [Fri, 18 Feb 2011 11:39:30 +0000 (12:39 +0100)]
units: order fsck@.service before basic.target instead of local-fs.target to relax things a little

9 years agoreadahead: remove misleading error messages
Lennart Poettering [Fri, 18 Feb 2011 01:26:01 +0000 (02:26 +0100)]
readahead: remove misleading error messages

https://bugzilla.redhat.com/show_bug.cgi?id=678255

9 years agoman: don't do more reloads than necessary in spec files
Lennart Poettering [Fri, 18 Feb 2011 01:25:18 +0000 (02:25 +0100)]
man: don't do more reloads than necessary in spec files

9 years agoutil: retry opening a TTY on EIO
Lennart Poettering [Thu, 17 Feb 2011 15:29:47 +0000 (16:29 +0100)]
util: retry opening a TTY on EIO

https://bugs.freedesktop.org/show_bug.cgi?id=33996
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245

9 years agoutil: beef up logic to find ctty name
Lennart Poettering [Thu, 17 Feb 2011 15:29:04 +0000 (16:29 +0100)]
util: beef up logic to find ctty name

9 years agotmpfiles: kill double slashes in unix socket names, just in case
Lennart Poettering [Thu, 17 Feb 2011 12:13:34 +0000 (13:13 +0100)]
tmpfiles: kill double slashes in unix socket names, just in case

9 years agobuild-sys: prepare release v18 v18
Lennart Poettering [Wed, 16 Feb 2011 21:18:28 +0000 (22:18 +0100)]
build-sys: prepare release v18

9 years agosystemctl: introduce --ignore-dependencies
Lennart Poettering [Wed, 16 Feb 2011 20:59:31 +0000 (21:59 +0100)]
systemctl: introduce --ignore-dependencies

9 years agosystemctl: introduce --failed to show only failed services
Lennart Poettering [Wed, 16 Feb 2011 19:34:59 +0000 (20:34 +0100)]
systemctl: introduce --failed to show only failed services

9 years agorescue: make 'systemctl default' fail if there is already something running when...
Lennart Poettering [Wed, 16 Feb 2011 18:34:24 +0000 (19:34 +0100)]
rescue: make 'systemctl default' fail if there is already something running when the shell exited

9 years agoutil: seperate welcome line from other output by empty lines
Lennart Poettering [Wed, 16 Feb 2011 18:33:37 +0000 (19:33 +0100)]
util: seperate welcome line from other output by empty lines

9 years agomanager: don't consider transaction jobs conflicting with queued jobs redundant
Lennart Poettering [Wed, 16 Feb 2011 18:33:17 +0000 (19:33 +0100)]
manager: don't consider transaction jobs conflicting with queued jobs redundant

9 years agoREADME: update requirements
Lennart Poettering [Wed, 16 Feb 2011 18:09:11 +0000 (19:09 +0100)]
README: update requirements

9 years agoudev: ignore block devices which no known contents, to avoid trying of mounts/swapons...
Lennart Poettering [Wed, 16 Feb 2011 11:57:00 +0000 (12:57 +0100)]
udev: ignore block devices which no known contents, to avoid trying of mounts/swapons when devices aren't set up full yet

9 years agoswap: handle "nofail" from fstab
Kay Sievers [Tue, 15 Feb 2011 17:38:15 +0000 (18:38 +0100)]
swap: handle "nofail" from fstab

9 years agocleanup TODO
Lennart Poettering [Tue, 15 Feb 2011 12:09:00 +0000 (13:09 +0100)]
cleanup TODO

9 years agomount,swap: properly add dependencies to logger if needed
Lennart Poettering [Tue, 15 Feb 2011 11:28:26 +0000 (12:28 +0100)]
mount,swap: properly add dependencies to logger if needed

9 years agoservice: change default std output to inherit
Lennart Poettering [Tue, 15 Feb 2011 11:27:29 +0000 (12:27 +0100)]
service: change default std output to inherit

9 years agoexec: introduce global defaults for the standard output of services
Lennart Poettering [Tue, 15 Feb 2011 10:52:29 +0000 (11:52 +0100)]
exec: introduce global defaults for the standard output of services

9 years agoudev: use SYSTEMD_READY to mask uninitialized DM devices
Lennart Poettering [Tue, 15 Feb 2011 09:59:46 +0000 (10:59 +0100)]
udev: use SYSTEMD_READY to mask uninitialized DM devices

9 years agofsck: output to /dev/console by default in addition to syslog
Lennart Poettering [Tue, 15 Feb 2011 00:28:31 +0000 (01:28 +0100)]
fsck: output to /dev/console by default in addition to syslog

9 years agoexecute: optionally forward program output to /dev/console in addition to syslog...
Lennart Poettering [Tue, 15 Feb 2011 00:27:53 +0000 (01:27 +0100)]
execute: optionally forward program output to /dev/console in addition to syslog/kmsg

9 years agosocket: refuse socket activation for SysV services
Lennart Poettering [Mon, 14 Feb 2011 23:40:17 +0000 (00:40 +0100)]
socket: refuse socket activation for SysV services

Make sure that when a .socket unit is installed without its matching
.service we don't end up activating a legacy SysV/LSB service with the
same name. SysV/LSB style services do not support passing sockets and we
don't want to extend SysV/LSB to ensure we don't break compatibility
with other systems.

9 years agofsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 set
Lennart Poettering [Mon, 14 Feb 2011 23:30:51 +0000 (00:30 +0100)]
fsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 set

9 years agoshutdown: execute all binaries in /lib/systemd/system-shutdown as last step before...
Lennart Poettering [Mon, 14 Feb 2011 23:30:11 +0000 (00:30 +0100)]
shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot()

9 years agojob: make status message printing more verbose
Lennart Poettering [Mon, 14 Feb 2011 22:10:31 +0000 (23:10 +0100)]
job: make status message printing more verbose

9 years agocryptsetup: fix unit file description
Lennart Poettering [Mon, 14 Feb 2011 22:09:27 +0000 (23:09 +0100)]
cryptsetup: fix unit file description

9 years agotmpfiles: never delete AF_UNIX sockets that are alive
Lennart Poettering [Mon, 14 Feb 2011 20:55:06 +0000 (21:55 +0100)]
tmpfiles: never delete AF_UNIX sockets that are alive

9 years agogetty: don't parse console= anymore, use /sys/class/tty/console/active instead
Lennart Poettering [Mon, 14 Feb 2011 18:57:18 +0000 (19:57 +0100)]
getty: don't parse console= anymore, use /sys/class/tty/console/active instead

9 years agoutil: properly resolve /dev/console if more than once console= argument was passed...
Lennart Poettering [Mon, 14 Feb 2011 18:54:15 +0000 (19:54 +0100)]
util: properly resolve /dev/console if more than once console= argument was passed on the kernel command line

9 years agogetty: do not auto-spawn getty's on VC ttys if console=ttyN is used
Lennart Poettering [Mon, 14 Feb 2011 17:56:51 +0000 (18:56 +0100)]
getty: do not auto-spawn getty's on VC ttys if console=ttyN is used

https://bugzilla.redhat.com/show_bug.cgi?id=676885

9 years agofsck: skip root fsck if dracut already did it
Lennart Poettering [Mon, 14 Feb 2011 10:42:47 +0000 (11:42 +0100)]
fsck: skip root fsck if dracut already did it

9 years agoupdate TODO
Lennart Poettering [Sun, 13 Feb 2011 18:02:18 +0000 (19:02 +0100)]
update TODO

9 years agoutil: when determining the right TERM for /dev/console consult /sys/class/tty/console...
Lennart Poettering [Sun, 13 Feb 2011 18:01:47 +0000 (19:01 +0100)]
util: when determining the right TERM for /dev/console consult /sys/class/tty/console/active

9 years agoservice: when guessing the main PID don't consider processes that aren't our children
Lennart Poettering [Sun, 13 Feb 2011 17:52:02 +0000 (18:52 +0100)]
service: when guessing the main PID don't consider processes that aren't our children

9 years agoservice: make main pid guessing optional, and reread pid file after reloads
Lennart Poettering [Sun, 13 Feb 2011 17:51:30 +0000 (18:51 +0100)]
service: make main pid guessing optional, and reread pid file after reloads

9 years agopam: introduce whitelist and blacklist user list feature
Lennart Poettering [Sun, 13 Feb 2011 17:21:11 +0000 (18:21 +0100)]
pam: introduce whitelist and blacklist user list feature

This is useful to exclude root from the session logout killings or to
limit killing to the selinux guest users.

9 years agosystemctl: minor optimizations
Lennart Poettering [Sun, 13 Feb 2011 16:18:45 +0000 (17:18 +0100)]
systemctl: minor optimizations

9 years agosystemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so that lockin...
Lennart Poettering [Sun, 13 Feb 2011 16:09:29 +0000 (17:09 +0100)]
systemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so that locking by tty works

9 years agoreadahead: disable readahead in virtual machines
Lennart Poettering [Sun, 13 Feb 2011 14:46:05 +0000 (15:46 +0100)]
readahead: disable readahead in virtual machines

9 years agotmpfiles: simplify default tmpfiles configuration by using globs
Lennart Poettering [Sun, 13 Feb 2011 14:11:28 +0000 (15:11 +0100)]
tmpfiles: simplify default tmpfiles configuration by using globs

9 years agosystemd: document systemd-tmpfiles
Lennart Poettering [Sun, 13 Feb 2011 14:08:15 +0000 (15:08 +0100)]
systemd: document systemd-tmpfiles

9 years agotmpfiles: move binary to /bin to make it publicly available
Lennart Poettering [Sun, 13 Feb 2011 13:04:57 +0000 (14:04 +0100)]
tmpfiles: move binary to /bin to make it publicly available

9 years agotmpfiles: take names of tmpfiles configuration files on the command line
Lennart Poettering [Sun, 13 Feb 2011 13:00:54 +0000 (14:00 +0100)]
tmpfiles: take names of tmpfiles configuration files on the command line

9 years agotmpfiles: log to stderr if possible
Lennart Poettering [Sat, 12 Feb 2011 08:31:38 +0000 (09:31 +0100)]
tmpfiles: log to stderr if possible

9 years agotmpfiles: support globs
Lennart Poettering [Sat, 12 Feb 2011 08:31:25 +0000 (09:31 +0100)]
tmpfiles: support globs

9 years agoupdate TODO
Lennart Poettering [Wed, 9 Feb 2011 21:48:54 +0000 (22:48 +0100)]
update TODO

9 years agounits: introduce and hook up sound.target
Lennart Poettering [Wed, 9 Feb 2011 20:07:28 +0000 (21:07 +0100)]
units: introduce and hook up sound.target

9 years agodbus: allow all clients access to org.freedesktop.DBus.Peer
Lennart Poettering [Wed, 9 Feb 2011 14:21:20 +0000 (15:21 +0100)]
dbus: allow all clients access to org.freedesktop.DBus.Peer

9 years agoman: document SYSTEMD_READY=
Lennart Poettering [Wed, 9 Feb 2011 14:02:03 +0000 (15:02 +0100)]
man: document SYSTEMD_READY=

9 years agodevice: consider udev devices with SYSTEMD_READY=0 as unplugged
Lennart Poettering [Wed, 9 Feb 2011 13:48:52 +0000 (14:48 +0100)]
device: consider udev devices with SYSTEMD_READY=0 as unplugged

9 years agosystemd: show status when run with plymouth, and don't start plymouth a second time...
Lennart Poettering [Wed, 9 Feb 2011 13:17:52 +0000 (14:17 +0100)]
systemd: show status when run with plymouth, and don't start plymouth a second time when it is already running

9 years agomanager: if we receive SIGRTMIN+20/21 enable/disable showing of status on the console
Lennart Poettering [Wed, 9 Feb 2011 11:12:30 +0000 (12:12 +0100)]
manager: if we receive SIGRTMIN+20/21 enable/disable showing of status on the console

9 years agoman: clarify a few things
Lennart Poettering [Wed, 9 Feb 2011 10:00:17 +0000 (11:00 +0100)]
man: clarify a few things

9 years agosystemctl: fix opening params
Lennart Poettering [Wed, 9 Feb 2011 00:11:19 +0000 (01:11 +0100)]
systemctl: fix opening params

9 years agosystemctl: don't start agent for --user
Lennart Poettering [Wed, 9 Feb 2011 00:09:09 +0000 (01:09 +0100)]
systemctl: don't start agent for --user

9 years agosystemctl: make sure the tty agent does not retain a copy of stdio
Lennart Poettering [Tue, 8 Feb 2011 23:58:43 +0000 (00:58 +0100)]
systemctl: make sure the tty agent does not retain a copy of stdio

https://bugzilla.redhat.com/show_bug.cgi?id=674916

9 years agoplymouth: move plymouth out of TARGET_FEDORA
Jeff Mahoney [Tue, 8 Feb 2011 17:47:32 +0000 (18:47 +0100)]
plymouth: move plymouth out of TARGET_FEDORA

9 years agolocale: unify some code between fedora and altlinux
Lennart Poettering [Tue, 8 Feb 2011 11:54:06 +0000 (12:54 +0100)]
locale: unify some code between fedora and altlinux

9 years agobuild-sys: initial support ALTLinux
Alexey Shabalin [Tue, 8 Feb 2011 11:50:56 +0000 (12:50 +0100)]
build-sys: initial support ALTLinux

Hi all!
I added basic support for ALTLinux.
Please see patch or
http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux
Thanks.

9 years agobuild-sys: make less noise when checking file
Lucas De Marchi [Wed, 26 Jan 2011 20:10:18 +0000 (18:10 -0200)]
build-sys: make less noise when checking file

There's already a condition that gives a warning if user is
cross-compiling an relying on files from the build system. AC_CHECK_FILE
macro only tests for file in the build system. Hence use a simple
'test -f' that does the same job, without the warning.

9 years agoupdate TODO
Lennart Poettering [Tue, 8 Feb 2011 11:12:23 +0000 (12:12 +0100)]
update TODO

9 years agobuild-sys: fix AC_COMPILE_IFELSE tests
Lucas De Marchi [Wed, 26 Jan 2011 19:59:11 +0000 (17:59 -0200)]
build-sys: fix AC_COMPILE_IFELSE tests

This removes some warnings when bootstrapping. The warnings were introduced
in autoconf 2.68. Reference:

http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html

The following code

AC_COMPILE_IFELSE([
<MY C CODE HERE>
], ...)

is changed to

AC_COMPILE_IFELSE(
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
<MY C CODE HERE>
])], ...)

9 years agobuild-sys: ensure selinux configure check follows logic of other optional features
Lennart Poettering [Tue, 8 Feb 2011 10:44:38 +0000 (11:44 +0100)]
build-sys: ensure selinux configure check follows logic of other optional features

9 years agobuild-sys: autodetect and use pkg-config for libselinux
Alexey Shabalin [Thu, 27 Jan 2011 12:44:39 +0000 (15:44 +0300)]
build-sys: autodetect and use pkg-config for libselinux

Hi!
libselinux has a pkg-config file:

$ rpm -qf /usr/lib64/pkgconfig/libselinux.pc
libselinux-devel-2.0.98-alt1

$ cat /usr/lib64/pkgconfig/libselinux.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=/usr/include

Name: libselinux
Description: SELinux utility library
Version: 2.0.98
URL: http://userspace.selinuxproject.org/
Libs.private: -lsepol
Libs: -lselinux
Cflags:

Patch for use pkg-config in attach.

--
Alexey Shabalin

9 years agodbus: use ControlGroup as property name to match config option
Lennart Poettering [Tue, 8 Feb 2011 10:13:32 +0000 (11:13 +0100)]
dbus: use ControlGroup as property name to match config option

9 years agopam: optionally reset cgroup memberships for login sessions
Lennart Poettering [Fri, 4 Feb 2011 11:46:38 +0000 (12:46 +0100)]
pam: optionally reset cgroup memberships for login sessions

9 years agoload-fragment: properly parse Nice= value
Adrian Spinu [Wed, 2 Feb 2011 13:57:52 +0000 (15:57 +0200)]
load-fragment: properly parse Nice= value

Hello,

     i`ve been using systemd for a while now, and found out that when
using NICE parameter for .service files the varible is not set correctly.
     i`ve found the problem in file *load-fragment.c* function
*config_parse_nice*        variable /*c->nice_set = false;*/  should be
/*c->nice_set = true;*/
     Problem is alsom manifesting on v17 but did not upgrade yet ...

9 years agoautomount: use unit_pending_inactive() where appropriate
Lennart Poettering [Wed, 26 Jan 2011 01:55:35 +0000 (02:55 +0100)]
automount: use unit_pending_inactive() where appropriate

9 years agoTODO
Lennart Poettering [Tue, 25 Jan 2011 03:35:35 +0000 (04:35 +0100)]
TODO

9 years agoclang: fix some issues found with clang-analyzer v17
Lennart Poettering [Sat, 22 Jan 2011 01:18:59 +0000 (02:18 +0100)]
clang: fix some issues found with clang-analyzer

9 years agogcc: make gcc shut up
Lennart Poettering [Sat, 22 Jan 2011 00:47:37 +0000 (01:47 +0100)]
gcc: make gcc shut up

9 years agobuild-sys: prep v17
Lennart Poettering [Sat, 22 Jan 2011 00:44:35 +0000 (01:44 +0100)]
build-sys: prep v17

9 years agoupdate TODO
Lennart Poettering [Sat, 22 Jan 2011 00:26:17 +0000 (01:26 +0100)]
update TODO

9 years agovala 0.10 seem to work fine
Kay Sievers [Fri, 21 Jan 2011 17:22:54 +0000 (18:22 +0100)]
vala 0.10 seem to work fine

9 years agocryptsetup: fix ordering loop when dealing with encrypted swap devices
Lennart Poettering [Fri, 21 Jan 2011 02:30:13 +0000 (03:30 +0100)]
cryptsetup: fix ordering loop when dealing with encrypted swap devices

https://bugzilla.redhat.com/show_bug.cgi?id=657234