summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)Author
2012-01-12core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering
2012-01-12units: make sure syslog socket goes away early during shutdownLennart Poettering
2012-01-06units: remove left-over unit fileLennart Poettering
2012-01-06journald: start the journal after the syslog socket, so that the syslog ↵Lennart Poettering
socket queues syslog messages from early boot on
2012-01-06kmsg-syslogd: remove kmsg-syslogd, since it's entirely obsoleted and ↵Lennart Poettering
replaced by journald
2012-01-06stdout: remove stdout-syslog-bridge since it is now obsoleted by journaldLennart Poettering
2012-01-05journal: move sockets into their own subdirLennart Poettering
2011-12-31socket: rename the PassCred= option to PassCredentials=, since we don't want ↵Lennart Poettering
to needlessly abbreviate options unless they are very well established
2011-12-31Merge branch 'journal'Lennart Poettering
2011-12-30journald: forward all syslog messages to syslogdLennart Poettering
2011-12-30journal: add unit files and shared library glueLennart Poettering
2011-12-02rc-local: order after network.targetMichal Schmidt
As suggested by Bill Nottingham: rc.local is often used for frobbing the network. https://bugzilla.redhat.com/show_bug.cgi?id=754789
2011-12-02rc-local: no need to check if the script is executableMichal Schmidt
rc-local.service is pulled in by a generator only if the script is executable. No need to check again.
2011-12-02add a generator to pull rc-local.service inMichal Schmidt
rc-local.service acts as an ordering barrier even if its condition is false, because conditions are evaluated when the service is about to be started. To avoid the ordering barrier in a legacy-free system, add a generator to pull rc-local.service into the transaction only if the script is executable. If/when we rewrite SysV compatibility into a generator, this one can become a part of it.
2011-11-30syslog: use PassCred=yes for the /dev/log socketMichal Schmidt
Both kmsg-syslogd and the real syslog service want to receive SCM_CREDENTIALS. With socket activation it is too late to set SO_PASSCRED in the services.
2011-11-30shutdownd: use PassCred=yes in the socket unitMichal Schmidt
Since Linux 3.2 in order to receive SCM_CREDENTIALS it is not sufficient to set SO_PASSCRED just before recvmsg(). The option has to be already set when the sender sends the message. With socket activation it is too late to set the option in the service. It must be set on the socket right from the start. See the kernel commit: 16e57262 af_unix: dont send SCM_CREDENTIALS by default Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=757628
2011-11-09units/suse: let rc-local.service log to syslogMichal Schmidt
Same change as the previous commit did for Fedora. fcrozat agreed.
2011-11-09units/fedora: let rc-local.service log to syslogMichal Schmidt
rc-local.service should not be excluded from the default stdout logging. Missing logs were noticed by Andrew McNabb in https://bugzilla.redhat.com/show_bug.cgi?id=750032#c3
2011-11-09units: drop unnecessary 'StandardOutput=syslog'Michal Schmidt
DefaultStandardOutput is syslog anyway. There's no reason to assume that the administrator would want these units to be excluded when he configures a different DefaultStandardOutput.
2011-11-02Add Mageia supportDexter Morgan
This patch adds support for the Mageia Linux distribution: http://www.mageia.org/ Mageia is a fork of Mandriva although some divergence has already occured and thus inclusion of these changes upstream allow us to (hopefully) migrate more rapidly to the new standard approaches systemd offers. Indeed, we already use the preferred mechanism of OS identification via the /etc/os-release file rather than a distro specific variation. This patch mostly mirrors the patch added previously for Mandriva support. In addition to those original authors, this patch was mostly written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-01units: drop [Install] section from remote-fs-pre.targetLennart Poettering
remote-fs-pre.target is not a unit a user should ever explicitly enable. Instead services which need to hook before network mounts should pull it in.
2011-10-11units: forgot target unitsLennart Poettering
2011-10-11units: increase LimitNOFILE a bitLennart Poettering
since we need one fd per session (for logind) and one fd per service (for stdout-syslog-bridge) increase the default rlimit a bit.
2011-10-11units: remount root and API FS before all mount units are appliedLennart Poettering
In order to ensure that bind mounts copy the final mount settings to the new bind mount make the root and API FS mount options are applied before the other file systems are mounted. https://bugzilla.redhat.com/show_bug.cgi?id=718464
2011-09-23readahead: opt out of bridge logging for readahead in order not to delay ↵Lennart Poettering
things unnecessarily
2011-09-22units: fix rescue.service race with plymouthMichal Schmidt
It was possible for the "ExecStartPre=-/bin/plymouth quit" to race with plymouth-start.service which is pulled in indirectly by basic.target -> sysinit.target. The race left plymouth running on the terminal, making it unusable for rescue purposes. https://bugzilla.redhat.com/show_bug.cgi?id=710487
2011-09-22units: introduce unit file for FUSE fsLennart Poettering
FUSE and configfs is very very similar, so handle both the same way.
2011-09-21units: In MeeGo there was more than one ExecStart lines present that caused ↵Marko Saukko
systemd to refuse the rescue.service
2011-09-21units: we don't need to check whether /sys/kernel/security is already ↵Lennart Poettering
mounted since we'll enumerate that fact anyway
2011-09-21units: drop automount unit for /dev/hugepagesLennart Poettering
Since hugetlbfs cannot be compiled as kernel module there's little point in doing on-demand mounting via autofs for it.
2011-09-21units: drop automount unit for /dev/mqueueLennart Poettering
Since the mqueue support cannot be built as a module there's little benefit in having an autofs mount point set up for this.
2011-09-21units: drop automount unit for /sys/kernel/securityLennart Poettering
Since securityfs cannot be build as module there's little value in having an on-demand autofs mount point for it.
2011-09-21units: drop automount unit for /sys/kernel/debugLennart Poettering
Since debugfs cannot be compiled as module there's little benefit in having it as autofs mount point.
2011-09-21units: drop /sys/kernel/config automount unitLennart Poettering
The mount point directory /sys/kernel/config is only created after the module is loaded, hence there's little value in having this an automount unit: the runtime penalty for mounting an autofs here should be the same as for a real mount.
2011-09-21condition: add ConditionPathIsSymbolicLinkMichal Schmidt
2011-09-21units: don't initialize automount point for securityfs if the initrd already ↵Lennart Poettering
mounted the directory
2011-09-20units: direct stdout/stderr of rescue shells to ttyMichal Schmidt
With output of services going to syslog by default now, the rescue shell units need to direct their output to tty explicitly. Specify stderr too, just in case.
2011-09-20units: Add support for automounting configfs, ala debugfs, etc.Bill Nottingham
2011-08-31locale: support $LANGUAGE tooLennart Poettering
$LANGUAGE is a GNU extension that is probably worth supporting, since it allows specifiying an order of languages. https://bugs.freedesktop.org/show_bug.cgi?id=40510
2011-08-31man: don't recommend After=syslog.target anymore since we don't support ↵Lennart Poettering
non-socket-activatable syslogs anymore where that was ncessary
2011-08-30stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptiveLennart Poettering
2011-08-29untis: allow both console and plymouth ask password agents in boot ↵Lennart Poettering
transaction to allow dynamically disabled plymouth
2011-08-29plymouth: don't enable ask-password agent of plymouth is disabledLennart Poettering
2011-08-01umask: set umask of a number of sockets by default, even though we check ↵Lennart Poettering
creds on connections
2011-07-12unit: introduce ConditionFileIsExecutable= and use it where we check for a ↵Lennart Poettering
binary we'll spawn
2011-07-12units: add units for boot.local/halt.local on SUSE distributions.Frederic Crozat
2011-07-02units: enable dev-hugepages.automount and dev-mqueue.automount only when ↵Lennart Poettering
enabled in kernel
2011-07-01logind: temporarily hack right user bus address into unit fileLennart Poettering
2011-06-30logind: add service for per-user shared systemd daemonLennart Poettering
2011-06-28logind: autospawn gettys when necessaryLennart Poettering