summaryrefslogtreecommitdiff
path: root/src/manager.c
AgeCommit message (Collapse)Author
2011-07-06manager: merge serialization and desrialization counter into one, and ↵Lennart Poettering
increase it when reexecuting Instead of having individual counters n_serializing and n_deserializing have a single one n_reloading, which should be sufficient. Set n_reloading when we are about to go down for reexecution to avoid cgroup trimming when we free the units for reexecution.
2011-07-05add a few O_CLOEXEC where missingLennart Poettering
2011-07-02manager: consider the active job when mergingMichal Schmidt
In some cases systemd forgets to start enabled services, e.g. in this scenario: 1. The job "sendmail.service/start" is installed. 2. Before systemd proceeds with this job, a process requests a reload of sendmail. The job "sendmail.service/reload" is enqueued. 3. The original job is silently discarded. The service is not started. The reload job proceeds by doing nothing. The fix is to allow merging transaction jobs with the active job. With the fix the resulting merged job "sendmail.service/reload-or-start" is installed and the service works as expected. https://bugzilla.redhat.com/show_bug.cgi?id=633774
2011-06-30manager: use sd_notify() to notify parent systemd that we have finished startupLennart Poettering
2011-06-27dbus: send our finished signal when we are finished bootingLennart Poettering
2011-06-21dbus: make bus_flags_to_events() and friends generally usefulLennart Poettering
2011-06-20manager: include full systemctl status command line in error messageLennart Poettering
2011-04-28dbus: make daemon reexecution synchronousLennart Poettering
We simply keep open copies of the dbus connections across the reexecution and close them as last step of it. A client can thus simply wait until its connection is dropped to know when the reexecution is finished. https://bugzilla.redhat.com/show_bug.cgi?id=698198
2011-04-27manager: fix serialization counterLennart Poettering
2011-04-20cgroup: don't accidentaly trim on reloadLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=678555
2011-04-19manager: when running in test mode, do not write generated unit files to ↵Lennart Poettering
/run/systemd/generator
2011-04-16manager: drop all pending jobs when isolatingLennart Poettering
2011-04-16manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵Lennart Poettering
around when isolating
2011-04-16manager: downgrade a few log messagesLennart Poettering
2011-04-07manager: no need to use randomized generator dir when running as system managerLennart Poettering
2011-04-07don't make up buffer sizes, use standard LINE_MAX insteadLennart Poettering
2011-04-07manager: serialize/deserialize max job id and /usr taint flagLennart Poettering
2011-04-07manager: don't garbage collect jobs when isolating, to change global stateLennart Poettering
2011-04-06job: fix deserialization of jobs: do not ignore orderingLennart Poettering
2011-04-06manager: don't show PID for incoming signals if it is 0Lennart Poettering
2011-04-04manager: fd must be int, not charMichal Schmidt
This should fix the crash reported by Dan Horak on s390x which does not have VTs.
2011-03-31src: our lord is coverityLennart Poettering
2011-03-30analyze: beautify output a bitLennart Poettering
2011-03-30manager: fix taint check for /usrLennart Poettering
2011-03-28use /run instead of /dev/.runKay Sievers
Instead of the /dev/.run trick we have currently implemented, we decided to move the early-boot runtime dir to /run. An existing /var/run directory is bind-mounted to /run. If /var/run is already a symlink, no action is taken. An existing /var/lock directory is bind-mounted to /run/lock. If /var/lock is already a symlink, no action is taken. To implement the directory vs. symlink logic, we have a: ConditionPathIsDirectory= now, which is used in the mount units. Skipped mount unit in case of symlink: $ systemctl status var-run.mount var-run.mount - Runtime Directory Loaded: loaded (/lib/systemd/system/var-run.mount) Active: inactive (dead) start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago Where: /var/run What: /run CGroup: name=systemd:/system/var-run.mount The systemd rpm needs to make sure to add something like: %pre mkdir -p -m0755 /run >/dev/null 2>&1 || : or it needs to be added to filesystem.rpm. Udev -git already uses /run if that exists, and is writable at bootup. Otherwise it falls back to the current /dev/.udev. Dracut and plymouth need to be adopted to switch from /dev/.run to run too. Cheers, Kay
2011-03-18syslog: rework syslog detection so that we need no compile-time option what ↵Lennart Poettering
the name of the syslog implementation is
2011-03-16main: check if we have a valid PID before getting the name of itLennart Poettering
2011-03-14manager: don't show kernel boot-up time for containersLennart Poettering
2011-03-14manager: show who killed usLennart Poettering
2011-03-14audit: give up sending auditing messages when it failed due to EPERMLennart Poettering
2011-03-14main: remove AF_UNIX sockets before bindingLennart Poettering
2011-03-14core: move abstract namespace sockets to /dev/.runLennart Poettering
Now that we have /dev/.run there's no need to use abstract namespace sockets. So, let's move things to /dev/.run, to make things more easily discoverable and improve compat with chroot() and fs namespacing.
2011-03-09dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemdLennart Poettering
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
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-23job: start job timer when we begin running the job, not already when we add ↵Lennart Poettering
it to the queue of jobs
2011-02-16systemctl: introduce --ignore-dependenciesLennart Poettering
2011-02-16manager: don't consider transaction jobs conflicting with queued jobs redundantLennart Poettering
2011-02-15service: change default std output to inheritLennart Poettering
2011-02-15exec: introduce global defaults for the standard output of servicesLennart Poettering
2011-02-15shutdown: execute all binaries in /lib/systemd/system-shutdown as last step ↵Lennart Poettering
before invoking reboot()
2011-02-14getty: don't parse console= anymore, use /sys/class/tty/console/active insteadLennart Poettering
2011-02-09manager: if we receive SIGRTMIN+20/21 enable/disable showing of status on ↵Lennart Poettering
the console
2011-01-22clang: fix some issues found with clang-analyzersystemd/v17Lennart Poettering
2011-01-20dbus: don't try to connect to the system bus before it is actually upLennart Poettering
2010-11-18manager: make list of default controllers configurableLennart Poettering
2010-11-16plymouth: use updated socket nameLennart Poettering
2010-11-15drop support for MANAGER_SESSION, introduce MANAGER_USER insteadLennart Poettering
2010-11-15manager: ignore invalid epoll eventsLennart Poettering