chiark / gitweb /
elogind.git
13 years agomain: make it possible to run a system daemon along side an aloready running one...
Lennart Poettering [Fri, 9 Jul 2010 21:18:50 +0000 (23:18 +0200)]
main: make it possible to run a system daemon along side an aloready running one for testing purposes

13 years agoinstall: properly parse --realize=reload
Lennart Poettering [Fri, 9 Jul 2010 21:05:59 +0000 (23:05 +0200)]
install: properly parse --realize=reload

13 years agounits: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
Kay Sievers [Fri, 9 Jul 2010 09:53:39 +0000 (11:53 +0200)]
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown

13 years agobuild-sys: add make upload target v2
Lennart Poettering [Fri, 9 Jul 2010 02:56:45 +0000 (04:56 +0200)]
build-sys: add make upload target

13 years agobuild-sys: bump version
Lennart Poettering [Fri, 9 Jul 2010 02:51:53 +0000 (04:51 +0200)]
build-sys: bump version

13 years agobuild-sys: disable inline warnings
Lennart Poettering [Fri, 9 Jul 2010 02:46:49 +0000 (04:46 +0200)]
build-sys: disable inline warnings

13 years agoupdate fixme
Lennart Poettering [Thu, 8 Jul 2010 23:37:25 +0000 (01:37 +0200)]
update fixme

13 years agounits: connect shutdown scripts explicitly with the tty, because native units now...
Lennart Poettering [Fri, 9 Jul 2010 02:37:13 +0000 (04:37 +0200)]
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise

13 years agobuild-sys: set SYSTEMD_SKIP_API_MOUNTS=1 when generating introspection files
Lennart Poettering [Thu, 8 Jul 2010 22:13:18 +0000 (00:13 +0200)]
build-sys: set SYSTEMD_SKIP_API_MOUNTS=1 when generating introspection files

13 years agomain: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS
Lennart Poettering [Thu, 8 Jul 2010 22:03:09 +0000 (00:03 +0200)]
main: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS

13 years agoman: fix minor ambuigity
Lennart Poettering [Thu, 8 Jul 2010 19:48:09 +0000 (21:48 +0200)]
man: fix minor ambuigity

13 years agoman: Minor typographic fixes to systemd.xml
Ozan Çağlayan [Thu, 8 Jul 2010 16:34:09 +0000 (19:34 +0300)]
man: Minor typographic fixes to systemd.xml

Fix some minor grammar and punctuation typos.

13 years agoman: Fix minor issues in systemd.unit.xml
Ozan Çağlayan [Thu, 8 Jul 2010 18:06:24 +0000 (21:06 +0300)]
man: Fix minor issues in systemd.unit.xml

Fix minor typographic, punctuation and grammar errors.

13 years agoinstall: various improvements
Lennart Poettering [Thu, 8 Jul 2010 19:34:51 +0000 (21:34 +0200)]
install: various improvements

Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.

13 years agosystemctl: short cut things if we aren't root and the user requested a reboot to...
Lennart Poettering [Thu, 8 Jul 2010 19:31:23 +0000 (21:31 +0200)]
systemctl: short cut things if we aren't root and the user requested a reboot to suppress unnecessary wall message

13 years agosystemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested
Kay Sievers [Thu, 8 Jul 2010 19:30:32 +0000 (21:30 +0200)]
systemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested

13 years agocgls: fix missing initialization
Lennart Poettering [Thu, 8 Jul 2010 19:17:41 +0000 (21:17 +0200)]
cgls: fix missing initialization

13 years agocgls: beef up control group dumping and introduce cgls tool
Lennart Poettering [Thu, 8 Jul 2010 19:01:42 +0000 (21:01 +0200)]
cgls: beef up control group dumping and introduce cgls tool

13 years agosystemctl: filter and sort member pid of cgroup
Lennart Poettering [Thu, 8 Jul 2010 04:08:32 +0000 (06:08 +0200)]
systemctl: filter and sort member pid of cgroup

13 years agoservice: don't enable native services via legacy sysv symlinks anymore
Lennart Poettering [Thu, 8 Jul 2010 03:29:46 +0000 (05:29 +0200)]
service: don't enable native services via legacy sysv symlinks anymore

