]> err.no Git - systemd/log
systemd
13 years agostrv: handle empty lists in strv_copy() properly
Lennart Poettering [Fri, 15 Apr 2011 23:49:20 +0000 (01:49 +0200)]
strv: handle empty lists in strv_copy() properly

13 years agoutil: truncate newline inside of read_one_line_file() already
Lennart Poettering [Fri, 15 Apr 2011 23:48:02 +0000 (01:48 +0200)]
util: truncate newline inside of read_one_line_file() already

13 years agoutil: modernize get_parent_of_pid() a bit
Lennart Poettering [Fri, 15 Apr 2011 23:45:45 +0000 (01:45 +0200)]
util: modernize get_parent_of_pid() a bit

13 years agocrypto: let the cryptsetup binary handles its own configurable timeouts
Lennart Poettering [Thu, 14 Apr 2011 00:36:02 +0000 (02:36 +0200)]
crypto: let the cryptsetup binary handles its own configurable timeouts

13 years agologger,initctl: use global exit timeout
Lennart Poettering [Thu, 14 Apr 2011 00:32:42 +0000 (02:32 +0200)]
logger,initctl: use global exit timeout

13 years agoask-password: use default timeout
Lennart Poettering [Thu, 14 Apr 2011 00:30:43 +0000 (02:30 +0200)]
ask-password: use default timeout

13 years agomanager: drop all pending jobs when isolating
Lennart Poettering [Thu, 14 Apr 2011 00:23:51 +0000 (02:23 +0200)]
manager: drop all pending jobs when isolating

13 years agomanager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around...
Lennart Poettering [Thu, 14 Apr 2011 01:55:03 +0000 (03:55 +0200)]
manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger around when isolating

13 years agounits: never pull in sysinit from utmp, so that we can shutdown from emergency mode...
Lennart Poettering [Thu, 14 Apr 2011 00:57:13 +0000 (02:57 +0200)]
units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit

13 years agocryptsetup: add trailing \n
Lennart Poettering [Wed, 13 Apr 2011 20:22:10 +0000 (22:22 +0200)]
cryptsetup: add trailing \n

13 years agomanager: downgrade a few log messages
Lennart Poettering [Wed, 13 Apr 2011 20:21:17 +0000 (22:21 +0200)]
manager: downgrade a few log messages

13 years agounits: require syslog.socket from the logger because we simply fail if we don't have it
Lennart Poettering [Wed, 13 Apr 2011 21:36:23 +0000 (23:36 +0200)]
units: require syslog.socket from the logger because we simply fail if we don't have it

13 years agologger: adjust socket description to match service
Lennart Poettering [Wed, 13 Apr 2011 21:31:37 +0000 (23:31 +0200)]
logger: adjust socket description to match service

13 years agounits: set stdout of kmsg syslogd to /dev/null
Lennart Poettering [Wed, 13 Apr 2011 21:30:33 +0000 (23:30 +0200)]
units: set stdout of kmsg syslogd to /dev/null

13 years agounits: add --no-block when starting normal service after shell exited
Lennart Poettering [Wed, 13 Apr 2011 21:29:51 +0000 (23:29 +0200)]
units: add --no-block when starting normal service after shell exited

13 years agoupdate TODO
Kay Sievers [Thu, 14 Apr 2011 18:16:41 +0000 (20:16 +0200)]
update TODO

13 years agoask-password: use kill(PID, 0) before querying a password
Lennart Poettering [Wed, 13 Apr 2011 19:43:36 +0000 (21:43 +0200)]
ask-password: use kill(PID, 0) before querying a password

13 years agoask-password: support passwords without timeouts
Lennart Poettering [Wed, 13 Apr 2011 19:42:46 +0000 (21:42 +0200)]
ask-password: support passwords without timeouts

13 years agoask-password: always send final NUL char
Lennart Poettering [Wed, 13 Apr 2011 19:26:30 +0000 (21:26 +0200)]
ask-password: always send final NUL char

13 years agoask-password: properly accept empty passwords from agent
Lennart Poettering [Wed, 13 Apr 2011 19:24:17 +0000 (21:24 +0200)]
ask-password: properly accept empty passwords from agent

13 years agounit: skip default cgroup setup if we have no hierarchy to work on
Lennart Poettering [Wed, 13 Apr 2011 02:35:34 +0000 (04:35 +0200)]
unit: skip default cgroup setup if we have no hierarchy to work on

