chiark / gitweb /
elogind.git
13 years agounit: introduce exit.service for exiting from session instances
Lennart Poettering [Mon, 24 May 2010 20:31:38 +0000 (22:31 +0200)]
unit: introduce exit.service for exiting from session instances

13 years agounit: ship a mail-transfer-agent.target unit by default
Lennart Poettering [Mon, 24 May 2010 20:30:54 +0000 (22:30 +0200)]
unit: ship a mail-transfer-agent.target unit by default

13 years agounit: turn display-manager.target into a service
Lennart Poettering [Mon, 24 May 2010 20:29:59 +0000 (22:29 +0200)]
unit: turn display-manager.target into a service

13 years agoservice: add extended debian facilities
Lennart Poettering [Mon, 24 May 2010 17:56:25 +0000 (19:56 +0200)]
service: add extended debian facilities

13 years agoservice: be case insensitive when parsing LSB headers, because some Debian services...
Lennart Poettering [Mon, 24 May 2010 17:23:11 +0000 (19:23 +0200)]
service: be case insensitive when parsing LSB headers, because some Debian services use lower case fields

13 years agoservice: interpret suse/debian style X-Start-Before/X-Start-After
Lennart Poettering [Mon, 24 May 2010 17:00:13 +0000 (19:00 +0200)]
service: interpret suse/debian style X-Start-Before/X-Start-After

13 years agosd-daemon: set FD_CLOEXEC by default
Lennart Poettering [Mon, 24 May 2010 16:59:46 +0000 (18:59 +0200)]
sd-daemon: set FD_CLOEXEC by default

13 years agomain: don't try to mount api dirs if we are not root
Lennart Poettering [Mon, 24 May 2010 16:59:13 +0000 (18:59 +0200)]
main: don't try to mount api dirs if we are not root

13 years agoman: fix minor typo
Lennart Poettering [Mon, 24 May 2010 16:58:43 +0000 (18:58 +0200)]
man: fix minor typo

13 years agopath: add .path unit type for monitoring files
Lennart Poettering [Mon, 24 May 2010 03:25:33 +0000 (05:25 +0200)]
path: add .path unit type for monitoring files

13 years agotimer: fully implement timer units
Lennart Poettering [Sun, 23 May 2010 23:45:54 +0000 (01:45 +0200)]
timer: fully implement timer units

13 years agodbus: automatically generate and install introspection files
Lennart Poettering [Sun, 23 May 2010 01:45:33 +0000 (03:45 +0200)]
dbus: automatically generate and install introspection files

13 years agounit: add automount units for a number of API filesystems
Lennart Poettering [Sat, 22 May 2010 23:56:54 +0000 (01:56 +0200)]
unit: add automount units for a number of API filesystems

13 years agosystemctl: subscribe to changes of existing units/jobs
Lennart Poettering [Sat, 22 May 2010 02:39:37 +0000 (04:39 +0200)]
systemctl: subscribe to changes of existing units/jobs

13 years agoexecute: fix typo
Lennart Poettering [Sat, 22 May 2010 02:39:16 +0000 (04:39 +0200)]
execute: fix typo

13 years agosystemctl: add --block switch for synchronous starting of units
Lennart Poettering [Sat, 22 May 2010 02:27:24 +0000 (04:27 +0200)]
systemctl: add --block switch for synchronous starting of units

13 years agomanager: link ~/.local/share/systemd/session to ~/.config/systemd/session if possible
Lennart Poettering [Sat, 22 May 2010 01:32:00 +0000 (03:32 +0200)]
manager: link ~/.local/share/systemd/session to ~/.config/systemd/session if possible

13 years agomanager: canonicalize search paths and filter out non-existing paths and those pointi...
Lennart Poettering [Sat, 22 May 2010 01:30:46 +0000 (03:30 +0200)]
manager: canonicalize search paths and filter out non-existing paths and those pointing to the same fs directory

13 years agoexecute: only reset those signals to the default we really need to reset to the default
Lennart Poettering [Fri, 21 May 2010 23:46:08 +0000 (01:46 +0200)]
execute: only reset those signals to the default we really need to reset to the default

13 years agodevice: make use of new libudev tags logic
Lennart Poettering [Fri, 21 May 2010 23:00:28 +0000 (01:00 +0200)]
device: make use of new libudev tags logic