13 years agounits: properly create prefdm symlink
Lennart Poettering [Thu, 8 Jul 2010 03:29:09 +0000 (05:29 +0200)]
units: properly create prefdm symlink

13 years agoutil: fix missing memory initialization
Lennart Poettering [Thu, 8 Jul 2010 03:23:05 +0000 (05:23 +0200)]
util: fix missing memory initialization

13 years agomount: fix confirm spawn setting
Lennart Poettering [Thu, 8 Jul 2010 03:22:34 +0000 (05:22 +0200)]
mount: fix confirm spawn setting

13 years agodbus: add missing dbus-errors.h header
Lennart Poettering [Thu, 8 Jul 2010 02:24:09 +0000 (04:24 +0200)]
dbus: add missing dbus-errors.h header

13 years agounits: kill the emergency shell with SIGHUP
Lennart Poettering [Thu, 8 Jul 2010 02:21:53 +0000 (04:21 +0200)]
units: kill the emergency shell with SIGHUP

13 years agoman: document variable substitution
Lennart Poettering [Thu, 8 Jul 2010 02:19:54 +0000 (04:19 +0200)]
man: document variable substitution

13 years agoexecute: support minimal environment variable replacement when executing processes
Lennart Poettering [Thu, 8 Jul 2010 02:09:59 +0000 (04:09 +0200)]
execute: support minimal environment variable replacement when executing processes

13 years agoexecute: if the main process of a service already owns the TTY, don't wait for acquir...
Lennart Poettering [Thu, 8 Jul 2010 02:09:17 +0000 (04:09 +0200)]
execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step

13 years agodbus: make errors reported via D-Bus more useful
Lennart Poettering [Thu, 8 Jul 2010 00:43:18 +0000 (02:43 +0200)]
dbus: make errors reported via D-Bus more useful

13 years agoservice: set env var for stop/reload commands
Lennart Poettering [Wed, 7 Jul 2010 22:47:35 +0000 (00:47 +0200)]
service: set  env var for stop/reload commands

13 years agojob: when converting restart jobs, move them to WAITING state
Lennart Poettering [Wed, 7 Jul 2010 22:28:04 +0000 (00:28 +0200)]
job: when converting restart jobs, move them to WAITING state

13 years agodbus: log received message only once, in filter function
Lennart Poettering [Wed, 7 Jul 2010 22:27:09 +0000 (00:27 +0200)]
dbus: log received message only once, in filter function

13 years agounits: in order to make the default services parseable by GKeyFile, merge repeated...
Lennart Poettering [Wed, 7 Jul 2010 20:29:41 +0000 (22:29 +0200)]
units: in order to make the default services parseable by GKeyFile, merge repeated lines

13 years agoutil: handle \s escape as defined in the XDG spec properly in cunescape()
Lennart Poettering [Wed, 7 Jul 2010 20:28:51 +0000 (22:28 +0200)]
util: handle \s escape as defined in the XDG spec properly in cunescape()

13 years agodbus: shut down bus connection cleanly and fully when a direct client disconnects
Lennart Poettering [Wed, 7 Jul 2010 20:28:02 +0000 (22:28 +0200)]
dbus: shut down bus connection cleanly and fully when a direct client disconnects

13 years agoman: update man pages for recent syntax changes
Lennart Poettering [Wed, 7 Jul 2010 19:22:56 +0000 (21:22 +0200)]
man: update man pages for recent syntax changes

13 years agoservice: allow configuration of more than one Exec command in one line
Lennart Poettering [Wed, 7 Jul 2010 18:59:20 +0000 (20:59 +0200)]
service: allow configuration of more than one Exec command in one line

13 years agoutil: use quoted word parsing where applicable
Lennart Poettering [Wed, 7 Jul 2010 18:58:41 +0000 (20:58 +0200)]
util: use quoted word parsing where applicable

13 years agoutil: introduce cunescape_length()
Lennart Poettering [Wed, 7 Jul 2010 18:58:02 +0000 (20:58 +0200)]
util: introduce cunescape_length()

