summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)Author
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
2011-06-27units: Use /etc/rc.d/rc.local as the path to rc.local in Fedora.Bill Nottingham
/etc/rc.local is a symlink.
2011-06-24logind: add more necessary caps to the serviceLennart Poettering
2011-06-24logind: fix set of capabilitiesLennart Poettering
2011-06-21dbus: add dbus introspection extractionLennart Poettering
2011-06-21mechanisms: add mechanisms to change system locale and clockLennart Poettering
2011-06-14remote-fs.target: do not order after network.targetTom Gundersen
remote-fs.target is ordered after the {auto,}mount units. In case of automount we do not want to wait for the network to come up before proceeding. In case of a regular mount unit, the unit will be ordered after network.target so the behavior is unchanged. This speeds up boot quite a bit for me when having some services needing NetworkManager-wait-online.service, and having my home partition on nfs under an automountpoint.
2011-05-25drop hwclock-save.serviceKay Sievers
We don't want to fiddle around changing the RTC, not on bootup, not on shutdown. If we don't run NTP, we have absolutely no clue what's the current time to store in the RTC. If we run NTP, the kernel syncs the system time every 11 minutes to the RTC. Especially in multi-boot environents we must not call hwclock(8) which tries to be smart with calculating/storing/applying drifts and such. Live-CDs must never touch the RTC, because we don't know if it is running in UTC or locatime.
2011-05-24rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)Kay Sievers
We check for LOCAL in /etc/adjtime and if needed, ask the kernel to apply the timezone delta to the system clock. The very first call of settimeofday() without a time, but a timezone warps the system clock, so that it properly runs in UTC.
2011-05-18exec: hangup/reset/deallocate VTs in gettysLennart Poettering
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty.
2011-05-09units: Enable plymouth for FrugalwareMiklos Vajna
2011-05-02units: enable automount units only if the kernel supports themLennart Poettering
2011-04-30binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty=Kay Sievers