13 years agokmod: automatically load a few kernel modules we need for normal operation before...
Lennart Poettering [Fri, 21 May 2010 22:29:53 +0000 (00:29 +0200)]
kmod: automatically load a few kernel modules we need for normal operation before udev is active

13 years agounits: mark a couple of services as OnlyByDependency
Lennart Poettering [Fri, 21 May 2010 21:53:09 +0000 (23:53 +0200)]
units: mark a couple of services as OnlyByDependency

13 years agounit: add simple only-by-dependency flag for units
Lennart Poettering [Fri, 21 May 2010 21:41:54 +0000 (23:41 +0200)]
unit: add simple only-by-dependency flag for units

13 years agosocket: fix parsing of bind_ipv6_only
Lennart Poettering [Fri, 21 May 2010 21:41:25 +0000 (23:41 +0200)]
socket: fix parsing of bind_ipv6_only

13 years agosd-daemon: verify socket family, too
Lennart Poettering [Fri, 21 May 2010 15:06:40 +0000 (17:06 +0200)]
sd-daemon: verify socket family, too

13 years agosd-daemon: fix listening socket verification
Lennart Poettering [Fri, 21 May 2010 01:34:04 +0000 (03:34 +0200)]
sd-daemon: fix listening socket verification

13 years agomount: consider a mount successful if /bin/mount returned successfully but /proc...
Lennart Poettering [Fri, 21 May 2010 01:32:58 +0000 (03:32 +0200)]
mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet

13 years agomount: refuse mount units that have not been loaded from any source
Lennart Poettering [Fri, 21 May 2010 01:32:21 +0000 (03:32 +0200)]
mount: refuse mount units that have not been loaded from any source

13 years agolog: handle multi-line log messages properly
Lennart Poettering [Fri, 21 May 2010 01:31:49 +0000 (03:31 +0200)]
log: handle multi-line log messages properly

13 years agosocket: fix error handling
Lennart Poettering [Thu, 20 May 2010 18:46:17 +0000 (20:46 +0200)]
socket: fix error handling

13 years agosocket: format IPv4-in-IPv6 addresses as IPv4 addresses for instance name
Lennart Poettering [Thu, 20 May 2010 18:46:06 +0000 (20:46 +0200)]
socket: format IPv4-in-IPv6 addresses as IPv4 addresses for instance name

13 years agoservice: when start is repeated too often, consider that failure
Lennart Poettering [Thu, 20 May 2010 18:45:20 +0000 (20:45 +0200)]
service: when start is repeated too often, consider that failure

13 years agocgroup: consider not-realized cgroups empty when killing all processes in them
Lennart Poettering [Thu, 20 May 2010 18:45:00 +0000 (20:45 +0200)]
cgroup: consider not-realized cgroups empty when killing all processes in them

13 years agoloopback: negate netlink error code before we pass it to strerror()
Lennart Poettering [Thu, 20 May 2010 17:08:37 +0000 (19:08 +0200)]
loopback: negate netlink error code before we pass it to strerror()

13 years agosd-daemon: extend documentation a little
Lennart Poettering [Thu, 20 May 2010 17:01:29 +0000 (19:01 +0200)]
sd-daemon: extend documentation a little

13 years agoloopback-setup: be more verbose when something is failing
Lennart Poettering [Thu, 20 May 2010 17:01:14 +0000 (19:01 +0200)]
loopback-setup: be more verbose when something is failing

13 years agofedora: make sure both prefdm and rc-local depend on base.target properly
Lennart Poettering [Thu, 20 May 2010 16:18:06 +0000 (18:18 +0200)]
fedora: make sure both prefdm and rc-local depend on base.target properly

13 years agounits: add services for Gentoo
Marc-Antoine Perennou [Thu, 20 May 2010 08:31:04 +0000 (10:31 +0200)]
units: add services for Gentoo

13 years agounits: SUSE support
Kay Sievers [Thu, 20 May 2010 15:55:42 +0000 (17:55 +0200)]
units: SUSE support

13 years agosystemadm: fix link when fragment path is unknown
Lennart Poettering [Thu, 20 May 2010 00:37:18 +0000 (02:37 +0200)]
systemadm: fix link when fragment path is unknown

