summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* nspawn: fsck all images when mounting thingsLennart Poettering2020-01-291-4/+8
| | | | | Also, start logging about mount errors, things are hard to debug otherwise.
* dissect: add --fsck= option to systemd-dissect toolLennart Poettering2020-01-291-1/+15
| | | | Let's expose this fsck behaviour directly.
* dissect: optionally, run fsck before mounting dissected imagesLennart Poettering2020-01-292-0/+51
| | | | | Some file systems want us to run fsck before mounting, hence do so, optionally.
* dissect: complain if partition flags are set that we don't knowLennart Poettering2020-01-292-0/+47
|
* network: fix implicit type conversion warning by GCC-10Yu Watanabe2020-01-291-2/+2
| | | | Fixes part of #14691.
* update TODOLennart Poettering2020-01-291-0/+3
|
* update TODOLennart Poettering2020-01-291-0/+3
|
* pam_systemd: resolve the tty of display via /sys instead of /devTopi Miettinen2020-01-291-2/+10
| | | | | | | Rely on information provided by /proc/*/stat and /sys/dev/char for resolving the controlling tty for the display server, instead of trying to access the tty device in /dev (which may not be accessible for example due to PrivateDevices=yes).
* id128: change table header from "uuid" to just "id"Lennart Poettering2020-01-291-1/+1
| | | | | | The tool deals with any kind of 128bit id, not just uuid, and by default we display just a series of hex chars, hence let's not claim everything was a "uuid", but just generically say "id"
* NEWS: more v245 preparationLennart Poettering2020-01-291-2/+78
|
* po: update French translationsplantefeve2020-01-291-19/+184
|
* NEWS: start preparing v245Lennart Poettering2020-01-291-0/+141
|
* Merge pull request #14689 from poettering/portable-chase-symlink-fixYu Watanabe2020-01-292-5/+56
|\ | | | | various chase_symlink() fixes
| * test: fix rename_noreplace() testLennart Poettering2020-01-281-2/+2
| | | | | | | | | | This corrects the fix b81b9d406de, making the test operate like it was originally.
| * test: make sure chase_symlink() returns normalized pathsLennart Poettering2020-01-281-0/+1
| |
| * fs-util: make sure we output normalized paths in chase_symlinks()Lennart Poettering2020-01-281-4/+17
| | | | | | | | | | | | | | Let's eat up multiple slashes. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1787089 Replaces: #14687
| * test: add test for the non-resolving of chase_symlink() root prefixLennart Poettering2020-01-281-0/+9
| |
| * fs-util: when calling chase_symlinks() with root path, leave root part ↵Lennart Poettering2020-01-281-3/+31
|/ | | | | | | | | | | | | | | | unresolved Previously there was a weird asymmetry: initially we'd resolve the specified prefix path when chasing symlinks together with the actual path we were supposed to cover, except when we hit an absolute symlink where we'd use the root as it was. Let's unify handling here: the prefix path is never resolved, and always left as it is. This in particular fixes issues with symlinks in the prefix path, as that confused the check that made sure we never left the root directory. Fixes: #14634 Replaces: #14635
* udev: assume that the recv buffer size of the netlink socket is already ↵Franck Bui2020-01-281-1/+5
| | | | | | configured when the socket is passed in This makes ReceiveBuffer= option in systemd-udevd-kernel.socket unit useful.
* test-network: fix test_qdisc2()Yu Watanabe2020-01-281-1/+4
| | | | quantum and initial_quantum may suffixed with 'b'.
* Merge pull request #14685 from poettering/sd-bus-bool-as-intLennart Poettering2020-01-283-34/+46
|\ | | | | sd-bus documentation: highlight bool vs. int situation
| * man: document that sd_bus_message_read_array() only supports trivial typesLennart Poettering2020-01-281-2/+6
| | | | | | | | Fixes: #14641
| * man: clarify that we decode D-Bus bools as "int", not as C99 "bool"Lennart Poettering2020-01-282-1/+9
| | | | | | | | Fixes: #14643
| * man: describe types slightly more accuratelyLennart Poettering2020-01-281-11/+11
| |
| * man: enclose C type names in <type></type>Lennart Poettering2020-01-282-21/+21
| |
* | Merge pull request #14594 from keszybz/id128-show-gptLennart Poettering2020-01-289-90/+202
|\ \ | | | | | | Print gpt table values in systemd-id128
| * | systemd-id128: add new verb to print GPT partitions UUIDsZbigniew Jędrzejewski-Szmek2020-01-237-28/+127
| | |
| * | shared/gpt: export gpt_partition_type_uuid_{to,from}_string functionsZbigniew Jędrzejewski-Szmek2020-01-234-70/+83
| | |
* | | fix erroneous "`" in boot loader specAshley Davis2020-01-291-1/+1
| |/ |/|
* | Merge pull request #14611 from yuwata/network-fix-reconfigureZbigniew Jędrzejewski-Szmek2020-01-282-3/+10
|\ \ | | | | | | network: fix reconfigure
| * | network: do nothing if link is in pending or linger state on reconfiguringYu Watanabe2020-01-221-3/+3
| | |
| * | network: synchronously save state file when link is being reconfiguredYu Watanabe2020-01-221-0/+6
| | |
| * | network: set dirty flag when link is being reconfiguredYu Watanabe2020-01-221-0/+1
| | |
* | | Merge pull request #14633 from poettering/logind-switch-polkitZbigniew Jędrzejewski-Szmek2020-01-2832-378/+499
|\ \ \ | | | | | | | | add polkit hookup for VT switching in logind
| * | | logind: check PolicyKit before allowing VT switchLennart Poettering2020-01-224-1/+97
| | | | | | | | | | | | | | | | | | | | | | | | Let's lock this down a bit. Effectively nothing much changes, since the default PK policy will allow users on the VT to change VT. Only users with no local VT session won't be able to switch VTs.
| * | | shared: split out polkit stuff from bus-util.c → bus-polkit.cLennart Poettering2020-01-2231-377/+402
| | | | | | | | | | | | | | | | | | | | | | | | It's enough, complex stuff to warrant its own source file. No other changes, just splitting out.
* | | | Merge pull request #14667 from yuwata/boot-random-seed-modeLennart Poettering2020-01-283-2/+6
|\ \ \ \ | | | | | | | | | | boot: parse random-seed-mode
| * | | | bootspec: parse random-seed-mode line in loader.confYu Watanabe2020-01-262-0/+4
| | | | | | | | | | | | | | | | | | | | Fixes #14657.
| * | | | sd-boot: fix typoYu Watanabe2020-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes #14657.
* | | | | unit: add AF_ALG to systemd-networkd.serviceYu Watanabe2020-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | networkd uses khash, and khash requires AF_ALG.
* | | | | Merge pull request #14675 from yuwata/network-dhcp-accept-nulLennart Poettering2020-01-285-21/+34
|\ \ \ \ \ | | | | | | | | | | | | network: accept NUL character in SendOption=
| * | | | | network: accept NUL character in SendOption=Yu Watanabe2020-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Closes #14609.
| * | | | | test: add tests for UNESCAPE_ACCEPT_NULYu Watanabe2020-01-271-0/+16
| | | | | |
| * | | | | escape: introduce UNESCAPE_ACCEPT_NUL flagYu Watanabe2020-01-273-10/+11
| | | | | |
| * | | | | escape: make cunescape() and cunescape_length() inlineYu Watanabe2020-01-272-10/+6
| | | | | |
* | | | | | test: drop sector-size line from output of sfdiskYu Watanabe2020-01-282-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following commit adds 'sector-size' line to the output of sfdisk command: https://github.com/karelzak/util-linux/commit/e56ca0681514dcf0846225cd67a72d1ab260b8a6 Fixes #14664.
* | | | | | test: Synchronize journal before reading from itdann frazier2020-01-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's a race condition in the sysuser test where it may try to read entries from the journal before they are available. Fix it by adding a `journalctl --sync` call. BugLink: https://bugs.launchpad.net/bugs/1776654
* | | | | | Merge pull request #14673 from keur/protect_clockLennart Poettering2020-01-289-6/+75
|\ \ \ \ \ \ | | | | | | | | | | | | | | Protect clock
| * | | | | | man: doc: Document ProtectClock=Kevin Kuehler2020-01-272-6/+22
| | | | | | |
| * | | | | | analyze: Add ProtectClock= to analyze-securityKevin Kuehler2020-01-261-0/+16
| | | | | | |