Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-01 | sd-journal: properly export has_{persistent|runtime}_files() | Lennart Poettering | |
This was missing in 39fd5b08a73f144a20202a665bd25cad51d8a90b. | |||
2016-02-01 | sd-journal: minor optimization | Lennart Poettering | |
No need to store the object and offset data if we don't actually need it ever. | |||
2016-02-01 | journalctl: add new --fields switch to dump all currently used field names | Lennart Poettering | |
Fixes #2176 | |||
2016-02-01 | sd-journal: add an API to enumerate known field names of the journal | Lennart Poettering | |
This adds two new calls to get the list of all journal fields names currently in use. This is the low-level support to implement the feature requested in #2176 in a more optimized way. | |||
2016-02-01 | Merge pull request #2505 from torstehu/fix-typo4 | Lennart Poettering | |
Fix typos and a small build fix | |||
2016-02-01 | resolve: Silence build warning, when systemd is built without libidn | Torstein Husebø | |
HAVE_IDN is not defined when systemd is build without it | |||
2016-02-01 | resolve: fix typos | Torstein Husebø | |
2016-02-01 | Merge pull request #2491 from martinpitt/master | Lennart Poettering | |
tmpfiles: drop /run/lock/lockdev | |||
2016-02-01 | tmpfiles: drop /run/lock/lockdev | Martin Pitt | |
Hardly any software uses that any more, and better locking mechanisms like flock() have been available for many years. Also drop the corresponding "lock" group from sysusers.d/basic.conf.in, as nothing else is using this. | |||
2016-02-01 | Merge pull request #2497 from jsynacek/bootoffset-runtime-v4 | Lennart Poettering | |
Expose additional booleans in sd_journal and improve error messages in journalctl | |||
2016-02-01 | journalctl: improve error messages when the specified boot is not found | Jan Synacek | |
2016-02-01 | journalctl: show friendly info when using -b on runtime journal only | Jan Synacek | |
Make it clear that specifing boot when there is actually only one has no effect. This cosmetic patch improves user experience a bit. | |||
2016-02-01 | sd-journal: introduce has_runtime_files and has_persistent_files | Jan Synacek | |
Also introduce sd_journal_has_runtime_files() and sd_journal_has_persistent_files() to the public API. These functions can be used to easily find out if the open journal files are runtime and/or persistent. | |||
2016-02-01 | Merge pull request #2481 from xnox/pretty-ccw | Lennart Poettering | |
udev: net_id - for ccw bus, shorten the identifier and stip leading z… | |||
2016-02-01 | Merge pull request #2493 from evverx/fix-selinux-checks | Lennart Poettering | |
Fix selinux check for ReloadUnit | |||
2016-02-01 | Merge pull request #2494 from michaelolbrich/resolved-without-gcrypt | Lennart Poettering | |
Resolved without gcrypt | |||
2016-01-31 | Merge pull request #2496 from whot/hwdb-updates | Zbigniew Jędrzejewski-Szmek | |
hwdb: add Samsung 305V4A axis resolutions | |||
2016-02-01 | hwdb: add Samsung 305V4A axis resolutions | Peter Hutterer | |
From https://bugzilla.redhat.com/show_bug.cgi?id=1294022 | |||
2016-01-31 | resolved: allow building without libgcrypt | Michael Olbrich | |
2016-01-31 | resolved: make dnssec_nsec_test_enclosed() static | Michael Olbrich | |
It's not used anywhere else. | |||
2016-01-31 | resolved: reorder functions | Michael Olbrich | |
Preparation to make gcrypt optional. | |||
2016-01-31 | core: let's check access before type modification | Evgeny Vereshchagin | |
2016-01-31 | core: refactoring: add job_type_to_access_method | Evgeny Vereshchagin | |
remove duplication | |||
2016-01-31 | core: fix selinux check for reload | Evgeny Vereshchagin | |
Fixes: -bash-4.3# echo 1 >/sys/fs/selinux/enforce -bash-4.3# runcon -t systemd_test_start_t systemctl start hola -bash-4.3# sesearch --allow -s systemd_test_reload_t -c service Found 1 semantic av rules: allow systemd_test_reload_t systemd_unit_file_t : service reload ; -bash-4.3# runcon -t systemd_test_reload_t systemctl reload hola Failed to reload hola.service: Access denied See system logs and 'systemctl status hola.service' for details. -bash-4.3# journalctl -b | grep -i user_avc | grep reload USER_AVC pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg=' avc: denied { start } for auid=0 uid=0 gid=0 path="/etc/systemd/system/hola.service" cmdline="systemctl reload hola" scontext=unconfined_u:unconfined_r:systemd_test_reload_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=service See https://fedoraproject.org/wiki/Features/SELinuxSystemdAccessControl#Documentation | |||
2016-01-31 | Merge pull request #2487 from msekletar/bootctl-foreach-dirent | Lennart Poettering | |
bootctl: replace readdir() loops with FOREACH_DIRENT | |||
2016-01-31 | tests: add test-selinux-checks | Evgeny Vereshchagin | |
2016-01-31 | bootctl: replace readdir() loops with FOREACH_DIRENT | Michal Sekletar | |
2016-01-30 | Merge pull request #2469 from keszybz/resolved-2 | Lennart Poettering | |
Resolved 2 | |||
2016-01-29 | Merge pull request #2478 from grawity/fix/touch-mode | Zbigniew Jędrzejewski-Szmek | |
basic: fix touch() creating files with 07777 mode | |||
2016-01-29 | basic: fix touch() creating files with 07777 mode | Mantas Mikulėnas | |
mode_t is unsigned, so MODE_INVALID < 0 can never be true. This fixes a possible DoS where any user could fill /run by writing to a world-writable /run/systemd/show-status. | |||
2016-01-29 | man: reword sentence | Zbigniew Jędrzejewski-Szmek | |
2016-01-29 | resolved: log server type when switching servers | Zbigniew Jędrzejewski-Szmek | |
I'm not defining _DNS_SERVER_TYPE_MAX/INVALID as usual in the enum, because it wouldn't be used, and then gcc would complain that various enums don't test for _DNS_SERVER_TYPE_MAX. It seems better to define the macro rather than add assert_not_reached() in multiple places. | |||
2016-01-29 | resolved: add macro to compare sized fields | Zbigniew Jędrzejewski-Szmek | |
For consistency, generic.size is renamed to generic.data_size. nsec3.next_hashed_name comparison was missing a size check. | |||
2016-01-29 | resolve-host: add option to list protocols | Zbigniew Jędrzejewski-Szmek | |
2016-01-29 | resolve-host: allow specifying type as TYPEnn | Zbigniew Jędrzejewski-Szmek | |
This mirrors the behaviour of host and makes the conversion to and from string symmetrical. | |||
2016-01-29 | test-tables: ellide boring parts of sparse mappings | Zbigniew Jędrzejewski-Szmek | |
2016-01-29 | test-resolve-tables: new "test", useful to print mappings | Zbigniew Jędrzejewski-Szmek | |
2016-01-29 | resolved: calculate and print tags for DNSKEY records | Zbigniew Jędrzejewski-Szmek | |
2016-01-29 | udev: net_id - for ccw bus, shorten the identifier and stip leading zeros | Dimitri John Ledkov | |
The commmon case default qeth link is enccw0.0.0600 is rather long. Thus strip leading zeros (which doesn't make the bus_id unstable), similar to the PCI domain case. Also 'ccw' is redundant on S/390, as there aren't really other buses available which could have qeth driver interfaces. Not sure why this code is even compiled on non-s390[x] platforms. But to distinguish from e.g. MAC stable names shorten the suffix to just 'c'. Thus enccw0.0.0600 becomes enc600. | |||
2016-01-29 | Merge pull request #2474 from poettering/doc-fix-2189 | Martin Pitt | |
man: document special considerations when mixing templated service un… | |||
2016-01-29 | man: document special considerations when mixing templated service units and ↵ | Lennart Poettering | |
DefaultDependencies=no Fixes #2189. | |||
2016-01-29 | Merge pull request #2465 from poettering/systemctl-chroot | Daniel Mack | |
Fix for #2015 | |||
2016-01-29 | Merge pull request #2472 from poettering/mini-fixes | Daniel Mack | |
Two mini fixes | |||
2016-01-29 | systemctl: actually honour the try-reload-or-restart verb aabf5d4243408 promised | Lennart Poettering | |
The verb entry got lost in the ultimate commit. | |||
2016-01-29 | systemctl: make most systemctl commands NOPs in a chroot() environment | Lennart Poettering | |
Fixes #2015 | |||
2016-01-29 | systemctl: consider a chroot() environment always offline | Lennart Poettering | |
2016-01-29 | basic: when parsing verb command lines, optionally shortcut them in chroot() ↵ | Lennart Poettering | |
environments This adds some basic infrastructure in order to fix #2015. | |||
2016-01-29 | man: document which section the configuration settings of timesyncd.conf ↵ | Lennart Poettering | |
belong into | |||
2016-01-29 | man: actually say which section resolv.conf's setting should be placed in | Lennart Poettering | |
2016-01-29 | build-sys: install systemd-resolve in /usr/bin | Lennart Poettering | |
The command has a man page now and is public, hence add it to /usr/bin. |