13 years agosystemadm: make fragment path a clickable link
Lennart Poettering [Thu, 20 May 2010 00:31:57 +0000 (02:31 +0200)]
systemadm: make fragment path a clickable link

13 years agounit: ship default.service for sessions by default
Lennart Poettering [Thu, 20 May 2010 00:30:49 +0000 (02:30 +0200)]
unit: ship default.service for sessions by default

13 years agofedora: remove automount points before we go down
Lennart Poettering [Thu, 20 May 2010 00:11:37 +0000 (02:11 +0200)]
fedora: remove automount points before we go down

13 years agofedora: we must call the halt script with a symlink of reboot for rebooting
Lennart Poettering [Thu, 20 May 2010 00:05:28 +0000 (02:05 +0200)]
fedora: we must call the halt script with a symlink of reboot for rebooting

13 years agologger: we need to be started after syslog
Lennart Poettering [Wed, 19 May 2010 23:34:59 +0000 (01:34 +0200)]
logger: we need to be started after syslog

13 years agoexecute: check ppid, not pid for 1
Lennart Poettering [Wed, 19 May 2010 23:34:42 +0000 (01:34 +0200)]
execute: check ppid, not pid for 1

13 years agologger: add an after dependency on the syslog dependency
Lennart Poettering [Wed, 19 May 2010 23:21:38 +0000 (01:21 +0200)]
logger: add an after dependency on the syslog dependency

13 years agoservice: when we cannot start due to rate limít consider that a real failure
Lennart Poettering [Wed, 19 May 2010 23:14:43 +0000 (01:14 +0200)]
service: when we cannot start due to rate limít consider that a real failure

13 years agojob: don't show (null) prefix in dump
Lennart Poettering [Wed, 19 May 2010 23:14:09 +0000 (01:14 +0200)]
job: don't show (null) prefix in dump

13 years agosd-daemon: add API to verify socket types
Lennart Poettering [Wed, 19 May 2010 23:13:43 +0000 (01:13 +0200)]
sd-daemon: add API to verify socket types

13 years agoexecute: reopen console in the spawned processes, if necessary
Lennart Poettering [Wed, 19 May 2010 23:08:13 +0000 (01:08 +0200)]
execute: reopen console in the spawned processes, if necessary

13 years agoautomount: try to modprobe autofs4 if its lacking
Lennart Poettering [Wed, 19 May 2010 20:30:28 +0000 (22:30 +0200)]
automount: try to modprobe autofs4 if its lacking

13 years agoshorten copyright header of configuration files
Lennart Poettering [Wed, 19 May 2010 20:14:29 +0000 (22:14 +0200)]
shorten copyright header of configuration files

13 years agoservice: refuse to parse sysv scripts that are requested with a boot. prefix or ...
Lennart Poettering [Wed, 19 May 2010 19:52:30 +0000 (21:52 +0200)]
service: refuse to parse sysv scripts that are requested with a boot. prefix or .sh suffix

13 years agoload-fragment: add support for overriding argv[0] in parsed command lines
Lennart Poettering [Wed, 19 May 2010 19:51:53 +0000 (21:51 +0200)]
load-fragment: add support for overriding argv[0] in parsed command lines

13 years agoexecute: send output of services by default to same place as systemd internal output
Lennart Poettering [Wed, 19 May 2010 19:51:25 +0000 (21:51 +0200)]
execute: send output of services by default to same place as systemd internal output

13 years agoexecute: simplify stdin/stderr/stdout fixup a little
Lennart Poettering [Wed, 19 May 2010 19:50:34 +0000 (21:50 +0200)]
execute: simplify stdin/stderr/stdout fixup a little

13 years agoexecute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx nomenclature
Lennart Poettering [Wed, 19 May 2010 19:49:03 +0000 (21:49 +0200)]
execute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx nomenclature

13 years agounits: don't install var-run.mount anymore for the moment
Lennart Poettering [Wed, 19 May 2010 02:37:21 +0000 (04:37 +0200)]
units: don't install var-run.mount anymore for the moment

13 years agoservice: by default send service output to syslog, except for SysV services which...
Lennart Poettering [Wed, 19 May 2010 02:28:25 +0000 (04:28 +0200)]
service: by default send service output to syslog, except for SysV services which should go to the console

