chiark / gitweb /
elogind.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

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

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

10 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

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

10 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

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

10 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.

10 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

10 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

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

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

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

10 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

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

10 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

10 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.

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

10 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.

10 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().

10 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.

10 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

10 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

10 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

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

10 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

10 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

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

10 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

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

10 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

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

10 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

10 years agoman: uinput.ko is a bad example
Lennart Poettering [Thu, 31 Mar 2011 16:19:59 +0000 (18:19 +0200)]
man: uinput.ko is a bad example

10 years agobuild-sys: create a number of drop-in config dirs
Lennart Poettering [Thu, 31 Mar 2011 16:17:29 +0000 (18:17 +0200)]
build-sys: create a number of drop-in config dirs

10 years agosrc: our lord is coverity
Lennart Poettering [Thu, 31 Mar 2011 13:35:40 +0000 (15:35 +0200)]
src: our lord is coverity

10 years agorandom: do not print warning if random seed doesn't exist yet
Lennart Poettering [Thu, 31 Mar 2011 02:40:02 +0000 (04:40 +0200)]
random: do not print warning if random seed doesn't exist yet

10 years agoplymouth: use PID file to detect whether ply is running
Lennart Poettering [Thu, 31 Mar 2011 02:26:40 +0000 (04:26 +0200)]
plymouth: use PID file to detect whether ply is running

10 years agobuild-sys: install systemd-analyze by default
Lennart Poettering [Thu, 31 Mar 2011 01:25:30 +0000 (03:25 +0200)]
build-sys: install systemd-analyze by default

10 years agoanalyze: improve output
Lennart Poettering [Thu, 31 Mar 2011 01:17:13 +0000 (03:17 +0200)]
analyze: improve output

10 years agoupdate TODO
Kay Sievers [Thu, 31 Mar 2011 00:36:32 +0000 (02:36 +0200)]
update TODO

10 years agoanalyze: add plotter
Lennart Poettering [Wed, 30 Mar 2011 23:19:12 +0000 (01:19 +0200)]
analyze: add plotter

10 years agounit: when deserializing do reconnect to dbus/syslog when they show up
Lennart Poettering [Wed, 30 Mar 2011 18:16:07 +0000 (20:16 +0200)]
unit: when deserializing do reconnect to dbus/syslog when they show up

10 years agoanalyze: beautify output a bit
Lennart Poettering [Wed, 30 Mar 2011 18:15:45 +0000 (20:15 +0200)]
analyze: beautify output a bit

10 years agoanalyze: add systemd-analyze tool
Lennart Poettering [Wed, 30 Mar 2011 18:04:37 +0000 (20:04 +0200)]
analyze: add systemd-analyze tool

10 years agounit: don't override timestamps due to state changes when deserializing
Lennart Poettering [Wed, 30 Mar 2011 18:04:20 +0000 (20:04 +0200)]
unit: don't override timestamps due to state changes when deserializing

10 years agoplymouth: don't explicitly enable status message when plymouth is up v21
Lennart Poettering [Wed, 30 Mar 2011 01:03:35 +0000 (03:03 +0200)]
plymouth: don't explicitly enable status message when plymouth is up

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

systemd now watches /run/initramfs/plymouth and generates messages
exactly when that file exists. Hence we don't need the sending of the
signals anymore.

10 years agostatus: show status messages unconditionally if plymouth is around
Lennart Poettering [Wed, 30 Mar 2011 00:21:48 +0000 (02:21 +0200)]
status: show status messages unconditionally if plymouth is around

10 years agotaint: add missing cgroups taint flag
Lennart Poettering [Wed, 30 Mar 2011 00:12:46 +0000 (02:12 +0200)]
taint: add missing cgroups taint flag

10 years agolocale: don't access misinitialized variable
Lennart Poettering [Wed, 30 Mar 2011 00:09:15 +0000 (02:09 +0200)]
locale: don't access misinitialized variable

