summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-08-26shell completion for rootbin_PROGRAMSLuke Shumaker
2016-08-17move the last tmpfiles file to its new homeLuke Shumaker
2016-08-17moreLuke Shumaker
2016-08-11Get grp-machine buildingLuke Shumaker
2016-08-10split up grp-{hostname,locale}, grp-resolve/systemd-resolve{,d}; shell ↵Luke Shumaker
completion
2016-08-10silence a warningLuke Shumaker
2016-08-10fix build systemLuke Shumaker
2016-08-08fixLuke Shumaker
2016-08-07stuffLuke Shumaker
2016-08-02fix warnings from header filesLuke Shumaker
2016-08-02ensure that include order of headers does not matterLuke Shumaker
2016-08-02fixLuke Shumaker
2016-08-02./fixup.shLuke Shumaker
2016-08-02fixLuke Shumaker
2016-08-01find src \( -name '*.h' -o -name '*.c' \) -type f -exec ./fixup_includes {} \;Luke Shumaker
2016-07-30stuffLuke Shumaker
2016-07-28headerssssLuke Shumaker
2016-07-28Begone with sd-utf8 and sd-pathLuke Shumaker
2016-07-28tidy headersLuke Shumaker
2016-07-28fixLuke Shumaker
2016-07-28Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libsystemd-network/Makefile
2016-07-28./move.shLuke Shumaker
2016-07-28fixLuke Shumaker
2016-07-28Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libshared/Makefile
2016-07-27./move.shLuke Shumaker
2016-07-27fixLuke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
2016-07-27./move.shLuke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libbasic/Makefile
2016-07-27./move.shLuke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libsystemd/src/sd-journal/Makefile
2016-07-27./move.shLuke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libshared/Makefile # src/libsystemd/src/Makefile # src/libsystemd/src/sd-journal/Makefile
2016-07-27./move.shLuke Shumaker
2016-07-27fix (mostly adjust #includes to have sd- prefix)Luke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libsystemd/src/Makefile
2016-07-27pre-mergeLuke Shumaker
2016-07-27./move.shLuke Shumaker
2016-07-27get `make install` mostly workingLuke Shumaker
2016-07-25Merge pull request #3802 from poettering/id128-fixesZbigniew Jędrzejewski-Szmek
Id128 fixes and more
2016-07-25Merge pull request #3800 from keszybz/systemctl-more-cleanupLennart Poettering
Systemctl more cleanup
2016-07-25sd-id128: be more liberal when reading files with 128bit IDsLennart Poettering
Accept both files with and without trailing newlines. Apparently some rkt releases generated them incorrectly, missing the trailing newlines, and we shouldn't break that.
2016-07-25fileio: imply /tmp as directory if passed as NULL to open_tmpfile_unlinkable()Lennart Poettering
We can make this smarter one day, to honour $TMPDIR and friends, but for now, let's just use /tmp.
2016-07-25automount: don't cancel mount/umount request on reload/reexec (#3670)Michael Olbrich
All pending tokens are already serialized correctly and will be handled when the mount unit is done. Without this a 'daemon-reload' cancels all pending tokens. Any process waiting for the mount will continue with EHOSTDOWN. This can happen when the mount unit waits for it's dependencies, e.g. network, devices, fsck, etc.
2016-07-25transaction: don't cancel jobs for units with IgnoreOnIsolate=true (#3671)Michael Olbrich
This is important if a job was queued for a unit but not yet started. Without this, the job will be canceled and is never executed even though IgnoreOnIsolate it set to 'true'.
2016-07-25systemctl: use _cleanup_ for UnitConditionZbigniew Jędrzejewski-Szmek
2016-07-25systemctl: simplify machine_info_clearZbigniew Jędrzejewski-Szmek
It is only used with info allocated on the stack, so the pointer cannot be NULL.
2016-07-25coredump: turn off coredump collection only when PID 1 crashes, not when ↵Lennart Poettering
journald crashes (#3799) As suggested: https://github.com/systemd/systemd/pull/3783/files/5157879b757bffce3da0a68ca207753569e8627d#r71906971
2016-07-25systemctl: avoid "leaking" some strings in UnitStatusInfoZbigniew Jędrzejewski-Szmek
% valgrind --leak-check=full systemctl status multipathd.service --no-pager -n0 ... ==431== 16 bytes in 2 blocks are definitely lost in loss record 1 of 2 ==431== at 0x4C2BBAD: malloc (vg_replace_malloc.c:299) ==431== by 0x534AF19: strdup (in /usr/lib64/libc-2.23.so) ==431== by 0x4E81AEE: free_and_strdup (string-util.c:794) ==431== by 0x4EF66C1: map_basic (bus-util.c:1030) ==431== by 0x4EF6A8E: bus_message_map_all_properties (bus-util.c:1153) ==431== by 0x120487: show_one (systemctl.c:4672) ==431== by 0x1218F3: show (systemctl.c:4990) ==431== by 0x4EC359E: dispatch_verb (verbs.c:92) ==431== by 0x12A3AE: systemctl_main (systemctl.c:7742) ==431== by 0x12B1A8: main (systemctl.c:8011) ==431== ==431== LEAK SUMMARY: ==431== definitely lost: 16 bytes in 2 blocks This happens because map_basic() strdups the strings. Other code in systemctl assigns strings to UnitStatusInfo without copying them, relying on the fact that the message is longer lived than UnitStatusInfo. Add a helper function that is similar to map_basic, but only accepts strings and does not copy them. The alternative of continuing to use map_basic() but adding proper cleanup to free fields in UnitStatusInfo seems less attractive because it'd require changing a lot of code and doing a lot of more allocations for little gain. (I put "leaking" in quotes, because systemctl is short lived anyway.)
2016-07-25systemctl: use cleanup function for UnitStatusInfoZbigniew Jędrzejewski-Szmek
There is no functional change, but clarity of the code is increased by splitting out the cleanup part and putting it next to the structure definition.