13 years agounits: isolate emergency.target instead of emergency.service when we fail to mount...
Lennart Poettering [Wed, 13 Apr 2011 02:35:07 +0000 (04:35 +0200)]
units: isolate emergency.target instead of emergency.service when we fail to mount all file systems

13 years agomount: don't pull in stdio logger for root mount unit
Lennart Poettering [Wed, 13 Apr 2011 02:34:35 +0000 (04:34 +0200)]
mount: don't pull in stdio logger for root mount unit

13 years agocgroup: be nice to Ingo Molnar
Lennart Poettering [Tue, 12 Apr 2011 20:15:59 +0000 (22:15 +0200)]
cgroup: be nice to Ingo Molnar

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

13 years agopam: use /proc/self/sessionid only if CAP_AUDIT_CONTROL is set
Lennart Poettering [Tue, 12 Apr 2011 19:12:06 +0000 (21:12 +0200)]
pam: use /proc/self/sessionid only if CAP_AUDIT_CONTROL is set

13 years agopam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL
Lennart Poettering [Tue, 12 Apr 2011 19:08:44 +0000 (21:08 +0200)]
pam: use /proc/self/loginuid only if we have CAP_AUDIT_CONTROL

13 years agosocket: try creating a socket under our own identity if we have no perms to consult...
Lennart Poettering [Tue, 12 Apr 2011 18:27:05 +0000 (20:27 +0200)]
socket: try creating a socket under our own identity if we have no perms to consult the selinux database

13 years agosocket: fix check for SEQPACKET
Lennart Poettering [Tue, 12 Apr 2011 18:26:33 +0000 (20:26 +0200)]
socket: fix check for SEQPACKET

13 years agoexecute: don't fail if we cannot fix OOM in a container
Lennart Poettering [Tue, 12 Apr 2011 18:12:15 +0000 (20:12 +0200)]
execute: don't fail if we cannot fix OOM in a container

13 years agoanalyze: fix typo
Lennart Poettering [Mon, 11 Apr 2011 23:19:48 +0000 (01:19 +0200)]
analyze: fix typo

13 years agounit: fix dump output
Lennart Poettering [Sun, 10 Apr 2011 01:27:27 +0000 (03:27 +0200)]
unit: fix dump output

13 years agosocket: be a bit more verbose when refusing to start a socket unit
Lennart Poettering [Sun, 10 Apr 2011 01:27:19 +0000 (03:27 +0200)]
socket: be a bit more verbose when refusing to start a socket unit

13 years agosocket: support netlink sockets
Lennart Poettering [Sun, 10 Apr 2011 01:27:00 +0000 (03:27 +0200)]
socket: support netlink sockets

13 years agolocal-fs: invoke emergency.service mounting at boot fails
Lennart Poettering [Sat, 9 Apr 2011 23:42:48 +0000 (01:42 +0200)]
local-fs: invoke emergency.service mounting at boot fails

13 years agopath: optionally, create watched directories in .path units
Lennart Poettering [Sat, 9 Apr 2011 23:30:14 +0000 (01:30 +0200)]
path: optionally, create watched directories in .path units

13 years agotmpfiles: don't warn if two identical lines are configured
Lennart Poettering [Fri, 8 Apr 2011 02:49:43 +0000 (04:49 +0200)]
tmpfiles: don't warn if two identical lines are configured

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

13 years agobash: fix typo
Brendan Jones [Fri, 8 Apr 2011 02:29:20 +0000 (04:29 +0200)]
bash: fix typo

There's a typo in the bash completion script which disables isolate
target completion.

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

13 years agoupdate TODO
Lennart Poettering [Sat, 9 Apr 2011 21:01:13 +0000 (23:01 +0200)]
update TODO

13 years agoman: add man page for ask-password
Lennart Poettering [Fri, 8 Apr 2011 15:57:17 +0000 (17:57 +0200)]
man: add man page for ask-password

13 years agodbus: expose monotonic timestamps on the bus
Lennart Poettering [Thu, 7 Apr 2011 19:35:37 +0000 (21:35 +0200)]
dbus: expose monotonic timestamps on the bus

13 years agomanager: no need to use randomized generator dir when running as system manager
Lennart Poettering [Thu, 7 Apr 2011 19:22:41 +0000 (21:22 +0200)]
manager: no need to use randomized generator dir when running as system manager

