summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-23condition: optionally test against type of virtualization (vm vs. container)Lennart Poettering
2011-09-23util: move virtualization detection into its own files, and extend return codesLennart Poettering
2011-09-23analyze: report startup time in plot mode as wellKoen Kooi
It now prints something like "Startup finished in 1507ms (kernel) + 850ms (userspace) = 2357ms" below the legend.
2011-09-23analyze: always draw 1s marker for scaleKoen Kooi
In situations like this: root@omap4430-panda:~# systemd-analyze Startup finished in 1499ms (kernel) + 916ms (userspace) = 2416ms The svg plot will only have the 0s marker and no subsequent markers for scale. This patch forces the 1s marker to always be drawn.
2011-09-23unit: fix complementing of requirement deps with After deps for targetsMichal Schmidt
'man systemd.target' says: Unless DefaultDependencies= is set to false, target units will implicitly complement all configured dependencies of type Wants=, Requires=, RequiresOverridable= with dependencies of type After= if the units in question also have DefaultDependencies=true. It did not work because of a forgotten negation.
2011-09-23util: don't fail if no id was passed to detect_container()Lennart Poettering
2011-09-23util: detect systemd-nspawn without relying on ns cgroup treeLennart Poettering
2011-09-23nspawn: set env var container=systemd-nspawn, following the scheme lxc ↵Lennart Poettering
introduced
2011-09-23loginctl: fix typoLennart Poettering
2011-09-23llvm-analyze: change a few things to make llvm-analyze show fewer false ↵Lennart Poettering
positives
2011-09-23llvm-analyze: fix some bugs found by llvm-analyzeLennart Poettering
2011-09-23util: improve signal_to_string, signal_from_stringMichal Schmidt
signal_to_string: Produce names for SIGRTMIN+n. Never give an "n/a" result. In the worst case give the number itself as a string. signal_from_string: Parse "RTMIN+n". Parse any valid signal number.
2011-09-23manager: fix job mode for SIGRTMIN+1, +2Michal Schmidt
The test did not work as intended and always resulted in JOB_REPLACE.
2011-09-23condition: fix reversed tests if path does not exist at allMichal Schmidt
CONDITION_PATH_IS_DIRECTORY, CONDITION_PATH_IS_SYMBOLIC_LINK and CONDITION_FILE_IS_EXECUTABLE gave reversed results when the path did not exist at all.
2011-09-23coverity: change a few things so that coverity doesn't show so many false ↵Lennart Poettering
positives
2011-09-23coverity: fix a couple of bugs found by coverityLennart Poettering
2011-09-22unit: don't recheck conditions when a unit is already starting but ↵Lennart Poettering
unit_start() is invoked
2011-09-22service: warn if a service fails to write its PID fileMichal Schmidt
Warn if a service promises to write a PID file (using 'PIDFile=' in the unit file or '# pidfile:' in SysV header), but fails to keep the promise. This warning will likely trigger also for the forking services with a racy daemonization, which exit the original process before the PID file is written.
2011-09-22selinux: reopen log when loading the SELinux policy failsLennart Poettering
2011-09-22service: if StandardInput=socket and StandardOutput=inherit imply socket for ↵Lennart Poettering
output, don't imply default output This is useful for inetd-style per-connection services, so that they again can simply specify StandardOutput=socket to connect all three fds to the socket.
2011-09-22udev: asynchronously mount fuse/confifgs as soon as the kmods are loadedLennart Poettering
2011-09-21mount: pull in quota tools from fstab lines with 'quota' option, tooLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=736360
2011-09-21job: after converting a job from restart to start readd it to run queueLennart Poettering
When we converted a restart job it's time to look again whether any of its dependencies are now runnable. https://bugzilla.redhat.com/show_bug.cgi?id=735013
2011-09-21modules-load: filter out double modulesLennart Poettering
2011-09-21service: minor change in service_load_pid_file return valueMichal Schmidt
Return 0 only if the PID was really loaded. If no PIDFile= is defined, return -ENOENT. Only one caller cares about the return value of this function and this change makes the usage nicer.
2011-09-21condition: add ConditionPathIsSymbolicLinkMichal Schmidt
2011-09-21condition: always follow symlinks for condition checks, to mimic testLennart Poettering
2011-09-21service: handle forking services that move to a new PIDMichal Schmidt
When some forking daemons receive a SIGHUP, they re-execute themselves and consequently change to a new main PID. As long as they update the PID file in the right order (before exiting the old PID), we can detect that and avoid killing them.
2011-09-21unit: introduce ConditionPathIsMountPoint=Lennart Poettering
2011-09-20stdout-syslog-bridge: properly handle overly long log linesLennart Poettering
2011-09-20service: drop broken support for X-Interactive fields in LSB headersLennart Poettering
The logic never worked since reading from the boot console is useless when a service is started after boot. Hence drop this half-baked code, since we now have a place document incompatibilities like this. http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities
2011-09-20condition: in ConditionPathIsExecutable follow symlinksLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=737047
2011-09-20systemadm: use colors for id too, remove color from fragment linkZbigniew Jędrzejewski-Szmek
2011-09-20systemadm: adjust row numbers after removing 'aliases'Zbigniew Jędrzejewski-Szmek
2011-09-20systemadm: coalesce id and decription fieldsZbigniew Jędrzejewski-Szmek
This is just in interest of saving space (e.g. 5 lines for multi-user.target).
2011-09-20systemadm: catch exceptions generated by dbusZbigniew Jędrzejewski-Szmek
Otherwise, access-denied dbus errors were not caught, and only caused a message to be printed out on the console. After this change a proper popup window pops up :).
2011-09-20systemadm: make the dependency listing selectableZbigniew Jędrzejewski-Szmek
There's no reason to forbid selecting the text.
2011-09-20systemadm: use bold for "requires", etc.Zbigniew Jędrzejewski-Szmek
2011-09-20systemadm: use color for dependency linksZbigniew Jędrzejewski-Szmek
2011-09-20systemadm: display dependencies sortedZbigniew Jędrzejewski-Szmek
2011-09-20systemadm: add libgee as dependency and use it for a unit mapZbigniew Jędrzejewski-Szmek
2011-09-20systemadm: add a wrappable label and use it for status linesZbigniew Jędrzejewski-Szmek
The new WrapLabel is there to work around a deficiency in GTK, namely the fact that it is hard to make labels which are both resizable and wrappable. The code is a port from libview.
2011-09-20systemadm: filter on swaps, paths, and timers too.Zbigniew Jędrzejewski-Szmek
2011-09-20systemadm: split the type+status combo box into type combo & status checkboxZbigniew Jędrzejewski-Szmek
2011-09-19condition: opt out of /proc/cmdline parsing only when running in a ↵Lennart Poettering
container, not in a VM
2011-09-19hostnamed: Fix "SetStaticHostname" debug outputBastien Nocera
Was using the wrong property (eg. not the one we just set) https://bugs.freedesktop.org/show_bug.cgi?id=40987
2011-09-19systemadm: allow sorting of jobs and unitsZbigniew Jędrzejewski-Szmek
2011-09-19systemadm: break timestamp formatting out into a seperate functionZbigniew Jędrzejewski-Szmek
Since the timezone is always local, it doesn't make much sense to display it. The timestamp is now formatted without the timezone. I guess it can be further improved, which should be easier now that it is tucked-away in a separate function.
2011-09-04timedate: fix interfaces listLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=40583
2011-09-03dbus: terminate mechanism daemons after a whileLennart Poettering