10 years agoquota: do not pull in quota tools for mounts that do not originate in neither /etc...
Lennart Poettering [Tue, 29 Mar 2011 23:53:34 +0000 (01:53 +0200)]
quota: do not pull in quota tools for mounts that do not originate in neither /etc/fstab nor fragment files

10 years agomanager: fix taint check for /usr
Lennart Poettering [Tue, 29 Mar 2011 22:47:50 +0000 (00:47 +0200)]
manager: fix taint check for /usr

10 years agounit: never apply /etc/rcN.d/ priority to native services
Lennart Poettering [Tue, 29 Mar 2011 22:43:16 +0000 (00:43 +0200)]
unit: never apply /etc/rcN.d/ priority to native services

10 years agounit: fix parsing of condition-result
Lennart Poettering [Tue, 29 Mar 2011 21:32:31 +0000 (23:32 +0200)]
unit: fix parsing of condition-result

10 years agounit: don't complain about failed units when deserializing
Lennart Poettering [Tue, 29 Mar 2011 21:32:10 +0000 (23:32 +0200)]
unit: don't complain about failed units when deserializing

10 years agoexec: drop process group kill mode since it has little use and confuses the user
Lennart Poettering [Tue, 29 Mar 2011 21:31:38 +0000 (23:31 +0200)]
exec: drop process group kill mode since it has little use and confuses the user

10 years agocgroup: explain when we cannot initialize the cgroup stuff
Lennart Poettering [Tue, 29 Mar 2011 18:29:02 +0000 (20:29 +0200)]
cgroup: explain when we cannot initialize the cgroup stuff

10 years agolocale: full fledged /etc/default/locale support for debian
Florian Kriener [Tue, 29 Mar 2011 16:31:38 +0000 (18:31 +0200)]
locale: full fledged /etc/default/locale support for debian

debian uses /etc/default/locale for all locale setup, this patch
adds full support for it to systemd.

10 years agosystemctl: don't truncate description when using pager
Lennart Poettering [Tue, 29 Mar 2011 16:32:46 +0000 (18:32 +0200)]
systemctl: don't truncate description when using pager

https://bugs.freedesktop.org/show_bug.cgi?id=35725

10 years agoask-password: also accept Backspace as first keypress as silent mode switch
Lennart Poettering [Tue, 29 Mar 2011 16:32:46 +0000 (18:32 +0200)]
ask-password: also accept Backspace as first keypress as silent mode switch

10 years agounit: when deserializing jobs, don't pull in dependencies
Lennart Poettering [Tue, 29 Mar 2011 11:11:13 +0000 (13:11 +0200)]
unit: when deserializing jobs, don't pull in dependencies

10 years agoman: really fix all LC_MESSAGE to LC_MESSAGES
Lennart Poettering [Tue, 29 Mar 2011 10:11:14 +0000 (12:11 +0200)]
man: really fix all LC_MESSAGE to LC_MESSAGES

https://bugs.freedesktop.org/show_bug.cgi?id=35534

10 years agobuild-sys: bump version
Lennart Poettering [Tue, 29 Mar 2011 00:20:05 +0000 (02:20 +0200)]
build-sys: bump version

10 years agoudev: tty - re-add accidentially removed hvc* match
Kay Sievers [Mon, 28 Mar 2011 23:41:50 +0000 (01:41 +0200)]
udev: tty - re-add accidentially removed hvc* match

10 years agolocale: fix LC_MESSAGES variable name
Lennart Poettering [Mon, 28 Mar 2011 23:38:06 +0000 (01:38 +0200)]
locale: fix LC_MESSAGES variable name

https://bugs.freedesktop.org/show_bug.cgi?id=35534

10 years agoplymouth: Remove the calls to plymouth message
William Jon McCann [Sun, 27 Mar 2011 04:18:16 +0000 (00:18 -0400)]
plymouth: Remove the calls to plymouth message

 * messages aren't translated
 * console text is ugly
 * they are jargonny
 * they really aren't needed