13 years agodon't make up buffer sizes, use standard LINE_MAX instead
Lennart Poettering [Thu, 7 Apr 2011 16:48:50 +0000 (18:48 +0200)]
don't make up buffer sizes, use standard LINE_MAX instead

13 years agounit: disallow configuration of more than one on_failure dependencies if OnFailureIso...
Lennart Poettering [Thu, 7 Apr 2011 16:47:35 +0000 (18:47 +0200)]
unit: disallow configuration of more than one on_failure dependencies if OnFailureIsolate= is on

13 years agounit: pull in logger unit only when running in system mode
Lennart Poettering [Thu, 7 Apr 2011 16:47:11 +0000 (18:47 +0200)]
unit: pull in logger unit only when running in system mode

13 years agomanager: serialize/deserialize max job id and /usr taint flag
Lennart Poettering [Thu, 7 Apr 2011 16:46:39 +0000 (18:46 +0200)]
manager: serialize/deserialize max job id and /usr taint flag

13 years agomanager: don't garbage collect jobs when isolating, to change global state
Lennart Poettering [Thu, 7 Apr 2011 16:45:34 +0000 (18:45 +0200)]
manager: don't garbage collect jobs when isolating, to change global state

13 years agounit: introduce OnFailureIsolate=
Lennart Poettering [Thu, 7 Apr 2011 02:11:31 +0000 (04:11 +0200)]
unit: introduce OnFailureIsolate=

13 years agomount: relabel both before and after a mount, just in case
Lennart Poettering [Wed, 6 Apr 2011 21:38:01 +0000 (23:38 +0200)]
mount: relabel both before and after a mount, just in case

13 years agobuild-sys: bump version v24
Lennart Poettering [Wed, 6 Apr 2011 19:28:41 +0000 (21:28 +0200)]
build-sys: bump version

13 years agoupdate TODO
Lennart Poettering [Wed, 6 Apr 2011 19:07:10 +0000 (21:07 +0200)]
update TODO

13 years agocmdline: we actually want to parse the kernel cmdline in VMs, just not in containers
Lennart Poettering [Wed, 6 Apr 2011 17:36:06 +0000 (19:36 +0200)]
cmdline: we actually want to parse the kernel cmdline in VMs, just not in containers

13 years agounits: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
Lennart Poettering [Wed, 6 Apr 2011 17:18:11 +0000 (19:18 +0200)]
units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service

On request of Miroslav Lichvar, rename rtc-set.target to
time-sync.target since usually the RTC chip isn't involved at all in NTP
syncs.

Also, pull it in by hwclock-load.service.

13 years agojob: fix deserialization of jobs: do not ignore ordering
Lennart Poettering [Wed, 6 Apr 2011 17:09:33 +0000 (19:09 +0200)]
job: fix deserialization of jobs: do not ignore ordering

13 years agovar-lock: don't try to enable var-lock.mount if we don't install it
Lennart Poettering [Wed, 6 Apr 2011 13:57:37 +0000 (15:57 +0200)]
var-lock: don't try to enable var-lock.mount if we don't install it

13 years agoupdate TODO
Lennart Poettering [Wed, 6 Apr 2011 13:32:11 +0000 (15:32 +0200)]
update TODO

13 years agosystemctl: properly parse JobNew signals
Lennart Poettering [Wed, 6 Apr 2011 00:46:13 +0000 (02:46 +0200)]
systemctl: properly parse JobNew signals

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

13 years agoservice: fix units with more than one socket
Lennart Poettering [Wed, 6 Apr 2011 00:25:39 +0000 (02:25 +0200)]
service: fix units with more than one socket

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

13 years agosystemctl: make most operations NOPs in a chroot
Lennart Poettering [Tue, 5 Apr 2011 23:35:56 +0000 (01:35 +0200)]
systemctl: make most operations NOPs in a chroot

13 years agomanager: don't show PID for incoming signals if it is 0
Lennart Poettering [Tue, 5 Apr 2011 23:33:34 +0000 (01:33 +0200)]
manager: don't show PID for incoming signals if it is 0

13 years agoman: fix description of systemctl reload-or-try-restart
Lennart Poettering [Tue, 5 Apr 2011 21:41:27 +0000 (23:41 +0200)]
man: fix description of systemctl reload-or-try-restart

13 years agomount: block creation of mount units for API file systems
Lennart Poettering [Tue, 5 Apr 2011 21:39:21 +0000 (23:39 +0200)]
mount: block creation of mount units for API file systems

