summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)Author
2013-03-01initrd: add unit files needed for basic systemd-in-initrd supportTom Gundersen
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>
2013-01-29build-sys: keep intermediate filesZbigniew Jędrzejewski-Szmek
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.
2013-01-16service: ignore dependencies on $syslog and $local_fs in LSB scriptsLennart Poettering
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.
2013-01-16service: sysv - remove distribution specific targetsKay Sievers
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
2013-01-15units: add reference to new wiki page to all api mount unitsLennart Poettering
2013-01-15man: link in API FS documentation from the wikiLennart Poettering
2013-01-15man: link in wiki documentation about network.targetLennart Poettering
2013-01-04units: always use sulogin in rescue.serviceLennart Poettering
sushell makes much less sense than sulogin. If distros want to stick to sushell they should patch this downstream.
2013-01-04units: drop distro specific stuff from unitsLennart Poettering
Since rc-local is now enabled via the SysV compatibility we should only refer to it based on that too.
2013-01-04build-sys: make rc-local support part of SYSV compatLennart Poettering
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.
2012-12-31units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of ↵Lennart Poettering
virtualization works
2012-12-14Remove frugalware display-manager.serviceTollef Fog Heen
Frugalware are shipping their own .service file now, so stop shipping it here. This effectively reverts 196e3fa74a88a04b0ecec7d3af648287dd088f8a
2012-11-20unit: link up getty configuration from man page and unit filesLennart Poettering
2012-11-16journal: recommend journalctl -x more oftenLennart Poettering
2012-10-31service: drop special HTTP server target, as it is a bad idea anf Fedora ↵Lennart Poettering
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.
2012-10-29units: agetty overrides TERMMichal Schmidt
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
2012-10-28units: teach m4 scripts in units/ about Debian's rc.localRamkumar Ramachandra
This makes the behaviour wrt. to rc[-.]local consistent between various distributions supporting it.
2012-10-28units: reword rescue mode hintsZbigniew Jędrzejewski-Szmek
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.
2012-10-28logind: support for hybrid sleep (i.e. suspend+hibernate at the same time)Lennart Poettering
2012-10-23units: don't order tmp.monut after local-fs-pre.targetTom Gundersen
Since tmp.mount is a tmpfs this is not necesary, and should speed up boot marginally.
2012-10-23units: use numerig signal for killing systemd, to avoid incompatibilities ↵Lennart Poettering
with procps/util-linux kill
2012-10-23units: also add journalctl suggestion to emergency.serviceLennart Poettering
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.
2012-10-23units: suggest journalctl -b in rescue.service so that only messages from ↵Lennart Poettering
the current boot are shown
2012-10-18units: rework systemd-exit.service to terminate systemd via signal rather ↵Lennart Poettering
than bus This should make session termination more reliable, as D-Bus doesn't have to be around anymore for this to succeed.
2012-09-28journal: add minimal journal gateway daemon based on GNU libmicrohttpdLennart Poettering
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/
2012-09-27udev: don't let systemd-udev-settle delay basic.targetTom Gundersen
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.
2012-09-27udev: remove Install section from systemd-udev-settle.serviceKay Sievers
Legacy tool on-demand pull-in the settling, it should never run by default, nothing orders against is anyway.
2012-09-14man: remove timezone(5) and add localtime(5)Shawn Landden
2012-09-11build-sys: perform autodetection of quota-tools binariesDave Reisner
Use AC_PATH_PROG to try and locate the quotaon and quotacheck binaries, falling back on hardcoded defaults when they can't be found.
2012-09-03journal: don't pull in flush service from journald serviceLennart Poettering
In the initrd we don't need the flush service hence don't attempt to pull it in.
2012-09-03unit: make sure structured logging is available before we enter the main ↵Lennart Poettering
boot phase
2012-08-07units: remove prefdmLennart Poettering
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
2012-07-25units: add the modules-load cmdline parameters to the unit conditionsMichal Schmidt
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.
2012-07-19units: fix section of man page link in systemd-logind.serviceLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=51963
2012-07-18units: don't enforce a holdoff time for journald, logind, udevdLennart Poettering
These services should be restarted as quickly as possible if they fail, and the extra safety net of the holdoff time is not necessary.
2012-07-16Spelling fixes.Ville Skyttä
2012-07-13unit: rename BindTo= to BindsTo=Lennart Poettering
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.
2012-07-11journal: replace implicit flushing of journal by explicit oneLennart Poettering
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.
2012-07-09MeeGo: Remove build support for MeeGo distribution.Auke Kok
The MeeGo distribution is still a supported distribution, but will probably not see an updated version of systemd anymore. Most of the development is focussing on Tizen now, and the generic support for building --with-distro=other is more than adequate enough. This patch removes the support as a custom configuration build target in systemd. People who are still building this for the MeeGo distribution should build as "other" distro.
2012-07-03units: add reference to wiki so syslog.socketLennart Poettering
2012-07-02units: Rename systemd-udev.service to systemd-udevd.serviceColin Guthrie
This naming convention is more inline with other systemd daemon unit names (systemd-logind.service, systemd-localed.service etc) The companion .socket units have also been renamed, however the -trigger and -settle units keep their current name as these are not directly related to daemon process itself.
2012-07-02units: rename systemd-debug-shell.service to debug-shell.serviceLennart Poettering
The systemd- prefix for services should be reserved only for services that invoke our own code rather than generic, external code.
2012-07-02mageia: Change the unit for prefdm.service to make it work a bit more like ↵Colin Guthrie
Fedora Do not wait for some of the Fedora units that we have traditionally not waited for in Mageia or Mandriva before it.
2012-07-02timedated: replace systemd-timedated-ntp.target logic with simpler schemeLennart Poettering
The previous systemd-timedated-ntp.target was suffering by the problem that NTP implementations enabled via the machanism could not be disabled the obvious way on the "systemctl disable" command line. Replace systemd-timedated-ntp.target by a list of implementations we try in turn. The list is encoded in $pkgdatadir/ntp-units.
2012-06-28units: automatically respawn the core servicesLennart Poettering
2012-06-27units: add explicit dependency on display-manager.service to graphical.targetLennart Poettering
This replaces the symlink based dependency by an explicit one in the unit file so that we avoid the dangling symlink when no display manager is installed.
2012-06-27man: document systemd-update-generatorLennart Poettering
2012-06-27man: this time, fix Documentation= properlyLennart Poettering
2012-06-27units: fix Documentation= tag in fsck unitsLennart Poettering
2012-06-27man: document systemd-ask-password-console.service and friendsLennart Poettering