Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-12 | core: don't allow setting NOTIFY_SOCKET and similar env vars we need ↵ | Lennart Poettering | |
ourselves via SetEnvironment bus calls We just quietly eat them up, so that simple environment importing still works without error. | |||
2014-01-12 | core: clean up environment block for --user instances a bit | Lennart Poettering | |
2014-01-11 | make socket_instantiate_service use cleanup gcc attribute | Michael Scherer | |
2014-01-11 | core: fix unused variable | Zbigniew Jędrzejewski-Szmek | |
2014-01-09 | core: fix lack of notifications after reload | Zbigniew Jędrzejewski-Szmek | |
2014-01-08 | Improve messages about user mode a bit | Zbigniew Jędrzejewski-Szmek | |
2014-01-07 | mount: don't creat local-fs.target links for mount units when runnin in user ↵ | Lennart Poettering | |
mode | |||
2014-01-07 | core: do not add implicit dbus.socket dependency | Kay Sievers | |
Sockets are ordered before sockets.target anyway, and sockets.target is ordered before basic.target, and hence all bus services end up being ordered after dbus.socket anyway. Since for kdbus clients dbus.socket is obsolete, let's not add this dependency explicitly. Also, it's hot in Australia and we are going for breakfast now. | |||
2014-01-07 | core: --user -- add basic.target an sort against it like --system does | Kay Sievers | |
2014-01-07 | core: --user -- move generator directories from /tmp to $XDG_RUNTIME_DIR | Kay Sievers | |
2014-01-05 | Remove unused variables | Zbigniew Jędrzejewski-Szmek | |
2014-01-05 | strv: multiple cleanups | Simon Peeters | |
- turn strv_merge into strv_extend_strv. appending strv b to the end of strv a instead of creating a new strv - strv_append: remove in favor of strv_extend and strv_push. - strv_remove: write slightly more elegant - strv_remove_prefix: remove unused function - strv_overlap: use strv_contains - strv_printf: STRV_FOREACH handles NULL correctly | |||
2014-01-05 | shared: procfs_file_alloca: handle pid==0 | Simon Peeters | |
when pid is set to 0 use /proc/self | |||
2014-01-05 | swap: remove if/else with the same data path | Stefan Beller | |
This was introduced in e1770af812 (2012-02-03, swap: replace failure boolean by result enum). This just removes unneeded lines of code, no functional change. | |||
2014-01-03 | bus: always create --user bus when kdbus is active | Kay Sievers | |
We set the variable in the unit file for --user, so this check is always true. | |||
2014-01-02 | core: fix gcc unused variable warning | Zbigniew Jędrzejewski-Szmek | |
2014-01-02 | Introduce cleanup functions for cap_free | Zbigniew Jędrzejewski-Szmek | |
Unfortunately a different cleanup function is necessary per type, because cap_t** and char** are incompatible with void**. | |||
2014-01-02 | Use format patterns for usec_t, pid_t, nsec_t, usec_t | Zbigniew Jędrzejewski-Szmek | |
It is nicer to predefine patterns using configure time check instead of using casts everywhere. Since we do not need to use any flags, include "%" in the format instead of excluding it like PRI* macros. | |||
2014-01-02 | core/service: check if mainpid matches only if it is set | Zbigniew Jędrzejewski-Szmek | |
https://bugzilla.redhat.com/show_bug.cgi?id=1047304 | |||
2014-01-02 | core/manager: print info about interesting signals | Zbigniew Jędrzejewski-Szmek | |
Information about signals which are not routinely received by systemd are printed at info level. This should make it easier to see what is happening in the system. | |||
2014-01-02 | core/service: tweak messages on operation timeouts | Zbigniew Jędrzejewski-Szmek | |
2013-12-30 | core: Forgot to dereference pointer when checking for NULL | Stefan Beller | |
Actually we already checked for !rt before, now we'd like to examine the return value of the memory allocation. | |||
2013-12-28 | bus: fix a couple of format string mistakes | Lennart Poettering | |
2013-12-27 | selinux: Check access vector for enable/disable perm for each unit file | Lubomir Rintel | |
SELinux check will be done using the context of the unit file as as a target instead of the default init_t context, allowing selinux control on the level of individual units. https://bugzilla.redhat.com/show_bug.cgi?id=1022762 | |||
2013-12-26 | Use enums to make it obvious what boolean params mean | Zbigniew Jędrzejewski-Szmek | |
Suggested-by: Russ Allbery <rra@debian.org> | |||
2013-12-26 | systemctl: allow globbing in commands which take multiple unit names | Zbigniew Jędrzejewski-Szmek | |
2013-12-26 | bus: make system bus kdbus node world-accessible | Lennart Poettering | |
2013-12-25 | build-sys: minor fixes found with cppcheck | Lennart Poettering | |
2013-12-25 | unit: include peer identity in description of per-connection ↵ | Lennart Poettering | |
socket-activated services | |||
2013-12-24 | util: unify SO_PEERCRED/SO_PEERSEC invocations | Lennart Poettering | |
Introduce new call getpeercred() which internally just uses SO_PEERCRED but checks if the returned data is actually useful due to namespace quirks. | |||
2013-12-23 | core: when we close the notify fd, we also need to free its event source | Lennart Poettering | |
2013-12-23 | log: als turn on debug logging in non-PID1 if /proc/cmdline contains "debug" | Lennart Poettering | |
2013-12-22 | sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USEC | Lennart Poettering | |
Also, introduce a new environment variable named $WATCHDOG_PID which cotnains the PID of the process that is supposed to send the keep-alive events. This is similar how $LISTEN_FDS and $LISTEN_PID work together, and protects against confusing processes further down the process tree due to inherited environment. | |||
2013-12-22 | shared: switch our hash table implementation over to SipHash | Lennart Poettering | |
SipHash appears to be the new gold standard for hashing smaller strings for hashtables these days, so let's make use of it. | |||
2013-12-22 | core: the cgroup properties are not actually const | Lennart Poettering | |
2013-12-22 | core: no need to list properties for PropertiesChanged messages anymore | Lennart Poettering | |
Since the vtable includes this information anyway, let's just use that | |||
2013-12-22 | bus: decorate the various object vtables with SD_BUS_VTABLE_PROPERTY_CONST ↵ | Lennart Poettering | |
where appropriate | |||
2013-12-21 | core: replace readdir_r with readdir | Florian Weimer | |
2013-12-21 | core: make check for Disconnected message more precise | Lennart Poettering | |
2013-12-21 | core: pass notify fd across reexecs | Lennart Poettering | |
That way we the random socket name stays stable across reexec and we won't lose client messages. | |||
2013-12-19 | service: don't send out PropertiesChanged message for each watchdog notification | Lennart Poettering | |
2013-12-19 | loopback-setup: correctly set flags and scope for ipv6 address | Tom Gundersen | |
2013-12-19 | do not run kmod-setup in a container | Kay Sievers | |
2013-12-18 | temporarily support "kdbus" keyword on the kernel commandline to load the module | Kay Sievers | |
2013-12-18 | execute: set TERM even if we don't open the tty on our own | Lennart Poettering | |
This way, when a tty path is configured TERM is set, which is nice to set a useful term for gettys. | |||
2013-12-18 | core,logind: libudev usage modernizations | Lennart Poettering | |
Always use cleanup logic and don't eat up errors returned by libudev | |||
2013-12-18 | core,logind,networkd: check for udev device initialization via enumeration ↵ | Lennart Poettering | |
matches Instead of checking each device after we got it, check wuth an enumeration filter instead, to make it more efficient. | |||
2013-12-18 | core: priorize notification fd processing over notification fd process via ↵ | Lennart Poettering | |
sd-event's logic | |||
2013-12-18 | core: in a container log to /dev/console if "debug" is specified | Lennart Poettering | |
2013-12-18 | log: don't reopen /dev/console each time we call log_open() | Lennart Poettering | |
Instead, force reopen it only if we really really have to. |