https://bugs.freedesktop.org/show_bug.cgi?id=35711

10 years agoudev: systemd-tag all ttys
Kay Sievers [Mon, 28 Mar 2011 23:19:39 +0000 (01:19 +0200)]
udev: systemd-tag all ttys

10 years agotmpfiles fix /run/lock permissions
Kay Sievers [Mon, 28 Mar 2011 22:15:14 +0000 (00:15 +0200)]
tmpfiles fix /run/lock permissions

<mbiebl> kay: just wondering: d /run/lock 0755 root lock -
<mbiebl> shouldn't that rather be 0775?
<mbiebl> otherwise it doesn't make sense

10 years agoman: fix references to systemd.unit= on the kernel cmdline
Lennart Poettering [Mon, 28 Mar 2011 21:39:18 +0000 (23:39 +0200)]
man: fix references to systemd.unit= on the kernel cmdline

https://bugs.freedesktop.org/show_bug.cgi?id=35720

10 years agoudev: expose some more tty's for various embedded hardware
Michael Olbrich [Mon, 21 Mar 2011 16:16:50 +0000 (17:16 +0100)]
udev: expose some more tty's for various embedded hardware

10 years agoask-password: use TAB instead of backspace to disable asterisk password echo
Lennart Poettering [Mon, 28 Mar 2011 21:27:04 +0000 (23:27 +0200)]
ask-password: use TAB instead of backspace to disable asterisk password echo

10 years agocrypto: to show stars or not to show them
Jan Engelhardt [Sun, 27 Mar 2011 21:52:11 +0000 (23:52 +0200)]
crypto: to show stars or not to show them

On Friday 2011-03-18 01:41, Lennart Poettering wrote:

>On Fri, 18.03.11 00:18, Jan Engelhardt (jengelh@medozas.de) wrote:
>
>> Meanwhile, I have two new suggestions.
>
>I have one too (or actually Kay came up with it), and I think you are
>going to like it:
>
>Start with showing input feedback as we currently do. If the user then
>presses TAB the stars disappear, and instead we show "(no echo)" or
>so. Then, the user can proceed with typing his password without
>asterisks.
>[...]

Incorporating Graham's suggestion to use BKSP instead:

The following changes since commit 65c9e467528daa438167853cc91d37bfcb875836:

  tainted: don't check if /usr is a mount point, only if it's not already mounted at startup (2011-03-24 22:32:21 +0100)

are available in the git repository at:
  git://dev.medozas.de/systemd master

Jan Engelhardt (1):
      ask-password: provide a way to activate a silent prompt

 src/ask-password-api.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

10 years agoconf-parser: fix remaining parser functions according to new prototype
Lennart Poettering [Mon, 28 Mar 2011 21:04:30 +0000 (23:04 +0200)]
conf-parser: fix remaining parser functions according to new prototype

10 years agoexecute: socket isn't abstract anymore
Lennart Poettering [Mon, 28 Mar 2011 21:04:07 +0000 (23:04 +0200)]
execute: socket isn't abstract anymore

10 years agouse /run instead of /dev/.run
Kay Sievers [Fri, 25 Mar 2011 04:07:20 +0000 (05:07 +0100)]
use /run instead of /dev/.run

Instead of the /dev/.run trick we have currently implemented, we decided
to move the early-boot runtime dir to /run.

An existing /var/run directory is bind-mounted to /run. If /var/run is
already a symlink, no action is taken.

An existing /var/lock directory is bind-mounted to /run/lock.
If /var/lock is already a symlink, no action is taken.

To implement the directory vs. symlink logic, we have a:
  ConditionPathIsDirectory=
now, which is used in the mount units.

Skipped mount unit in case of symlink:
  $ systemctl status var-run.mount
  var-run.mount - Runtime Directory
    Loaded: loaded (/lib/systemd/system/var-run.mount)
    Active: inactive (dead)
            start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago
     Where: /var/run
      What: /run
    CGroup: name=systemd:/system/var-run.mount

