chiark / gitweb /
elogind.git
10 years agoKeep emacs configuration in one configuration file.
Zbigniew Jędrzejewski-Szmek [Mon, 7 Mar 2011 18:23:04 +0000 (19:23 +0100)]
Keep emacs configuration in one configuration file.

On 07.03.2011 19:04, Lennart Poettering wrote:
>
> Oh, I had assumed that .vimrc trick would allow project-wide vim
> modelines without having to edit each and every single file.
>
> Currently, every file does contain an emacs modeline at the top. It
> would be fair I guess to add a vim modeline to all those files too, even
> though it's not necessarily pretty.
Hi,
maybe it makes sense to go in the opposite direction: add .dir-locals.el
in the top directory. The settings are actually identical in all .[ch]
files.

10 years agosyslog: make sure the kmsg bridge is always pulled in and never terminated automatically
Lennart Poettering [Mon, 7 Mar 2011 20:56:09 +0000 (21:56 +0100)]
syslog: make sure the kmsg bridge is always pulled in and never terminated automatically

Since we want to replace the bridge dynamically by the real syslog
implementation such as rsyslog we need to make sure that the the bridge
stays running right to the moment rsyslog is up so that we process
messages enqueued by other processes started before rsyslog, so that
those clients don't stay stuck.

10 years agoadd .vimrc to .gitignore
Andrey Borzenkov [Mon, 7 Mar 2011 18:25:15 +0000 (19:25 +0100)]
add .vimrc to .gitignore

10 years agomount: make /media a tmpfs
Lennart Poettering [Mon, 7 Mar 2011 16:38:15 +0000 (17:38 +0100)]
mount: make /media a tmpfs

10 years agoupdate TODO
Lennart Poettering [Mon, 7 Mar 2011 01:17:23 +0000 (02:17 +0100)]
update TODO

10 years agoadd org.freedesktop.DBus.Properies.Set method
Andrey Borzenkov [Sun, 6 Mar 2011 16:17:02 +0000 (19:17 +0300)]
add org.freedesktop.DBus.Properies.Set method

The patch adds framework for processing Set requests on properties
and as first consumers allows setting of LogTarget and LogLevel on
interface org.freedesktop.systemd1.Manager of org.freedesktop.systemd1.

The code should be generic enough to allow processing of any
property on other objects and interfaces as well.

No systemctl visible interface is added so far. The LogTarget and
LogLevel are meant for debugging in the first place; user interface
can be added if other usage emerge.

Set on systemwide systemd is restricted to root; I am not sure
how session level access is controlled.

10 years agoservice: drop redundant check in sysv_translate_facility
Lennart Poettering [Fri, 4 Mar 2011 13:54:15 +0000 (16:54 +0300)]
service: drop redundant check in sysv_translate_facility

We check for _r with an assert in the function header anyway, no need to
check it again.

10 years agoupdate TODO
Lennart Poettering [Fri, 4 Mar 2011 23:30:54 +0000 (00:30 +0100)]
update TODO

10 years agomachine-id: generate /etc/machine-id 0444 by default
Lennart Poettering [Fri, 4 Mar 2011 21:50:56 +0000 (22:50 +0100)]
machine-id: generate /etc/machine-id 0444 by default

10 years agomachine-id: typo fix
Lennart Poettering [Fri, 4 Mar 2011 21:28:13 +0000 (22:28 +0100)]
machine-id: typo fix

10 years agomain: introduce /etc/machine-id
Lennart Poettering [Fri, 4 Mar 2011 20:53:19 +0000 (21:53 +0100)]
main: introduce /etc/machine-id

This is supposed to play the same roles /var/lib/dbus/machine-id,
however fixes a couple of problems:

- It is available during early boot since it is stored in /etc

- Removes the ID from the D-Bus context and moves it into a system
  context, thus hopefully lowering hesitation by people to use it.

- It is generated at installation time. If the file is empty at boot
  time it will be mounted over with a randomly generated ID, which is
  not saved to disk. This is useful to support state-less machines with
  no transient or writable /etc configuration.

10 years agosystemctl: fix exit code when directing is-enabled to chkconfig
Lennart Poettering [Fri, 4 Mar 2011 18:48:38 +0000 (19:48 +0100)]
systemctl: fix exit code when directing is-enabled to chkconfig

10 years agomain: minor optimization
Lennart Poettering [Fri, 4 Mar 2011 18:48:12 +0000 (19:48 +0100)]
main: minor optimization

10 years agodbus: add 'Tainted' property to Manager object
Lennart Poettering [Fri, 4 Mar 2011 18:47:43 +0000 (19:47 +0100)]
dbus: add 'Tainted' property to Manager object

10 years agodbus: expose distribution name and features on manager object as properties
Lennart Poettering [Fri, 4 Mar 2011 17:34:56 +0000 (18:34 +0100)]
dbus: expose distribution name and features on manager object as properties

