Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sd-dhcp-client: do not call assert in public functionsassert-cleanups-and-constification | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 1 | -5/+5 |
| | |||||
* | sd-dhcp-client: remove unnecessary cleanup function | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 1 | -5/+2 |
| | | | | https://github.com/systemd/systemd/pull/13663#discussion_r335327099 | ||||
* | sd-netlink: constify object pointers passed to getters | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 7 | -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-Szmek | 2019-10-24 | 1 | -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.h | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 5 | -10/+7 |
| | | | | Let's not have a file with a single define. | ||||
* | Remove unused plymouth_running() function | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 3 | -14/+0 |
| | |||||
* | test: drop duplicated 's' | Yu Watanabe | 2019-10-24 | 1 | -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-wlan | Yu Watanabe | 2019-10-24 | 5 | -131/+222 |
|\ | | | | | networkctl support for ssid and bssid | ||||
| * | networkctl: print ssid and bssid | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 1 | -0/+61 |
| | | |||||
| * | networkctl: create the sd_device structure just once | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 1 | -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 bssid | Zbigniew Jędrzejewski-Szmek | 2019-10-24 | 4 | -95/+112 |
| | | |||||
| * | networkctl: split out helper function | Zbigniew Jędrzejewski-Szmek | 2019-10-23 | 1 | -5/+10 |
| | | |||||
| * | networkctl: show carrier in green for loopback iface | Zbigniew Jędrzejewski-Szmek | 2019-10-23 | 1 | -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 Suchanek | 2019-10-24 | 1 | -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_fix | Yu Watanabe | 2019-10-23 | 2 | -0/+46 |
|\ \ | | | | | | | networkd: Set key (IFLA_GRE_IKEY,IFLA_GRE_OKEY) on ip6gre interfaces. | ||||
| * | | Added ip6gre example to man | 1848 | 2019-10-22 | 1 | -0/+10 |
| | | | |||||
| * | | Set key (IFLA_GRE_IKEY,IFLA_GRE_OKEY) on ip6gre interfaces. | 1848 | 2019-10-20 | 1 | -0/+36 |
| | | | |||||
* | | | l10n(zh_TW): update translations | pan93412 | 2019-10-23 | 1 | -25/+152 |
| | | | |||||
* | | | run: add -u as a synonym for --unit | David Tardon | 2019-10-23 | 2 | -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-help | Yu Watanabe | 2019-10-23 | 2 | -42/+55 |
|\ \ \ | | | | | | | | | nspawn: fix handling of --console=help | ||||
| * | | | man: reorder description of nspawn --console | Zbigniew Jędrzejewski-Szmek | 2019-10-23 | 1 | -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=help | Zbigniew Jędrzejewski-Szmek | 2019-10-23 | 1 | -19/+30 |
| | | | | | | | | | | | | | | | | We shouldn't continue to run the container after printing help. | ||||
* | | | | Merge pull request #13142 from yuwata/network-wifi-ssid-support-nl80211 | Zbigniew Jędrzejewski-Szmek | 2019-10-23 | 26 | -70/+542 |
|\ \ \ \ | | |_|/ | |/| | | network: wifi ssid support with nl80211 | ||||
| * | | | network: add support matching based on BSSID= | Yu Watanabe | 2019-10-15 | 10 | -11/+33 |
| | | | | |||||
| * | | | network: also read BSSID | Yu Watanabe | 2019-10-15 | 4 | -20/+93 |
| | | | | |||||
| * | | | network: support matching based on wifi SSID | Yu Watanabe | 2019-10-15 | 14 | -11/+129 |
| | | | | |||||
| * | | | network: introduce link_reconfigure() | Yu Watanabe | 2019-10-15 | 2 | -0/+74 |
| | | | | | | | | | | | | | | | | Will be used in later commits. | ||||
| * | | | network: split link_free() into two parts | Yu Watanabe | 2019-10-15 | 1 | -15/+20 |
| | | | | |||||
| * | | | sd-netlink: add nl80211 type systems | Yu Watanabe | 2019-10-15 | 3 | -0/+36 |
| | | | | |||||
| * | | | sd-netlink: introduce sd_genl_message_get_family() | Yu Watanabe | 2019-10-15 | 2 | -0/+17 |
| | | | | |||||
| * | | | sd-netlink: support NLMSG_DONE | Yu Watanabe | 2019-10-15 | 3 | -1/+5 |
| | | | | |||||
| * | | | sd-netlink: save dynamic general netlink message type | Yu Watanabe | 2019-10-15 | 11 | -35/+130 |
| | | | | |||||
| * | | | sd-netlink: drop unnecessarily exported variables | Yu Watanabe | 2019-10-15 | 1 | -2/+0 |
| | | | | |||||
| * | | | sd-netlink: introduce sd_netlink_message_read_string_strdup() | Yu Watanabe | 2019-10-15 | 2 | -0/+27 |
| | | | | |||||
| * | | | sd-netlink: use structured initializer | Yu Watanabe | 2019-10-15 | 1 | -4/+6 |
| | | | | |||||
| * | | | sd-netlink: drop unused variable | Yu Watanabe | 2019-10-15 | 1 | -2/+0 |
| | | | | |||||
| * | | | sd-netlink: add missing license identifier | Yu Watanabe | 2019-10-15 | 1 | -0/+2 |
| | | | | |||||
| * | | | bus-util: make map_basic handle SD_BUS_TYPE_OBJECT_PATH type | Yu Watanabe | 2019-10-15 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #13820 from keszybz/dead-code-removal | Yu Watanabe | 2019-10-23 | 3 | -19/+15 |
|\ \ \ \ | |_|/ / |/| | | | Dead code removal | ||||
| * | | | update-utmp: remove dead conditional | Zbigniew Jędrzejewski-Szmek | 2019-10-21 | 1 | -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 path | Zbigniew Jędrzejewski-Szmek | 2019-10-21 | 1 | -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 variable | Zbigniew Jędrzejewski-Szmek | 2019-10-21 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | https://github.com/systemd/systemd/pull/11953/files#r264188513 | ||||
* | | | | Revert "sysusers: properly mark generated accounts as locked" | Zbigniew Jędrzejewski-Szmek | 2019-10-22 | 1 | -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 entries | Thibault Nélis | 2019-10-22 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | | Per comments in https://github.com/systemd/systemd/pull/13808. | ||||
* | | | | Remove unprintable non-ASCII char from special glyph ASCII fallback table | Marko Myllynen | 2019-10-22 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #13811 from keszybz/logind-signal-emitting-fix | Anita Zhang | 2019-10-21 | 6 | -9/+3 |
|\ \ \ \ | | | | | | | | | | | Logind signal emitting fix | ||||
| * | | | | mailmap: add entry to fix authorship of commit | Zbigniew Jędrzejewski-Szmek | 2019-10-21 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 471cffcfb0e005b7c4044b3b52cc4f25d217efac was committed on a debug VM where I didn't have git set up properly. | ||||
| * | | | | logind: fix emission of PropertiesChanged for users | Zbigniew Jędrzejewski-Szmek | 2019-10-21 | 2 | -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 seats | Zbigniew Jędrzejewski-Szmek | 2019-10-21 | 2 | -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-Szmek | 2019-10-21 | 1 | -2/+1 |
| | | | | |