13 years agoutil: properly handle escaped quotes in words in split_quoted()
Lennart Poettering [Wed, 7 Jul 2010 18:57:47 +0000 (20:57 +0200)]
util: properly handle escaped quotes in words in split_quoted()

13 years agoutil: fix handling of unknown escapes in cunescape()
Lennart Poettering [Wed, 7 Jul 2010 18:57:10 +0000 (20:57 +0200)]
util: fix handling of unknown escapes in cunescape()

13 years agoconf-parser: support continuation lines with trailing backslashes in lines
Lennart Poettering [Wed, 7 Jul 2010 16:20:42 +0000 (18:20 +0200)]
conf-parser: support continuation lines with trailing backslashes in lines

13 years agolog: bump up a number of log messages so that they are shown even if debug logging...
Lennart Poettering [Wed, 7 Jul 2010 15:57:54 +0000 (17:57 +0200)]
log: bump up a number of log messages so that they are shown even if debug logging is disabled, for diagnostic purposes

13 years agomain: always log when we reexecute or reload
Lennart Poettering [Wed, 7 Jul 2010 15:44:11 +0000 (17:44 +0200)]
main: always log when we reexecute or reload

13 years agoservice: fix parsing word size functions
Lennart Poettering [Wed, 7 Jul 2010 15:42:06 +0000 (17:42 +0200)]
service: fix parsing word size functions

13 years agoutil: implement safe_atolu based on safe_atolli/safe_atoi, depending on word size
Lennart Poettering [Wed, 7 Jul 2010 15:40:25 +0000 (17:40 +0200)]
util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word size

13 years agobuild-sys: prepare release 1 v1
Lennart Poettering [Wed, 7 Jul 2010 02:45:21 +0000 (04:45 +0200)]
build-sys: prepare release 1

13 years agoexecute: change stdout inherit logic, when run as PID 1 use /dev/null
Lennart Poettering [Wed, 7 Jul 2010 02:37:42 +0000 (04:37 +0200)]
execute: change stdout inherit logic, when run as PID 1 use /dev/null

13 years agoservice: serialize exec status
Lennart Poettering [Wed, 7 Jul 2010 02:12:59 +0000 (04:12 +0200)]
service: serialize exec status

13 years agomain: lower default log level to INFO
Lennart Poettering [Wed, 7 Jul 2010 01:51:56 +0000 (03:51 +0200)]
main: lower default log level to INFO

13 years agoutil: minor simplification when printing welcome text
Lennart Poettering [Wed, 7 Jul 2010 01:49:39 +0000 (03:49 +0200)]
util: minor simplification when printing welcome text

13 years agosystemctl: minor beautifications
Lennart Poettering [Wed, 7 Jul 2010 01:49:08 +0000 (03:49 +0200)]
systemctl: minor beautifications

13 years agoinitctl: check peer credentials after connection
Lennart Poettering [Wed, 7 Jul 2010 01:48:37 +0000 (03:48 +0200)]
initctl: check peer credentials after connection

13 years agodbus: don't try to run AddMatch when connected to a private bus
Lennart Poettering [Wed, 7 Jul 2010 01:43:39 +0000 (03:43 +0200)]
dbus: don't try to run AddMatch when connected to a private bus

13 years agoman: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, systemd.exec, system...
Conrad Meyer [Wed, 7 Jul 2010 01:24:38 +0000 (18:24 -0700)]
man: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, systemd.exec, systemd, and systemd.timer pages

Just some minor grammar fixes.

13 years agodbus: send reload completion message on right connection
Lennart Poettering [Wed, 7 Jul 2010 00:21:16 +0000 (02:21 +0200)]
dbus: send reload completion message on right connection

13 years agounit: when reading description from LSB prefer short over long description
Lennart Poettering [Wed, 7 Jul 2010 00:16:14 +0000 (02:16 +0200)]
unit: when reading description from LSB prefer short over long description

13 years agounit: don't cancel dependent jobs if a stopped daemon returned an error code
Lennart Poettering [Wed, 7 Jul 2010 00:15:38 +0000 (02:15 +0200)]
unit: don't cancel dependent jobs if a stopped daemon returned an error code

13 years agosystemctl: minor cosmetic fixes
Lennart Poettering [Wed, 7 Jul 2010 00:11:14 +0000 (02:11 +0200)]
systemctl: minor cosmetic fixes

