summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey 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-08service: use uppercase SYSV prefix to make it easier to recognizeLennart Poettering
2011-03-08service: prefix description with LSB only if script has LSB header, use ↵Lennart Poettering
'SysV:' otherwise
2011-03-08unit: don't accidently create ordering links to targets when default deps ↵Lennart Poettering
are off for either target and unit
2011-03-08mount: support less cumbersome x-systemd-xxx mount optionsLennart Poettering
2011-03-08unit: distuingish mandatory from triggering conditionsLennart Poettering
2011-03-08dbus: return DBUS_ERROR_UNKNOWN_OBJECT when an object is unknownLennart Poettering
2011-03-08systemctl: when forwarding is-enabled to chkconfig hardcode runlevel 3Lennart Poettering
2011-03-08job: introduce new job result code 'skipped' to use when pre conditions of ↵Lennart Poettering
job did not apply https://bugzilla.redhat.com/show_bug.cgi?id=682245 https://bugzilla.redhat.com/show_bug.cgi?id=635780
2011-03-08job: convert job type as early as we can, to simplify things a bitLennart Poettering
2011-03-07syslog: make sure the kmsg bridge is always pulled in and never terminated ↵Lennart Poettering
automatically Since we want to replace the bridge dynamically by the real syslog implementation such as rsyslog we need to make sure that the the bridge stays running right to the moment rsyslog is up so that we process messages enqueued by other processes started before rsyslog, so that those clients don't stay stuck.
2011-03-07add org.freedesktop.DBus.Properies.Set methodAndrey Borzenkov
The patch adds framework for processing Set requests on properties and as first consumers allows setting of LogTarget and LogLevel on interface org.freedesktop.systemd1.Manager of org.freedesktop.systemd1. The code should be generic enough to allow processing of any property on other objects and interfaces as well. No systemctl visible interface is added so far. The LogTarget and LogLevel are meant for debugging in the first place; user interface can be added if other usage emerge. Set on systemwide systemd is restricted to root; I am not sure how session level access is controlled.
2011-03-06service: drop redundant check in sysv_translate_facilityLennart Poettering
We check for _r with an assert in the function header anyway, no need to check it again.
2011-03-04machine-id: generate /etc/machine-id 0444 by defaultLennart Poettering
2011-03-04machine-id: typo fixLennart Poettering
2011-03-04main: introduce /etc/machine-idLennart Poettering
This is supposed to play the same roles /var/lib/dbus/machine-id, however fixes a couple of problems: - It is available during early boot since it is stored in /etc - Removes the ID from the D-Bus context and moves it into a system context, thus hopefully lowering hesitation by people to use it. - It is generated at installation time. If the file is empty at boot time it will be mounted over with a randomly generated ID, which is not saved to disk. This is useful to support state-less machines with no transient or writable /etc configuration.
2011-03-04systemctl: fix exit code when directing is-enabled to chkconfigLennart Poettering
2011-03-04main: minor optimizationLennart Poettering
2011-03-04dbus: add 'Tainted' property to Manager objectLennart Poettering
2011-03-04dbus: expose distribution name and features on manager object as propertiesLennart Poettering
2011-03-04main: add link to wiki page with longer explanation of the /usr madnessLennart Poettering
2011-03-04s/seperate/separate/Lennart Poettering
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-04path: after installing inotify watches, recheck file again to fix raceLennart Poettering
2011-03-04path: don't use IN_ATTRIB on parent dirs when watching a file, since those ↵Lennart Poettering
cannot be removed without emptying the dir first anyway and we need IN_ATTRIB only to detect the link count dropping to 0
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-03-03readahead: disable collector automatically on read-only mediaLennart Poettering
2011-03-03sysctl: use scandir() instead of nftw() to guarantee systematic orderingLennart Poettering
2011-03-03dirent: support DT_UNKNOWN where necessary for compat with reiserfsLennart Poettering
2011-03-01systemctl: add condreload alias for compat with ALTLinuxLennart Poettering
2011-02-28ask-password: make a confused gcc shut upLennart Poettering
2011-02-28ratelimit: removed n_printedHarald Hoyer
Removed n_printed and renamed n_printed to num. This is not a logging rate limiter anymore.
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
2011-02-28systemctl: always null-terminate the passwordZbigniew Jędrzejewski-Szmek
2011-02-28udev: don't ignore non-encrypted block devices with no superblockLennart Poettering
They might be encrypted disks with no LUKS header. https://bugzilla.redhat.com/show_bug.cgi?id=679842
2011-02-28udev: expose ttyUSB devices tooLennart Poettering
2011-02-28udev: mark hvc devices for exposure in systemdLennart Poettering
2011-02-25cryptsetup: add a terse helpLennart Poettering
2011-02-25agent: don't print warnings if a password was removed or timed outLennart Poettering
2011-02-25systemctl: shutdown agent explicitly so that it can reset the tty properlyLennart Poettering
2011-02-25service: never clean up a service that still has a process in itLennart Poettering
2011-02-25label: udev might be making changes in /dev while we iterate through itLennart Poettering
Also, there are most likely dead symlinks in there, so let's ignore ENOENT when we relabel. https://bugzilla.redhat.com/show_bug.cgi?id=680169
2011-02-24systemctl: properly handle job resultsLennart Poettering
2011-02-24job: also trigger on-failure dependencies when jobs faile due to ↵Lennart Poettering
dependencies, timeout
2011-02-24job: don't access j->type when j is already freedLennart Poettering
2011-02-24job: when cancelling jobs, make sure to propagate this properly to depending ↵Lennart Poettering
jobs
2011-02-24job: start job timeout on enqueuing not when we start to process a jobLennart Poettering
This practically reverses 23e1e0c4a3bc93fb841ac9575953ed5d0ef5282d. This makes it easier to timeout individual jobs so that this timeout can be relied on, since blocked dependencies will not influence the timeout.
2011-02-24unit: increase default timeout to 3minLennart Poettering
2011-02-24logger: leave the logger longer around and allow it do handle more connectionsLennart Poettering
2011-02-24dbus: pass along information why a job failed when it failed (dbus api change!)Lennart Poettering