13 years agoservice: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore...
Lennart Poettering [Wed, 19 May 2010 01:44:37 +0000 (03:44 +0200)]
service: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore, so rename it

13 years agoservice: properly drop boot. prefix and .sh suffix from dependency names in the LSB...
Lennart Poettering [Wed, 19 May 2010 01:44:07 +0000 (03:44 +0200)]
service: properly drop boot. prefix and .sh suffix from dependency names in the LSB headers

13 years agologger: use the right enum type
Lennart Poettering [Wed, 19 May 2010 01:42:24 +0000 (03:42 +0200)]
logger: use the right enum type

13 years agoautomount: never consider our own mount point a prefix mount of us
Lennart Poettering [Wed, 19 May 2010 01:42:05 +0000 (03:42 +0200)]
automount: never consider our own mount point a prefix mount of us

13 years agolog: never close file descriptors < 3
Lennart Poettering [Tue, 18 May 2010 03:10:52 +0000 (05:10 +0200)]
log: never close file descriptors < 3

13 years agounits: fix syntax of mount unit files
Lennart Poettering [Tue, 18 May 2010 02:17:05 +0000 (04:17 +0200)]
units: fix syntax of mount unit files

13 years agomanager: before entering loop dispatch queued up SIGCHLDs
Lennart Poettering [Tue, 18 May 2010 02:16:33 +0000 (04:16 +0200)]
manager: before entering loop dispatch queued up SIGCHLDs

13 years agounit: don't gc units that are still in STUB state
Lennart Poettering [Tue, 18 May 2010 02:05:27 +0000 (04:05 +0200)]
unit: don't gc units that are still in STUB state

13 years agomain: ignore EPERM in TIOCSTTY when opening terminal for crash shell
Lennart Poettering [Tue, 18 May 2010 01:40:19 +0000 (03:40 +0200)]
main: ignore EPERM in TIOCSTTY when opening terminal for crash shell

13 years agomain: if we fail to acquire a terminal for the crash shell, warn but continue
Lennart Poettering [Tue, 18 May 2010 01:27:02 +0000 (03:27 +0200)]
main: if we fail to acquire a terminal for the crash shell, warn but continue

13 years agounits: replace a few non-essential API mounts with automount units
Lennart Poettering [Tue, 18 May 2010 01:10:17 +0000 (03:10 +0200)]
units: replace a few non-essential API mounts with automount units

13 years agounits: synchronize with shutdown.target
Lennart Poettering [Tue, 18 May 2010 01:08:35 +0000 (03:08 +0200)]
units: synchronize with shutdown.target

13 years agounits: fix execution environment for a few services
Lennart Poettering [Tue, 18 May 2010 01:08:18 +0000 (03:08 +0200)]
units: fix execution environment for a few services

13 years agobuild-sys: remove vala generated sources only when valac is around
Lennart Poettering [Mon, 17 May 2010 22:28:39 +0000 (00:28 +0200)]
build-sys: remove vala generated sources only when valac is around

13 years agocgroup: don't require debug cgroup controller anymore, use name hierarchy instead
Lennart Poettering [Mon, 17 May 2010 21:54:44 +0000 (23:54 +0200)]
cgroup: don't require debug cgroup controller anymore, use name hierarchy instead

13 years agobuild-sys: don't fail if we cannot create /cgroup/debug
Lennart Poettering [Mon, 17 May 2010 21:29:24 +0000 (23:29 +0200)]
build-sys: don't fail if we cannot create /cgroup/debug

13 years agobuild-sys: enable xsltproc rules only if we have xsltproc
Lennart Poettering [Mon, 17 May 2010 21:29:10 +0000 (23:29 +0200)]
build-sys: enable xsltproc rules only if we have xsltproc

13 years agobuild-sys: simplify sed rules
Lennart Poettering [Mon, 17 May 2010 21:28:54 +0000 (23:28 +0200)]
build-sys: simplify sed rules

13 years agobuild-sys: fix make distcheck
Lennart Poettering [Mon, 17 May 2010 21:02:28 +0000 (23:02 +0200)]
build-sys: fix make distcheck

13 years agoman: replace syslog name in man page by configured name
Lennart Poettering [Mon, 17 May 2010 20:45:52 +0000 (22:45 +0200)]
man: replace syslog name in man page by configured name

