summaryrefslogtreecommitdiff
path: root/units
Commit message (Collapse)AuthorAge
* units: initrd, multi-user - add a few more words to Description=Kay Sievers2013-03-16
|
* units: ignore systemd-sysctl on shutdownUmut Tezduyar2013-03-15
| | | | | No need to try to stop systemd-sysctl on shutdown as this service doesn't have ExecStop= anyways.
* Make initrd.target the default target in the initrdHarald Hoyer2013-03-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, rename root-fs.target to initrd-root-fs.target to clarify its usage. Mount units with "x-initrd-rootfs.mount" are now ordered before initrd-root-fs.target. As we sometimes construct /sysroot mounts in /etc/fstab in the initrd, we want these to be mounted before the initrd-root-fs.target is active. initrd.target can be the default target in the initrd. (normal startup) : : v basic.target | ______________________/| / | | sysroot.mount | | | v | initrd-root-fs.target | | | v | initrd-parse-etc.service (custom initrd services) | | v | (sysroot-usr.mount and | various mounts marked | with fstab option | x-initrd.mount) | | | v | initrd-fs.target | | \______________________ | \| v initrd.target | v initrd-cleanup.service isolates to initrd-switch-root.target | v ______________________/| / | | initrd-udevadm-cleanup-db.service | | (custom initrd services) | | | \______________________ | \| v initrd-switch-root.target | v initrd-switch-root.service | v switch-root
* add initrd-fs.target and root-fs.targetHarald Hoyer2013-03-13
| | | | | | | | | | | | | | Instead of using local-fs*.target in the initrd, use root-fs.target for sysroot.mount and initrd-fs.target for /sysroot/usr and friends. Using local-fs.target would mean to carry over the activated local-fs.target to the isolated initrd-switch-root.target and thus in the real root. Having local-fs.target already active after deserialization causes ordering problems with the real root services and targets. We better isolate to targets for initrd-switch-root.target, which are only available in the initrd.
* remote-fs.target: want remote-fs-pre.targetHarald Hoyer2013-03-12
| | | | | | | | | | | | | | | This pulls in remote-fs-pre.target if remote-fs.target is needed. Previously remote-fs-pre.target was not active, if no remote fs was mounted from /etc/fstab. So, every manual remote fs mount was ordered against the inactive remote-fs-pre.target and umount.target. Because remote-fs-pre.target was not active, the remote fs was umounted at umount.target time, which was too late (network already down). Now remote-fs-pre.target is active, even if no remote fs is mounted. On shutdown it is deactivated in the correct order and all manual remote fs mounts also.
* udevd: sort into sysinit instead of basic targetKay Sievers2013-03-12
|
* Update .gitignoreMichael Biebl2013-03-11
| | | | for the changes in 7b40ce553f0ec9487077e53f5bdc46580025901c
* Move udevadm to rootbindirMichael Biebl2013-03-11
| | | | | The udevadm utility is needed during early boot, so move it to rootbindir to support split-/usr configurations.
* build-sys: don't hard-code binary paths in initrd-*.serviceMichael Biebl2013-03-09
| | | | Instead use @bindir@ for udevadm and @rootbindir@ for systemctl.
* units: run systemd-ask-password-console.service after ↵Harald Hoyer2013-03-06
| | | | systemd-vconsole-setup.service
* initrd-parse-etc.servic: force start local-fs.targetHarald Hoyer2013-03-06
|
* Revert "add initrd-fs.target and initrd-fs-pre.target"Harald Hoyer2013-03-06
| | | | This reverts commit 39b83cdab37623a546344622db9bbbc784c15df5.
* Revert "units/initrd-*: require initrd-fs.target rather than local-fs.target"Harald Hoyer2013-03-06
| | | | This reverts commit 7d89ce303fb59743a4392eeb3110c00f100172ca.
* journal: make gatewayd run under its own user IDLennart Poettering2013-03-05
|
* units/initrd-*: require initrd-fs.target rather than local-fs.targetHarald Hoyer2013-03-04
|
* add initrd-fs.target and initrd-fs-pre.targetHarald Hoyer2013-03-04
|
* initrd: add unit files needed for basic systemd-in-initrd supportTom Gundersen2013-03-01
| | | | | | | | | | | | | | | | | | This will: * mount all configured filesystems (typically the rootfs on /sysroot) * reload the configuration to pick up anything from the mounted fs (typically /sysroot/etc/fstab) * mount any newly configured filesystems (typically /usr on /sysroot/usr, if applicable) * shut-down and clean-up any daemons running in the initramfs (typically udevd) * switch-root to /sysroot and start the real init For an example of what files should be included in an initramfs based on this see <https://mailman.archlinux.org/pipermail/arch-projects/2013-February/003628.html>. Cc: Harald Hoyer <harald.hoyer@gmail.com> Cc: Dave Reisner <d@falconindy.com>
* build-sys: keep intermediate filesZbigniew Jędrzejewski-Szmek2013-01-29
| | | | | | | Sometimes it is useful to look at them, and they don't take up any significant amount of space. Keeping them also avoids the message about files being removed at the end of make run.
* service: ignore dependencies on $syslog and $local_fs in LSB scriptsLennart Poettering2013-01-16
| | | | | | | | | | | | | We no longer allow early-boot init scripts, however in late boot the syslog socket and local mounts are established anyway, so let's simplify our dep graph a bit. If $syslog doesn't resolve to syslog.target anymore there's no reason to keep syslog.target around anymore. Let's remove it. Note that many 3rd party service unit files order themselves after syslog.target. These will be dangling dependencies now, which should be unproblematic, however.
* service: sysv - remove distribution specific targetsKay Sievers2013-01-16
| | | | | | | | | | | | | | | | | Systemd should not introduce any new facilities. Distributions which still need to support their non-standard/legacy facilities should add them as patches to their packaging. The following facilities are no longer recognized: $x-display-manager $mail-transfer-agent $mail-transport-agent $mail-transfer-agent $smtp $null This target is no longer available: mail-transfer-agent.target
* units: add reference to new wiki page to all api mount unitsLennart Poettering2013-01-15
|
* man: link in API FS documentation from the wikiLennart Poettering2013-01-15
|
* man: link in wiki documentation about network.targetLennart Poettering2013-01-15
|
* units: always use sulogin in rescue.serviceLennart Poettering2013-01-04
| | | | | sushell makes much less sense than sulogin. If distros want to stick to sushell they should patch this downstream.
* units: drop distro specific stuff from unitsLennart Poettering2013-01-04
| | | | | Since rc-local is now enabled via the SysV compatibility we should only refer to it based on that too.
* build-sys: make rc-local support part of SYSV compatLennart Poettering2013-01-04
| | | | | | This also drops automatic selection of the rc local scripts based on the local distro. Distributions now should specify the paths of the rc-local and halt-local scripts on the configure command line.
* units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of ↵Lennart Poettering2012-12-31
| | | | virtualization works
* Remove frugalware display-manager.serviceTollef Fog Heen2012-12-14
| | | | | | | Frugalware are shipping their own .service file now, so stop shipping it here. This effectively reverts 196e3fa74a88a04b0ecec7d3af648287dd088f8a
* unit: link up getty configuration from man page and unit filesLennart Poettering2012-11-20
|
* journal: recommend journalctl -x more oftenLennart Poettering2012-11-16
|
* service: drop special HTTP server target, as it is a bad idea anf Fedora ↵Lennart Poettering2012-10-31
| | | | | | | | | | | | | specific This was premarily intended to support the LSB facility $httpd which is only known by Fedora, and a bad idea since it lacks any real-life usecase. Similar, drop support for some other old Fedora-specific facilities. Also, document the rules for introduction of new facilities, to clarify the situation for the future.
* units: agetty overrides TERMMichal Schmidt2012-10-29
| | | | | | | | Environment=TERM=... has no effect on agetty who sets it by itself. To really set TERM to a specified value, it has to be given on the command line. https://bugzilla.redhat.com/show_bug.cgi?id=870622
* units: teach m4 scripts in units/ about Debian's rc.localRamkumar Ramachandra2012-10-28
| | | | | This makes the behaviour wrt. to rc[-.]local consistent between various distributions supporting it.
* units: reword rescue mode hintsZbigniew Jędrzejewski-Szmek2012-10-28
| | | | | | | | Do not suggest to the user that commands can be issued before logging in. sulogin prints it own message, which mentions ^D, so there's no need to repeat it here.
* logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering2012-10-28
|
* units: don't order tmp.monut after local-fs-pre.targetTom Gundersen2012-10-23
| | | | Since tmp.mount is a tmpfs this is not necesary, and should speed up boot marginally.
* units: use numerig signal for killing systemd, to avoid incompatibilities ↵Lennart Poettering2012-10-23
| | | | with procps/util-linux kill
* units: also add journalctl suggestion to emergency.serviceLennart Poettering2012-10-23
| | | | | More often than not we enter emergency.service due to fsck failure, so it makes sense to direct people to the journal to debug those.
* units: suggest journalctl -b in rescue.service so that only messages from ↵Lennart Poettering2012-10-23
| | | | the current boot are shown
* units: rework systemd-exit.service to terminate systemd via signal rather ↵Lennart Poettering2012-10-18
| | | | | | | than bus This should make session termination more reliable, as D-Bus doesn't have to be around anymore for this to succeed.
* journal: add minimal journal gateway daemon based on GNU libmicrohttpdLennart Poettering2012-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This minimal HTTP server can serve journal data via HTTP. Its primary purpose is synchronization of journal data across the network. It serves journal data in three formats: text/plain: the text format known from /var/log/messages application/json: the journal entries formatted as JSON application/vnd.fdo.journal: the binary export format of the journal The HTTP server also serves a small HTML5 app that makes use of the JSON serialization to present the journal data to the user. Examples: This downloads the journal in text format: # systemctl start systemd-journal-gatewayd.service # wget http://localhost:19531/entries Same for JSON: # curl -H"Accept: application/json" http://localhost:19531/entries Access via web browser: $ firefox http://localhost:19531/
* udev: don't let systemd-udev-settle delay basic.targetTom Gundersen2012-09-27
| | | | | | | | | | It is no longer possible to manually enable systemd-udev-settle.service, so its only use is by legacy services explicitly pulling it in. It makes sense for these services to also explicitly order themselves after udev-settle.service, which makes After=basic.target redundant. This should reduce the negative effect on boot-time of having to enable legacy services such as lvm.service.
* udev: remove Install section from systemd-udev-settle.serviceKay Sievers2012-09-27
| | | | | Legacy tool on-demand pull-in the settling, it should never run by default, nothing orders against is anyway.
* man: remove timezone(5) and add localtime(5)Shawn Landden2012-09-14
|
* build-sys: perform autodetection of quota-tools binariesDave Reisner2012-09-11
| | | | | Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries, falling back on hardcoded defaults when they can't be found.
* journal: don't pull in flush service from journald serviceLennart Poettering2012-09-03
| | | | | In the initrd we don't need the flush service hence don't attempt to pull it in.
* unit: make sure structured logging is available before we enter the main ↵Lennart Poettering2012-09-03
| | | | boot phase
* units: remove prefdmLennart Poettering2012-08-07
| | | | | | | | | It's time to get rid of prefdm. Distributions which still want to use this should maintain this downstream, but it's probably better to just provide proper units for the various display managers, like Fedora is doing this, for example: https://fedoraproject.org/wiki/Features/DisplayManagerRework
* units: add the modules-load cmdline parameters to the unit conditionsMichal Schmidt2012-07-25
| | | | | | | For 'modules-load=' and 'rd.modules-load=' to be effective, systemd-modules-load.service must be started. It is currently conditional on the existence of config files. Add the presence of the cmdline parameters to the triggering conditions.
* units: fix section of man page link in systemd-logind.serviceLennart Poettering2012-07-19
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=51963