10 years agoman: document changed EnvironmentFile= behaviour
Lennart Poettering [Fri, 4 Mar 2011 13:13:47 +0000 (14:13 +0100)]
man: document changed EnvironmentFile= behaviour

10 years agomain: add link to wiki page with longer explanation of the /usr madness
Lennart Poettering [Fri, 4 Mar 2011 04:07:01 +0000 (05:07 +0100)]
main: add link to wiki page with longer explanation of the /usr madness

10 years agos/seperate/separate/
Lennart Poettering [Fri, 4 Mar 2011 02:58:52 +0000 (03:58 +0100)]
s/seperate/separate/

10 years agoexecute: load environment files at time of execution, not when we load the service...
Lennart Poettering [Fri, 4 Mar 2011 02:44:43 +0000 (03:44 +0100)]
execute: load environment files at time of execution, not when we load the service configuration

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

10 years agopath: after installing inotify watches, recheck file again to fix race
Lennart Poettering [Fri, 4 Mar 2011 00:49:37 +0000 (01:49 +0100)]
path: after installing inotify watches, recheck file again to fix race

10 years agopath: don't use IN_ATTRIB on parent dirs when watching a file, since those cannot...
Lennart Poettering [Thu, 3 Mar 2011 23:22:00 +0000 (00:22 +0100)]
path: don't use IN_ATTRIB on parent dirs when watching a file, since those cannot be removed without emptying the dir first anyway and we need IN_ATTRIB only to detect the link count dropping to 0

10 years agokill: always send SIGCONT after SIGTERM
Lennart Poettering [Thu, 3 Mar 2011 22:55:30 +0000 (23:55 +0100)]
kill: always send SIGCONT after SIGTERM

When we kill a process to terminate it make sure to send SIGCONT to
ensure it is unpaused and processes the signal.

10 years agoreadahead: disable collector automatically on read-only media
Lennart Poettering [Thu, 3 Mar 2011 22:03:26 +0000 (23:03 +0100)]
readahead: disable collector automatically on read-only media

10 years agosysctl: use scandir() instead of nftw() to guarantee systematic ordering
Lennart Poettering [Thu, 3 Mar 2011 21:17:09 +0000 (22:17 +0100)]
sysctl: use scandir() instead of nftw() to guarantee systematic ordering

10 years agodirent: support DT_UNKNOWN where necessary for compat with reiserfs
Lennart Poettering [Thu, 3 Mar 2011 15:29:50 +0000 (16:29 +0100)]
dirent: support DT_UNKNOWN where necessary for compat with reiserfs

10 years agoREADME: refer to profusion if people ask for consulting/engineering services
Lennart Poettering [Tue, 1 Mar 2011 22:44:26 +0000 (23:44 +0100)]
README: refer to profusion if people ask for consulting/engineering services

10 years agosystemctl: add condreload alias for compat with ALTLinux
Lennart Poettering [Tue, 1 Mar 2011 21:19:08 +0000 (22:19 +0100)]
systemctl: add condreload alias for compat with ALTLinux

10 years agoman: fix chkconfig syntax to use --level 3
Lennart Poettering [Tue, 1 Mar 2011 21:18:49 +0000 (22:18 +0100)]
man: fix chkconfig syntax to use --level 3

10 years agobuild-sys: prepare v19 v19
Lennart Poettering [Tue, 1 Mar 2011 00:33:38 +0000 (01:33 +0100)]
build-sys: prepare v19

10 years agoupdate TODO
Lennart Poettering [Tue, 1 Mar 2011 00:02:35 +0000 (01:02 +0100)]
update TODO

10 years agoask-password: make a confused gcc shut up
Lennart Poettering [Mon, 28 Feb 2011 22:24:33 +0000 (23:24 +0100)]
ask-password: make a confused gcc shut up

10 years agoratelimit: removed n_printed
Harald Hoyer [Mon, 21 Feb 2011 14:32:18 +0000 (15:32 +0100)]
ratelimit: removed n_printed

Removed n_printed and renamed n_printed to num.
This is not a logging rate limiter anymore.

10 years agoSpelling Corrections
Harald Hoyer [Mon, 21 Feb 2011 14:32:17 +0000 (15:32 +0100)]
Spelling Corrections

Just some lame spelling corrections with no functionality.

10 years agosystemctl: always null-terminate the password
Zbigniew Jędrzejewski-Szmek [Mon, 28 Feb 2011 10:25:53 +0000 (11:25 +0100)]
systemctl: always null-terminate the password

10 years agobuild-sys: update ALTLinux support
Alexey Shabalin [Mon, 28 Feb 2011 13:02:27 +0000 (16:02 +0300)]
build-sys: update ALTLinux support