13 years agounits: call the logger a bridge too
Lennart Poettering [Tue, 5 Apr 2011 21:22:35 +0000 (23:22 +0200)]
units: call the logger a bridge too

13 years agobuild-sys: we don't need rootsbindir anymore since we don't install anything to ...
Lennart Poettering [Tue, 5 Apr 2011 00:52:21 +0000 (02:52 +0200)]
build-sys: we don't need rootsbindir anymore since we don't install anything to /sbin

13 years agobuild-sys: better don't use libexecdir here at all
Lennart Poettering [Tue, 5 Apr 2011 00:49:49 +0000 (02:49 +0200)]
build-sys: better don't use libexecdir here at all

13 years agobuild-sys: fix libexecdir to /usr/lib
Lennart Poettering [Tue, 5 Apr 2011 00:40:59 +0000 (02:40 +0200)]
build-sys: fix libexecdir to /usr/lib

13 years agobuild-sys: always place user units in /usr/lib/systemd
Kay Sievers [Tue, 5 Apr 2011 00:19:42 +0000 (02:19 +0200)]
build-sys: always place user units in /usr/lib/systemd

./configure --libexecdir=/usr/lib

13 years agoupdate TODO
Lennart Poettering [Mon, 4 Apr 2011 23:44:26 +0000 (01:44 +0200)]
update TODO

13 years agobuild-sys: bump version number v23
Lennart Poettering [Mon, 4 Apr 2011 22:36:01 +0000 (00:36 +0200)]
build-sys: bump version number

13 years agoupdate TODO
Lennart Poettering [Mon, 4 Apr 2011 22:24:00 +0000 (00:24 +0200)]
update TODO

13 years agopkgconfig: update .pc file accordingly
Lennart Poettering [Mon, 4 Apr 2011 17:14:38 +0000 (19:14 +0200)]
pkgconfig: update .pc file accordingly

13 years agolookup: always also look into /usr/lib for units
Lennart Poettering [Mon, 4 Apr 2011 17:02:32 +0000 (19:02 +0200)]
lookup: always also look into /usr/lib for units

13 years agoexec: support unlimited resources
Lennart Poettering [Mon, 4 Apr 2011 16:15:13 +0000 (18:15 +0200)]
exec: support unlimited resources

13 years agoselinux: relabel /run the same way as /dev after loading the policy since they both...
Lennart Poettering [Mon, 4 Apr 2011 14:56:51 +0000 (16:56 +0200)]
selinux: relabel /run the same way as /dev after loading the policy since they both come pre-filled and unlabelled

13 years agoupdate TODO
Lennart Poettering [Mon, 4 Apr 2011 13:38:25 +0000 (15:38 +0200)]
update TODO

13 years agomanager: fd must be int, not char
Michal Schmidt [Mon, 4 Apr 2011 13:08:40 +0000 (15:08 +0200)]
manager: fd must be int, not char

This should fix the crash reported by Dan Horak on s390x which
does not have VTs.

13 years agochange remaining /var/run to /run
Kay Sievers [Mon, 4 Apr 2011 13:33:00 +0000 (15:33 +0200)]
change remaining /var/run to /run

13 years agounits: move user units from /usr/share to /usr/lib since they might be arch-dependent
Lennart Poettering [Mon, 4 Apr 2011 13:22:58 +0000 (15:22 +0200)]
units: move user units from /usr/share to /usr/lib since they might be arch-dependent

13 years agologger: name socket like service
Lennart Poettering [Mon, 4 Apr 2011 13:23:29 +0000 (15:23 +0200)]
logger: name socket like service

13 years agounits: improve logger descriptions
Lennart Poettering [Mon, 4 Apr 2011 02:06:24 +0000 (04:06 +0200)]
units: improve logger descriptions

13 years agoman: document /etc/sysctl.d/
Lennart Poettering [Mon, 4 Apr 2011 01:48:09 +0000 (03:48 +0200)]
man: document /etc/sysctl.d/

13 years agobinfmt: add binfmt tool to set up binfmt_misc at boot
Lennart Poettering [Mon, 4 Apr 2011 01:36:42 +0000 (03:36 +0200)]
binfmt: add binfmt tool to set up binfmt_misc at boot

13 years agoupdate TODO
Lennart Poettering [Sun, 3 Apr 2011 21:55:40 +0000 (23:55 +0200)]
update TODO