13 years agounits: add getty@.service define for Gentoo
Marc-Antoine Perennou [Mon, 17 May 2010 09:49:58 +0000 (11:49 +0200)]
units: add getty@.service define for Gentoo

13 years agobuild-sys: make xsltproc/sed invocations silent
Lennart Poettering [Mon, 17 May 2010 17:53:16 +0000 (19:53 +0200)]
build-sys: make xsltproc/sed invocations silent

13 years agobuild-sys: set M4_DISTRO_FLAG from the configure script
Lennart Poettering [Mon, 17 May 2010 17:52:57 +0000 (19:52 +0200)]
build-sys: set M4_DISTRO_FLAG from the configure script

13 years agounits: make sure to ship units/remote-fs.target.m4 in tarball
Lennart Poettering [Mon, 17 May 2010 17:42:57 +0000 (19:42 +0200)]
units: make sure to ship units/remote-fs.target.m4 in tarball

13 years agounits: add a couple of Conflicts to make boot targets exclusive
Lennart Poettering [Mon, 17 May 2010 17:37:49 +0000 (19:37 +0200)]
units: add a couple of Conflicts to make boot targets exclusive

13 years agoman: complete service.special(7) man page
Lennart Poettering [Mon, 17 May 2010 17:37:21 +0000 (19:37 +0200)]
man: complete service.special(7) man page

13 years agobuild-sys: fix --distro= configure explations
Lennart Poettering [Mon, 17 May 2010 17:36:22 +0000 (19:36 +0200)]
build-sys: fix --distro= configure explations

13 years agodocs: update DISTRO_PORTING a little
Lennart Poettering [Mon, 17 May 2010 17:35:36 +0000 (19:35 +0200)]
docs: update DISTRO_PORTING a little

13 years agounits: fix commenting
Lennart Poettering [Mon, 17 May 2010 00:17:47 +0000 (02:17 +0200)]
units: fix commenting

13 years agounit: properly generate session units
Lennart Poettering [Mon, 17 May 2010 00:17:22 +0000 (02:17 +0200)]
unit: properly generate session units

13 years agobuild-sys: add small redirecting Makefiles to simplify compilation from within emacs
Lennart Poettering [Sun, 16 May 2010 23:44:03 +0000 (01:44 +0200)]
build-sys: add small redirecting Makefiles to simplify compilation from within emacs

13 years agodocs: add terse distribution porting guide
Lennart Poettering [Sun, 16 May 2010 23:39:51 +0000 (01:39 +0200)]
docs: add terse distribution porting guide

13 years agounits: add distribution-specific units
Lennart Poettering [Sun, 16 May 2010 23:34:36 +0000 (01:34 +0200)]
units: add distribution-specific units

13 years agounits: add rpcbind.target special
Lennart Poettering [Sun, 16 May 2010 20:50:02 +0000 (22:50 +0200)]
units: add rpcbind.target special

13 years agoswap: add swap.target Wants links only when running as system instance
Lennart Poettering [Sun, 16 May 2010 20:48:14 +0000 (22:48 +0200)]
swap: add swap.target Wants links only when running as system instance

13 years agomount: add remote-fs.target/local-fs.target Wants links only when running as system...
Lennart Poettering [Sun, 16 May 2010 20:46:03 +0000 (22:46 +0200)]
mount: add remote-fs.target/local-fs.target Wants links only when running as system instance

13 years agoman: document a few special units
Lennart Poettering [Sun, 16 May 2010 20:45:11 +0000 (22:45 +0200)]
man: document a few special units

13 years agounits: add missing syslog.target.in file to git tree
Lennart Poettering [Sun, 16 May 2010 19:29:41 +0000 (21:29 +0200)]
units: add missing syslog.target.in file to git tree

13 years agobuild-sys: provide distro-agnostic defaults for distro-specific settings
Lennart Poettering [Sun, 16 May 2010 19:28:41 +0000 (21:28 +0200)]
build-sys: provide distro-agnostic defaults for distro-specific settings

13 years agounits: drop After=sysinit.service line in local-fs.target which should be reversed...
Lennart Poettering [Sun, 16 May 2010 19:15:35 +0000 (21:15 +0200)]
units: drop After=sysinit.service line in local-fs.target which should be reversed and put into sysinit.service