summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-26nspawn: assume stdout is always writable if it does not support epollMichal Schmidt
stdout can be redirected to a regular file. Regular files don't support epoll. nspawn failed with: "Failed to register fds in epoll: Operation not permitted". If stdout does not support epoll, assume it's always writable.
2013-01-25job: fix merging with --ignore-dependenciesMichal Schmidt
This fixes a bug where a job with --ignore-dependencies would wait for other jobs because it merged into a previously queued job.
2013-01-25test: add test for jobsMichal Schmidt
Add a test case for job merging with --ignore-dependencies. test.sh is copied from TEST-01-*, only lightly modified (this should be refactored better in the future). test-jobs.sh is the core of this test.
2013-01-25test: factor out testsuite.target, end.serviceMichal Schmidt
Tests can use the same testsuite.target. Add end.service to call poweroff instead of doing it from ExecStopPost where it may be skipped on failure of ExecStart.
2013-01-25test: use non-blocking systemctl calls in testsuite.serviceMichal Schmidt
"systemctl poweroff" called from testsuite.service will cause this unit itself to stop. To avoid deadlock, the call must not be synchronous.
2013-01-25reorganize TODOLennart Poettering
2013-01-25tmpfiles: exclude /tmp/systemd-private-* from cleanupZbigniew Jędrzejewski-Szmek
See http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/6874/focus=6891 Should fix https://bugzilla.redhat.com/show_bug.cgi?id=866693
2013-01-25tmpfiles: introduce type XMichal Sekletar
Type X will exclude path itself from clean-up. However, if the path is a directory systemd-tmpfiles will clean-up its content. In contrast to type x, where path is ignored completely, type X needs some Age parameter. In order to determine Age parameter, we will look for config entries of type d or D and pick the best match. Best match is either exact match or longest prefix match.
2013-01-25Add _cleanup_pclose_ and fix mismatching pipe close opened by popen()Zbigniew Jędrzejewski-Szmek
Based-on-patch-by: Thomas Jarosch <thomas.jarosch@intra2net.com> cppcheck reported: [src/bootchart/svg.c:791]: (error) Mismatching allocation and deallocation: f
2013-01-25logind: rework delay inhibition logicLennart Poettering
- Don't allow any locks to be taken while we are in the process of executing the specific operation, so that apps are not surprised if a suspend/shutdown happens while they rely on their inhibitor. - Get rid of the Resumed signal, it was a bad idea, and redundant due to PrepareForSleep(false), see below. - Always send out PrepareFor{Shutdown,Sleep} signals, instead of only if a delay lock is taken. - Move PrepareForSleep(false) after we come back from the suspend, so that apps can use this as "Resumed" notification. This also has the benefit that apps know when to take a new lock.
2013-01-25loginctl: don't show [UACCESS] info in device treeLennart Poettering
As the tree doesn't really necessarily show all device node devices and only those are marked for uaccess it's kinda pointless showing this at all, since it would give a pretty incomplete impression of the uaccess information.
2013-01-25update TODOLennart Poettering
2013-01-25update TODOLennart Poettering
2013-01-25selinux: we don't need that many debug messages by defaultLennart Poettering
2013-01-25selinux-access: Delete debugging message logged as an errorColin Walters
I don't see why this should be logged at all, so let's delete it.
2013-01-24man: mention /proc/self/mountinfo in systemd.mount(5)Zbigniew Jędrzejewski-Szmek
2013-01-24man: systemd.exec - explicit Environment assignmentFrederic Crozat
Hi all, while working on another bug, I discovered the "strange" way systemd is parsing Environment= in .service and thought it was worth documenting (because I don't expect people to find this syntax by themselves unless they read the parsing code ;) Be more verbose about using space in Environment field and not using value of other variables Fixes https://bugzilla.redhat.com/show_bug.cgi?id=840260 [zj: expand and reformat the example a bit]
2013-01-24core: Set source for mountinfo .mount unitsUmut Tezduyar
2013-01-24service: make sure the watchdog timer is not restarted while stoppingMichael Olbrich
A watchdog notification may be handled after the watchdog timer was stopped while stopping the service. As a result the timer is restarted and the service may be restarted as well. The watchdog timestamp is initially set during startup in service_enter_start_post() and cleared when the timer is stopped. Therefore it can be used as an indication if the timer should be reset.
2013-01-24service: really stop watchdog timer when stoppingMichael Olbrich
For services without ExecStop= the state SERVICE_STOP is never entered. as a result the watchdog timer is not stopped and the service is restarted (if it is configuered to restart). Stopping the watchdog timer for SERVICE_STOP_SIGTERM as well fixes this.
2013-01-24build-sys: add silent rules for gperf generationZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add silent rules for xslt processingZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add silent rule for m4 processingZbigniew Jędrzejewski-Szmek
Using custom prefixes makes the whole build process a bit more readable.
2013-01-24build-sys: link runlevel targets on install only if sysv compat is enabledZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add variables to collect unit aliasesZbigniew Jędrzejewski-Szmek
2013-01-24build-sys: add a variable to collect .wants linksZbigniew Jędrzejewski-Szmek
The idea is to make Makefile.am more declarative and avoid repetitions. Redeclaring unit links as variables also makes it easier to conditionally install only some of them.
2013-01-24hwdb: updateKay Sievers
2013-01-24efi: fix Usec vs. USecKay Sievers
2013-01-24README: remove mentioning of nss-myhostname "package"Kay Sievers
2013-01-24loginctl: show seat master and uaccess devices in seat-status outputLennart Poettering
2013-01-24update TODOLennart Poettering
2013-01-24logind: add UnlockSessions() clal to complement LockSessions()Lennart Poettering
2013-01-24logind: send Resumed() signal after we come back from ↵Lennart Poettering
suspend/hibernate/hybrid-sleep This allows clients to get asynchronous notifications for user-requested suspend/hibernate cycles. Kernel-triggered automatic suspending is not covered.
2013-01-24logind: only allow one shutdown/sleep action to be queued at the same timeLennart Poettering
This should make sure that closing the lid while shutting down won't suspend the machine but will simply cause the shutdown to complete.
2013-01-24update TODOLennart Poettering
2013-01-22Replace autoconf int max test with simple defineZbigniew Jędrzejewski-Szmek
2013-01-23efi: read microseconds from boot loader info instead of "ticks" magicKay Sievers
2013-01-23configure.ac: combine --Wformat* options into one argumentKay Sievers
https://bugs.freedesktop.org/show_bug.cgi?id=59621
2013-01-23man: clearify the meaning of timeout=0 for password agentsTom Gundersen
The fact that timeout=0 makes password agents wait indefinitely is documented in http://www.freedesktop.org/wiki/Software/systemd/PasswordAgents. Document it also in the relevant man pages.
2013-01-22Fix some typosEelco Dolstra
2013-01-21update TODOLennart Poettering
2013-01-21update TODOLennart Poettering
2013-01-21efi: set a nice description string in the ESP unitsLennart Poettering
2013-01-21efi: properly create symlink dirLennart Poettering
2013-01-21build-sys: add makefile to bootchartLennart Poettering
2013-01-21efi: add efi boot generator that automatically mounts the ESP to /bootLennart Poettering
2013-01-21util: move is_efiboot() to efivars.cLennart Poettering
2013-01-20shutdown: loop - convert to enumerate matchKay Sievers
2013-01-20TODO: update loader variablesKay Sievers
2013-01-19execute: Fix seccomp support on x32Jonathan Callen
In the x32 ABI, syscall numbers start at 0x40000000. Mask that bit on x32 for lookups in the syscall_names array and syscall_filter and ensure that syscall.h is parsed correctly. [zj: added SYSCALL_TO_INDEX, INDEX_TO_SYSCALL macros.]