Please apply patch for update ALTLinux support.

10 years agoudev: don't ignore non-encrypted block devices with no superblock
Lennart Poettering [Mon, 28 Feb 2011 21:04:53 +0000 (22:04 +0100)]
udev: don't ignore non-encrypted block devices with no superblock

They might be encrypted disks with no LUKS header.

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

10 years agoudev: expose ttyUSB devices too
Lennart Poettering [Mon, 28 Feb 2011 20:47:35 +0000 (21:47 +0100)]
udev: expose ttyUSB devices too

10 years agoudev: mark hvc devices for exposure in systemd
Lennart Poettering [Mon, 28 Feb 2011 20:46:34 +0000 (21:46 +0100)]
udev: mark hvc devices for exposure in systemd

10 years agocryptsetup: add a terse help
Lennart Poettering [Fri, 25 Feb 2011 01:56:27 +0000 (02:56 +0100)]
cryptsetup: add a terse help

10 years agoagent: don't print warnings if a password was removed or timed out
Lennart Poettering [Fri, 25 Feb 2011 01:52:07 +0000 (02:52 +0100)]
agent: don't print warnings if a password was removed or timed out

10 years agosystemctl: shutdown agent explicitly so that it can reset the tty properly
Lennart Poettering [Fri, 25 Feb 2011 01:51:48 +0000 (02:51 +0100)]
systemctl: shutdown agent explicitly so that it can reset the tty properly

10 years agoservice: never clean up a service that still has a process in it
Lennart Poettering [Fri, 25 Feb 2011 00:49:10 +0000 (01:49 +0100)]
service: never clean up a service that still has a process in it

10 years agolabel: udev might be making changes in /dev while we iterate through it
Lennart Poettering [Fri, 25 Feb 2011 00:47:31 +0000 (01:47 +0100)]
label: udev might be making changes in /dev while we iterate through it

Also, there are most likely dead symlinks in there, so let's ignore
ENOENT when we relabel.

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

10 years agosystemctl: properly handle job results
Lennart Poettering [Thu, 24 Feb 2011 02:24:51 +0000 (03:24 +0100)]
systemctl: properly handle job results

10 years agojob: also trigger on-failure dependencies when jobs faile due to dependencies, timeout
Lennart Poettering [Thu, 24 Feb 2011 02:24:23 +0000 (03:24 +0100)]
job: also trigger on-failure dependencies when jobs faile due to dependencies, timeout

10 years agojob: don't access j->type when j is already freed
Lennart Poettering [Thu, 24 Feb 2011 02:23:43 +0000 (03:23 +0100)]
job: don't access j->type when j is already freed

10 years agojob: when cancelling jobs, make sure to propagate this properly to depending jobs
Lennart Poettering [Thu, 24 Feb 2011 02:23:14 +0000 (03:23 +0100)]
job: when cancelling jobs, make sure to propagate this properly to depending jobs

10 years agojob: start job timeout on enqueuing not when we start to process a job
Lennart Poettering [Thu, 24 Feb 2011 01:41:34 +0000 (02:41 +0100)]
job: start job timeout on enqueuing not when we start to process a job

This practically reverses 23e1e0c4a3bc93fb841ac9575953ed5d0ef5282d.

This makes it easier to timeout individual jobs so that this timeout can
be relied on, since blocked dependencies will not influence the timeout.

10 years agounit: increase default timeout to 3min
Lennart Poettering [Thu, 24 Feb 2011 01:38:19 +0000 (02:38 +0100)]
unit: increase default timeout to 3min

10 years agologger: leave the logger longer around and allow it do handle more connections
Lennart Poettering [Thu, 24 Feb 2011 01:38:02 +0000 (02:38 +0100)]
logger: leave the logger longer around and allow it do handle more connections

10 years agodbus: pass along information why a job failed when it failed (dbus api change!)
Lennart Poettering [Thu, 24 Feb 2011 01:36:34 +0000 (02:36 +0100)]
dbus: pass along information why a job failed when it failed (dbus api change!)

10 years agogeneral: unify error code we generate on timeout
Lennart Poettering [Thu, 24 Feb 2011 01:33:57 +0000 (02:33 +0100)]
general: unify error code we generate on timeout

10 years agounits: synchronize gettys to plymouth even if plymouth is killed by gdm
Lennart Poettering [Thu, 24 Feb 2011 01:32:50 +0000 (02:32 +0100)]
units: synchronize gettys to plymouth even if plymouth is killed by gdm

10 years agoupdate TODO
Lennart Poettering [Wed, 23 Feb 2011 18:44:08 +0000 (19:44 +0100)]
update TODO

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

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

10 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

10 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

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

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

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

10 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

10 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

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

10 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

10 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

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

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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

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

10 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

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

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

10 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

10 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

10 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

10 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

10 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

10 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