Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-08 | build-sys: add Mandriva distribution supportsystemd/v20 | Andrey Borzenkov | |
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together | |||
2011-03-08 | service: use uppercase SYSV prefix to make it easier to recognize | Lennart Poettering | |
2011-03-08 | service: prefix description with LSB only if script has LSB header, use ↵ | Lennart Poettering | |
'SysV:' otherwise | |||
2011-03-06 | service: drop redundant check in sysv_translate_facility | Lennart Poettering | |
We check for _r with an assert in the function header anyway, no need to check it again. | |||
2011-03-03 | kill: always send SIGCONT after SIGTERM | Lennart Poettering | |
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal. | |||
2011-02-28 | Spelling Corrections | Harald Hoyer | |
Just some lame spelling corrections with no functionality. | |||
2011-02-25 | service: never clean up a service that still has a process in it | Lennart Poettering | |
2011-02-15 | exec: introduce global defaults for the standard output of services | Lennart Poettering | |
2011-02-13 | service: make main pid guessing optional, and reread pid file after reloads | Lennart Poettering | |
2011-01-20 | service: make chain of main commands and control commands independent of ↵ | Lennart Poettering | |
each other, so that both can be executed simultaneously and independently | |||
2011-01-20 | service: don't allow reload operations for oneshot services | Lennart Poettering | |
During starting of oneshot we are in START state which we don't want to combine with the RELOAD state, hence we disallow both at the same time. | |||
2011-01-20 | systemctl: highlight failed processes in systemctl status | Lennart Poettering | |
2011-01-20 | service: when reloading a service fails don't fail the entire service but ↵ | Lennart Poettering | |
just the reload job | |||
2011-01-18 | service: if a reload operation fails, don't shut down the service | Lennart Poettering | |
2011-01-18 | execute: make sending of SIGKILL on shutdown optional | Lennart Poettering | |
2011-01-17 | arch: remove support for legacy daemons | Tom Gundersen | |
This is now done by a generator, shipped downstream. | |||
2011-01-07 | service: don't hit an assert if information in LSB headers is incorrectly ↵ | Lennart Poettering | |
formatted https://bugzilla.redhat.com/show_bug.cgi?id=667665 | |||
2010-12-27 | service: ifdef (more) distro-specific compat logic | Michael Biebl | |
This should make it easier to get rid of that compat code later and avoids problems like stripping of rc. from /etc/init.d/rc.local on Debian. | |||
2010-12-16 | service: ifdef distro-specific compat logic | Kay Sievers | |
2010-12-16 | service: drop rc. prefix on frugalware linux | Miklos Vajna | |
2010-12-09 | suse: add 'smtp' LSB facility | Kay Sievers | |
2010-11-29 | build-sys: frugalware linux support | Miklos Vajna | |
2010-11-17 | cgroup: by default, duplicate service cgroup in the cpu hierarchy | Lennart Poettering | |
2010-11-15 | exec: automatically determine right TERM= setting based on tty name | Lennart Poettering | |
2010-11-15 | drop support for MANAGER_SESSION, introduce MANAGER_USER instead | Lennart Poettering | |
2010-11-10 | service: delay automatic restart if job is pending | Lennart Poettering | |
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 | |