13 years agomain: show welcome string only when asked for
Lennart Poettering [Tue, 6 Jul 2010 23:51:44 +0000 (01:51 +0200)]
main: show welcome string only when asked for

13 years agosd-daemon: Fix path check in sd_is_fifo()
Martin Mikkelsen [Tue, 6 Jul 2010 21:27:56 +0000 (23:27 +0200)]
sd-daemon: Fix path check in sd_is_fifo()

sd_is_fifo() did fstat on the file descriptor twice instead of stating
the supplied path.

13 years agoupdate man pages for recent changes
Lennart Poettering [Tue, 6 Jul 2010 23:38:56 +0000 (01:38 +0200)]
update man pages for recent changes

13 years agomain: implement manager configuration file
Lennart Poettering [Tue, 6 Jul 2010 23:10:27 +0000 (01:10 +0200)]
main: implement manager configuration file

13 years agomain: show welcome message on boot
Lennart Poettering [Tue, 6 Jul 2010 22:25:41 +0000 (00:25 +0200)]
main: show welcome message on boot

13 years agomanager: optionally print status updates to console on boot
Lennart Poettering [Tue, 6 Jul 2010 22:00:59 +0000 (00:00 +0200)]
manager: optionally print status updates to console on boot

13 years agomain: add a native implementation of the 'nomodules' kernel option understood by...
Lennart Poettering [Tue, 6 Jul 2010 18:21:08 +0000 (20:21 +0200)]
main: add a native implementation of the 'nomodules' kernel option understood by fedora init scripts

13 years agoutil: fix space calculation in get_process_cmdline()
Lennart Poettering [Tue, 6 Jul 2010 18:15:08 +0000 (20:15 +0200)]
util: fix space calculation in get_process_cmdline()

13 years agosystemctl: when we cannot load a unit, retry with getting it
Lennart Poettering [Tue, 6 Jul 2010 18:14:51 +0000 (20:14 +0200)]
systemctl: when we cannot load a unit, retry with getting it

13 years agodbus: fix segfault with direct local connections
Lennart Poettering [Tue, 6 Jul 2010 17:02:54 +0000 (19:02 +0200)]
dbus: fix segfault with direct local connections

13 years agobuild-sys: fix EXTRA_DIST
Kay Sievers [Tue, 6 Jul 2010 13:50:42 +0000 (15:50 +0200)]
build-sys: fix EXTRA_DIST

13 years agosystemctl: don't use UTF directly
Lennart Poettering [Tue, 6 Jul 2010 03:55:41 +0000 (05:55 +0200)]
systemctl: don't use UTF directly

13 years agosystemctl: fix parsing of cgroup contents
Lennart Poettering [Tue, 6 Jul 2010 03:38:12 +0000 (05:38 +0200)]
systemctl: fix parsing of cgroup contents

13 years agoman: document new systemd-install --start option
Lennart Poettering [Tue, 6 Jul 2010 03:25:24 +0000 (05:25 +0200)]
man: document new systemd-install --start option

13 years agoinstall: implement --start option
Lennart Poettering [Tue, 6 Jul 2010 03:06:40 +0000 (05:06 +0200)]
install: implement --start option

13 years agoman: more blurbs
Lennart Poettering [Tue, 6 Jul 2010 01:46:31 +0000 (03:46 +0200)]
man: more blurbs

13 years agoman: add missing parts to man pages
Lennart Poettering [Tue, 6 Jul 2010 01:20:49 +0000 (03:20 +0200)]
man: add missing parts to man pages

13 years agosystemctl: show cgroup contents in status
Lennart Poettering [Mon, 5 Jul 2010 01:06:02 +0000 (03:06 +0200)]
systemctl: show cgroup contents in status

13 years agosystemctl: implement 'status' command
Lennart Poettering [Mon, 5 Jul 2010 00:40:39 +0000 (02:40 +0200)]
systemctl: implement 'status' command

13 years agoturn negative options into positive options
Lennart Poettering [Sun, 4 Jul 2010 23:08:13 +0000 (01:08 +0200)]
turn negative options into positive options

