summaryrefslogtreecommitdiffstats
path: root/units (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remote-fs.target: want remote-fs-pre.targetHarald Hoyer2013-03-121-0/+2
| | | | | | | | | | | | | | | 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-122-10/+4
|
* Update .gitignoreMichael Biebl2013-03-111-0/+4
| | | | for the changes in 7b40ce553f0ec9487077e53f5bdc46580025901c
* Move udevadm to rootbindirMichael Biebl2013-03-113-3/+3
| | | | | 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-094-6/+6
| | | | Instead use @bindir@ for udevadm and @rootbindir@ for systemctl.
* units: run systemd-ask-password-console.service after ↵Harald Hoyer2013-03-061-1/+1
| | | | systemd-vconsole-setup.service
* initrd-parse-etc.servic: force start local-fs.targetHarald Hoyer2013-03-061-0/+1
|
* Revert "add initrd-fs.target and initrd-fs-pre.target"Harald Hoyer2013-03-062-24/+0
| | | | This reverts commit 39b83cdab37623a546344622db9bbbc784c15df5.
* Revert "units/initrd-*: require initrd-fs.target rather than local-fs.target"Harald Hoyer2013-03-063-7/+6
| | | | This reverts commit 7d89ce303fb59743a4392eeb3110c00f100172ca.
* journal: make gatewayd run under its own user IDLennart Poettering2013-03-051-0/+3
|
* units/initrd-*: require initrd-fs.target rather than local-fs.targetHarald Hoyer2013-03-043-6/+7
|
* add initrd-fs.target and initrd-fs-pre.targetHarald Hoyer2013-03-042-0/+24
|
* initrd: add unit files needed for basic systemd-in-initrd supportTom Gundersen2013-03-015-0/+90
| | | | | | | | | | | | | | | | | | 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-301-0/+3
| | | | | | | 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-163-24/+2
| | | | | | | | | | | | | 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-161-13/+0
| | | | | | | | | | | | | | | | | 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-158-0/+8
|
* man: link in API FS documentation from the wikiLennart Poettering2013-01-151-0/+1
|
* man: link in wiki documentation about network.targetLennart Poettering2013-01-151-0/+1
|
* units: always use sulogin in rescue.serviceLennart Poettering2013-01-041-10/+1
| | | | | 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-044-73/+4
| | | | | 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-046-46/+9
| | | | | | 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-311-1/+1
| | | | virtualization works
* Remove frugalware display-manager.serviceTollef Fog Heen2012-12-141-16/+0
| | | | | | | 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-203-2/+5
|
* journal: recommend journalctl -x more oftenLennart Poettering2012-11-162-2/+2
|
* service: drop special HTTP server target, as it is a bad idea anf Fedora ↵Lennart Poettering2012-10-311-13/+0
| | | | | | | | | | | | | 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-292-4/+2
| | | | | | | | 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-283-0/+9
| | | | | This makes the behaviour wrt. to rc[-.]local consistent between various distributions supporting it.
* units: reword rescue mode hintsZbigniew Jędrzejewski-Szmek2012-10-281-1/+1
| | | | | | | | 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-283-0/+31
|
* units: don't order tmp.monut after local-fs-pre.targetTom Gundersen2012-10-231-1/+3
| | | | 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-231-1/+1
| | | | with procps/util-linux kill
* units: also add journalctl suggestion to emergency.serviceLennart Poettering2012-10-231-1/+1
| | | | | 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-231-1/+1
| | | | the current boot are shown
* units: rework systemd-exit.service to terminate systemd via signal rather ↵Lennart Poettering2012-10-181-1/+1
| | | | | | | 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-283-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-1/+0
| | | | | | | | | | 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-271-3/+0
| | | | | 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-141-1/+1
|
* build-sys: perform autodetection of quota-tools binariesDave Reisner2012-09-113-3/+4
| | | | | 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-041-1/+0
| | | | | 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-041-0/+1
| | | | boot phase
* units: remove prefdmLennart Poettering2012-08-073-64/+0
| | | | | | | | | 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-251-0/+2
| | | | | | | 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-191-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=51963
* units: don't enforce a holdoff time for journald, logind, udevdLennart Poettering2012-07-183-0/+3
| | | | | These services should be restarted as quickly as possible if they fail, and the extra safety net of the holdoff time is not necessary.
* Spelling fixes.Ville Skyttä2012-07-161-1/+1
|
* unit: rename BindTo= to BindsTo=Lennart Poettering2012-07-134-4/+4
| | | | | | | | all other dependencies are in 3rd person. Change BindTo= accordingly to BindsTo=. Of course, the dependency is widely used, hence we parse the old name too for compatibility.
* journal: replace implicit flushing of journal by explicit oneLennart Poettering2012-07-113-0/+20
| | | | | | | | | The old automatism that the flushing of the journal from /run to /var was triggered by the appearance of /var/log/journal is broken if that directory is mounted from another host and hence always available to be useful as mount point. To avoid probelsm with this, introduce a new unit that is explicitly orderer after all mounte files systems and triggers the flushing.