summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "units: run ldconfig.service after we have mounted all local file ↵revert-2859-ldconfig-after-localfsLennart Poettering2016-05-201-1/+2
| | | | systems"
* sd-dhcp-client: fix busy loop reading zero sized DHCP UDP packets. (#3299)sadag2016-05-201-0/+3
|
* systemctl: suppress no-[Install] hint when --quiet is used (#3295)Zbigniew Jędrzejewski-Szmek2016-05-191-1/+1
| | | https://bugzilla.redhat.com/show_bug.cgi?id=1336960
* systemctl: reload configuration when enabling sysv units too (#3297)Franck Bui2016-05-191-2/+5
| | | | | | | | | | | | | | | | | | | | After enabling/disabling a unit, the daemon configuration is expected to be unless '--no-reload' option is passed. However this is not done when enabling a sysv units. This can lead to the following scenario: $ cp /etc/init.d/named /etc/init.d/foo $ systemctl enable foo foo.service is not a native service, redirecting to systemd-sysv-install Executing /usr/lib/systemd/systemd-sysv-install enable foo $ systemctl start foo Failed to start foo.service: Unit foo.service failed to load: No such file or directory. This can also be seen after installing a package providing a sysv service: the service can't be started unless 'daemon-reload' is called manually. This shouldn't be needed and this patch will fix this case too since during package installation, the service is expected to be enabled/disabled.
* systemctl: restore the no-sync option for legacy halt (#3249)tblume2016-05-192-2/+16
| | | | | | | The sync() call on shutdown had been removed with commit 57371e5829a61e5ee6c9f98404dfc729d6c62608 together with the no-sync option for the shutdown commands. The sync call was restored in commit 4a3ad39957399c4a30fc472a804e72907ecaa4f9 but the no-sync option wasn't re-added. I think we should restore this option at least for the legacy halt command.
* Merge pull request #3293 from michaelolbrich/partuuidZbigniew Jędrzejewski-Szmek2016-05-191-1/+1
|\ | | | | rules: add /dev/disk/by-partuuid symlinks also for dos partition tables
| * rules: add /dev/disk/by-partuuid symlinks also for dos partition tablesUwe Kleine-König2016-05-191-1/+1
|/ | | | | | | blkid reports PARTUUID values also for partitions that are defined by a dos partitioning scheme. Instead of limiting the partitioning scheme to "gpt or dos" just drop the test for the partitioning scheme and trust blkid to do the right thing.
* NEWS: mention SessionsMax, InhibitorsMax, MulticastSnooping...Zbigniew Jędrzejewski-Szmek2016-05-191-52/+77
| | | | | | | ... logind SIGHUP support, sd_journal_open_{directory,files}_fd, specifiers in DeviceAllow, "generated" and "trasnient" unit types. Move removed features to the end and cluster features by type.
* core/dbus: further simplify branch code (#3283)Jonathan Boulle2016-05-181-23/+15
| | | | | | free_and_strdup already handles the NULL case for us, so we can remove an extraneous conditional check. As noted in https://github.com/systemd/systemd/pull/3279/files#r63687717
* hwdb: run "make hwdb-udate" (#3280)Zbigniew Jędrzejewski-Szmek2016-05-173-7610/+10661
|
* networkd: do not update state or IPv6LL address if link is failed or lingeringSusant Sahani2016-05-172-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is partial fix for #2228 and #2977, #3204. bridge-test: netdev ready docker0: Gained IPv6LL wlan0: Gained IPv6LL eth0: Gained IPv6LL Enumeration completed bridge-test: netdev exists, using existing without changing its parameters vboxnet0: IPv6 enabled for interface: Success lo: Configured docker0: Could not drop address: No such process vboxnet0: Gained carrier wlan0: Could not drop address: No such process eth0: Could not drop address: No such process eth0: Could not drop address: No such process eth0: Could not drop address: No such process vboxnet0: Gained IPv6LL vboxnet0: Could not set NDisc route or address: Invalid argument vboxnet0: Failed [New Thread 0x7ffff6505700 (LWP 1111)] [Thread 0x7ffff6505700 (LWP 1111) exited] Assertion 'link->state == LINK_STATE_SETTING_ROUTES' failed at src/network/networkd-link.c:672, function link_enter_configured(). Aborting. Program received signal SIGABRT, Aborted. 0x00007ffff6dc6a98 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: dnf debuginfo-install iptables-1.4.21-15.fc23.x86_64 libattr-2.4.47-14.fc23.x86_64 libidn-1.32-1.fc23.x86_64 pcre-8.38-7.fc23.x86_64 Debugging (gdb) bt "link->state == LINK_STATE_SETTING_ROUTES", file=0x5555556a34c8 "src/network/networkd-link.c", line=672, func=0x5555556a56d0 <__PRETTY_FUNCTION__.14850> "link_enter_configured") at src/basic/log.c:788 src/network/networkd-link.c:672 src/network/networkd-link.c:720 flags=0 '\000', scope=0 '\000', cinfo=0x7fffffffe020) at src/network/networkd-address.c:344 (rtnl=0x5555556eded0, message=0x55555570ff20, userdata=0x5555556ec590) at src/network/networkd-manager.c:604 m=0x55555570ff20) at src/libsystemd/sd-netlink/sd-netlink.c:365 at src/libsystemd/sd-netlink/sd-netlink.c:395 ret=0x0) at src/libsystemd/sd-netlink/sd-netlink.c:429 revents=1, userdata=0x5555556eded0) at src/libsystemd/sd-netlink/sd-netlink.c:723 src/libsystemd/sd-event/sd-event.c:2268 src/libsystemd/sd-event/sd-event.c:2629 timeout=18446744073709551615) at src/libsystemd/sd-event/sd-event.c:2688 bus=0x5555556eeba0, name=0x55555568a2f5 "org.freedesktop.network1", timeout=30000000, check_idle=0x55555556adb6 <manager_check_idle>, userdata=0x5555556ec590) at src/shared/bus-util.c:134 src/network/networkd-manager.c:1130 src/network/networkd.c:127 (gdb) f 3 src/network/networkd-link.c:672 672 assert(link->state == LINK_STATE_SETTING_ROUTES); (gdb) p link->state $1 = LINK_STATE_FAILED We should not be in this state . even if vboxnet0 failed we went into this state. vboxnet0: Could not set NDisc route or address: Invalid argument vboxnet0: Failed
* networkd: add route expiration handler (#3242)Susant Sahani2016-05-171-1/+31
| | | Fix for #3232.
* coredump: Improve man pagesPeter Mattern2016-05-173-71/+103
|
* networkd: Add EmitRouter= option for DHCP Server (#3251)Clemens Gruber2016-05-179-22/+63
| | | | | | | | | | | | | | Add an option to disable appending DHCP option 3 (Router) to the DHCP OFFER and ACK packets. This commit adds the boolean option EmitRouter= for the [DHCPServer] section in .network files. Rationale: On embedded devices, it is very useful to have a DHCP server running on an USB OTG ethernet gadget interface to avoid manual setup on the client PCs, but it should only serve IP addresses, no route(r)s. Otherwise, Windows clients experience network connectivity issues, due to them using the address set in DHCP option 3 as default gateway. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
* core/dbus: use free_and_strdup to simplify code (#3279)Jonathan Boulle2016-05-171-31/+7
| | | Makes it consistent with the other branches here.
* hwdb: Update database of Bluetooth company identifiersMarcel Holtmann2016-05-171-1/+181
|
* vconsole: add log_oom() where appropriateLennart Poettering2016-05-171-2/+2
|
* Merge pull request #3258 from keszybz/small-networkd-cleanupLennart Poettering2016-05-1711-50/+47
|\ | | | | Small networkd cleanup
| * sd-dhcp6-client: add log_errno macro and improve debug messages a bitZbigniew Jędrzejewski-Szmek2016-05-152-10/+13
| |
| * tree-wide: drop spurious "&"s when passing functions aroundZbigniew Jędrzejewski-Szmek2016-05-157-28/+31
| | | | | | | | Also adjust indentation in various places.
| * networkd: fix copy-pasto in error messageZbigniew Jędrzejewski-Szmek2016-05-141-1/+1
| |
| * networkd: drop route_dropZbigniew Jędrzejewski-Szmek2016-05-143-11/+2
| | | | | | | | | | | | It is just an alias for route_free which requires that route is not null, but it was only used in one place where it was checked that route is not null anyway. Let's just call route_free instead.
* | update NEWSLennart Poettering2016-05-161-0/+8
| |
* | man: clarify that IOXyz= only applies to the unified hierarchy, and ↵Lennart Poettering2016-05-161-98/+84
| | | | | | | | | | | | | | | | | | | | | | BlockIOXyz= to the legacy hierarchy With this change for each setting we say which hierarachy it applies to briefly in the first sentence of the description, plus in longer form in an extra pargraph at the end, with a recommendation for the counterpart of the option in the other hierarchy. Also adds markup and the "=" suffix to all mentioned settings.
* | update TODOLennart Poettering2016-05-161-1/+16
| |
* | Merge pull request #3193 from htejun/cgroup-io-controllerLennart Poettering2016-05-1616-34/+892
|\ \ | | | | | | core: add io controller support on the unified hierarchy
| * | core: add io controller support on the unified hierarchyTejun Heo2016-05-0516-34/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the unified hierarchy, blkio controller is renamed to io and the interface is changed significantly. * blkio.weight and blkio.weight_device are consolidated into io.weight which uses the standardized weight range [1, 10000] with 100 as the default value. * blkio.throttle.{read|write}_{bps|iops}_device are consolidated into io.max. Expansion of throttling features is being worked on to support work-conserving absolute limits (io.low and io.high). * All stats are consolidated into io.stats. This patchset adds support for the new interface. As the interface has been revamped and new features are expected to be added, it seems best to treat it as a separate controller rather than trying to expand the blkio settings although we might add automatic translation if only blkio settings are specified. * io.weight handling is mostly identical to blkio.weight[_device] handling except that the weight range is different. * Both read and write bandwidth settings are consolidated into CGroupIODeviceLimit which describes all limits applicable to the device. This makes it less painful to add new limits. * "max" can be used to specify the maximum limit which is equivalent to no config for max limits and treated as such. If a given CGroupIODeviceLimit doesn't contain any non-default configs, the config struct is discarded once the no limit config is applied to cgroup. * lookup_blkio_device() is renamed to lookup_block_device(). Signed-off-by: Tejun Heo <htejun@fb.com>
* | | CONTRIBUTING: recommend force-push (#3273)Zbigniew Jędrzejewski-Szmek2016-05-161-4/+1
| | |
* | | basic: Fix incorrect architecture mapping on sparc64. (#3274)John Paul Adrian Glaubitz2016-05-162-2/+2
| | |
* | | core: don't log job status message in case job was effectively NOP (#3199)Michal Sekletar2016-05-166-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently generate log message about unit being started even when unit was started already and job didn't do anything. This is because job was requested explicitly and hence became anchor job of the transaction thus we could not eliminate it. That is fine but, let's not pollute journal with useless log messages. $ systemctl start systemd-resolved $ systemctl start systemd-resolved $ systemctl start systemd-resolved Current state: $ journalctl -u systemd-resolved | grep Started May 05 15:31:42 rawhide systemd[1]: Started Network Name Resolution. May 05 15:31:59 rawhide systemd[1]: Started Network Name Resolution. May 05 15:32:01 rawhide systemd[1]: Started Network Name Resolution. After patch applied: $ journalctl -u systemd-resolved | grep Started May 05 16:42:12 rawhide systemd[1]: Started Network Name Resolution. Fixes #1723
* | | missing.h: add BTRFS_IOC_QUOTA_RESCAN_WAIT (#3266)Stefan Saraev2016-05-161-0/+4
| | |
* | | vconsole-setup: Store fonts on heap (#3268)Kyle Russell2016-05-161-1/+7
| | | | | | | | | More friendly to the stack.
* | | hwdb: add touchpad resolution for Lenovo E530 (#3265)Peter Hutterer2016-05-151-0/+7
| | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=95231
* | | namespace: Make private /dev noexec and readonly (#3263)topimiettinen2016-05-152-4/+11
| | | | | | | | | | | | | | | | | | | | | Private /dev will not be managed by udev or others, so we can make it noexec and readonly after we have made all device nodes. As /dev/shm needs to be writable, we can't use bind_remount_recursive().
* | | /var/tmp instead of /tmp/var in systemd.unit man page (#3262)gdamjan2016-05-151-1/+1
| | |
* | | man: fix typo (#3261)Andre Klärner2016-05-151-1/+1
| | |
* | | networkd: do not generate a mac address for vlan interfaces (#3221)Susant Sahani2016-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While creating a VLAN the mac address should be copied from the parent interface, so that the VLANs inherit the MAC address of the physical interface. Before: ``` 3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:26:c6:85:a3:c2 brd ff:ff:ff:ff:ff:ff ... 6: vlan1@wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 22:07:73:9d:43:59 brd ff:ff:ff:ff:ff:ff 7: vlan2@wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 46:30:76:33:35:d4 brd ff:ff:ff:ff:ff:ff ``` After: ``` 3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:26:c6:85:a3:c2 brd ff:ff:ff:ff:ff:ff ... 11: vlan1@wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 00:26:c6:85:a3:c2 brd ff:ff:ff:ff:ff:ff 12: vlan2@wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 00:26:c6:85:a3:c2 brd ff:ff:ff:ff:ff:ff ``` v2 of #1573, with fixed commit message.
* | | networkd: bridge add support to configure multicast snooping (#3223)Susant Sahani2016-05-154-0/+18
| |/ |/| | | | | | | | | | | This patch implements support for the IFLA_BR_MCAST_SNOOPING attribute it can change the multicast snooping value. IGMP snooping monitors the Internet Group Management Protocol (IGMP) traffic between hosts and multicast routers.
* | busctl: use Monitoring interface (#3245)Lars Uebernickel2016-05-141-15/+30
| | | | | | | | | | This is now the recommended way to do monitoring by upstream D-Bus. It's also allowed in the default policy, whereas eavesdrop is not anymore, which effectively broke busctl on many systems.
* | core: allow slice to be overriden if cgroups aren't realized (#3246)Tejun Heo2016-05-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | unit_set_slice() fails with -EBUSY if the unit already has a slice associated with it. This makes it impossible to override slice through dropin config or over dbus. There's no reason to disallow slice changes as long as cgroups aren't realized. Fix it. Fixes #3240. Signed-off-by: Tejun Heo <htejun@fb.com> Reported-by: Davide Cavalca <dcavalca@fb.com>
* | Merge pull request #3253 from alshopov/masterZbigniew Jędrzejewski-Szmek2016-05-144-7/+950
|\ \ | | | | | | Bulgarian translation of systemd
| * | Sort LINGUAS similar to Makefile.am:dist_catalog_DATAAlexander Shopov2016-05-141-7/+7
| | |
| * | po, catalog - add Bulgarian translationAlexander Shopov2016-05-144-0/+943
| | |
* | | namespace: unmount old /dev under our new private /dev (#3254)topimiettinen2016-05-141-0/+2
|/ / | | | | Drop all dangling old /dev mounts before mounting a new private /dev tree.
* | nspawn: drop spurious newlineLennart Poettering2016-05-121-1/+0
| |
* | update TODOLennart Poettering2016-05-121-0/+16
| |
* | core: added ListUnitsByNames dbus method (#3182)kayrus2016-05-122-27/+80
| | | | | | | | | | | | This new method returns information by unit names. Instead of ListUnitsByPatterns this method returns information of inactive and even unexisting units. Moved dbus unit reply logic into a separate shared function. Resolves https://github.com/coreos/fleet/pull/1418
* | Create initrd-root-device.target synchronization point (#3239)Daniel Drake2016-05-1210-4/+71
| | | | | | | | | | | | | | | | | | Add a synchronization point so that custom initramfs units can run after the root device becomes available, before it is fsck'd and mounted. This is useful for custom initramfs units that may modify the root disk partition table, where the root device is not known in advance (it's dynamically selected by the generators).
* | logind: introduce LockedHint and SetLockedHint (#3238)Victor Toso2016-05-114-0/+74
| | | | | | | | Desktop environments can keep this property up to date to allow applications to easily track session's Lock status.
* | coredump: use next_datagram_size_fd instead of ioctl(FIONREAD) (#3237)Evgeny Vereshchagin2016-05-111-3/+4
| | | | | | | | | | We need to be sure that the size returned here actually matches what we will read with recvmsg() next Fixes #2984