summaryrefslogtreecommitdiff
path: root/src
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-06cgroup: don't trim a cgroup we create, we might just take it over from ↵Lennart Poettering
somebody else
2011-07-05udev: tag virtio serial ports with systemd by defaultLennart Poettering
2011-07-05udev: improve udev rule a bitLennart Poettering
2011-07-05service: 'pidfile:' in SysV chkconfig header implies a real daemonMichal Schmidt
The presence of the chkconfig "pidfile:" header in the initscript is an excellent indication that it's not a oneshot script (like iptables), but a real daemon (like httpd).
2011-07-05udev: pull in printer.target from all kinds of printersLennart Poettering
2011-07-05util: explicitly turn of O_CLOEXEC for stdin/stdout/stderrLennart Poettering
2011-07-05add a few O_CLOEXEC where missingLennart Poettering
2011-07-05logind: write rules files atomicallyLennart Poettering
2011-07-04password-agent: actually really don't access unallocated memoryLennart Poettering
Fix for 9726f9ff11fa7b94dceed2972cd2453a08b9ee6a
2011-07-04password-agent: make sure not to access unallocated memoryLennart Poettering
Tracked down by Frederic Crozat
2011-07-03systemadm: report GLib.Error only to stderrMichal Schmidt
When a GLib.Error happens, it is likely that showing a message box would fail too. https://bugzilla.redhat.com/show_bug.cgi?id=716663
2011-07-03shutdown: print the standard wall message even when the user provided oneMichal Schmidt
Print the user-provided wall message in addition to the standard one, not instead of it. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=624149
2011-07-03shutdown: respect the dry run option '-k'Michal Schmidt
Don't do the actual power-off/reboot when '-k' is passed to shutdown. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=624149
2011-07-03shutdown: accept minutes argument without '+'Michal Schmidt
Both SysVinit's and upstart's shutdown commands accept the number of minutes with or without the plus sign. 'shutdown -h 1' works in RHEL 5, Fedora 14, Debian 6. Let's be compatible. https://bugzilla.redhat.com/show_bug.cgi?id=708886
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-07-02tmpfiles: don't exit with an error code if we cannot access all filesLennart Poettering
This is just to avoid confusion if people use stuff like FUSE file systems or SELinux which might disallow access to files even if tmpfiles is running as root. We still log away if we cannot access a file, but we do not return a failure exit code in the end.
2011-07-02umount: ignore missing /proc/swapsMichael Olbrich
/proc/swaps does not exist when swap is disabled in the kernel. Just report an empty list of mountpoints to unmount in this case.
2011-07-01manager: don't even think of enumerating sysv services in user instancesLennart Poettering
2011-07-01nspawn: better use setresuid() instead of setreuid()Lennart Poettering
2011-07-01nspawn: spawn shell under specified --userMichal Vyskocil
Add -u/--user option, which changes the effective and real user and group id to the new value. The user must exists in the chroot, otherwise it will fail. Both username and user id are accepted. The user home is created as well. It also setup HOME, USER, LOGNAME and SHELL variables .
2011-07-01nspawn: Move the get_user_creds from execute.c to utils.c for later usage in ↵Michal Vyskocil
nspawn.c.
2011-07-01log: log to syslog unless connected to a tty in user modeLennart Poettering
2011-07-01logind: create private subdirectory for X11 socketLennart Poettering
2011-07-01dbus: listen on private sockets in user mode tooLennart Poettering
2011-07-01unit: support wildcards in Environment=, EnvironmentFile=Lennart Poettering
2011-07-01unit: do wildcard expansion in ListenStream= and friendsLennart Poettering
2011-07-01cgroup: kill processes even in cgroups that aren't realizedLennart Poettering
2011-07-01unit: add three new specifiers to use in unit filesLennart Poettering
2011-06-30pam: initialize XDG_RUNTIME_DIRLennart Poettering
2011-06-30execute: properly pass PAM environment to executed processLennart Poettering
2011-06-30util: try harder to rename the processLennart Poettering
2011-06-30execute: fix PAM error checkingLennart Poettering
2011-06-30execute: invoke sigwait() in a loop when waiting for PAM parent, to avoid ↵Lennart Poettering
spurious wake-ups
2011-06-30execute: don't invoke pam_setcred, since we are not running on a tty where ↵Lennart Poettering
the user could change his password
2011-06-30unit: consider all cgroups in the name=systemd hierarchy, even when the user ↵Lennart Poettering
has specified an explicit path in it
2011-06-30execute: when parsing ConrolGroup= replace wildcardsLennart Poettering
2011-06-30logind: add service for per-user shared systemd daemonLennart Poettering
2011-06-30logind: make sure to create/run/systemd/sessions before we try to place a ↵Lennart Poettering
fifo in it
2011-06-30manager: use sd_notify() to notify parent systemd that we have finished startupLennart Poettering
2011-06-30execute: do initgroups() first, pam initialization second so that it can ↵Lennart Poettering
still modify the groups list
2011-06-30exec: add ControlGroupModify= switch to allow changing access mode to cgroups fsLennart Poettering
2011-06-29util: clear scrolling region when clearing screenLennart Poettering
2011-06-29logind: allow access to SetIdleHint() to owner of the sessionLennart Poettering
2011-06-29acl: libudev currently doesn't handle properly enumerator matches with ↵Lennart Poettering
multiple tags, so avoid using them for now
2011-06-29uaccess: drop ACLs in case of error, just to be safeLennart Poettering
2011-06-29logind: hook uaccess into udev by defaultLennart Poettering
2011-06-29logind: we need to open and close a named pipe once for read before we get EOFLennart Poettering
2011-06-29logind: when initializing drop sessions that are unreferencedLennart Poettering
2011-06-29dbus: add FlushDevices() bus call to reset all seat assignmentsLennart Poettering