summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* hwdb: run "make hwdb-udate"hwdbZbigniew Jędrzejewski-Szmek2016-05-163-7610/+10604
|
* 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
* Merge pull request #3220 from keszybz/install-fixesLennart Poettering2016-05-1016-131/+157
|\ | | | | Fix "preset-all" with dangling symlinks and install-section hint emitted too eagerly
| * locale-util: mark special_glyph() as _const_Zbigniew Jędrzejewski-Szmek2016-05-092-2/+2
| | | | | | | | | | | | | | | | _const_ means that the caller can assume that the function will return the same result every time (and will not modify global memory). special_glyph() meets this: even though it depends on global memory, that part of global memory is not expected to change. This allows the calls to special_glyph() to be optimized, even if -flto is not used.
| * tree-wide: rename draw_special_char to special_glyphZbigniew Jędrzejewski-Szmek2016-05-0914-84/+85
| | | | | | | | | | | | | | | | | | That function doesn't draw anything on it's own, just returns a string, which sometimes is more than one character. Also remove "DRAW_" prefix from character names, TREE_* and ARROW and BLACK_CIRCLE are unambigous on their own, don't draw anything, and are always used as an argument to special_glyph(). Rename "DASH" to "MDASH", as there's more than one type of dash.
| * shared/install: use "→" instead of "pointing to" for a symlinkZbigniew Jędrzejewski-Szmek2016-05-091-1/+5
| | | | | | | | | | | | | | | | | | | | It's quite a bit shorter and just as readable. (The full sentence with "pointing to" was added to replace a text that used "ln -s %s %s". Using the "ln" syntax is indeed unclear, because it's not obvious which is the source and which is the target, and because symlink(2) uses the opposite order to ln(1). But with the unicode arrow there should be no ambiguity.)
| * shared/install: do not print warning when a unit is already enabledZbigniew Jędrzejewski-Szmek2016-05-091-4/+6
| | | | | | | | | | | | | | | | Executing 'systemctl enable' on the same unit twice would cause a warning about a missing [Install] section to be printed. To avoid this, count all symlinks that "would" be created, and return 1 no matter if we actually created a symlink or skipped creation because it already exists.
| * shared/install: handle dangling aliases as an explicit case, report nicelyZbigniew Jędrzejewski-Szmek2016-05-092-1/+16
| | | | | | | | | | | | | | | | | | This fixes 'preset-all' with a unit that is a dangling symlink. $ systemctl --root=/ preset-all Unit syslog.service is an alias to a unit that is not present, ignoring. Unit auditd.service is masked, ignoring. Unit NetworkManager.service is masked, ignoring.
| * shared/install: add some more debug messages and commentsZbigniew Jędrzejewski-Szmek2016-05-091-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | $ systemctl --root=/ preset foobar.service Cannot find unit foobar.service. Failed to preset: No such file or directory. $ systemctl --root=/ preset foobar@.service Cannot find unit foobar@.service. Failed to preset: No such file or directory. $ systemctl --root=/ preset foobar@blah.service Cannot find unit foobar@blah.service or foobar@.service. Failed to preset: No such file or directory.
| * shared/install: simplify error handling conditionals in a few placesZbigniew Jędrzejewski-Szmek2016-05-071-18/+10
| |
| * core/mount: add helper function for mount statesZbigniew Jędrzejewski-Szmek2016-05-071-21/+16
| |
* | man: document the nfs mount option bg as unsupported (#3231)tblume2016-05-101-0/+5
| | | | | | | | | | | | The nfs mount option bg will not be supported with systemd. Reasons are discussed here: https://github.com/systemd/systemd/pull/3169
* | units: make sure that fsck is executed before quotachecktblume2016-05-101-1/+1
| | | | | | | | fsck determines wheter an automatic quotacheck should be executed. Hence fsck service needs to run before quotacheck service.
* | catalog: update French translation (#3228)Sylvain Plantefève2016-05-091-5/+65
| |
* | Merge pull request #3209 from poettering/nspawn-network-zonesZbigniew Jędrzejewski-Szmek2016-05-0930-197/+650
|\ \ | | | | | | introduce simple "network zones" concept to nspawn
| * | update TODOLennart Poettering2016-05-091-3/+2
| | |
| * | nspawn: only remove veth links we created ourselvesLennart Poettering2016-05-091-2/+12
| | | | | | | | | | | | | | | | | | | | | Let's make sure we don't remove veth links that existed before nspawn was invoked. https://github.com/systemd/systemd/pull/3209#discussion_r62439999
| * | network: Make sure we log about parse errors for ifname listsLennart Poettering2016-05-091-2/+4
| | | | | | | | | | | | Fix-up for 93e2822684b37a4eeef03775a7a1f44a3055d7b2
| * | network: allow LLDP packets to cross non-customer bridges for container ↵Lennart Poettering2016-05-093-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | network interfaces This changes the default .network files we ship for nspawn containers to set EmitLLDP=customer-bridge in order to allow propagation of the LLDP packets across bridges. This is useful so that "networkctl status" shows all peers connected to a virtual container network, collecting this data via LLDP. This is safe since the default configuration for these interfaces does not bridge these links to external interfaces, but relies on IP routing for this.
| * | networkd: reworkd LLDP emission to allow control of propagation levelLennart Poettering2016-05-097-41/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows selecting the propagation level of emitted LLDP packets (specifically: the destination MAC address of the packets). This is useful because it allows generating LLDP packets that optionally cross certain types of bridges. See 802.11ab-2009, Table 7-1 for details.
| * | tree-wide: port more code to use ifname_valid()Lennart Poettering2016-05-098-85/+83
| | |
| * | man: add documentation for the new --network-zone= concept of nspawnLennart Poettering2016-05-092-1/+40
| | |
| * | network: add automatic configuration for the networks created by nspawn ↵Lennart Poettering2016-05-094-1/+32
| | | | | | | | | | | | | | | | | | | | | --network-zone= This way, they "just work", similar to --network-veth behaves, as long as networkd is enabled and running on all involved nodes.
| * | nspawn: add new --network-zone= switch for automatically managed bridge devicesLennart Poettering2016-05-096-43/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new concept of network "zones", which are little more than bridge devices that are automatically managed by nspawn: when the first container referencing a bridge is started, the bridge device is created, when the last container referencing it is removed the bridge device is removed again. Besides this logic --network-zone= is pretty much identical to --network-bridge=. The usecase for this is to make it easy to run multiple related containers (think MySQL in one and Apache in another) in a common, named virtual Ethernet broadcast zone, that only exists as long as one of them is running, and fully automatically managed otherwise.
| * | util-lib: add new ifname_valid() call that validates interface namesLennart Poettering2016-05-095-2/+93
| | | | | | | | | | | | | | | Make use of this in nspawn at a couple of places. A later commit should port more code over to this, including networkd.
| * | man: document that nspawn's host0 and ve-* interfaces have default config in ↵Lennart Poettering2016-05-091-15/+21
|/ / | | | | | | networkd
* | Merge pull request #3222 from keszybz/tests-workLennart Poettering2016-05-096-7/+26
|\ \ | | | | | | Some small fixes to make it easier to run tests and fix failure in TEST-{02,08}
| * | TEST-08: make sure / is remounted rwZbigniew Jędrzejewski-Szmek2016-05-081-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this test /etc/fstab is replaced by -.mount unit. This causes systemd-remount-fs.service to not remount / rw, which in turn causes various failures becuase /var is not writable. In particular systemd-tmpfiles-setup.service reports many failures. This is something to possibly fix on its own (see https://github.com/systemd/systemd/issues/791); in the meanwhile let's fix this test so that it doesn't fail, since the point of the test is to check aliases on mount units, and not a ro root.