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

13 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

13 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

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

13 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

13 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

13 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

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

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

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

13 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

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

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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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(-)

13 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

13 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

13 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

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

13 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

13 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

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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 years agounits: deemphesize Names= settings, and explain why nobody whould use them
Lennart Poettering [Fri, 18 Mar 2011 03:49:38 +0000 (04:49 +0100)]
units: deemphesize Names= settings, and explain why nobody whould use them

13 years agounits: on mandriva/fedora create single.service alias via symlink, not Names=
Lennart Poettering [Fri, 18 Mar 2011 03:41:47 +0000 (04:41 +0100)]
units: on mandriva/fedora create single.service alias via symlink, not Names=

13 years agounits: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more...
Lennart Poettering [Fri, 18 Mar 2011 03:37:31 +0000 (04:37 +0100)]
units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful

13 years agounits: get rid of empty units/suse/ subdir
Lennart Poettering [Fri, 18 Mar 2011 03:32:58 +0000 (04:32 +0100)]
units: get rid of empty units/suse/ subdir

13 years agosyslog: rework syslog detection so that we need no compile-time option what the name...
Lennart Poettering [Fri, 18 Mar 2011 03:31:22 +0000 (04:31 +0100)]
syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is

13 years agoman: document .requires/ directories
Lennart Poettering [Fri, 18 Mar 2011 02:32:47 +0000 (03:32 +0100)]
man: document .requires/ directories

13 years agospecial: get rid of dbus.target
Lennart Poettering [Fri, 18 Mar 2011 02:32:33 +0000 (03:32 +0100)]
special: get rid of dbus.target

13 years agoexec: properly apply capability bounding set, add inverted bounding sets
Lennart Poettering [Fri, 18 Mar 2011 02:13:15 +0000 (03:13 +0100)]
exec: properly apply capability bounding set, add inverted bounding sets

13 years agodbus: add service D-Bus property "Sockets"
Andrey Borzenkov [Thu, 17 Mar 2011 20:22:49 +0000 (23:22 +0300)]
dbus: add service D-Bus property "Sockets"

13 years agodbus: consolidate service SysV conditionals
Andrey Borzenkov [Thu, 17 Mar 2011 20:22:49 +0000 (23:22 +0300)]
dbus: consolidate service SysV conditionals

No need to define the same set of properties twice. While on it,
add FsckPassNo to introspection.

13 years agoupdate TODO
Kay Sievers [Thu, 17 Mar 2011 14:15:36 +0000 (15:15 +0100)]
update TODO

13 years agoupdate TODO
Kay Sievers [Thu, 17 Mar 2011 13:03:17 +0000 (14:03 +0100)]
update TODO

13 years agounit: serialize condition test results
Lennart Poettering [Thu, 17 Mar 2011 03:36:19 +0000 (04:36 +0100)]
unit: serialize condition test results

13 years agoread-ahead: Fix broken systemd-readahead-collect on mips.
cee1 [Thu, 17 Mar 2011 02:13:01 +0000 (10:13 +0800)]
read-ahead: Fix broken systemd-readahead-collect on mips.

This actually adjust the __NR_fanotify* system call numbers to proper
ones on mips(according userspace ABI).

13 years agodef: centralize definition of default timeout in one place
Lennart Poettering [Thu, 17 Mar 2011 03:02:35 +0000 (04:02 +0100)]
def: centralize definition of default timeout in one place

13 years agochkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter
Lennart Poettering [Thu, 17 Mar 2011 02:42:25 +0000 (03:42 +0100)]
chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter

13 years agosystemctl: accept condstop as alias for stop
Lennart Poettering [Thu, 17 Mar 2011 02:41:51 +0000 (03:41 +0100)]
systemctl: accept condstop as alias for stop

13 years agodbus: allow LoadUnit to unprivileged users
Lennart Poettering [Thu, 17 Mar 2011 02:41:29 +0000 (03:41 +0100)]
dbus: allow LoadUnit to unprivileged users

13 years agoumount: make sure skip_ro is always correctly initialized
Lennart Poettering [Wed, 16 Mar 2011 21:30:00 +0000 (22:30 +0100)]
umount: make sure skip_ro is always correctly initialized

13 years agoman: fix systemctl try-restart description
Andrey Borzenkov [Fri, 11 Mar 2011 17:51:48 +0000 (20:51 +0300)]
man: fix systemctl try-restart description

