summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)Author
2011-12-30journald: forward all syslog messages to syslogdLennart Poettering
2011-12-30journal: add unit files and shared library glueLennart Poettering
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
2011-04-30plymouth: introduce plymouth.enable=0 kernel command line switchLennart Poettering
2011-04-20units: set capability bounding set for syslog servicesLennart Poettering
2011-04-20MeeGo supportChris E Ferron
This commit consists of the initial work to include MeeGo as a ported distribution for systemd. The majority of the changes are small configuration additions to auto tools, so that MeeGo is identified as a valid distribution option. Some small deviations will be noticed between the configuration of MeeGo and other distributions. As MeeGo is a distribution striving for compliancy to support its near embedded attributes and target users, there is less user configuration options available by default. Most services will be enabled by systemd as part of the distribution requirements, and as such most links and service files will be pre-setup for the MeeGo distribution. As much of this is going to be done within the MeeGo distribution packaging this is still noteworthy to mention, as it explains why in systemd you will observe configuration differences where the MeeGo distribution removes all links in the pkgsysconfdir for instance. MeeGo will be user configurable if there is desire, but most services will be enabled by the distribution as designated by the MeeGo compliancy standards. Other changes are in source to add such areas as meego-release defined in utils, and hostname in hostname-setup, defining vconsole-setup, localizations and rescue additions as needed. As this is all ground work, MeeGo will continue to strive for complete compatibility.
2011-04-20fsck: don't fsck against basic.target in order to properly allow automount /homeLennart Poettering
2011-04-19hostnamed: drop all caps but CAP_SYS_ADMINLennart Poettering