Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-29 | unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵ | Lennart Poettering | |
weaker counterpart of Conflicts=, similar to Wants= vs. Requires= | |||
2010-10-28 | service: unify tstamp serialization code | Lennart Poettering | |
2010-10-27 | service: when after startup only one process is in a service's cgroup, ↵ | Lennart Poettering | |
assume it is the main process | |||
2010-10-26 | service: fix sysv-less build | Mike Kazantsev | |
2010-10-26 | service: make sure to pass TERM=linux to all sysv scripts | Lennart Poettering | |
2010-10-25 | ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc | Andrew Edmunds | |
Previously Ubuntu was treated as being equivalent to Debian, but the two distributions require different behaviour in certain places. This commit does not change the behaviour of systemd on either distro but it creates a framework for changes to be introduced by later commits. The following previously meant "Target is Debian or Ubuntu". * configure option "--with-distro=debian" * C preprocessor symbol "TARGET_DEBIAN" * Automake conditional "TARGET_DEBIAN" After this commit, all of the above are redefined to mean "Target is Debian" The following are introduced to mean "Target is Ubuntu". * configure option "--with-distro=ubuntu" * C preprocessor symbol "TARGET_UBUNTU" * Automake conditional "TARGET_UBUNTU" Most code written for Debian will also be applicable to Ubuntu. An extra Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid duplication of code that would otherwise occur. This commit updates configure.ac, Makefile.am and distro-specific source files in line with the above definitions. | |||
2010-10-22 | systemctl: introduce systemctl kill | Lennart Poettering | |
2010-10-14 | manager: hookup shutdown helper and signals | Lennart Poettering | |
2010-10-13 | mount: hook in q fsck@.service instance for all mount points with passno > 0 | Lennart Poettering | |
2010-10-08 | service: introduce Restart=on-failure and Restart=on-abort | Lennart Poettering | |
2010-10-08 | service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service | Lennart Poettering | |
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036 | |||
2010-10-08 | service: increase default timeout for sysv scripts to 3min | Lennart Poettering | |
For SysV services we cannot set the timeout inside the configuration file. Hence let's pick a large timeout by default. https://bugzilla.redhat.com/show_bug.cgi?id=635393 | |||
2010-10-05 | service: rename settings for Restart= from 'restart-always' to 'always' and ↵ | Lennart Poettering | |
similar | |||
2010-10-05 | socket: make sockets to pass to a service configurable | Lennart Poettering | |
2010-09-28 | service: first lookup LSB facility names in tables, only then suppress ↵ | Lennart Poettering | |
self-provides | |||
2010-09-28 | service: Don't crash because of double free when Arch services are disabled ↵ | Matthias Schiffer | |
in rc.conf | |||
2010-09-28 | service: filter out empty LSB description strings | Lennart Poettering | |
2010-09-28 | service: when resolving sysv names drop leading $ | Lennart Poettering | |
2010-09-28 | service: shortcut sysv provides on ourselves | Lennart Poettering | |
2010-09-28 | service: ignore sysv $null service | Lennart Poettering | |
2010-09-27 | service: don't create sysv order deps on merged units | Lennart Poettering | |
2010-09-27 | sysv: optionally disable of SysV init/rcN.d support at compile time | Fabiano Fidencio | |
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi). | |||
2010-09-21 | service: start Arch daemons | Tom Gundersen | |
Arch does not use proper SysV runlevels. Instead /etc/rc.conf contains an array of daemons to load in a multi-user runlevel, and some dependencies between them. This patch enables this behaviour in SystemD (only when compiled with Arch support), which allows SystemD to be a drop in replacement on Arch (modulo some minor bugs). v2: simplified after suggestion from Lennart | |||
2010-09-14 | service: fix check for non-LSB files | Lennart Poettering | |
2010-09-13 | service: add generic LSB provides handling for facilities | Lennart Poettering | |
2010-09-13 | service: translate 'httpd' LSB Provides into '$httpd' on Fedora | Lennart Poettering | |
2010-09-11 | service: don't automatically add D-Bus service name as an alias to all dbus ↵ | Lennart Poettering | |
service, rely on manual symlinks to allow disabling of dbus services | |||
2010-09-03 | service: calculate sysv startup priority only in start runlevels | Lennart Poettering | |
2010-09-03 | service: make sure we properly figure out whether a sysv service is enabled ↵ | Lennart Poettering | |
before creating $foo wants links | |||
2010-09-03 | service: properly handle if the main process is down and we wait for the ↵ | Lennart Poettering | |
cgroup to die, too | |||
2010-09-01 | service: recheck PID status when a cgroup runs empty | Lennart Poettering | |
2010-09-01 | service: wait for process exit only if we actually killed somebody | Lennart Poettering | |
2010-08-31 | service: properly pass dbus error structure | Michal Schmidt | |
2010-08-31 | service: rework killing logic so that we always kill the main process, even ↵ | Lennart Poettering | |
if it left our service cgroup Related to: http://bugzilla.redhat.com/show_bug.cgi?id=626477 | |||
2010-08-31 | manager: add missing second part of s/maintenance/failed/ | Matthew Miller | |
2010-08-26 | service: properly handle Fedora's broken MTA meta-service name | Lennart Poettering | |
2010-08-26 | service: reword warnings a little | Lennart Poettering | |
2010-08-26 | service: if we cannot add an alias to a sysv service, ignore this and go on | Lennart Poettering | |
2010-08-20 | dbus: follow standardized fdo PropertiesChanged signal spec | Lennart Poettering | |
2010-08-20 | service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and ↵ | Lennart Poettering | |
decode exit codes in systemctl | |||
2010-08-20 | service: make sure sysv services marked as interactive in the LSB header get ↵ | Lennart Poettering | |
output on the TTY in all cases | |||
2010-08-17 | service: rename ValidNoProcess= to RemainAfterExit= | Lennart Poettering | |
2010-08-17 | service: prefix descriptions when they come from legacy sources | Lennart Poettering | |
2010-08-14 | emacs: make sure nobody accidently adds tabs to our sources | Lennart Poettering | |
2010-08-13 | service: rename Type=finish to Type=oneshot and allow multiple ExecStart= ↵ | Lennart Poettering | |
lines for oneshot services In contrast to the other service types oneshot services are usually not long lasting and there's not necessarily a single clean main process for them. This change allows multiple ExecStart= lines for this type of services so that the admin/developer doesn't have to arbitrarily pick on of various sequential commands as the "main one". | |||
2010-08-11 | clang: fix numerous little issues found with clang-analyzer | Lennart Poettering | |
2010-08-09 | main: fix auto restarting of units after a configuration reload | Lennart Poettering | |
2010-08-09 | manager: when two pending jobs conflict, keep the one that "conflicts", ↵ | Lennart Poettering | |
remove the one that is "conflicted" This gives the writer of units control which unit is kept and which is stopped when two units conflict. | |||
2010-08-09 | service: hide output of sysv scripts if quiet is passed on the kernel cmdline | Lennart Poettering | |
2010-08-09 | service: properly remember if a sysv is actually enabled | Lennart Poettering | |
Previously we checked the SysV priority value to figure out if a SysV unit was enabled or not, since th value was mostly read from the S startup links. Since we read this value from the LSB headers as a fallback we hence ended up considering a lot more services enabled than were actually enabled. This patch adds an explicit boolean which encodes whether a sysv service is enabled or not via S links. https://bugzilla.redhat.com/show_bug.cgi?id=615293 |