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

13 years agoman: various man page updates
Lennart Poettering [Sat, 3 Jul 2010 17:54:00 +0000 (19:54 +0200)]
man: various man page updates

13 years agounits: update shipped unit files for DefaultDependencies=
Lennart Poettering [Sat, 3 Jul 2010 17:53:37 +0000 (19:53 +0200)]
units: update shipped unit files for DefaultDependencies=

13 years agosnapshot: downgrade automatic dependencies from Requires to Wants
Lennart Poettering [Sat, 3 Jul 2010 17:51:24 +0000 (19:51 +0200)]
snapshot: downgrade automatic dependencies from Requires to Wants

13 years agounit: add DefaultDependencies= setting
Lennart Poettering [Sat, 3 Jul 2010 17:48:33 +0000 (19:48 +0200)]
unit: add DefaultDependencies= setting

In order to simplify writing of unit files introduce default
dependencies that are added to all units unless explictly disabled in a
unit. This option can be switched off for select units that are involved
in early boot-up ot late system shutdown,

This should simplify service files for most normal daemons, but breaks
existing service files for software involved in early boot (notably
udev), which need to be updated for a DefaultDependencies=no setting)

13 years agounit: simplify things a little by introducing API to add two dependencies in one...
Lennart Poettering [Sat, 3 Jul 2010 17:46:38 +0000 (19:46 +0200)]
unit: simplify things a little by introducing API to add two dependencies in one step

13 years agoexecute: check tcpwrap for sockets passed via new-style socket passing as well.
Lennart Poettering [Fri, 2 Jul 2010 21:25:25 +0000 (23:25 +0200)]
execute: check tcpwrap for sockets passed via new-style socket passing as well.

13 years agoman: document execution context related settings
Lennart Poettering [Fri, 2 Jul 2010 21:24:38 +0000 (23:24 +0200)]
man: document execution context related settings

13 years agoman: extend references to exec man page
Lennart Poettering [Fri, 2 Jul 2010 17:51:07 +0000 (19:51 +0200)]
man: extend references to exec man page

13 years agoman: minor fix
Lennart Poettering [Fri, 2 Jul 2010 15:28:02 +0000 (17:28 +0200)]
man: minor fix

13 years agoman: refer to snapshot man page from unit man page
Lennart Poettering [Fri, 2 Jul 2010 15:23:19 +0000 (17:23 +0200)]
man: refer to snapshot man page from unit man page

13 years agoman: minor fixes
Lennart Poettering [Fri, 2 Jul 2010 15:19:52 +0000 (17:19 +0200)]
man: minor fixes

13 years agoman: fix typo in systemctl man page
Lennart Poettering [Fri, 2 Jul 2010 15:04:48 +0000 (17:04 +0200)]
man: fix typo in systemctl man page

13 years agoman: trivial spelling fixes
Kay Sievers [Fri, 2 Jul 2010 07:51:25 +0000 (09:51 +0200)]
man: trivial spelling fixes

13 years agoman: document snapshot units
Lennart Poettering [Fri, 2 Jul 2010 01:51:29 +0000 (03:51 +0200)]
man: document snapshot units

13 years agosystemctl: implement delete command
Lennart Poettering [Fri, 2 Jul 2010 01:51:05 +0000 (03:51 +0200)]
systemctl: implement delete command

13 years agoman: document device units
Lennart Poettering [Fri, 2 Jul 2010 01:28:33 +0000 (03:28 +0200)]
man: document device units

13 years agoman: document target units
Lennart Poettering [Fri, 2 Jul 2010 00:55:34 +0000 (02:55 +0200)]
man: document target units

13 years agoman: document path units
Lennart Poettering [Fri, 2 Jul 2010 00:38:30 +0000 (02:38 +0200)]
man: document path units

13 years agoman: document timer units
Lennart Poettering [Fri, 2 Jul 2010 00:14:13 +0000 (02:14 +0200)]
man: document timer units

13 years agoman: document swap units
Lennart Poettering [Thu, 1 Jul 2010 23:33:54 +0000 (01:33 +0200)]
man: document swap units

13 years agoman: document automount units
Lennart Poettering [Thu, 1 Jul 2010 23:17:55 +0000 (01:17 +0200)]
man: document automount units

13 years agoautomount: add DirectoryMode= setting
Lennart Poettering [Thu, 1 Jul 2010 23:17:21 +0000 (01:17 +0200)]
automount: add DirectoryMode= setting

13 years agoman: document mount units
Lennart Poettering [Thu, 1 Jul 2010 22:29:15 +0000 (00:29 +0200)]
man: document mount units