It is no more error when service is not running.

13 years agoAdd Frugalware display-manager service
Miklos Vajna [Tue, 8 Mar 2011 23:49:47 +0000 (00:49 +0100)]
Add Frugalware display-manager service

13 years agomain: revert recognition of "b" argument
Jan Engelhardt [Wed, 16 Mar 2011 02:50:39 +0000 (03:50 +0100)]
main: revert recognition of "b" argument

Commit 099663ff8c117303af369a4d412dafed0c5614c2 added "b" as a
recognized argument, however, B is not a runlevel like S. (B appears
as a pseudo runlevel in openSUSE's init.d scripts only for the sake of
insserv being able to manage /etc/init.d/boot.d like the other dirs).

13 years agomain: interpret all argv[] arguments unconditionally when run in a container
Lennart Poettering [Wed, 16 Mar 2011 02:35:59 +0000 (03:35 +0100)]
main: interpret all argv[] arguments unconditionally when run in a container

13 years agoloopback: downgrade an error to warning
Lennart Poettering [Wed, 16 Mar 2011 02:35:38 +0000 (03:35 +0100)]
loopback: downgrade an error to warning

13 years agonspawn: bind mount /etc/localtime
Lennart Poettering [Wed, 16 Mar 2011 02:27:02 +0000 (03:27 +0100)]
nspawn: bind mount /etc/localtime

13 years agonspawn: make tty code more robust against closed/reopened /dev/console
Lennart Poettering [Wed, 16 Mar 2011 02:18:23 +0000 (03:18 +0100)]
nspawn: make tty code more robust against closed/reopened /dev/console

13 years agoutil: make touched files non-writable by default
Lennart Poettering [Wed, 16 Mar 2011 01:58:05 +0000 (02:58 +0100)]
util: make touched files non-writable by default

13 years agonspawn: allocate a new pty instead of passing ours through to avoid terminal settings...
Lennart Poettering [Wed, 16 Mar 2011 01:57:52 +0000 (02:57 +0100)]
nspawn: allocate a new pty instead of passing ours through to avoid terminal settings chaos

13 years agomain: parse the whole arv[] as kernel command line
Lennart Poettering [Wed, 16 Mar 2011 01:56:30 +0000 (02:56 +0100)]
main: parse the whole arv[] as kernel command line

13 years agomain: check if we have a valid PID before getting the name of it
Lennart Poettering [Wed, 16 Mar 2011 01:55:55 +0000 (02:55 +0100)]
main: check if we have a valid PID before getting the name of it

13 years agoask-password: reset signal mask after we are done
Lennart Poettering [Wed, 16 Mar 2011 01:55:27 +0000 (02:55 +0100)]
ask-password: reset signal mask after we are done

13 years agocgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make...
Lennart Poettering [Tue, 15 Mar 2011 20:21:38 +0000 (21:21 +0100)]
cgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make strace outputs nicer and save a few stat()s

13 years agoman: document systemd-nspawn
Lennart Poettering [Tue, 15 Mar 2011 19:51:41 +0000 (20:51 +0100)]
man: document systemd-nspawn

13 years agocgls: don't strip user processes and kernel threads from default output
Lennart Poettering [Tue, 15 Mar 2011 17:43:47 +0000 (18:43 +0100)]
cgls: don't strip user processes and kernel threads from default output

13 years agoumount: don't try to remount bind mounts ro during shutdown
Lennart Poettering [Tue, 15 Mar 2011 01:41:11 +0000 (02:41 +0100)]
umount: don't try to remount bind mounts ro during shutdown

13 years agogetty: move automatic serial getty logic into generator
Lennart Poettering [Mon, 14 Mar 2011 23:44:13 +0000 (00:44 +0100)]
getty: move automatic serial getty logic into generator

13 years agocontainer: skip a few things when we are run in a container such as accessing /proc...
Lennart Poettering [Mon, 14 Mar 2011 22:41:47 +0000 (23:41 +0100)]
container: skip a few things when we are run in a container such as accessing /proc/cmdline

13 years agocgls: by default start with group of PID 1
Lennart Poettering [Mon, 14 Mar 2011 22:40:41 +0000 (23:40 +0100)]
cgls: by default start with group of PID 1