summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sd-dhcp-client: do not call assert in public functionsassert-cleanups-and-constificationZbigniew Jędrzejewski-Szmek2019-10-241-5/+5
|
* sd-dhcp-client: remove unnecessary cleanup functionZbigniew Jędrzejewski-Szmek2019-10-241-5/+2
| | | | https://github.com/systemd/systemd/pull/13663#discussion_r335327099
* sd-netlink: constify object pointers passed to gettersZbigniew Jędrzejewski-Szmek2019-10-247-83/+83
| | | | | | | | | sd-netlink is not public yet, so we can change the interface. I did not touch interfaces of functions like sd_netlink_wait() and sd_rtnl_message_new_link() which do not modify the object that is passed in, because in the future we might want to change the code to e.g. take a reference to the parent object or otherwise require a non-const reference.
* sd-device: allow sd_device_get_devtype to be called with NULL arg and do not ↵Zbigniew Jędrzejewski-Szmek2019-10-241-4/+4
| | | | | | | assert We shouldn't call assert() on user-specified arguments in public functions. While at it, let's return 1 if the type exists, and 0 otherwise.
* Move PLYMOUTH_SOCKET define to def.h and nuke plymouth-util.hZbigniew Jędrzejewski-Szmek2019-10-245-10/+7
| | | | Let's not have a file with a single define.
* Remove unused plymouth_running() functionZbigniew Jędrzejewski-Szmek2019-10-243-14/+0
|
* test: drop duplicated 's'Yu Watanabe2019-10-241-1/+1
| | | | | | | | This fixes the following log message ``` Container TEST-07-ISSUE-1981 terminated by signal KILL. E: test timed out after 30s s ```
* Merge pull request #13828 from keszybz/networkctl-print-wlanYu Watanabe2019-10-245-131/+222
|\ | | | | networkctl support for ssid and bssid
| * networkctl: print ssid and bssidZbigniew Jędrzejewski-Szmek2019-10-241-0/+61
| |
| * networkctl: create the sd_device structure just onceZbigniew Jędrzejewski-Szmek2019-10-241-26/+33
| | | | | | | | | | This is mostly in preparation for future changes: a proper freeing function is now called on the LinkInfo items.
| * network: split out functions to get ssid and bssidZbigniew Jędrzejewski-Szmek2019-10-244-95/+112
| |
| * networkctl: split out helper functionZbigniew Jędrzejewski-Szmek2019-10-231-5/+10
| |
| * networkctl: show carrier in green for loopback ifaceZbigniew Jędrzejewski-Szmek2019-10-231-5/+6
| | | | | | | | | | We don't ever expect anything different, so let's hightlight that carrier in this case is OK.
* | udev/cdrom_id: Do not open CD-rom in exclusive mode.Michal Suchanek2019-10-241-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When you have a CD automunt solution that talks directly to the kernel independently of udev it races with cdrom_id for exclusive access to the device failing unpredictably. The whole is_mounted function in cdrom_id is broken: there is no saying what happens between calling is_mounted and opening the device. Hence assume that the device can be mounted asynchronously at any time, do not use exclusive access, and do away with is_mouted. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
* | Merge pull request #13807 from 1848/ip6gre_key_fixYu Watanabe2019-10-232-0/+46
|\ \ | | | | | | networkd: Set key (IFLA_GRE_IKEY,IFLA_GRE_OKEY) on ip6gre interfaces.
| * | Added ip6gre example to man18482019-10-221-0/+10
| | |
| * | Set key (IFLA_GRE_IKEY,IFLA_GRE_OKEY) on ip6gre interfaces.18482019-10-201-0/+36
| | |
* | | l10n(zh_TW): update translationspan934122019-10-231-25/+152
| | |
* | | run: add -u as a synonym for --unitDavid Tardon2019-10-232-5/+5
| | | | | | | | | | | | | | | Other tools that do have --unit= option (journalctl and systemd-cgls) already do this, so let's be consistent.
* | | Merge pull request #13825 from keszybz/nspawn-console-helpYu Watanabe2019-10-232-42/+55
|\ \ \ | | | | | | | | nspawn: fix handling of --console=help
| * | | man: reorder description of nspawn --consoleZbigniew Jędrzejewski-Szmek2019-10-231-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | The default value was described at the end of two long paragraphs. Make the first para self contained, and move the description of --console=pipe into the second para.
| * | | nspawn: fix handling of --console=helpZbigniew Jędrzejewski-Szmek2019-10-231-19/+30
| | | | | | | | | | | | | | | | We shouldn't continue to run the container after printing help.
* | | | Merge pull request #13142 from yuwata/network-wifi-ssid-support-nl80211Zbigniew Jędrzejewski-Szmek2019-10-2326-70/+542
|\ \ \ \ | | |_|/ | |/| | network: wifi ssid support with nl80211
| * | | network: add support matching based on BSSID=Yu Watanabe2019-10-1510-11/+33
| | | |
| * | | network: also read BSSIDYu Watanabe2019-10-154-20/+93
| | | |
| * | | network: support matching based on wifi SSIDYu Watanabe2019-10-1514-11/+129
| | | |
| * | | network: introduce link_reconfigure()Yu Watanabe2019-10-152-0/+74
| | | | | | | | | | | | | | | | Will be used in later commits.
| * | | network: split link_free() into two partsYu Watanabe2019-10-151-15/+20
| | | |
| * | | sd-netlink: add nl80211 type systemsYu Watanabe2019-10-153-0/+36
| | | |
| * | | sd-netlink: introduce sd_genl_message_get_family()Yu Watanabe2019-10-152-0/+17
| | | |
| * | | sd-netlink: support NLMSG_DONEYu Watanabe2019-10-153-1/+5
| | | |
| * | | sd-netlink: save dynamic general netlink message typeYu Watanabe2019-10-1511-35/+130
| | | |
| * | | sd-netlink: drop unnecessarily exported variablesYu Watanabe2019-10-151-2/+0
| | | |
| * | | sd-netlink: introduce sd_netlink_message_read_string_strdup()Yu Watanabe2019-10-152-0/+27
| | | |
| * | | sd-netlink: use structured initializerYu Watanabe2019-10-151-4/+6
| | | |
| * | | sd-netlink: drop unused variableYu Watanabe2019-10-151-2/+0
| | | |
| * | | sd-netlink: add missing license identifierYu Watanabe2019-10-151-0/+2
| | | |
| * | | bus-util: make map_basic handle SD_BUS_TYPE_OBJECT_PATH typeYu Watanabe2019-10-151-1/+2
| | | |
* | | | Merge pull request #13820 from keszybz/dead-code-removalYu Watanabe2019-10-233-19/+15
|\ \ \ \ | |_|/ / |/| | | Dead code removal
| * | | update-utmp: remove dead conditionalZbigniew Jędrzejewski-Szmek2019-10-211-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Coverity was complaining that runlevel>0 is guaranteed at this point. CID #1404262. While at it, shorten the code a bit.
| * | | tty-ask-password: fix dead code pathZbigniew Jędrzejewski-Szmek2019-10-211-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Coverity was complaining that watch==1 always at this point. CID #1405882. Use structured initialization while at it.
| * | | journal-remote: reduce scope of variableZbigniew Jędrzejewski-Szmek2019-10-211-1/+2
| | | | | | | | | | | | | | | | https://github.com/systemd/systemd/pull/11953/files#r264188513
* | | | Revert "sysusers: properly mark generated accounts as locked"Zbigniew Jędrzejewski-Szmek2019-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts the gist of commit 636e72bce63e7e99b76357f7d524d16f61558775. The comment and the tiny cleanup are left alone. We shouldn't lock the accounts because people actually need to use them, and if they are locked, various tools will refuse. See https://github.com/systemd/systemd/pull/13277#issuecomment-529964578 and follow-up comments.
* | | | journal: Consistently capitalize printed header entriesThibault Nélis2019-10-221-19/+19
| | | | | | | | | | | | | | | | Per comments in https://github.com/systemd/systemd/pull/13808.
* | | | Remove unprintable non-ASCII char from special glyph ASCII fallback tableMarko Myllynen2019-10-221-1/+1
| | | |
* | | | Merge pull request #13811 from keszybz/logind-signal-emitting-fixAnita Zhang2019-10-216-9/+3
|\ \ \ \ | | | | | | | | | | Logind signal emitting fix
| * | | | mailmap: add entry to fix authorship of commitZbigniew Jędrzejewski-Szmek2019-10-212-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 471cffcfb0e005b7c4044b3b52cc4f25d217efac was committed on a debug VM where I didn't have git set up properly.
| * | | | logind: fix emission of PropertiesChanged for usersZbigniew Jędrzejewski-Szmek2019-10-212-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same as parent commit, but users. This is the third and last foo_object_find() function in logind, so I think that this particular family of bugs is finally squashed.
| * | | | logind: fix emission of PropertiesChanged on seatsZbigniew Jędrzejewski-Szmek2019-10-212-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The story is the same as in 471cffcfb0e005b7c4044b3b52cc4f25d217efac: device_attach() → seat_send_changed() → sd_bus_emit_properties_changed_strv() → emit_properties_changed_on_interface() → node_vtable_get_userdata() → seat_object_find(), which returns 0 because message == NULL. But when we are emitting a signal, message is always NULL. Removing the overeager check and assert in the called function allow the signal to be emitted. Fixes #13769.
| * | | | logind: drop {}Zbigniew Jędrzejewski-Szmek2019-10-211-2/+1
| | | | |