Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-16 | Fix RemainAfterExit services keeping a hold on console | Olivier Brunel | |
When a service exits succesfully and has RemainAfterExit set, its hold on the console (in m->n_on_console) wasn't released since the unit state didn't change. | |||
2013-11-15 | random-seed: improve debugging messages a bit | Zbigniew Jędrzejewski-Szmek | |
2013-11-15 | fstab-generator: use RequiresOverridable for fsck units | Zbigniew Jędrzejewski-Szmek | |
This allows the user to disable fsck's by masking. If fsck fails, emergency target is started, the user might mount the unit using mount and disable fsck by masking the unit. In this case, .mount will be active because the mount is detect through /proc/self/mountinfo, but systemd-fsck@.service will still be in failed mode. This results in a funny situation where $ systemctl show -p ActiveState local-fs.target yyy.mount ActiveState=active ActiveState=active $ sudo systemctl start local-fs.target [sudo] password for test: Failed to start local-fs.target: Unit systemd-fsck@xxx.service is masked. | |||
2013-11-15 | core: some more _cleanup_free_ | Zbigniew Jędrzejewski-Szmek | |
2013-11-15 | fsck,fstab-generator: be lenient about missing fsck.<type> | Zbigniew Jędrzejewski-Szmek | |
If fstab contains 1 for passno, treat this as an error, but only warn briefly. If fstab doesn't contain this information, don't complain at all. Patch is complicated a bit by the fact that we might have the fstype specified in fstab or on /proc/cmdline, in which case we can check if we have the appropriate fsck tool, or not specified, or specified as auto, in which case we have to look and check the type of the filesystem ourselves. It cannot be done before the device appears, so it is too early in the generator phase, and it must be done directly in fsck service. | |||
2013-11-15 | fsck: modernization | Zbigniew Jędrzejewski-Szmek | |
2013-11-14 | rtnl: add event loop integration | Tom Gundersen | |
2013-11-14 | bus: typo | Tom Gundersen | |
Fix a couple of 'void' that should have been 'sd_bus'. | |||
2013-11-14 | loopback-setup: move to rtnl | Tom Gundersen | |
This should be equivalent to the old behavior. | |||
2013-11-14 | rtnl: add call_async and call_async_cancel | Tom Gundersen | |
They work in the same way as the sd-bus equivalents. | |||
2013-11-13 | Fix possible lack of status messages on shutdown/reboot | Olivier Brunel | |
Since 31a7eb86 the output on console can be disabled to avoid colliding with gettys. However, it could also lead to a lack of messages during shutdown/reboot. | |||
2013-11-13 | Only disable output on console during boot if needed | Olivier Brunel | |
If there are no more jobs on console, no need/we shouldn't disable output. | |||
2013-11-13 | Resolve /dev/console to the active tty instead of just "tty0" | Olivier Brunel | |
When resolving /dev/console one would often get "tty0" meaning the active VT. Resolving to the actual tty (e.g. "tty1") will notably help on boot when determining whether or not PID1 can output to the console. | |||
2013-11-13 | journal: timestamp support on console messages | Umut Tezduyar Lindskog | |
journald mimics the kernel here: timestamps will be printed if /sys/module/printk/parameters/time contains "Y". | |||
2013-11-13 | rtnl: start adding support for asynchronous messaging | Tom Gundersen | |
Similarly to sd-bus, add: sd_rtnl_wait sd_rtnl_process sd_rtnl_send and adapt sd_rtnl_call accordingly. | |||
2013-11-13 | rtnl: rename rtnl_bus_send_with_reply_and_block() to rtnl_bus_call() | Tom Gundersen | |
Follow the equivalent rename in sd-bus to stay as similar as possible. | |||
2013-11-13 | logind: create the session fifo before saving the session file | Thomas Hindoe Paaboel Andersen | |
If the session fifo is not created the session state written to the session file is "closing". This caused the lock screen in gnome-shell to go into a loop trying to find the active session. The problem was introduced in the sd-bus port in cc3773810855956bad92337cee8fa193584ab62e Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71525 | |||
2013-11-14 | activate: fix crash when -s is passed | Mantas Mikulėnas | |
getopt_long() was told to accept -s which was never implemented. | |||
2013-11-14 | activate: mention -E in the help text | Mantas Mikulėnas | |
2013-11-14 | systemctl: honor --no-legend in 'list-jobs' | Mantas Mikulėnas | |
2013-11-13 | udev: declare some symbols static | Kay Sievers | |
2013-11-12 | systemd-python: fix booted() and add two functions to docs | Zbigniew Jędrzejewski-Szmek | |
For some reason sphinx doesn't want to show inherited C functions. | |||
2013-11-12 | build-sys: add a link test for exported symbols | Zbigniew Jędrzejewski-Szmek | |
I know that this is a pretty big net to catch some small fish, but we *do* regularly forget to properly export symbols that were supposed to be exported. This time sd_bus_get_current and some renamed symbols are caught. | |||
2013-11-12 | uaccess: Add new DRM render nodes | Kristian Høgsberg | |
2013-11-12 | udev: declare some symbols static | Kay Sievers | |
2013-11-12 | bus: test-bus-objects - add missing header | Kay Sievers | |
2013-11-12 | bus: add missing dump.[ch] | Lennart Poettering | |
2013-11-12 | bus: beautify bus_message_dump() output a bit | Lennart Poettering | |
2013-11-12 | busctl: show machine name of all registered names | Lennart Poettering | |
2013-11-12 | bus: set no_auto_start flag for GetMachineId calls, so that we don't ↵ | Lennart Poettering | |
auto-start if we want to know the machine of a bus service | |||
2013-11-12 | bus: detect blocking message calls to our own connection and return ELOOP early | Lennart Poettering | |
2013-11-12 | bus: add api to control auto start message flag | Lennart Poettering | |
2013-11-12 | id128: introduce SD_ID128_STRING_MAX consant for sizing id128 strings | Lennart Poettering | |
2013-11-12 | bus: export utf8 validator calls as pure functions | Lennart Poettering | |
2013-11-12 | bus: introduce concept of a default bus for each thread and make use of it ↵ | Lennart Poettering | |
everywhere We want to emphasize bus connections as per-thread communication primitives, hence introduce a concept of a per-thread default bus, and make use of it everywhere. | |||
2013-11-12 | bus: introduce concept of a "default" event loop per-thread and make use of ↵ | Lennart Poettering | |
it everywhere Try to emphasize a bit that there should be a mapping between event loops and threads, hence introduce a logic that there's one "default" event loop for each thread, that can be queried via "sd_event_default()". | |||
2013-11-12 | test: fix minor memory leak in test-event | Lennart Poettering | |
2013-11-12 | bus: rename sd_bus_send_with_reply_and_block() to sd_bus_call() | Lennart Poettering | |
The call is one of the most important ones we expose, where we place major emphasis on. We should make sure to give it a short, memorable name. | |||
2013-11-11 | systemctl: warning: ‘r’ may be used uninitialized in this function | Kay Sievers | |
2013-11-11 | systemctl: avoid unitialized access when showing 0 timers | Zbigniew Jędrzejewski-Szmek | |
2013-11-11 | bus: add APIs for adding iovecs to messages as string or arrays | Lennart Poettering | |
2013-11-11 | systemctl: add new "list-timers" command | Lennart Poettering | |
2013-11-11 | timer: consider (usec_t) -1 an invalid timestamp | Lennart Poettering | |
2013-11-11 | timer: properly format relative timestamps in the future | Lennart Poettering | |
2013-11-10 | bus: we really need to get rid of the :no-sender hack | Lennart Poettering | |
This is where a hack from PID 1 spilled into the client side. We need to get rid of this as soon as PID 1 is converted to libsystemd-bus. | |||
2013-11-10 | bus: actually export sd_utf8_is_valid() and sd_ascii_is_valid() | Lennart Poettering | |
2013-11-10 | bus: use ENXIO as error condition when trying to exit a container when we ↵ | Lennart Poettering | |
are not in any So far we used ENXIO whenever the user tried to read something from a function that didn't carry the right type, and hence use the same error here to indicate that what the user expected and what was in the message didn't match up. | |||
2013-11-10 | analyze: plot the time spent setting up security modules | Thomas Hindoe Paaboel Andersen | |
2013-11-10 | button: don't exit if we cannot handle a button press | Lennart Poettering | |
2013-11-09 | bus: fix build with old glibc | Zbigniew Jędrzejewski-Szmek | |