13 years agodbus: send signals about jobs to the clients having created them unconditionally...
Lennart Poettering [Sun, 4 Jul 2010 22:58:07 +0000 (00:58 +0200)]
dbus: send signals about jobs to the clients having created them unconditionally, and thus get rid of broadcast signals in most cases

13 years agosystemctl: use format_timespan() where applicable
Lennart Poettering [Sun, 4 Jul 2010 19:18:06 +0000 (21:18 +0200)]
systemctl: use format_timespan() where applicable

13 years agodbus: fix unclean shut-down
Lennart Poettering [Sun, 4 Jul 2010 19:17:40 +0000 (21:17 +0200)]
dbus: fix unclean shut-down

13 years agouniformly suffix time span properties with their unit
Lennart Poettering [Sun, 4 Jul 2010 19:12:10 +0000 (21:12 +0200)]
uniformly suffix time span properties with their unit

13 years agoman: update systemctl man page
Lennart Poettering [Sun, 4 Jul 2010 18:46:12 +0000 (20:46 +0200)]
man: update systemctl man page

13 years agodbus: complete exec command coverage
Lennart Poettering [Sun, 4 Jul 2010 18:38:14 +0000 (20:38 +0200)]
dbus: complete exec command coverage

13 years agodbus: complete exec status coverage
Lennart Poettering [Sun, 4 Jul 2010 16:49:58 +0000 (18:49 +0200)]
dbus: complete exec status coverage

13 years agodbus: include NextElapse field in timer properties
Lennart Poettering [Sun, 4 Jul 2010 14:48:24 +0000 (16:48 +0200)]
dbus: include NextElapse field in timer properties

13 years agodbus: complete exec coverage
Lennart Poettering [Sun, 4 Jul 2010 14:44:58 +0000 (16:44 +0200)]
dbus: complete exec coverage

13 years agodbus: complete coverage of service units
Lennart Poettering [Sun, 4 Jul 2010 03:14:30 +0000 (05:14 +0200)]
dbus: complete coverage of service units

13 years agodbus: complete socket unit coverage
Lennart Poettering [Sun, 4 Jul 2010 03:07:31 +0000 (05:07 +0200)]
dbus: complete socket unit coverage

13 years agodbus: complete target unit coverage
Lennart Poettering [Sun, 4 Jul 2010 03:01:36 +0000 (05:01 +0200)]
dbus: complete target unit coverage

13 years agodbus: complete automount and mount unit coverage
Lennart Poettering [Sun, 4 Jul 2010 02:55:33 +0000 (04:55 +0200)]
dbus: complete automount and mount unit coverage

13 years agodbus: complete coverage of manager interface
Lennart Poettering [Sun, 4 Jul 2010 02:47:19 +0000 (04:47 +0200)]
dbus: complete coverage of manager interface

13 years agodbus: complete coverage of timer units
Lennart Poettering [Sun, 4 Jul 2010 02:37:03 +0000 (04:37 +0200)]
dbus: complete coverage of timer units

13 years agosystemctl: load unit when introspecting
Lennart Poettering [Sun, 4 Jul 2010 02:24:23 +0000 (04:24 +0200)]
systemctl: load unit when introspecting

13 years agodbus: complete coverage for unit interface
Lennart Poettering [Sun, 4 Jul 2010 02:24:07 +0000 (04:24 +0200)]
dbus: complete coverage for unit interface

13 years agodbus: complete coverage for path units
Lennart Poettering [Sun, 4 Jul 2010 02:23:48 +0000 (04:23 +0200)]
dbus: complete coverage for path units

13 years agosystemctl: implement 'show' command
Lennart Poettering [Sun, 4 Jul 2010 01:43:57 +0000 (03:43 +0200)]
systemctl: implement 'show' command

13 years agodbus: implement GetAll() with empty interface string properly
Lennart Poettering [Sun, 4 Jul 2010 01:43:20 +0000 (03:43 +0200)]
dbus: implement GetAll() with empty interface string properly

13 years agodbus: properly name StartupTimestamp property
Lennart Poettering [Sun, 4 Jul 2010 01:42:55 +0000 (03:42 +0200)]
dbus: properly name StartupTimestamp property