13 years agotmpfiles: create leading directories for d/D instructions
Kay Sievers [Sun, 3 Apr 2011 20:21:21 +0000 (22:21 +0200)]
tmpfiles: create leading directories for d/D instructions

13 years agocondition: use 'selinux' rather than 'SELinux' as preferred spelling
Lennart Poettering [Sun, 3 Apr 2011 20:18:35 +0000 (22:18 +0200)]
condition: use 'selinux' rather than 'SELinux' as preferred spelling

The virtualization condition and others use lowercase identifiers, so
for the sake of keeping things least surprising, use lowercase
identifiers here too.

13 years agoman: document ConditionSecurity
Michal Schmidt [Sun, 3 Apr 2011 16:17:05 +0000 (18:17 +0200)]
man: document ConditionSecurity

13 years agocondition: add ConditionSecurity
Michal Schmidt [Sun, 3 Apr 2011 16:16:59 +0000 (18:16 +0200)]
condition: add ConditionSecurity

Using ConditionSecurity a unit can depend on a security module being
enabled/disabled. For now the only recognized security module is SELinux.

I'd like to use this feature for a unit that creates /.autorelabel if
SELinux is disabled, to ensure a relabel is done automatically when the
system is later rebooted with SELinux enabled.

13 years agoload-fragment: unify config_parse_condition_{kernel, virt}
Michal Schmidt [Sun, 3 Apr 2011 16:16:54 +0000 (18:16 +0200)]
load-fragment: unify config_parse_condition_{kernel, virt}

They only differ in the condition type, otherwise the code is identical.
Replace them with a more generic config_parse_condition_string().

13 years agocondition: fix dumping of conditions
Michal Schmidt [Sun, 3 Apr 2011 16:16:48 +0000 (18:16 +0200)]
condition: fix dumping of conditions

Several condition types were missing their strings, they were showing as
"(null)" in systemctl dump.
Indentation was missing too.

13 years agoinitctl: /dev/initctl is a named pipe, not a socket
Lennart Poettering [Sun, 3 Apr 2011 20:14:56 +0000 (22:14 +0200)]
initctl: /dev/initctl is a named pipe, not a socket

13 years agokmsg-syslogd: pass facility value into kmsg
Lennart Poettering [Sun, 3 Apr 2011 20:14:34 +0000 (22:14 +0200)]
kmsg-syslogd: pass facility value into kmsg

13 years agomove /var/lock to HAVE_SYSV_COMPAT
Kay Sievers [Sun, 3 Apr 2011 20:09:25 +0000 (22:09 +0200)]
move /var/lock to HAVE_SYSV_COMPAT

13 years agoupdate TODO
Kay Sievers [Sun, 3 Apr 2011 15:08:46 +0000 (17:08 +0200)]
update TODO

13 years agotmpfiles: split off rules for legacy systems into legacy.conf
Lennart Poettering [Fri, 1 Apr 2011 23:08:31 +0000 (01:08 +0200)]
tmpfiles: split off rules for legacy systems into legacy.conf

13 years agogeneral: replace a few uses of /var/run by /run
Lennart Poettering [Fri, 1 Apr 2011 13:25:46 +0000 (15:25 +0200)]
general: replace a few uses of /var/run by /run

13 years agobuild-sys: bump version v22
Lennart Poettering [Thu, 31 Mar 2011 23:35:27 +0000 (01:35 +0200)]
build-sys: bump version

13 years agotmpfiles: enforce new /var/lock semantics
Lennart Poettering [Thu, 31 Mar 2011 22:43:28 +0000 (00:43 +0200)]
tmpfiles: enforce new /var/lock semantics

http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html

13 years agoman: document ConditionPathIsDirectory=
Lennart Poettering [Thu, 31 Mar 2011 22:42:57 +0000 (00:42 +0200)]
man: document ConditionPathIsDirectory=

13 years agomount: also relabel pre-mounted API dirs
Lennart Poettering [Thu, 31 Mar 2011 19:40:10 +0000 (21:40 +0200)]
mount: also relabel pre-mounted API dirs

13 years agolog: fix shifting of facilities
Lennart Poettering [Thu, 31 Mar 2011 19:22:44 +0000 (21:22 +0200)]
log: fix shifting of facilities

13 years agolog: don't strip facility when writing to kmsg
Lennart Poettering [Thu, 31 Mar 2011 17:49:04 +0000 (19:49 +0200)]
log: don't strip facility when writing to kmsg