The systemd rpm needs to make sure to add something like:
  %pre
  mkdir -p -m0755 /run >/dev/null 2>&1 || :
or it needs to be added to filesystem.rpm.

Udev -git already uses /run if that exists, and is writable at bootup.
Otherwise it falls back to the current /dev/.udev.

Dracut and plymouth need to be adopted to switch from /dev/.run to run
too.

Cheers,
Kay

10 years agoutil: detect page size runtime.
cee1 [Fri, 18 Mar 2011 02:03:41 +0000 (10:03 +0800)]
util: detect page size runtime.

Some architectures support multiple machine types with diffenent
page sizes, and some machine types even support multiple
page sizes themselves.

10 years agoman: explain a couple of default dependencies
Lennart Poettering [Mon, 28 Mar 2011 19:36:13 +0000 (21:36 +0200)]
man: explain a couple of default dependencies

10 years agotainted: don't check if /usr is a mount point, only if it's not already mounted at...
Kay Sievers [Thu, 24 Mar 2011 21:32:21 +0000 (22:32 +0100)]
tainted: don't check if /usr is a mount point, only if it's not already mounted at startup

10 years agoupdate TODO
Kay Sievers [Wed, 23 Mar 2011 00:32:40 +0000 (01:32 +0100)]
update TODO

10 years agoman: no keep-root in pam_systemd anymore
Andrey Borzenkov [Tue, 22 Mar 2011 17:31:10 +0000 (20:31 +0300)]
man: no keep-root in pam_systemd anymore

10 years agoupdate TODO
Kay Sievers [Mon, 21 Mar 2011 14:09:12 +0000 (15:09 +0100)]
update TODO

10 years agounits: replace Names=dm.service with symlink for mandriva prefdm
Andrey Borzenkov [Fri, 18 Mar 2011 16:32:49 +0000 (19:32 +0300)]
units: replace Names=dm.service with symlink for mandriva prefdm

10 years agomount: pull in quota services from local mountpoints with usr/grpquota options
Andrey Borzenkov [Fri, 18 Mar 2011 16:12:58 +0000 (19:12 +0300)]
mount: pull in quota services from local mountpoints with usr/grpquota options

10 years agoservice: pull in sysv facility targets from the sysv units, not the other way round
Lennart Poettering [Fri, 18 Mar 2011 04:26:25 +0000 (05:26 +0100)]
service: pull in sysv facility targets from the sysv units, not the other way round

For an explanation see:

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

10 years agounits: pull in syslog.target from syslog.socket
Lennart Poettering [Fri, 18 Mar 2011 04:17:02 +0000 (05:17 +0100)]
units: pull in syslog.target from syslog.socket

10 years agounits: don't ever pull in SysV targets from other SysV targets
Lennart Poettering [Fri, 18 Mar 2011 04:13:06 +0000 (05:13 +0100)]
units: don't ever pull in SysV targets from other SysV targets

10 years agounits: document that some targets exists only for compat with SysV
Lennart Poettering [Fri, 18 Mar 2011 04:12:34 +0000 (05:12 +0100)]
units: document that some targets exists only for compat with SysV

10 years agounits: we don't need to generate syslog.target with sed anymore
Lennart Poettering [Fri, 18 Mar 2011 04:01:30 +0000 (05:01 +0100)]
units: we don't need to generate syslog.target with sed anymore

10 years agounits: we no longer need m4 to build graphical.target or multi-user.taregt
Lennart Poettering [Fri, 18 Mar 2011 03:59:05 +0000 (04:59 +0100)]
units: we no longer need m4 to build graphical.target or multi-user.taregt

10 years agoman: document pidns containers
Lennart Poettering [Fri, 18 Mar 2011 03:49:53 +0000 (04:49 +0100)]
man: document pidns containers