[systemd-commits] stable Changes to 'v214-stable'
Zbigniew JÄdrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Sun Jun 22 22:56:25 PDT 2014
New branch 'v214-stable' available with the following commits:
commit d8d15d1a6ea80362de970c6a73ee9dbc7e26176c
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Sat Jun 21 22:07:09 2014 +0200
build-sys: add -pthread flag for libsystemd-shared
src/shared/async.c uses pthread so it will fail at link time if we link
only to libsystemd-shared and use async
(cherry picked from commit 8e75477abdd838d3beddc5fd1c6a7707b22748b6)
commit 7da3a022eb72c80d2ec85b01fec188f80581ba27
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Jun 20 22:43:49 2014 -0400
util: treat fuse.sshfs as a network filesystem
https://bugs.freedesktop.org/show_bug.cgi?id=73727
(cherry picked from commit da92ca5eb506d513033e0c7a85daf25a7e1c9d0e)
commit 2e7e0201564db608dffc1d9ac24c0691ea14fd2e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Jun 20 19:45:45 2014 -0400
missing.h: add various network enums
We used to check if e.g. IFLA_BOND_MAX is defined and provide fallback
values in missing.h is it wasn't. But over time, various kernel
versions added IFLA_* defines, so checking for IFLA_BOND_MAX is not
enough if the kernel is new enough to have some of them but too old to
have all. In case we detect that the latest known enum value is
missing, #define most of them.
https://bugs.freedesktop.org/show_bug.cgi?id=80095
(cherry picked from commit 81577dc22887debaf9b19bf1034a2887fb9069c7)
Conflicts:
src/network/networkd-vxlan.c
commit 82d568e88c858b5094b92440515eba3744fe07d3
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Jun 20 18:44:39 2014 -0400
util: do not strip /dev prefix twice
(cherry picked from commit 0d460faf732ff3c9483dbfa5db6905d53c2e2522)
commit 695c8554ca6a64f749de265ba29566d3c95fe77c
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Thu Jun 19 19:07:06 2014 -0700
shared: fix search_and_fopen with alternate roots
Update for the current behavior of path_strv_resolve which now returns
paths relative to the given root, not the full absolute paths.
(cherry picked from commit 375eadd911a9f83f89f1e7de5e05f44cc81e3642)
commit 3db5dbae9f8315684f2e18b3eddcbf2004f3ad03
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Thu Jun 19 19:07:04 2014 -0700
conf-files: include root in returned file paths
This restores the original root handling logic that was present prior to
112cfb18 when path expansion moved to path_strv_canonicalize_absolute.
That behavior partially went away in 12ed81d9.
Alternatively all users of conf_files_list* could be updated to
concatenate the paths themselves as unit_file_query_preset did but since
no user needs the un-concatenated form that is pointless duplication.
(cherry picked from commit cba2ef02722114da2b730d57f1e3bb43013d8921)
Conflicts:
src/shared/install.c
commit a1a4a0201bbc6a89af7b0ec28b2b563a9418d860
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Thu Jun 19 19:07:02 2014 -0700
shared: rename path_strv_canonicalize_absolute functions
Since 12ed81d9 path_strv_canonicalize_absolute leaves the search list
relative to the given root directory instead of resolving paths to their
true location as the name implies. To better reflect this behavior
rename to the less strongly worded path_strv_resolve.
(cherry picked from commit 7d8da2c9641c584ff977493eeb8148300dce8759)
commit d7671242e5a5c43b4dd2ac7484816179a679c673
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jun 19 22:02:55 2014 -0400
getty-generator: properly escape instance names
Otherwise the add_symlink() function tries to make directories for
each slash even for the slash after the @ symbol in the final link
name, failing for /dev/3270/tty1.
Based on a patch by Werner Fink <werner at suse.de>.
(cherry picked from commit a2ae516a25dafe41e0cd296ab7b5d022fa62b95f)
commit c79a00436c90b86833799d83b5de64a1f42d1975
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jun 19 21:13:56 2014 -0400
man: also describe an udev rule for bridge sysctl
(cherry picked from commit 71418295125c542d3edd1e7251bb0701ef1af89b)
commit 59fccb9cb4eba406dbee93864638cc52f6ee7d4a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jun 19 20:43:56 2014 -0400
man: document statically loading modules for sysctl settings
https://bugzilla.redhat.com/show_bug.cgi?id=1022977
https://bugzilla.novell.com/show_bug.cgi?id=725412
(cherry picked from commit 7284335adbb8cb2bc9c11f9e102906da1bf71145)
commit 4564424c0a42f52ca02ef2e50ce4e19da36a7ad4
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Sat Mar 23 03:54:16 2013 +0100
units/systemd-sysctl.service.in: run after load-modules
Modules might or will register new sysctl options.
[zj: This mechanism of adding modules just to reliably set sysctl
attributes is not ideal. Nevertheless, sysctl for dynamically created
attributes is simply broken, and this is the easiest workaround.]
https://bugzilla.redhat.com/show_bug.cgi?id=1022977
https://bugzilla.novell.com/show_bug.cgi?id=725412
(cherry picked from commit 0b73eab7a2185ae0377650e3fdb8208347a8a575)
commit 70a3698b99b401e5fa26889aac73e72f6c45523b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 19 19:53:16 2014 +0200
units: add missing caps so that GetAddresses() can work
(cherry picked from commit a55954297dade7b432fd3a4f328f23261621ff79)
commit 5f1d6b4795638e25695fd5ae46dd6055990a871d
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Thu Jun 19 10:43:03 2014 +0200
man: fix typo
(cherry picked from commit 08d555f347f154d08520a117b9769975cf302e38)
commit 29d5bac956e12719ef61e7e6da71333eac735ae1
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Jun 18 20:34:52 2014 +0200
socket: check return from exec_spawn
(cherry picked from commit cee288adf88844acd880e4c0da5ed550c85cdd1a)
commit 60ab4dd0d578ced48a59745e5728685ca949c4ee
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Wed Jun 18 13:55:32 2014 +0200
hwdb: Update database of Bluetooth company identifiers
(cherry picked from commit 7cfa80f07e94c3e48703d145ef03a73dd6e7b983)
commit 54687582ebc848ae90112341c5a726a8861c0029
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 18 03:37:32 2014 +0200
rules: add loop-control and btrfs-control to "disk" group
(cherry picked from commit 27e7c26268bd4c16edb92f2b8a8626b00c6f2dad)
commit ed5678903964de92ba74baf2e5597914a3d44583
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 18 00:07:56 2014 +0200
cryptsetup: introduce new cryptsetup-pre.traget unit so that services can make sure they are started before and stopped after any LUKS setup
https://bugzilla.redhat.com/show_bug.cgi?id=1097938
(cherry picked from commit 9542239eaf481decca6c254dffb3f2b4e716545e)
commit 22549162275fdd36e978a209469772997397f9d7
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 18 00:02:08 2014 +0200
tmpfiles: create directories already with the right label, instead of creating them first, and relabeling them afterwards
(cherry picked from commit 6f04529399a7a59cfe549913349176409a4dc2e3)
commit 415796b7022e7f7756effbaf795bf46bbb6cba5f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 23:51:21 2014 +0200
namespace: properly label device nodes we create
https://bugzilla.redhat.com/show_bug.cgi?id=1081429
(cherry picked from commit dd078a1ef844d2ab66b8fb1e58dd73522262fad6)
commit 4b700b54f53769239daa9d62ba1a75804b1f6265
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Tue Jun 17 19:26:14 2014 +0200
build-sys: add missing backslash
(cherry picked from commit fe582db94bac3743b87d67d880497fe40b06dd2f)
commit 985c32b7716eea3f04f0b423ef3d136708b6ad51
Author: Frederic Crozat <fcrozat at suse.com>
Date: Mon Jun 16 18:49:12 2014 +0200
bootchart: set white background
In programs like eog and gimp the transparant background did not
look very good.
Similar fix from the one done in systemd-analyze (418e3750)
(cherry picked from commit a7997073ac07add6cb30dcd9491c0179b2d6ad52)
commit 12c375aecad2df91b32a799460585f1a97a106a8
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 02:13:08 2014 +0200
networkd: don't pull in systemd-networkd-wait-online service from systemd-networkd when enabling
networkd-wait-online should never exist in the default transaction,
unless explicitly enable or pulled in via things like NFS. However, just
enabling networkd shouldn't enable networkd-wait-online, since it's
common to use the former without the latter.
(cherry picked from commit 324d7a53b9c53b33520b97f2562219ac4143f581)
commit 90df11b158e4026a73281c4df9b562a74f7045f1
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 01:56:44 2014 +0200
conf-files: fix when for --root= logic
This is based on parts of similar patches from Michael Marineau and
Lukas Nykrin, but simply uses strappenda3().
(cherry picked from commit cebed5005b5ede17fc52ab50c054fca73bc938b8)
commit 7e1db29dde294155be972acf6d3e2db4d27266de
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 01:37:54 2014 +0200
install: simplify symlink --root= logic
(cherry picked from commit 278fa5758c8e30f03c8c50f15873d55edfc4cbaf)
commit 09fcc5cffa54468595fbf6b81308cd22e896cdfe
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 01:05:39 2014 +0200
log: don't downgrade log level in non-PID 1 if "quiet" is passed on kernel cmdline
"debug" should apply to all tools, but "quiet" only to PID1.
(cherry picked from commit d7b15e0a0161e8fd823bffd61a4799364871582f)
commit c88a943a7300a2c206d17aabc733ba3704eb83e5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 00:53:49 2014 +0200
install: make sure that --root= mode doesn't make us consider all units outside of search path
(cherry picked from commit 8f294b45cbb627d31342f6a79444be59ce7e2274)
commit 90d16404421d61e4e13bcff35f914477b9d04d81
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 00:33:39 2014 +0200
install: make sure "systemctl disable foobar at .service" actually removes all instances
(cherry picked from commit 559367add5e22bf32d14fa1496512c68488f48b0)
commit acefb01e351be2f1dbd05078fdf4522a9dadaa4d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 00:13:48 2014 +0200
install: when looking for a unit file for enabling, search for templates only after traversing all search directories
Let's always make sure to look in all search directories for the full
unit names first, before looking for templates for them.
(cherry picked from commit e50bd775163cd96be1888943a8785a436be710e8)
commit b533ed36a5ca33ba718ad37b18d1aa175f232d03
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 00:11:47 2014 +0200
install: use symlink_atomic() instead of unlink()+symlink() when force creating a symlink
(cherry picked from commit 1f8c46040e824d7367c2f013de13c87d53f249dc)
commit f906059875069ef0b72e54581d78fe4e28b375a3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 17 00:10:54 2014 +0200
install: various modernizations
(cherry picked from commit 1dacfd2ad643019f41fb979f5a8c144172911f85)
commit bf160761cd5d35458779e96fa13655dd88350ccd
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 19:48:31 2014 +0200
install: simplify and clarify disabling logic for instanced units
(cherry picked from commit bcafe923a74e702abbba3655b0270febe143499f)
commit 06cd279be2d9597ac7e19d19ac2883874d801bc7
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 17:19:30 2014 +0200
install: various modernizations
(cherry picked from commit da39f6a63e9ca59bec23cc9d1cb841703bb5ef56)
commit 3e59dbfced8ba0e6258ee5ed6c6a3d895b0fd2b5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 17:01:26 2014 +0200
unit-name: fix detection of unit templates/instances
We need to check for the last dot, not the first one in a unit name, for
the suffix. Correct that.
(cherry picked from commit 6ef9eeed61a291cc42b7d911f5cf5a4deca742a3)
commit 84d1cd0b9bea96ba9ef600582b1ab030f49c5046
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Jun 16 23:49:10 2014 +0200
journal-remote: fix memleak
(cherry picked from commit e94b5a7bc201fe73c4a291169c5c1d21cceee128)
commit 1d4d5cd68c250af3b232fa049bd2cde171272ee9
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 20 16:58:21 2014 +0200
core: clean-up signal reset logic when reexec
There's no need to save the old sigmask, if we are going to die. Let's
simplify this. Also, reset all the signal handlers, so that we don't
leave SIG_IGN set for some of them across reexec.
(cherry picked from commit 9bfcda9528636914aef3e0ab91191bb81654c83d)
commit ab25a485218194a432a8238b772005f4506059f3
Author: Ruediger Oertel <ro at suse.de>
Date: Fri Jun 13 16:41:06 2014 +0200
Reset signal-mask on re-exec to init=..
Process 1 (aka init) needs to be started with an empty signal mask.
That includes the process 1 that's started after the initrd is finished.
When the initrd is using systemd (as it does with dracut based initrds)
then it is systemd that calls the real init. Normally this is systemd
again, except when the user uses for instance "init=/bin/bash" on the
kernel command line.
(cherry picked from commit 5a85ca1cb622fda4a39c8a6f00dccea7f8a1e82a)
commit 5aef99701f6e9504750adf906160ce23cb9851e4
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 13:20:38 2014 +0200
tmpfiles: set up selinux label proeprly when creating fifos
(cherry picked from commit 45c196a76b2d883552c90807386d9bed40da822b)
Conflicts:
src/shared/util.c
commit 0da84688a4228368b2039a08337818dd431221ff
Author: Colin Ian King <colin.king at canonical.com>
Date: Thu Jun 12 16:41:41 2014 +0100
Fix spelling mistake, scirpt --> script
(cherry picked from commit 855d111304114e922b34b6c4bc2a0b08766c2668)
commit 3c96e9e0757281a04bb066c67fc5f509871e27b0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 13 19:05:22 2014 +0200
rpm: don't hardcode the binary paths in the macros, rely on $PATH
this gives us a little bit more freedom to move things around later on,
as we don't hardcode the systemd paths in old RPMs that shall work with
new systemds.
(cherry picked from commit 8cf7c96517c3688d29b30651adcda9e71e7fcb07)
commit 09220715e259bf23cbe33d497ed92259a9670320
Author: Andreas Henriksson <andreas at fatal.se>
Date: Fri Jun 13 18:48:18 2014 +0200
install: fix invalid free() in unit_file_mask()
int unit_file_mask(...) in ./src/shared/install.c calls
get_config_path(...) which can in 4 error cases return without setting
"ret", and thus "prefix" can be uninitialized when unit_file_mask(...)
finishes (which it does directly after the error is returned from
get_config_path(...)).
(cherry picked from commit 223217749e57996336d5730b0a28716cca56d45d)
commit e6e0462204a04517c6f31b7ca631d715c6ab04f8
Author: Andreas Henriksson <andreas at fatal.se>
Date: Fri Jun 13 18:48:21 2014 +0200
udev: fix invalid free() in enable_name_policy()
static bool enable_name_policy(...) in ./src/udev/net/link-config.c
calls proc_cmdline(...) to get "line" initialized, but
proc_cmdline(...) does not guarantee that atleast when both
conditions (detect_container(NULL) > 0) and
read_full_file(...) returned < 0.
(cherry picked from commit f8a0bb5285024b6ce372c3157e761e6543ebdcd2)
commit 3f4dbb254a7ca90dd025a5de24f0fbaf53a9342e
Author: Andreas Henriksson <andreas at fatal.se>
Date: Fri Jun 13 18:48:19 2014 +0200
core: fix invalid free() in killall()
static int killall(....) in ./src/core/killall.c tries to get "s"
initialized by calling get_process_comm(...) which calls
read_one_line_file(...) which if it fails will mean it is left
uninitialized.
It is then used in argument to strna(s) call where it is
dereferenced(!), in addition to nothing else initializing it before
the scope it is in finishes.
(cherry picked from commit 3e09eb5c83e56bc0184bd9d9c44f76047464f77c)
commit 89053aff0cc36dfcee6fda6e83b13f6f68c05a82
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Jun 12 22:50:04 2014 +0200
cryptsetup: check that password is not null
Beef up the assert to protect against passing null to strlen.
Found with scan-build.
(cherry picked from commit f268f57f6344d3a2ccf447352ff3ed1313c4a199)
commit 8f8fb5044e90f60e065c5bbceba21aab2986edd5
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Jun 12 14:59:53 2014 +0200
udev: assign group "input" to all input devices
(cherry picked from commit 3dff3e00e044e2d53c76fa842b9a4759d4a50e69)
commit 4bf7b81ac71311d2cd44b8a14d133f613a04a030
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Jun 11 17:09:11 2014 +0300
NEWS: fix directory name
(cherry picked from commit c54bed5d515771c21250b8e0c052cb6600e21d37)
commit ac0013190eb64a6528b56a09c29ba595f6ac19e4
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 18:42:38 2014 +0200
NEWS: add missing comment about the "floppy" group
(cherry picked from commit 4c0d13bdd5ef971a3003899064af1717c8960bee)
commit cd14eda3212f9109c98a77cd5fee4168010d80da
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 15:32:20 2014 +0200
NEWS: mention that resolved's resolv.conf fragment moved
commit 42a04ee69c7242377cd9eb39444352cd4deb4bb1
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 15:30:28 2014 +0200
build-sys: update library versions
commit dc1d6c02fcf55bb7dac918d0ed3bd3e2a3d67525
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 15:04:59 2014 +0200
NEWS: add contributor list for 214
commit 58e027023b47b32e42cf93dd4a629b869ee1ef25
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 14:58:32 2014 +0200
units: order network-online.target after network.target
There might be implementations around where the network-online logic
might not talk to any network configuration service (and thus not have
to wait for it), hence let's explicitly order network-online.target
after network.target to avoid any ambiguities.
commit 71449cafa1f3aecad6fc755ae5e571eddf0bbd02
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 11 14:04:28 2014 +0200
NEWS: update
commit 04e91da2cfdfb7153218be7a77c885f1c23d3fd7
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 13:31:51 2014 +0200
NEWS: prepare NEWS for 214
commit a21b4670d404ca4e55fef921f94a4259075882a9
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Tue Jun 10 23:29:30 2014 +0200
doc: specify kernel configs for cpushares
commit 96bf4ee2523c54d79d4de43e51b1577845ba54ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 11:35:42 2014 +0200
units: time-sync.target probably makes sense, is not just sysv compat
commit a4a878d04045b46fa9783664e3643a890b356790
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 11:33:02 2014 +0200
units: introduce network-pre.target as place to hook in firewalls
network-pre.target is a passive target that should be pulled in by
services that want to be executed before any network is configured (for
example: firewall scrips).
network-pre.target should be ordered before all network managemet
services (but not be pulled in by them).
network-pre.target should be order after all services that want to be
executed before any network is configured (and be pulled in by them).
commit 4196a3ead3cfb823670d225eefcb3e60e34c7d95
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 11 12:00:47 2014 +0200
NEWS: add section about udev locking
commit f31cf2b6d03a18e4f8f52214c1a3ffa9b3c97189
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 11 11:20:55 2014 +0200
udev: stop using "floppy" group
commit fc1d70af2101e16c9e6f3c5bfd5ab315ee9e6dae
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 10:36:13 2014 +0200
journald: create /run/log/journal with the correct access modes
commit 176f2acf8dee45fee832fd2ab07243f63783a238
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 10:23:16 2014 +0200
tmpfiles: don't allow read access to journal files to users not in systemd-journal
Also, don't apply access mode recursively to /var/log/journal/*/, since
that might be quite large, and should be correct anyway.
commit e90738c9bbf626be2d7f6a562ed427f4fc3ec238
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 10:15:51 2014 +0200
update TODO
commit 1b77b581ebc0a9fa7e372930b88e02b28d40f146
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 10:15:07 2014 +0200
tmpfiles: don't apply sgid and executable bit to journal files, only the directories they are contained in
commit abef3f91ce5fa9eeffceead885d2d2cabd9f1c96
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 10:14:07 2014 +0200
tmpfiles: add ability to mask access mode by pre-existing access mode on files/directories
This way it makes a lot more sense to specify an access mode for "Z"
lines.
commit 1ebab2103d8f82822318e708363c0cc2b930289e
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 09:20:17 2014 +0200
tmpfiles: if /var is mounted from tmpfs, we should adjust its access mode
commit 9855d6c7a161a80084cf94faa42333c48cbeac56
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 09:19:57 2014 +0200
tmpfiles: remove unnecessary function
commit 1910cd0e05f7661986680e0a4472f4e857f90787
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 01:37:35 2014 +0200
tmpfiles: when processing lines, always process prefixes before suffixes
If two lines refer to paths that are suffix and prefix of each other,
then always process the prefix first, the suffix second. In all other
cases strictly process rules in the order they appear in the files.
This makes creating /var/run as symlink to /run a lot more fun, since it
is automatically created first.
commit 7bc040fab802ff20eacd1745e393f1766c8c35d9
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 01:26:28 2014 +0200
tmpfiles: static variables populated immediately from the command line should be prefixed with arg_
commit 06c17c39a8345deef1ecff4dd5ef262f968c9be2
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 00:44:30 2014 +0200
nspawn: add new --tmpfs= option to mount a tmpfs on specific directories, such as /var
commit 9339db7187c61eb7ae7e6ffcddb2b2f2686954eb
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 00:12:21 2014 +0200
tmpfiles: always recreate the most basic directory structure in /var
Let's allow booting up with /var empty. Only create the most basic
directories to get to a working directory structure and symlink set in
/var.
commit 61147436a37ecf523cf3a08f10d139371a4a55ad
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 11 00:07:07 2014 +0200
update TODO
commit e73a03e059830a3df8fac811f923704311e93731
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 23:42:16 2014 +0200
tmpfiles: get rid of "m" lines, make them redundant by "z"
"m" so far has been a non-globbing version of "z". Since this makes it
quite redundant, let's get rid of it. Remove "m" from the man pages,
beef up "z" docs instead, and make "m" nothing more than a compatibility
alias for "z".
commit 849958d1ba3533c953fad46d4d41c0ec6e48316d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 23:02:40 2014 +0200
tmpfiles: add new "C" line for copying files or directories
commit cde684a2932d3c8cbb9b3374aec27a1c20ba75fa
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 22:50:46 2014 +0200
tmpfiles: various modernizations
commit 874f1947e33922f08c578696af5b628a0f67fec2
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 22:48:56 2014 +0200
label: when clearing selinux context, don't mangle errno
commit 62be1c9aab241b5eeabe1503a75ff5779bfb6d5b
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Tue Jun 10 20:00:33 2014 +0300
bus-proxy: fix misplaced s/system/session/
commit 34f750b7251936965045754e0f337cd5495ea25b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 19:15:06 2014 +0200
machine-id-setup: fix array size of parameters
Not that it really would have any effect on the generated code, but
let's not confuse people...
commit e683212f049ac5d3f95fb17300cfa2fd971f78f3
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Tue Jun 3 19:44:03 2014 +0200
log: honour the kernel's quiet cmdline argument
It was forgotten in b1e90ec515408aec2702522f6f68c4920b56375b
See https://bugs.freedesktop.org/show_bug.cgi?id=79582
commit 47a3fa0f7679521b85f7aeba9e245c52cc7bb2cb
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Jun 4 23:40:43 2014 +0200
udev: check the return value from udev_enumerate_scan_devices
The return value from udev_enumerate_scan_devices was stored but
never used. I assume this was meant to be checked.
commit d31e10967752dcc4ee3a8b16228f434c288b5a1b
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Sat May 31 22:28:17 2014 +0200
tests: do not use systemctl status --failed
since v212 calling systemctl status without arguments
will show a overall system state
commit 4cd2b2cf8ca585d15ebc859701b346658262b5bb
Author: Denis Tikhomirov <dvtikhomirov at gmail.com>
Date: Thu Jun 5 23:59:40 2014 +0400
backlight: Do not clamp brightness for LEDs
https://bugs.freedesktop.org/show_bug.cgi?id=77092
On Thu, Jun 05, 2014 at 08:37:20AM +0200, Lennart Poettering wrote:
> The patch is line-broken, please send an uncorrupted patch!
I am very sorry, I forgot that my client limits line width. I will use
mutt now on.
> clamp_brightness() clamps the brightness value to the range of the
> actual device. This is a recent addition that was added to deal with
> driver updates where the resolution is changed. I don't think this part
> should be dropped for LED devices. The clamp_brightness() call hence
> should be called unconditionally, however, internally it should use a
> different min_brightness value if something is an !backlight devices...
Thank you for explanation, this sounds very reasonable to me. Please,
see updated patch:
commit 51cb9d734a182c4892a6b31f58d75489a2ca432b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 18:52:28 2014 +0200
man: updates to the passive target section
commit 37287585b6ba9a55065c8f94458f6db3c0abe0af
Author: Thomas Blume <Thomas.Blume at suse.com>
Date: Fri Jun 6 16:36:45 2014 +0200
systemd-detect-virt: only discover Xen domU
The current vm detection lacks the distinction between Xen dom0 and Xen domU.
Both, dom0 and domU are running inside the hypervisor.
Therefore systemd-detect-virt and the ConditionVirtualization directive detect
dom0 as a virtual machine.
dom0 is not using virtual devices but is accessing the real hardware.
Therefore dom0 should be considered the virtualisation host and not a virtual
machine.
https://bugs.freedesktop.org/show_bug.cgi?id=77271
commit 299a55075d1bf478b9190191caefd5c1b934340d
Author: Mark Eichin <eichin at thok.org>
Date: Mon Jun 9 01:57:19 2014 -0400
man: Searching for an explanation of what a "slice unit" was, found this, felt compelled to send in fixes for the obvious typos
commit 13f8b8cbb466affdaeba2294ee7ab0f33015f356
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 17:56:17 2014 +0200
bus-proxy: properly index policy by uid/gid when parsing
commit 2e2b36084a98f9071fd178c6540ce57b2f577f8d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 10 15:46:32 2014 +0200
bus-proxy: read the right policy when running in user mode
commit 638ca89c53e2b897cfb3f627f4acbc7d09af2f4c
Author: Christian Hesse <mail at eworm.de>
Date: Tue Jun 10 15:51:15 2014 +0200
udev: really exclude device-mapper from block device ownership event locking
Arguments were wrong order, no?
This fixes commits:
e918a1b5a94f270186dca59156354acd2a596494
3d06f4183470d42361303086ed9dedd29c0ffc1b
commit 9a92e77e4325b995288ef7cac144ecbf969886df
Author: David Strauss <david at davidstrauss.net>
Date: Mon Jun 9 15:32:03 2014 -0700
man: clarify the effect of replace-irreversibly on future conflicting jobs
commit bfa501e150e05d6232d4d1fd7f881807a9924a41
Author: Dave Reisner <dreisner at archlinux.org>
Date: Mon Jun 9 08:48:21 2014 -0400
build: fix copypaste error in networkd-wait-online symlink
commit e76ae7ee960e837f855f104f000e2ef14790374e
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sun Jun 8 13:57:21 2014 +0200
bus-policy.c: use draw_special_char(DRAW_ARROW)
Lets allow LC_ALL=C without corrupted output
commit 2ba5d84c491d6a593f2c077c63dffb6319b9590d
Author: Colin Ian King <colin.king at canonical.com>
Date: Fri Jun 6 23:06:33 2014 +0100
Fix spelling mistake, proces -> process
commit 45f1386c9adf0e2892306e8949ca71f4a52a8d36
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed May 28 12:39:38 2014 -0400
nspawn: split long message into two lines
For names like /var/lib/container/something, the message
becomes quite long. Better to split it.
Also reword the message not to suggest that ^]^]^] only works
in the beginning.
commit 0c347259d3b5750caab1a7091cfef592aeff87d2
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Jun 7 16:22:28 2014 +0200
bus-proxyd: do not free NULL items
commit 817e224bbce3ed157817961ef19c80a250845a05
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu May 29 21:51:50 2014 +0200
Remove sysv parser from service.c
Parsing sysv files was moved to the sysv-generator in the previous commit.
This patch removes the sysv parsing from serivce.c.
Note that this patch drops the following now unused sysv-specific info
from service dump:
"SysV Init Script has LSB Header: (yes/no)"
"SysVEnabled: (yes/no)"
"SysVRunLevels: (levels)"
commit 95ed3294c632f5606327149f10cef1eb34422862
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri May 23 00:37:39 2014 +0200
Move handling of sysv initscripts to a generator
Reuses logic from service.c and the rc-local generator.
Note that this drops reading of chkconfig entirely. It also drops reading
runlevels from the LSB headers. The runlevels were only used to check for
runlevels outside of the normal 1-5 range and then add special dependencies
and settings. Special runlevels were dropped in the past so it seemed to be
unused code.
The generator does not know about non-generated units with a value set with
SysVStartPriority=. These are therefor not taken into account when converting
start priority to before/after.
commit 0e252f6b375af59eac9bd6d2fe8dd6ee2f51998d
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jun 6 15:10:20 2014 +0200
core: allow transient mount units
For now only What=, Options=, Type= are supported, and Where= is deduced
from the unit name.
commit e5a1c18d706c4d5e16100fe4fb8a07a80f2fa339
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Jun 6 23:29:09 2014 +0200
fix warnings
Prevent use of uninitialized variable and removed a now unused
cleanup function for freeaddrinfo
commit 445743035336bf9691d200b8417685186ef9b5f9
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 19:52:50 2014 +0200
bus-proxy: properly read user/group policy items
commit bcf3295d2b0d87caefad2e73d221aac080d0c11e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 19:41:24 2014 +0200
bus: add basic dbus1 policy parser
Enforcement is still missing, but at least we can parse it now.
commit 827bf3c5dd88c51080de159e071fcbe7ada3477c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 18:38:43 2014 +0200
update TODO
commit 2a0958d2d011b2debdb266144754bb5cdc4da65d
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 18:30:01 2014 +0200
sd-bus: don't allow creating message objects that are not attached to a bus
It seems unnecessary to support this, and we rather should avoid
allowing this at all, so that people don't program against this
sloppily and we end up remarshalling all the time...
commit 55152b6ede680b9ac947c49d7dfa31cd3abe594e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 16:20:33 2014 +0200
units: pull in time-sync.target from systemd-timedated.service
After all, that's what we document for time-sync.target in
systemd.special(5), hence let's follow our own suggestion.
commit d275b5296958446957e98ce61213f98519e11808
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Mon Jun 2 16:47:15 2014 +0300
man: fix references to sd_journal_cutoff_realtime_usec
commit dc17bcef197a0d5ee798cce59c40e4f5e85c24f6
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 14:51:07 2014 +0200
update TODO
commit 051be1f71c9ab82a88da8f33e95882aa386a5541
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 14:48:51 2014 +0200
namespace: cover /boot with ProtectSystem= again
Now that we properly exclude autofs mounts from ProtectSystem= we can
include it in the effect of ProtectSystem= again.
commit 3c52ad9237ead4fc26888348f3da74d896fb06ab
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 14:30:09 2014 +0200
units: fix minor typo
commit d6797c920e9eb70f46a893c00fdd9ecb86d15f84
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jun 6 11:42:25 2014 +0200
namespace: beef up read-only bind mount logic
Instead of blindly creating another bind mount for read-only mounts,
check if there's already one we can use, and if so, use it. Also,
recursively mark all submounts read-only too. Also, ignore autofs mounts
when remounting read-only unless they are already triggered.
commit c8835999c33c0443bf91e1a8fa6dd716a8ff0b0f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 21:37:40 2014 +0200
namespace: also include /root in ProtectHome=
/root can't really be autofs, and is also a home, directory, so cover it
with ProtectHome=.
commit 6d313367d9ef780560e117e886502a99fa220eac
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 21:35:35 2014 +0200
namespace: when setting up an inaccessible mount point, unmounting everything below
This has the benefit of not triggering any autofs mount points
unnecessarily.
commit c3544e8d2c2d870a2aff0944aff4ab7824b9ae6b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 21:35:15 2014 +0200
umount: modernizations
commit 34b42c9694650d99529f81a0c6416e673c503d18
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 19:38:00 2014 +0200
util: fix fd_cloexec(), fd_nonblock()
commit 6cfe2fde1cc919c2333a5749ea1cbc31fa757077
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 18:42:52 2014 +0200
core: introduce new Restart=on-abnormal setting
Restart=on-abnormal is similar to Restart=on-failure, but avoids
restarts on unclean exit codes (but still doing restarts on all
obviously unclean exits, such as timeouts, signals, coredumps, watchdog
timeouts).
Also see:
https://fedorahosted.org/fpc/ticket/191
commit 2d2ebaf5152cfc232aec61aad5138adc950f4b5c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 17:31:03 2014 +0200
update TODO
commit be8f4e9e8eb3b0c34a49c2e80a5c5b7dc6d175f0
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 17:05:18 2014 +0200
sd-daemon: introduce sd_pid_notify() and sd_pid_notifyf()
sd_pid_notify() operates like sd_notify(), however operates on a
different PID (for example the parent PID of a process).
Make use of this in systemd-notify, so that message are sent from the
PID specified with --pid= rather than the usually shortlived PID of
systemd-notify itself.
This should increase the likelyhood that PID 1 can identify the cgroup
that the notification message was sent from properly.
commit 03da8f9459b005d5515d2c34152d43bc63f64c79
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 16:13:22 2014 +0200
update TODO
commit fb69d7096da6baabe74be7db5f59b276129633c5
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 16:12:48 2014 +0200
socket-proxyd: port to asynchronous name resolution using sd-resolve
commit 9b476fabd247fc4c34d509b3c972c93ffec86a34
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 13:53:44 2014 +0200
update TODO
commit b27adf354a83ad25f4a209c0a6f7989ecab7b4e2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 13:31:25 2014 +0200
bus: make use of sd_bus_try_close() in exit-on-idle services
commit eec6022cf039e62233139000b9e95db943959e48
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 13:43:30 2014 +0200
sd-event: restore correct timeout behaviour
commit 945933e331794b695c85c29369266daa30a50947
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 12:23:41 2014 +0200
update TODO
commit a4152e3fe28b53b8919cc404dd7eca7ead1bf9bd
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 12:24:03 2014 +0200
kdbus: when uploading bus name policy, resolve users/groups out-of-process
It's not safe invoking NSS from PID 1, hence fork off worker processes
that upload the policy into the kernel for busnames.
commit 5331194c120520579eede9dba4bd9c3329629601
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 10:03:26 2014 +0200
core: don't include /boot in effect of ProtectSystem=
This would otherwise unconditionally trigger any /boot autofs mount,
which we probably should avoid.
ProtectSystem= will now only cover /usr and (optionally) /etc, both of
which cannot be autofs anyway.
ProtectHome will continue to cover /run/user and /home. The former
cannot be autofs either. /home could be, however is frequently enough
used (unlikey /boot) so that it isn't too problematic to simply trigger
it unconditionally via ProtectHome=.
commit 3900e5fdff688dc3c273f177d9d913b7389d5561
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jun 5 09:55:53 2014 +0200
socket: add SocketUser= and SocketGroup= for chown()ing sockets in the file system
This is relatively complex, as we cannot invoke NSS from PID 1, and thus
need to fork a helper process temporarily.
commit a8330cd118993c20629565684144e0cc0e2edabe
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 23:03:37 2014 +0200
core: make sure we properly parse ProtectHome= and ProtectSystem=
commit d0069261a71665a965b26d208dee098ea629cbbe
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Jun 4 15:03:08 2014 -0400
ycm: update flag blacklist
-Wdate-time isn't known to clang, and it seems to cause errors in
syntastic.
commit 512922f8b423eed093918f78461b7bf7c45592cb
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jun 4 21:29:08 2014 +0200
networkd: link - intialize mac address
Otherwise .netwrok matching on MAC address will not work.
Based on patch by Dave Reisner, and bug originally reported by Max Pray.
commit f598ac3e28b729dd0b1d0a881df3e16465687a2b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 18:58:05 2014 +0200
update TODO
commit 1b8689f94983b47bf190e77ddb03a8fc6af15fb3
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 18:07:55 2014 +0200
core: rename ReadOnlySystem= to ProtectSystem= and add a third value for also mounting /etc read-only
Also, rename ProtectedHome= to ProtectHome=, to simplify things a bit.
With this in place we now have two neat options ProtectSystem= and
ProtectHome= for protecting the OS itself (and optionally its
configuration), and for protecting the user's data.
commit 4c02dd7153f970244950b5e00f7bdfea8d2ff0be
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 17:55:14 2014 +0200
hwdb: fix case-sensitive match
commit 235c6e628199221b7885f159367614b7105547cf
Author: John <jpsinthemix at verizon.net>
Date: Wed Jun 4 17:45:42 2014 +0200
build-sys: accommodate gcc-4.9.0 link-time optimization (LTO) changes
systemd fails to build (symbols not found/resolved during cgls link step)
under gcc-4.9.0 due to link-time optimization (lto) changes, in particular
from gcc-4.9.0/NEWS:
+ When using a linker plugin, compiling with the -flto option
now generates slim objects files (.o) which only contain
intermediate language representation for LTO. Use
-ffat-lto-objects to create files which contain additionally
the object code. To generate static libraries suitable for LTO
processing, use gcc-ar and gcc-ranlib; to list symbols from a
slim object file use gcc-nm. (Requires that ar, ranlib and nm
have been compiled with plugin support.)
Both -flto and -ffat-lto-objects are now needed when building and linking
against static libs w/LTO.
commit c221efb2de9a9d8500c0c6baf943bff0d8f87e7f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 17:31:31 2014 +0200
update TODO
commit e06b6479a5dc471412f3a00f4a3d6bd5edb8904c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 17:21:18 2014 +0200
core: provide /dev/ptmx as symlink in PrivateDevices= execution environments
commit 82d252404a7ee6bd5f24482a0b50a8e91aa93257
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 16:59:13 2014 +0200
core: make sure PrivateDevices= makes /dev/log available
Now that we moved the actual syslog socket to
/run/systemd/journal/dev-log we can actually make /dev/log a symlink to
it, when PrivateDevices= is used, thus making syslog available to
services using PrivateDevices=.
commit 7e9f159ca78d4cedc8d9c3276e409a4653a6af69
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 16:53:15 2014 +0200
initctl: move /dev/initctl fifo into /run, replace it by symlink
With this change we have no fifos/sockets remaining in /dev.
commit 03ee5c38cb0da193dd08733fb4c0c2809cee6a99
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 16:37:02 2014 +0200
journald: move /dev/log socket to /run
This way we can make the socket also available for sandboxed apps that
have their own private /dev. They can now simply symlink the socket from
/dev.
commit 02ba8fb3357daf57f6120ac512fb464a4c623419
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 16:21:19 2014 +0200
udev: guard REREADPT by exclusive lock instead of O_EXCL
commit 811ba7a0e292eda0f2f470613cc28a97bda7ee66
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 16:19:00 2014 +0200
socket: add new Symlinks= option for socket units
With Symlinks= we can manage one or more symlinks to AF_UNIX or FIFO
nodes in the file system, with the same lifecycle as the socket itself.
This has two benefits: first, this allows us to remove /dev/log and
/dev/initctl from /dev, thus leaving only symlinks, device nodes and
directories in the /dev tree. More importantly however, this allows us
to move /dev/log out of /dev, while still making it accessible there, so
that PrivateDevices= can provide /dev/log too.
commit e9fc29f4ecc9509ccc02eb8a014341e26c0d7831
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 15:17:15 2014 +0200
udev: make sure we always get "change" for the disk
The kernel will return 0 for REREADPT when no partition table
is found, we have to send out "change" ourselves.
commit 10fab50a3091e0b819c3ddab5a7c07acf750c050
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 14:09:31 2014 +0200
udev: guard REREADP logic with open(O_ECXL)
commit ede344452a54e1c53f541cad12a06269a4fe96a9
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 13:30:24 2014 +0200
udev: try first re-reading the partition table
mounted partitions:
# dd if=/dev/zero of=/dev/sda bs=1 count=1
UDEV [4157.369250] change .../0:0:0:0/block/sda (block)
UDEV [4157.375059] change .../0:0:0:0/block/sda/sda1 (block)
UDEV [4157.397088] change .../0:0:0:0/block/sda/sda2 (block)
UDEV [4157.404842] change .../0:0:0:0/block/sda/sda4 (block)
unmounted partitions:
# dd if=/dev/zero of=/dev/sdb bs=1 count=1
UDEV [4163.450217] remove .../target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
UDEV [4163.593167] change .../target6:0:0/6:0:0:0/block/sdb (block)
UDEV [4163.713982] add .../target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
commit bd1fe7c79de3d81325afecb7ded46c1627f6c1df
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 13:10:43 2014 +0200
socket: optionally remove sockets/FIFOs in the file system after use
commit edf029b7fd9a5853a87d3ca99aac2922bb8a277e
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jun 4 12:34:23 2014 +0200
udev: link-config - fix mem leak
Reported by Kay.
commit f3a740a5dae792fb6b2d411022ce8c29ced1c3f1
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 12:16:28 2014 +0200
udev: synthesize "change' events for partitions when tools change the disk
This should make sure that fdisk-like programs will automatically
cause an update of all partitions, just like mkfs-like programs cause
an update of the partition.
commit 323a2f0b4b3db8f34c382e66f1940c1216bdfc9d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 11:17:32 2014 +0200
README: mention new required user systemd-bus-proxy
commit c343be283b7152554bac0c02493a4e1759c163f7
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 11:14:48 2014 +0200
fsck: disable "-l" option for now
https://bugs.freedesktop.org/show_bug.cgi?id=79576#c5
commit edd32000c806e4527c5f376d138f7bff07724c26
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 11:05:45 2014 +0200
udevd: inotify - modernizations
commit 6a010ac9e5aa585637b4b79df92f8ca5537faf71
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jun 4 09:55:40 2014 +0200
bus-proxy: drop priviliges if we can
Either become uid/gid of the client we have been forked for, or become
the "systemd-bus-proxy" user if the client was root. We retain
CAP_IPC_OWNER so that we can tell kdbus we are actually our own client.
commit 72543b361d653520b5bc3344bf4653385b61541e
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jun 4 01:41:15 2014 +0200
remove ReadOnlySystem and ProtectedHome from udevd and logind
logind needs access to /run/user/, udevd fails during early boot
with these settings
commit 417116f23432073162ebfcb286a7800846482eed
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jun 3 23:41:44 2014 +0200
core: add new ReadOnlySystem= and ProtectedHome= settings for service units
ReadOnlySystem= uses fs namespaces to mount /usr and /boot read-only for
a service.
ProtectedHome= uses fs namespaces to mount /home and /run/user
inaccessible or read-only for a service.
This patch also enables these settings for all our long-running services.
Together they should be good building block for a minimal service
sandbox, removing the ability for services to modify the operating
system or access the user's private data.
commit 85b5673b337048fa881a5afb1d00d1a7b95950fb
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jun 3 18:57:47 2014 +0200
networkd: split runtime config dir from state dir
Configuration will be in
root:root /run/systemd/network
and state will be in
systemd-network:systemd-network /run/systemd/netif
This matches what we do for logind's seat/session state.
commit e918a1b5a94f270186dca59156354acd2a596494
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jun 3 16:49:38 2014 +0200
udev: exclude device-mapper from block device ownership event locking
commit e5999b46792b859043a62431d426a280f26a16d7
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jun 3 11:46:25 2014 +0200
shared: capability - don't loop over the cap bits if they are all unset
commit ed617ec21117874094ae7eeca978e2897da36ba5
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jun 3 11:06:14 2014 +0200
shared: allow drop_priviliges to drop all privs
commit 3d06f4183470d42361303086ed9dedd29c0ffc1b
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jun 3 10:46:51 2014 +0200
udev: always close lock file descriptor
https://bugs.freedesktop.org/show_bug.cgi?id=79576
commit 63a070415db09f5b5bcc5c487bfc85dabe443dde
Author: Camilo Aguilar <camilo.aguilar at gmail.com>
Date: Wed May 28 14:43:37 2014 -0400
sd-dhcp-client: allways request broadcast
On systems which cannot receive unicast packets until its IP stack has been configured
we need to request broadcast packets. We are currently not able to reliably detect when
this is necessary, so set it unconditionally for now.
This is set on all packets, but the DHCP server will only broadcast the packets that are
necessary, and unicast the rest.
For more information please refer to this thread in CoreOS: https://github.com/coreos/bugs/issues/12
[tomegun: rephrased commit message]
commit 682265d5e2157882861b0091c6b81fa92699b72a
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jun 1 22:01:20 2014 +0100
resolved: run as unpriviliged "systemd-resolve" user
This service is not yet network facing, but let's prepare nonetheless.
Currently all caps are dropped, but some may need to be kept in the
future.
commit 0bbea466dcafc0ff51811a3bc451e983c02e63bf
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jun 3 01:05:13 2014 +0200
configure: networkd no longer requires kmod
Reported by Samuli Suominen.
commit bddfc8afd329ac68a23f66a3512d4e249af25191
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jun 2 21:50:50 2014 +0200
networkd: drop CAP_SYS_MODULE
Rely on modules being built-in or autoloaded on-demand.
As networkd is a network facing service, we want to limits its capabilities,
as much as possible. Also, we may not have CAP_SYS_MODULE in a container,
and we want networkd to work the same there.
Module autoloading does not always work, but should be fixed by the kernel
patch f98f89a0104454f35a: 'net: tunnels - enable module autoloading', which
is currently in net-next and which people may consider backporting if they
want tunneling support without compiling in the modules.
Early adopters may also use a module-load.d snippet and order
systemd-modules-load.service before networkd to force the module
loading of tunneling modules.
This sholud fix the various build issues people have reported.
commit a613382bbf4357ce13f17c988713b80172e091fb
Author: Susant Sahani <susant at redhat.com>
Date: Fri May 23 12:07:46 2014 +0530
networkd: introduce vti tunnel
This patch enables vti tunnel support.
example conf:
file : vti.netdev
[NetDev]
Name=vti-tun
Kind=vti
MTUBytes=1480
[Tunnel]
Local=X.X.X.X
Remote=X.X.X.X
file: vti.network
[Match]
Name=em1
[Network]
Tunnel=vti-tun
TODO:
Add more attributes for vti tunnel
IFLA_VTI_IKEY
IFLA_VTI_OKEY
commit a9f434cf00d1d36d9a013b9739efe69653dd7279
Author: Susant Sahani <susant at redhat.com>
Date: Thu May 22 11:59:19 2014 +0530
networkd: sit-tunnel add support for pmtudisc
This patch adds path of mtu discovery for sit tunnel.
To enable/disable DiscoverPathMTU is introduced.
Example configuration
file: sit.netdev
[NetDev]
Name=sit-tun
Kind=sit
MTUBytes=1480
[Tunnel]
DiscoverPathMTU=1
Local=X.X.X.X
Remote=X.X.X.X
By default pmtudisc is turned on , if DiscoverPathMTU
is missing from the config. To turn it off
DiscoverPathMTU=0 needs to be set.
commit 8bb088c5d44e566eb101e3f093d690aeb2a82285
Author: Susant Sahani <susant at redhat.com>
Date: Thu May 22 16:05:03 2014 +0530
networkd: introduce gre tunnel
This patch enables gre tunnel support.
example conf:
file : gre.netdev
[NetDev]
Name=gre-tun
Kind=gre
MTUBytes=1480
[Tunnel]
Local=X.X.X.X
Remote=X.X.X.X
file: gre.network
[Match]
Name=em1
[Network]
Tunnel=gre-tun
TODO:
Add more attributes for gre tunnel
IFLA_GRE_IFLAGS
IFLA_GRE_IFLAGS
IFLA_GRE_IKEY
IFLA_GRE_OKEY
commit 4d7ec9fc36780ecad244d0cc35db737fffe95b8b
Author: Susant Sahani <susant at redhat.com>
Date: Wed May 21 15:25:30 2014 +0530
networkd-netdev: fix white space
commit 10142d75cce10a92889cc11b7b1af07fecc78c5d
Author: Susant Sahani <susant at redhat.com>
Date: Wed May 21 14:01:04 2014 +0530
networkd: introduce veth device support
This patch adds veth device support to networkd.
Example conf:
File: veth.netdev
[NetDev]
Name=veth-test
Kind=veth
[Peer]
Name=veth-peer
commit b686acb27ea4de042320fa196cfb14e08f30165b
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jun 2 15:13:30 2014 +0200
resolved: move resolv.conf to resolved's runtime dir
commit 01501939d5f608541c1ea98fe2da84d841f9c9bc
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jun 2 15:05:05 2014 +0200
tmpfiles: systemd.conf - fix ownership of network directories
commit 9e3dbf6b2b99d0e16989d9cedb458729db5a60c3
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Jun 1 14:01:23 2014 -0400
keyboard: add Plantronics .Audio mute button
https://bugs.freedesktop.org/show_bug.cgi?id=79495
commit e15007bc0ee16a193684c2a9e60ded137eed5b0c
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jun 1 09:35:19 2014 +0200
README: document the new "systemd-network" user we require for systemd-networkd
commit d3cf48f4bd3d69a276f17aa7c910e0b35215caba
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jun 1 09:12:00 2014 +0200
networkd: run as unpriviliged "systemd-network" user
This allows us to run networkd mostly unpriviliged with the exception of
CAP_NET_* and CAP_SYS_MODULE. I'd really like to get rid of the latter
though...
commit 40393d5247c4cd28625fdccbc2b78f3406d44c45
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jun 1 08:54:09 2014 +0200
units: remove CAP_SYS_PTRACE capability from hostnamed/networkd
The ptrace capability was only necessary to detect virtualizations
environments. Since we changed the logic to determine this to not
require priviliges, there's no need to carry the CAP_SYS_PTRACE
capability anymore.
commit 966bff2660a13c82b70a1e1ac4f1a48bb33d7f7e
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jun 1 08:49:33 2014 +0200
timesyncd: split privilege dropping code out of timesyncd so that we can make use of it from other daemons too
This is preparation to make networkd work as unpriviliged user.
commit 267b3e41df5a2181f2911433539f81de2fa1511a
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Thu May 29 14:17:37 2014 -0400
tty-ask-password-agent: Do tell what directory we failed to open
commit a52ec8ed881537627869afa8f0486db7e20ce2db
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Fri May 30 13:16:56 2014 -0400
udev-builtin-keyboard: do tell on which device EVIOCSKEYCODE failed.
I am getting
"Error calling EVIOCSKEYCODE (scan code 0xc022d, key code 418): Invalid
argument", the error message does not tell on which specific device the
problem is, add that info.
commit 93f1a06374e335e8508d89e1bdaadf45be6ab777
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat May 31 21:36:23 2014 +0200
util: ignore_file should not allow files ending with '~'
ignore_file currently allows any file ending with '~' while it
seems that the opposite was intended:
a228a22fda4faa9ecb7c5a5e499980c8ae5d2a08
commit d8e40d62ab871a87fde421c4b246bb45bc3cbe2d
Author: Jonathan Liu <net147 at gmail.com>
Date: Thu May 29 01:17:25 2014 +1000
units: use KillMode=mixed for systemd-nspawn at .service
This causes the container to shut down cleanly when the service is
stopped.
commit 8d2a6145334257c8a9ceabc9dd52dff06cca818e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon May 26 23:03:11 2014 -0400
fsck: include device name in the message about missing fsck
commit fdd25311706bd32580ec4d43211cdf4665d2f9de
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 28 18:37:11 2014 +0800
virt: rework container detection logic
Instead of accessing /proc/1/environ directly, trying to read the
$container variable from it, let's make PID 1 save the contents of that
variable to /run/systemd/container. This allows us to detect containers
without the need for CAP_SYS_PTRACE, which allows us to drop it from a
number of daemons and from the file capabilities of systemd-detect-virt.
Also, don't consider chroot a container technology anymore. After all,
we don't consider file system namespaces container technology anymore,
and hence chroot() should be considered a container even less.
commit d2edfae0f9bdbecf6a8518e2a5bcf06f470e0d9e
Author: Kay Sievers <kay at vrfy.org>
Date: Wed May 28 17:36:40 2014 +0800
build-sys: use glibc's xattr support instead of requiring libattr
commit c9679c652b3c31f2510e8805d81630680ebc7e95
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 28 09:43:43 2014 +0800
NEWS: mention that we need a new user systemd-timesync
commit 8e7acf67b278e47cff0f849780365f8b1a824189
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 28 09:39:55 2014 +0800
NEWS: update NEWS file according to most recent changes in git
commit c779a44222161155c039a7fd2fd304c006590ac7
Author: Stef Walter <stef at thewalter.net>
Date: Wed Feb 12 09:46:31 2014 +0100
hostnamed: Fix the way that static and transient host names interact
It is almost always incorrect to allow DHCP or other sources of
transient host names to override an explicitly configured static host
name.
This commit changes things so that if a static host name is set, this
will override the transient host name (eg: provided via DHCP). Transient
host names can still be used to provide host names for machines that have
not been explicitly configured with a static host name.
The exception to this rule is if the static host name is set to
"localhost". In those cases we act as if no
static host name has been explicitly set.
As discussed elsewhere, systemd may want to have an fd based ownership
of the transient name. That part is not included in this commit.
commit 76d4bef384ba8d1fbf1a8d44237012ce6292e519
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 27 19:02:22 2014 +0800
build-sys: bump package and library version
commit 4eb20caa4d32eb69abbf6ece4c9f22d02196f956
Author: Tom Gundersen <teg at jklm.no>
Date: Sun May 25 17:34:17 2014 +0200
test-dhcp-option: fix memleak
commit 1f89214e6e990a0b552f6854f87f8514ca384956
Author: Thomas Bächler <thomas at archlinux.org>
Date: Fri Feb 21 11:55:24 2014 +0100
analyze/run: use bus_open_transport_systemd instead of bus_open_transport
Both systemd-analyze and systemd-run only access org.freedesktop.systemd1
on the bus. This patch allows using systemd-run --user and systemd-analyze
--user even if the user session's bus is not properly integrated with the
systemd user unit.
https://bugs.freedesktop.org/show_bug.cgi?id=79252 and other reports...
commit 000f6e5667eb4f73e137cbd0d7395a9f9db7728a
Author: Michal Sekletar <msekleta at redhat.com>
Date: Mon May 26 20:09:45 2014 +0200
Do not unescape unit names in [Install] section
https://bugs.freedesktop.org/show_bug.cgi?id=49316
commit 49804365ea1242456c9763058a59cf68479e07ea
Author: Kay Sievers <kay at vrfy.org>
Date: Mon May 26 09:30:21 2014 +0800
udev: keyboard - also hook into "change" events
Re-apply the keymaps when "udevadm trigger" is called. Hooking into
"add" only would just remove all keymap content from the udev database
instead of applying the new config.
commit e55edb22a71e67f01534d28f91c6aa27bba48fc1
Author: Martin Pitt <martin.pitt at ubuntu.com>
Date: Sun May 25 12:16:35 2014 +0200
keymap: Asus EeePC touchpad toggle key
Originally is KEY_TOUCHPAD_TOGGLE, but X.org can't handle the big key events,
so use the F21 convention.
https://bugs.freedesktop.org/show_bug.cgi?id=72807
commit d258d4967eb24122c2b1014d4e873f61b633f1d2
Author: Martin Pitt <martin.pitt at ubuntu.com>
Date: Sun May 25 11:57:22 2014 +0200
keymap: Add Lenovo Enhanced USB Keyboard
https://bugs.freedesktop.org/show_bug.cgi?id=77234
commit 4d40d39cdf127a83acf80cd0275e36b4a9a2a246
Author: Kay Sievers <kay at vrfy.org>
Date: Sun May 25 13:40:17 2014 +0800
timesysnc: reword network watching messages, and move resolver errors to debug
commit e866af3acc30fcd1183a028ea3ef552b7237cc55
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Sat May 24 14:58:55 2014 +0100
nspawn: make nspawn robust to container failure
nspawn and the container child use eventfd to wait and notify each other
that they are ready so the container setup can be completed.
However in its current form the wait/notify event ignore errors that
may especially affect the child (container).
On errors the child will jump to the "child_fail" label and terminate
with _exit(EXIT_FAILURE) without notifying the parent. Since the eventfd
is created without the "EFD_NONBLOCK" flag, this leaves the parent
blocking on the eventfd_read() call. The container can also be killed
at any moment before execv() and the parent will not receive
notifications.
We can fix this by using cheap mechanisms, the new high level eventfd
API and handle SIGCHLD signals:
* Keep the cheap eventfd and EFD_NONBLOCK flag.
* Introduce eventfd states for parent and child to sync.
Child notifies parent with EVENTFD_CHILD_SUCCEEDED on success or
EVENTFD_CHILD_FAILED on failure and before _exit(). This prevents the
parent from waiting on an event that will never come.
* If the child is killed before execv() or before notifying the parent,
we install a NOP handler for SIGCHLD which will interrupt blocking calls
with EINTR. This gives a chance to the parent to call wait() and
terminate in main().
* If there are no errors, parent will block SIGCHLD, restore default
handler and notify child which will do execv(), then parent will pass
control to process_pty() to do its magic.
This was exposed in part by:
https://bugs.freedesktop.org/show_bug.cgi?id=76193
Reported-by: Tobias Hunger tobias.hunger at gmail.com
commit 113cea802db444beab4783538d39966f707be788
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Sat May 24 14:58:54 2014 +0100
nspawn: move container wait logic into wait_for_container()
Move the container wait logic into its own wait_for_container() function
and add two status codes: CONTAINER_TERMINATED or CONTAINER_REBOOTED.
The status will be stored in its argument, this way we handle:
a) Return negative on failures.
b) Return zero on success and set the status to either
CONTAINER_REBOOTED or CONTAINER_TERMINATED.
These status codes are used to terminate nspawn or loop again in case of
CONTAINER_REBOOTED.
commit 6b56a65123720325ad5084b3e888bf6bfe89c148
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sat May 24 12:01:13 2014 +0300
test-path-util: add tests for path_make_relative()
commit 5216f599ff677a18016bfa1995d1f1e6a50e4a0b
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sat May 24 12:01:12 2014 +0300
path-util: fix missing terminating zero
There was this code:
if (to_path_len > 0)
memcpy(p, to_path, to_path_len);
That didn't add the terminating zero, so the resulting string was
corrupt if this code path was taken.
Using strcpy() instead of memcpy() solves this issue, and also
simplifies the code.
Previously there was special handling for shortening "../../" to
"../..", but that has now been replaced by a path_kill_slashes() call,
which also makes the result prettier in case the input contains
redundant slashes that would otherwise be copied to the result.
commit 590b6b9188e75ba46c42995984a1c2fa06adb6d6
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Sat May 24 00:10:36 2014 -0400
Use %m instead of strerror(errno) where appropiate
commit 552c693eea399e8e32ffb8c9302aaffeb520427d
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Sat May 24 12:16:42 2014 -0400
test-unit-file: skip if unit_file_get_list returns permission denied
commit 865cc19a34cd9a3ff98a7b3754747f4904f56faa
Author: Jonathan Boulle <jonathanboulle at gmail.com>
Date: Fri May 23 11:56:42 2014 -0700
Fix several small typos
commit 623538c3125fd0174513e4ef5b0e6163f4ea41ef
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat May 24 18:49:45 2014 -0400
man: describe sd_uid_get_display
commit 499b604b21c02ee64c8590a76d7900d64d7a5cb7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat May 24 18:45:04 2014 -0400
NEWS: mention that systemd-analyze uses new kernel release info
Also some small grammar updates.
commit 49e5c2b26aa72a7aa117c1e04763852a4b69136b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat May 24 18:23:06 2014 -0400
build-sys: fix typo in variable name
commit b9acccb3c9795c88f1eca003480035917ff3c896
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat May 24 18:02:16 2014 -0400
man: reword StartupCPUShares= description
Now that we have two options described in the same paragraph, we cannot
use singular anymore.
commit 68dd0956ef9d607e6ff9aea15883a2c290a33c2a
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 24 12:28:47 2014 +0200
NEWS
commit 69beda1f75070b36d0562e4050cd567bf2da5a87
Author: Kay Sievers <kay at vrfy.org>
Date: Sat May 24 14:50:17 2014 +0800
NEWS: update
commit f31faa119f98ab822adc6b804709b759b7d8dedf
Author: Reyad Attiyat <reyad.attiyat at gmail.com>
Date: Mon May 5 16:29:57 2014 -0500
detect-virt: Remove string for Microsoft virtualization detection in DMI vendor string array.
The string "Microsoft Corporation" is used in the Surface Tablet's DMI vendor ID.
https://bugs.freedesktop.org/show_bug.cgi?id=78312
commit 6936cd8926b6935364874b3701e86fe823e8c4ce
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat May 24 14:25:28 2014 +0800
NEWS: prepare NEWS update for 213
commit 359efc59fdc05e0b9b758b46cf6fb4cfecadbf64
Author: Kay Sievers <kay at vrfy.org>
Date: Sat May 24 11:39:47 2014 +0800
core: timer - switch to touch_file()
commit 82d115d9abf5b2666e5561450fbb17c9044a0b33
Author: Kay Sievers <kay at vrfy.org>
Date: Sat May 24 10:38:32 2014 +0800
timedated: refuse manual system time updates when automatic timesync is enabled
commit 609896125cb89cac2fcd5b80b532de97d7a64c0a
Author: Kay Sievers <kay at vrfy.org>
Date: Sat May 24 10:26:33 2014 +0800
clock-util: clock_[sg]et_time() -> clock_[sg]et_hwclock()
commit d636d376796ec61c1c14fa619c80d4ac62e08a19
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 21:31:46 2014 +0900
timesyncd: only update stamp file when we are synchronized
Create initial stamp file with compiled-in time to prevent bootups
with clocks in the future from storing invalid timestamps.
At shutdown, only update the timestamp if we got an authoritative
time to store.
commit c38dfac9ed6c1c3beb3dd88ebf82a13d1e561ff8
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 21:10:50 2014 +0900
shared: add touch_file() and let touch() always update timestamp
commit 24efb112451413c1013d5f7fe27d7e2cd407647a
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 21:21:38 2014 +0900
shared: rename hwclock.[ch] to clock-util.[ch]
commit 68baa8faf30f4e097bcf32d5b2d4880f85a0bdc7
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 24 00:46:30 2014 +0200
sd-network: avoid false positive compiler warning caused by LTO
Djalal Harouni <tixxdz at opendz.org>:
There is also this one genrated by LTO, IMO it's a false positive since
we do *check* for "lease" but the code is not consistent since in that
code path, "lease" is initialized to NULL in other places, except for
this one:
src/resolve/resolved-manager.c: In function 'manager_update_resolv_conf':
src/libsystemd-network/sd-dhcp-lease.c:67:18: warning: 'lease' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (lease->dns_size) {
^
src/network/sd-network.c:146:24: note: 'lease' was declared here
sd_dhcp_lease *lease;
^
commit 640ace4a8de907994a1b95f6d368c3e6a8fcf60f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:56:21 2014 +0900
socket: properly handle if our service vanished during runtime
commit f74df7baa27a41440bda92cced2ca8d63742113f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:52:53 2014 +0900
core: remove unused vars
commit bcd816bd349241bcd9c0bfbfd9cfe7b034ba351b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:49:12 2014 +0900
core: never consider failure when reading drop-ins fatal
drop-ins don't carry the main configuration of a unit, hence read them
if we can't, complain if we cannot, but don't fail.
commit 9f43a07f10639c5b41b45448e551e43914eefe32
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:47:46 2014 +0900
conf-parser: never consider it an error if we cannot load a drop-in file because it is missing
After all, we want to be able to boot with /etc empty one day...
commit 0afedd300cbe53bd5a54aefc81cede1eae9a9ab8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:22:48 2014 +0900
man: update URL refernce in daemon(7)
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019410.html
commit c4b834a4adfa4f858ed9fd07b300588ec1c3e20e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:15:56 2014 +0900
man: drop reference to file locking for PID file creation from daemon(7)
File locking is usually a bad idea, don't suggest using it.
commit 3de03738fc970496d2d3da668c72767a48ccc41b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 16:14:50 2014 +0900
update TODO
commit cdb2b9d05a2f3d649f47bd2ba24eb3fe30b52e92
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 15:19:46 2014 +0900
nspawn: restore journal directory is empty check
This undoes part of commit e6a4a517befe559adf6d1dbbadf425c3538849c9.
Instead of removing the error message about non-empty journal bind mount
directories, simply downgrade the message to a warning and proceed.
commit 97c52b838b45aee16ed9dad5a614a027f12d89ee
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 12:16:25 2014 +0900
update TODO
commit 9a0549093332880df47c4218209ce126b8586835
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 11:53:12 2014 +0900
cgroups: simplify CPUQuota= logic
Only accept cpu quota values in percentages, get rid of period
definition.
It's not clear whether the CFS period controllable per-cgroup even has a
future in the kernel, hence let's simplify all this, hardcode the period
to 100ms and only accept percentage based quota values.
commit 609e002e78e79ef2bf9d6a6ea22bda215abbbb14
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 11:44:03 2014 +0900
time-util: make sure USEC_PER_SEC and friends are actually of type usec_t
commit 558c6490b1df7f82a63d0a747fda7412c4d28b0c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 10:35:28 2014 +0900
logind: also escape external data when saving to /run
Better be safe than sorry...
commit eaa3b74dfd6395c8abaa8416d90dac5e0dc00e15
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 10:27:17 2014 +0900
update TODO
commit ca5405bb4fb1fabd1fe43e4ee23edf58914bdfae
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 10:26:23 2014 +0900
machine: escape fields we store in /run, so that they can be properly unescaped by parse_env_file()
commit 5052e3996d11033413372ee9d95df7f7a72b08a2
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 10:08:04 2014 +0900
build-sys: let libsystemd_network pull in libudev-internal.la
On Thu, May 22, 2014 at 9:53 AM, Jan Engelhardt <jengelh at inai.de> wrote:
>
> If libsystemd-network.la is relying on that udev function, it ought
> to specify libudev(-internal).la in libsystemd_network_la_LIBADD.
commit e6a4a517befe559adf6d1dbbadf425c3538849c9
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Fri Apr 11 01:45:52 2014 +0100
nspawn: allow to bind mount journal on top of a non empty container journal dentry
Currently if nspawn was called with --link-journal=host or
--link-journal=auto and the right /var/log/journal/machine-id/ exists
then the bind mount the subdirectory into the container might fail due
to the ~/mycontainer/var/log/journal/machine-id/ of the container not
being empty.
There is no reason to check if the container journal subdir is empty
since there will be a bind mount on top of it. The user asked for a bind
mount so give it.
Note: a next call with --link-journal=guest may fail due to the
/var/log/journal/machine-id/ on the host not being empty.
https://bugs.freedesktop.org/show_bug.cgi?id=76193
Reported-by: Tobias Hunger <tobias.hunger at gmail.com>
commit 2f14583f4757b934639da164a9fc20ab5da72f00
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 09:43:22 2014 +0900
build-sys: do not run symbol list export test for compat-only libs
The verbose link-time deprecation warnings are annoying. These libs
will never change or be extended; there is no need to test the list
of exported symbols.
commit ffcf82d250e95ea0a06a95d7adc72bfad6db51e3
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 09:41:32 2014 +0900
build-sys: fix linking order
./.libs/libsystemd-network.a(libsystemd_network_la-network-internal.o):
network-internal.c:function net_get_unique_predictable_data:
error: undefined reference to 'udev_device_get_property_value'
collect2: error: ld returned 1 exit status
commit 5590bbe52985f9f01dbafa740df9c74f2ea95ffa
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 09:06:17 2014 +0900
Makefile.am: fix whitespace
commit f884afb20674d3d1d223ae300e572a64cdff77f3
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue May 20 23:31:59 2014 +0200
build: put missing KMOD_CFLAGS into Makefile
The build fails if kmod is not in a default location.
commit 52ffb444cbab6fe5680901682f804c051ca624be
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 07:55:38 2014 +0900
timesyncd: order after tmpfiles to get a working network monitor
commit 637f421e5c6ae76f5c59c3badd809bf5f04fca80
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 07:50:03 2014 +0900
cgroups: always propagate controller membership to siblings, for all controllers
This is the behaviour the kernel cgroup rework exposes for all
controllers, hence let's do this already now for all cases.
commit db785129c9bce9294a118484cbc9bb6935ca34c2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 22 07:06:16 2014 +0900
cgroup: rework startup logic
Introduce a (unsigned long) -1 as "unset" state for cpu shares/block io
weights, and keep the startup unit set around all the time.
commit 95ae05c0e79868c22b3e8e6fbc53432786876730
Author: WaLyong Cho <walyong.cho at samsung.com>
Date: Fri May 16 00:09:34 2014 +0900
core: add startup resource control option
Similar to CPUShares= and BlockIOWeight= respectively. However only
assign the specified weight during startup. Each control group
attribute is re-assigned as weight by CPUShares=weight and
BlockIOWeight=weight after startup. If not CPUShares= or
BlockIOWeight= be specified, then the attribute is re-assigned to each
default attribute value. (default cpu.shares=1024, blkio.weight=1000)
If only CPUShares=weight or BlockIOWeight=weight be specified, then
that implies StartupCPUShares=weight and StartupBlockIOWeight=weight.
commit 7e4f9431caf4be39f39b64634f7708d7ca217d41
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 06:14:41 2014 +0900
Revert "update gitignore"
This reverts commit 351efdc7a4d900a1aebca517dd0b46b89cdd7306.
commit 424a87321427d255ac287f08a649e7808ae1641c
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 21 16:46:14 2014 +0200
sd-dhcp-client: factor out dhcp packet allocation
commit 23289745d737a57ecc040e18abadebaaf69dc8d1
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 21 16:31:28 2014 +0200
sd-dhcp: rely on FIONREAD working
This fallback will anyway never get tested, so rip it out.
commit 04b28be1a306fd2ba454d3ee333d63df71aa3873
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 21 15:55:02 2014 +0200
sd-dhcp: option_append - support falling back to 'sname' and 'file'
commit 2688ef60de061bf188c1153c58fb41a78919b97e
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 21 15:27:53 2014 +0200
sd-dhcp: make sure we can not fill options so much that there is no space for END
commit f5602be9da8ba0c0cc4865398aa7fa99ad447d56
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 21 11:28:13 2014 +0200
networkd: link - serialize link when addresses change
Thanks to Kay for tracking this down.
commit 351efdc7a4d900a1aebca517dd0b46b89cdd7306
Author: Kay Sievers <kay at vrfy.org>
Date: Wed May 21 18:21:02 2014 +0900
update gitignore
commit 7ba52a1283a0864b56947fa091048e8fe31a5899
Author: Kay Sievers <kay at vrfy.org>
Date: Wed May 21 18:19:24 2014 +0900
hwdb: update
commit 359a06aae9645d436e3d8ec5190bc76160f1de60
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 21 17:44:45 2014 +0900
util: fix a gcc compiler warning
commit a6cb8f870d68654a4297b8cb859068bca8e0f44c
Author: Kay Sievers <kay at vrfy.org>
Date: Wed May 21 10:35:17 2014 +0900
timesyncd: use STR_IN_SET()
commit a57a27b2effe92f749a565df4f1276376b2d6dbc
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 21 09:36:42 2014 +0900
timesyncd: fix english language typo
commit f7dc3ab9f43b67abcbd34062b9352ab42debec49
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 21 09:31:22 2014 +0900
logind: don't apply RemoveIPC= to system users
We shouldn't destroy IPC objects of system users on logout.
http://lists.freedesktop.org/archives/systemd-devel/2014-April/018373.html
This introduces SYSTEM_UID_MAX defined to the maximum UID of system
users. This value is determined compile-time, either as configure switch
or from /etc/login.defs. (We don't read that file at runtime, since this
is really a choice for a system builder, not the end user.)
While we are at it we then also update journald to use SYSTEM_UID_MAX
when we decide whether to split out log data for a specific client.
commit f5c0c00f400e6f1fa58c5faf8bc93ca9057d4463
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 20 22:02:49 2014 +0200
dhcp-lease: add support for parsing a few more dhcp options
commit e140ae58f1c10bbd75ef94afc07d07b82323b506
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 20 16:40:59 2014 +0200
dhcp-lease: refactor lease parsing
Use helper functions, and add some more sanity checking/asserts.
commit 32008a9636b3781112d349e77ee9e3279104b01c
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 20 13:07:19 2014 +0200
sd-dhcp: refactor parse_options
Similar to the previous patch, exchange a length and a pointer with only one offset variable.
Also fix the type of the options to be uint8_t[], rather than uint8_t*.
commit 20b958bf157dfb2f521b191ef7158035bcaa3003
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 20 11:04:50 2014 +0200
sd-dhcp: refactor dhcp_option_append
Store a pointer to the options in the DHCPMessage struct, and pass
this together with an offset around, rather than a uint8_t**.
This avoids us having to (re)compute the pointer; and changes
dhcp_option_append from adjusting both the pointer to the next
option and the remaining size of the options, to just adjusting
the current offset.
This makes the code a bit simpler to follow IMHO, but there should
be no functional change.
commit ece6e766cf89c8ec82ad135969dedf16cd7c1ee8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 21 00:04:11 2014 +0900
timesyncd: save clock to disk everytime we get an NTP fix, and bump clock at boot using this
This is useful to make sure the system clock stays monotonic even on
systems that lack an RTC.
Also, why we are at it, also use the systemd release time for bumping
the clock, since it's a slightly less bad than starting with jan 1st,
1970.
This also moves timesyncd into the early bootphase, in order to make
sure this initial bump is guaranteed to have finished by the time we
start real daemons which might write to the file systemd and thus
shouldn't leave 1970's timestamps all over the place...
commit 83be2c398589a3d64db5999cfd5527c5219bff46
Author: Harald Hoyer <harald at redhat.com>
Date: Tue May 20 12:25:16 2014 +0200
udevadm-settle: fixed return code for empty queue
If the udev queue is empty and "/run/udev/queue" does not exist,
"udevadm settle" would return with EXIT_FAILURE, because the inotify on
"/run/udev/queue" would fail with ENOENT.
This patch lets "udevadm settle" exit with EXIT_SUCCESS in this case.
commit 8477107dec4c89e2b85dfbf92051d96dd4f51480
Author: Susant Sahani <susant at redhat.com>
Date: Mon May 19 22:58:15 2014 +0200
TODO
IFLA_IPTUN_PMTUDISC
IFLA_IPTUN_FLAGS (ISA_TAP)
FLA_IPTUN_6RD_PREFIX
FLA_IPTUN_6RD_RELAY_PREFIX
IFLA_IPTUN_6RD_PREFIXLEN
IFLA_IPTUN_6RD_RELAY_PREFIXLEN
commit abf446af60bf1508c8093c5a0a6e4bf10365afb4
Author: Susant Sahani <susant at redhat.com>
Date: Thu May 15 09:46:40 2014 +0530
networkd: introduce sit tunnel
This patch introduces sit tunnel support to networkd
Example conf:
file: sit.netdev
[NetDev]
Name=sit-tun
Kind=sit
MTUBytes=1480
[Tunnel]
Local=10.65.223.238
Remote=10.65.223.239
file: sit.network
[Match]
Name=em1
[Network]
Tunnel=sit-tun
[tomegun: rebased]
commit 473dfd7bd5a74b4724818ab8a764c072335fd510
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 19 21:57:10 2014 +0200
networkd-wait-online: wait for addresses to be configured
commit e56f36380365b5825f0920b0f00a459edc0b2e84
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 19 20:46:54 2014 +0200
timesyncd: only attempt to connect when an address is configured
For now, we accept both link-local and routable addresses, maybe we want to
restrict ourselves to routable addresses only.
commit e375dcde7202d5df4e29f5258e0f8c2bcea4535c
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 19 20:44:21 2014 +0200
networkd/sd-network: extend operational states
Expose states 'degraded' or 'routable' if a link has a site/link-local or a routable address, respectively.
commit bcb7a07e0a785bda1eed658e984ff6b4a11cba9a
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 19 18:42:14 2014 +0200
networkd/sd-network: expose statically configured NTP servers
commit d408b506814a0f99590d946b3bf99b57ba78336b
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 19 16:14:10 2014 +0200
networkd: fixup static DNS serialization
commit 81d98a39eb4cca743beba27f4ae21a0e199df785
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 19 17:44:38 2014 +0200
sd-dhcp-lease/sd-network: modernization and fix leak
commit 091a364c802e34a58f3260c9cb5db9b75c62215c
Author: Tom Gundersen <teg at jklm.no>
Date: Sun May 18 22:10:48 2014 +0200
resolved: add daemon to manage resolv.conf
Also remove the equivalent functionality from networkd.
commit 7dbf94a9c4dcdf9b56384e66eb2652fb61da5063
Author: Tom Gundersen <teg at jklm.no>
Date: Sun May 18 22:05:09 2014 +0200
sd-network: expose DNS information
commit 7374f9d87c710bc1ae3bfdb78a191a31c72d29b9
Author: Tom Gundersen <teg at jklm.no>
Date: Sun May 18 22:04:14 2014 +0200
networkd: link - serialize DNS information
commit 09bee74d7a5f266b175baa19892fa84a9da51d7f
Author: Tom Gundersen <teg at jklm.no>
Date: Sun May 18 22:02:42 2014 +0200
sd-dhcp-lease: move in_addr (de)serialization to shared network code
commit a077b666cb883213fd85be21b518c2de54cb70b1
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 19 09:33:20 2014 +0900
sd-login: add C API to query primary session of a user
commit 952d32609f9bceee444fa2690afb4d28539b4b92
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 19 09:03:20 2014 +0900
logind: fix Display property of user objects
When we dropped support for creating a per-user to the "main" X11
display we stopped returning useful data in the "Display" user property.
With this change this is fixed and we again expose an appropriate
(graphical session) in the property that is useful as the "main" one, if
one is needed.
commit 2be6107255c3cf47bb5a9eddf2411953f29522e1
Author: Evan Nemerson <evan at nemerson.com>
Date: Sun May 18 00:25:06 2014 -0700
gudev: add missing (nullable) annotations on return values
commit 5c868fe2e980216b32588e16fa949ebb1f1f7b95
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 19 01:54:31 2014 +0900
update TODO
commit 7e690cefd4f09bb6370f91611f623adea841bdf4
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Wed Apr 23 23:03:35 2014 +0100
analyze: read host and system information from remote
This makes "systemd-analyze plot" read host information from remote.
While we are it show if this is a virtualized system.
https://bugs.freedesktop.org/show_bug.cgi?id=76498
Reported-by: Zach <zachcook1991 at gmail.com>
commit 9be3455f55a5aa445ae8ae69301c54d19111d2e4
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Wed Apr 23 23:03:34 2014 +0100
hostnamed: expose KernelVersion on the bus
This is needed to fix bug:
https://bugs.freedesktop.org/show_bug.cgi?id=76498
Reported-by: Zach <zachcook1991 at gmail.com>
commit 2a4d1ec1520c926b0160efe14142634e164ddc30
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Sun May 18 11:46:42 2014 -0400
build: Compile everything with PIE
commit cdc06ed7b6120c1049305fa7033f228ee9d86043
Author: David Strauss <david at davidstrauss.net>
Date: Mon Apr 28 12:08:32 2014 -0700
core: Filter by state behind the D-Bus API, not in the systemctl client.
commit d3152a09ac5804ec8603daee12f98cf03523cce0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 19 00:47:26 2014 +0900
machined: make sure GetMachineAddresses() is available for unprivileged processes
commit f1721625e7145977ba705e169580f2eb0002600c
Author: Nis Martensen <nis.martensen at web.de>
Date: Sun May 18 15:43:18 2014 +0200
fix spelling of privilege
commit 8891f695c71bd4c266d827c9aaedbbbbaf79d3eb
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun May 18 20:49:14 2014 +0900
update TODO
commit 878cd7e95ca303f9851d227a22d2022bd49944b0
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun May 18 20:48:53 2014 +0900
machined: add logic to query IP addresses of containers
commit 4eaea66423ca58dfd7cfd1099ed902d7c81d8622
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat May 17 21:32:13 2014 +0200
network: always take possession of host side of nspawn veth tunnels and do IPv4LL on them
commit a46fe318fccbbb3a7d629f95fc8fdbf4c33ed119
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat May 17 21:13:53 2014 +0200
update TODO
commit f864fd1b4b4546244dfb59bb59196598742fa29c
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat May 17 21:13:10 2014 +0200
timesyncd: make use of floating event sources for signal handling
commit 9f7115498bac670013f6b8923f2e12366fbd13a8
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat May 17 21:11:00 2014 +0200
timesyncd: enable watchdog support
commit a349eb10d3c3a31cd47198cbf08e4f0dfaffef1d
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat May 17 20:33:47 2014 +0200
timesyncd: run timesyncd as unpriviliged user "systemd-timesync" (but still with CAP_SYS_TIME)
commit 2bcc2523711e69e6daa744641e56ed8b78646676
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Sat May 17 16:09:08 2014 -0700
man: note that entire sections can now be ignored
Prefixing a section name with "X-" will cause it and all of its contents
to be silently ignored as of commit 342aea19.
commit 16cd414ba0ae3f420cbf30f1250e2573d2cafc51
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 21:25:46 2014 +0200
networkd: log - only log about udev initalization on debug level
commit 428fd0a75873d63b9d567f9db7871551d1ee0d62
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 00:28:22 2014 +0200
networkd: keep list of active addresses
commit 9505d3c6deda0452c22ab2ed47bca74b98d87a17
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 00:27:56 2014 +0200
networkd: IP address equality
commit ac976532063da637a70af3e39e0e1876267018ed
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 00:26:37 2014 +0200
TODO
commit bf9bead187802a52a1f376a03caee762d663e945
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri May 16 23:46:48 2014 +0200
udev: avoid use of uninitialized err
After 1ea972174baba40dbc80c51cbfc4edc49764b59b err is no longer
set unless we hit a special case. Initialize it to 0 and remove
a check that will never fail.
commit 4723e4b2a4ca7a7df449ab2377770301cce6abf7
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri May 16 23:37:54 2014 +0200
systemctl: more cleanup
This is followup on 05cae7f3431446236139434ee58a6275f3cb31e8
I think the intention was to use the newly introduced 'path'
variable in the inner loop instead of p.
commit 342aea195051633c69ba7b8c02c82a0e5f8cbde4
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Fri May 16 16:58:31 2014 -0700
conf-parser: silently ignore sections starting with "X-"
This allows external tools to keep additional unit information in a
separate section without scaring users with a big warning.
commit 24fe021ba517ab25081557837e618d8a65f0da2a
Author: Jason St. John <jstjohn at purdue.edu>
Date: Fri May 16 22:52:17 2014 -0400
man: logind.conf: fix grammar issues, unclear wording, and unclear default values
commit 24e29480bd800d3acdb3087e5863440bd0dd1d80
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Fri May 16 15:57:35 2014 -0700
hwdb: Update database of Bluetooth company identifiers
commit 2915234da0c9f2f8727d91f04857e7b72d6721a9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu May 15 23:27:59 2014 -0400
bus: fix unitialized variable access in error path
commit ee9b9875fd7e0ed6fbab3532944abf4c73353e42
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 20:14:23 2014 +0200
networkd: add missing files
commit 68d3acaccbd26ecfbc5881fea75968fa4abcc565
Author: Will Woods <wwoods at redhat.com>
Date: Fri Apr 25 18:26:34 2014 -0400
core: let selinux_setup() load policy more than once
When you switch-root into a new root that has SELinux policy, you're
supposed to to run selinux_init_load_policy() to set up SELinux and load
policy. Normally this gets handled by selinux_setup().
But if SELinux was already initialized, selinux_setup() skips loading
policy and returns 0. So if you load policy normally, and then you
switch-root to a new root that has new policy, selinux_setup() never
loads the new policy. What gives?
As far as I can tell, this check is an artifact of how selinux_setup()
worked when it was first written (see commit c4dcdb9 / systemd v12):
* when systemd starts, run selinux_setup()
* if selinux_setup() loads policy OK, restart systemd
So the "if policy already loaded, skip load and return 0" check was
there to prevent an infinite re-exec loop.
Modern systemd only calls selinux_setup() on initial load and after
switch-root, and selinux_setup() no longer restarts systemd, so we don't
need that check to guard against the infinite loop anymore.
So: this patch removes the "return 0", thus allowing selinux_setup() to
actually perform SELinux setup after switch-root.
We still want to check to see if SELinux is initialized, because if
selinux_init_load_policy() fails *but* SELinux is initialized that means
we still have (old) policy active. So we don't need to halt if
enforce=1.
commit d36d90933a832bd1e1eb8e3d16b3de73f91636b4
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Mon Apr 28 00:58:56 2014 +0300
logind: allow suspending if there are no displays
With proprietary graphics drivers, there won't be any 'drm' devices in
sysfs, so logind will never suspend the system upon closing the lid,
even if only one (internal) display is connected. This has been reported
by multiple users so far.
IMHO, it's better to suspend the system in this case for safety reasons,
to avoid having nvidia blob users' laptops overheat, for the same reason
that sleep inhibitors are overridden (LidSwitchIgnoreInhibited=yes).
commit 2dcf7ec6ec0c28297311108acba119cd6e055e64
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 19:44:22 2014 +0200
networkd: manager - read fallback DNS servers from config file
We will still use the compiled-in defaults if no DNS entry exists in the config file.
commit d4920165fe753751aaa274fdc568927d26284eea
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 19:43:12 2014 +0200
networkd: network - store DNS servers in List rather than Set
This way we preserve the order of preference.
commit 7b4d79683998a78d6e123dd034b1e06b74d8030b
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 17:34:43 2014 +0200
networkd: also add IPv6 DNS servers by default
commit 9f24adc288de142d6606fde3c5a5971613f3b6b9
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 19:37:19 2014 +0200
nspawn: properly format container_uuid in UUID format
http://lists.freedesktop.org/archives/systemd-devel/2014-April/018971.html
commit 8f18f550e7023948f199616fdfbb0f09711fd615
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Apr 30 19:53:13 2014 +0300
man: update journald rate limit defaults
This brings the man page back into sync with the actual code.
commit 66379f841ec6129e4c2c3a2bbc39a1f54000ed2f
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sat May 3 11:52:13 2014 +0300
path-lookup: don't hardcode .config
If XDG_CONFIG_HOME is set, then we should respect that.
commit 7cb9c51ce81818c200f27de4db4a4076cbe4265b
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sat May 3 11:52:12 2014 +0300
path-util: add path_make_relative()
In user_dirs() in path-lookup.c, I want to replace this:
symlink("../../../.config/systemd/user", data_home);
with
symlink(config_home, data_home);
to avoid hardcoding .config when XDG_CONFIG_HOME is set.
The problem is that config_home is an absolute path, and it's better
to make the symlink relative. path_make_relative() is an utility
function that converts an absolute path into a relative one.
commit f1f0198cb61a3398557cc9ec596e1e90ac731ed3
Author: Holger Hans Peter Freyther <holger at moiji-mobile.com>
Date: Thu May 15 19:07:43 2014 +0200
fsck: Allow to specify the fsck repair option in the cmdline
Some unattended systems do not have a console attached and entering
the default rescue mode will not be too helpful. Allow to specify
the "-y" option to attempt to fix all filesystem errors.
Manually verified by downloading an image.gz of e2fsprogs, using
losetup and running systemd-fsck on the loop device and varying
the fsck.repair=preen|yes|no option.
commit e16cb2e4efaba83f47da8355adc65fd83bbe8327
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 15:24:09 2014 +0200
networkd: hardcode a set of default dns servers
Similarly to NTP servers, this can be set at compile-time.
commit 332bc31992acffc6f32e194c0122e01607bd0e27
Author: Alison Chaiken <alison_chaiken at mentor.com>
Date: Fri May 16 09:25:53 2014 +0200
man: readahead: fix cmdline switch inconsistency between readahead.c and docs
Source code has "files-max" and XML has --max-files.
commit a8c73b860c04a6feb1d3edb15b283f3bb3dde799
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 17:07:51 2014 +0200
readahead: modernizations
commit 851fafe587087a52a556aea020546e1d229ff3b0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 16:51:56 2014 +0200
man: fix some minor language typos
commit 446883528524429283626208928b51f49f28f810
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 16:51:42 2014 +0200
build-sys: at configure check for verifying that ln supports --relative
commit c5abff73040a4fadd8ddd39d00eeb43ae3b62f6c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 15:56:44 2014 +0200
network: always create /run/systemd/network/links
This ways the networkd client library should work even if networkd is
not running.
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019242.html
commit 7da489e630d1c608179d7aea66342c0ec5440932
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 14:48:58 2014 +0200
Revert "networkd: order after udev kernel socket"
This reverts commit a555350d47c4b70d716a63424933b34902c98300.
This did not fix the problem, just made it harder to hit.
commit 3c4cb0645c8e1e2ae37d775da8e5201fa06da9cf
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 14:47:43 2014 +0200
networkd: log the initialization status of links
commit 8f5675cc75051f9c38f6093ea354aab6a17aed43
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 16 00:26:37 2014 +0200
TODO
commit 3d94b7870c991701a439bb7862624c813bc9aeed
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 15 23:14:52 2014 +0200
networkd: fix typo
commit 3d3d425547a3f38473fcf8737b85dfebb630479d
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 15 20:10:33 2014 +0200
networkd: rename Address and Route list fields
commit 15a224e06c412672e2079656917bcab04ad80f02
Author: Kay Sievers <kay at vrfy.org>
Date: Fri May 16 01:27:57 2014 +0200
timesyncd: fix typo in comment
commit 33169701b0640d3629d4c36cf8c71dc26d2cb7e1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 01:33:22 2014 +0200
man: clarify that the ExecReload= command should be synchronous
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019054.html
commit 9bdb98c59451ed090f8d35d470a54710f389ce71
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 01:15:03 2014 +0200
core: make sure to serialize jobs for all units
Previously we wouldn't serialize jobs for units that themselves have
nothing to serialize.
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019051.html
commit 2b1c3767515672dfd0f5e0a9c9d7ac3a16a6a361
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 16 00:23:26 2014 +0200
Update TODO
commit 59a9fce47b3304bc9ce5d31b04ade5447b3910a4
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 15 20:50:02 2014 +0200
timesyncd: fix error path return value
https://bugs.freedesktop.org/show_bug.cgi?id=78752
commit e3ad07d21c3592525ee2f4760ea114bbaa9752a9
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 18:55:19 2014 +0200
timesyncd: limit capabilities to CAP_SYS_TIME
commit 679be2a74241a70028438217bace423a1a45faa6
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Tue May 13 19:35:20 2014 -0400
network: fix build failure, missing KMOD_XXX flags
- Add KMOD_CFLAGS and KMOD_LIBS where appropiate
- networkd now requires kmod. make --disable-kmod --enable-networkd
to raise an error.
commit 301f9684e6465df5d0590f6c571fe3229ded966d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 18:30:07 2014 +0200
logind: bring polkit policy for hibernate in line with suspend/poweroff/reboot
THere's no reason why hibernate should be better protected then
suspendor poweroff, so sync the policies.
commit 987efa17dd5c9be156d8f49ddd942df20a72dcb1
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 15 17:43:14 2014 +0200
networkd: logging - align messages
commit 5261692fe5a4ac82f9783d57a07b0a4786dc01ab
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 15 15:54:28 2014 +0200
networkd: log ifindices when links and netdevs are added
commit af4e9e2c563047d524b207e0e3d6816385693a16
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 15 15:48:37 2014 +0200
networkd: rename NetDev variable for consistency with Link
commit 7e28adeb63818ee96dac015c0766be461e13fb64
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:54:32 2014 +0200
sd-bus: make sure we properly handle NULL callback functions
commit b7a2bd82702a30e8f61097235515766df21e74b4
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:48:28 2014 +0200
selinux: fix build for non-selinux systems
commit b98490f7dc8372bcd3fa6dd54e3b62b6e365b609
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:42:39 2014 +0200
sd-bus: fix an assert when running in kdbus mode
commit f2e2415d694a21f43f79038cdc644c3dc029d651
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:31:14 2014 +0200
resolve: fix copy/paste error
commit 9e7e9a6524a36be94d4c570eed324f46e5270240
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:26:02 2014 +0200
sd-bus: don't hit assert when installing match
commit f27e2d8c0c0c18d5a1be62c87ea89fcd4894fffa
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:25:46 2014 +0200
update TODO
commit 1b64f8382956cdd9a2afc50a7ab638529acb912e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 17:08:24 2014 +0200
sd-bus: always keep slot reference while dispatching callback
Also, make sure we automatically destroy reply callbacks that are
floating.
commit 4a134c4903dbf6ef6c6ad55780643a5dd816d349
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 16:34:38 2014 +0200
sd-resolve: add "floating" resolve queries
Same story as for sd-bus and sd-event: allow passing NULL to store query
in in which case the query is freed automatically.
commit a71fe8b8aee1cb78c4d8c56eeb234743f64e4b4d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 01:55:18 2014 +0200
sd-event: introduce concept of "floating" event sources
These are the counterpart of "floating" bus slots, i.e. event sources
that are bound to the lifetime of the event object itself, and thus
don't require an explicit reference to be kept.
commit 574634bcacb01efe15ca2742effd461a5b7afb5f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue May 13 23:22:13 2014 +0200
core: close socket fds asynchronously
http://lists.freedesktop.org/archives/systemd-devel/2014-April/018928.html
commit 05cae7f3431446236139434ee58a6275f3cb31e8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 24 17:23:38 2014 +0200
systemctl: small cleanup
commit 058fb319964e739f3e5afa51ced3d1e25653a3f6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed May 14 09:44:19 2014 -0400
readahead: add test to show fs_on_ssd() result
commit 5ea846cc5197682d07ee46398996a8c3ccfbcc38
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun May 11 08:34:26 2014 -0400
networkd, build-sys: spelling fix
commit 4e595329a93ed190795c2e24bf132d5028ec6a72
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 17 22:12:25 2014 -0400
Make sure that keys are properly removed from hashmap
This is a speculative fix for https://bugzilla.redhat.com/show_bug.cgi?id=1088865.
Even though I cannot find a code path that where this would be
an issue, for consistency, if we assume that cgroup_path might have
been set before we got to unit_deserialize, we should make sure that
the unit is removed from the hashmap before we free the key. This seems
to be the only place where the key could be prematurely freed, leading to
hashmap corruption.
commit de0671ee7fe465e108f62dcbbbe9366f81dd9e9a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Apr 25 07:45:15 2014 -0400
Remove unnecessary casts in printfs
No functional change expected :)
commit 12ed81d9c88406234c20e9261ae8c8b992d8bc4d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 24 01:44:10 2014 -0400
Make systemctl --root look for files in the proper places
Running systemctl enable/disable/set-default/... with the --root
option under strace reveals that it accessed various files and
directories in the main fs, and not underneath the specified root.
This can lead to correct results only when the layout and
configuration in the container are identical, which often is not the
case. Fix this by adding the specified root to all file access
operations.
This patch does not handle some corner cases: symlinks which point
outside of the specified root might be interpreted differently than
they would be by the kernel if the specified root was the real root.
But systemctl does not create such symlinks by itself, and I think
this is enough of a corner case not to be worth the additional
complexity of reimplementing link chasing in systemd.
Also, simplify the code in a few places and remove an hypothetical
memory leak on error.
commit 62b002337727093c21d020c730bd65971f7783a7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Apr 21 19:17:40 2014 -0400
shared/install: do not prefix created symlink with root path
Before: /var/tmp/inst1//etc/systemd/system/default.target -> /var/tmp/inst1//usr/lib/systemd/system/graphical.target
After: /var/tmp/inst1/etc/systemd/system/default.target -> /usr/lib/systemd/system/graphical.target
commit 1e89266b761a80da2cfc1b6e7a2a80a1855dcf7a
Author: Eelco Dolstra <eelco.dolstra at logicblox.com>
Date: Thu May 15 13:11:00 2014 +0200
Fix typos in systemctl manpage
commit 1ea972174baba40dbc80c51cbfc4edc49764b59b
Author: Kay Sievers <kay at vrfy.org>
Date: Wed May 14 00:34:49 2014 +0200
udev: do not skip the execution of RUN when renaming a network device fails
commit 19befb2d5fc087f96e40ddc432b2cc9385666209
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 01:15:30 2014 +0200
sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables attached to a bus connection
This makes callback behaviour more like sd-event or sd-resolve, and
creates proper object for unregistering callbacks.
Taking the refernce to the slot is optional. If not taken life time of
the slot will be bound to the underlying bus object (or in the case of
an async call until the reply has been recieved).
commit 9a78148e40402b44f361f4fbf63bb97a21aeac0b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 00:44:29 2014 +0200
sd-event: reorder header slightly
commit c582a3b3e8d263defbda98ecff793431a4cffa93
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu May 15 00:43:44 2014 +0200
hashmap: add hashmap_remove2() to remove item from hashtable and return both value and key
commit 4f4f70361a64957c45a2d8f40bfb04c77b454697
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed May 14 22:44:45 2014 +0200
core: no need to pass bus object to selinux access check calls anymore
commit 04552566fa357d3029f06b66690dc28752522e10
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 19:15:36 2014 +0200
bus: add userdata API for bus name tracker objects
commit e30bb6b53b0ae1d1da99c52266d9dec8c6ba0ae4
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 14 22:03:14 2014 +0200
core: sysvcompat - avoid repeated function call
commit 0404c609f399b2092a3de52eef9d75b0dc12e94c
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 12 21:26:54 2014 +0200
core: sysvcompat - $network should be equivalent to network-online, rather than network target
Most likely the facility needed is actual connectivity, rather than whether or not the
network managment daemon is running.
We also need to explicitly pull in the network-online.target, as it is not active by
default.
This means {systemd-networkd,NetworkManager}-wait-online.service, can be enabled by default
as part of network-online.target, and only delay boot when some service actively pulls it in.
See: <https://bugzilla.gnome.org/show_bug.cgi?id=728965>
Cc: Pavel Å imerda <psimerda at redhat.com>
Cc: Michal Sekletar <msekleta at redhat.com>
commit e0dd92729e68e0005866a890d8209ddcf3568805
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Tue May 13 20:08:18 2014 +0200
shared: add ring buffer
New "struct ring" object that implements a basic ring buffer for arbitrary
byte-streams. A new basic runtime test is also added.
This will be needed for our pty helpers for systemd-console and friends.
commit 625e870b4fb7ff4caf4d8a4614e9bda7c174b291
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Tue May 13 19:47:58 2014 +0200
shared: add ALIGN_POWER2 macro
Sounds easy, turns out to be horrible to implement: ALIGN_POWER2 returns
the next higher power of 2. clz(0) is undefined, same is true for
left-shift-overflows, yey, C rocks!
commit ead349509e325aad720bb0349521a9e56e2ac7c0
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 13 16:40:53 2014 +0200
replace more dup() by F_DUPFD_CLOEXEC
commit 85c08dc013f9f99b58bc9b79284af0b35304237b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 13 16:35:34 2014 +0200
pam_systemd: use F_DUPFD_CLOEXEC when dupping session fds
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019034.html
commit 1514d70819246df8d1cd1388216ef91d8276fd52
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 13 12:23:14 2014 +0200
udev: rename netif - properly break lines in kmsg
Before:
30,997,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6systemd-udevd[439]: renamed network interface wlan0 to wlp3s0
30,998,1175077801,c;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6
After:
30,834,4553484,-;systemd-udevd[439]: renamed network interface wwan0 to wwp0s20u4i6
30,835,4732949,-;systemd-udevd[439]: renamed network interface wlan0 to wlp3s0
30,988,1175077801,-;systemd-udevd[2345]: renamed network interface wwan0 to wwp0s20u4i6
commit 09681374393d74d9d6c92e44f9e6fa091ad61555
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 13 09:39:03 2014 +0200
timesyncd: start after networkd
This is needed for the network monitor to work (as it requires networkd to set up the correct directories first).
commit 9ae702110457a555ffc6ff7b59e203ead067db66
Author: Susant Sahani <susant at redhat.com>
Date: Fri May 2 23:29:56 2014 +0530
networkd-ipip-tunnel: add support ttl
Add support for ipip tunnel ttl.
commit 3eb94c9e9e25586fa8ac93545810b87ce9241363
Author: Susant Sahani <susant at redhat.com>
Date: Thu May 1 16:16:55 2014 +0530
networkd: Add todo patch kernel for tunnel module alias
Add to todo :
1. Patch kernel to support module alias for tunnel device
2. Remove libkmod dependency from networkd
commit 0b44d8c3d7dfadb60b30c9339b18c4cc1617b51b
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 12 17:11:13 2014 +0200
networkd: manager - don't leak kmod context
Also, keep the kmod_new internal to networkd-manager.c
commit 7c8ec321e7b6fd97a6eb4b9a3daa16c51b97a74a
Author: Tom Gundersen <teg at jklm.no>
Date: Mon May 12 17:37:52 2014 +0200
networkd: unit - add cap to load modules
Remember to drop this when the kernel gains autoloading for all netdev kinds.
commit 7951dea20911969287878e6897b3eca348721ade
Author: Susant Sahani <susant at redhat.com>
Date: Mon May 12 10:48:24 2014 +0530
networkd: introduce ipip tunnel
This patch enables basic ipip tunnel support.
It works with kernel module ipip
example conf:
file: ipip.netdev
[NetDev]
Name=ipip-tun
Kind=ipip
MTUBytes=1480
[Tunnel]
Local=192.168.223.238
Remote=192.169.224.239
TTL=64
file: ipip.network
[Match]
Name=em1
[Network]
Tunnel=ipip-tun
[tomegun:
- drop unused variable
- take ref when enslaving]
commit 1727a595225132eb73ec134b6979d9c713b42e8c
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Mon May 12 09:26:16 2014 +0200
job: always add waiting jobs to run queue during coldplug
commit 20a83d7bf was not equivalent to the original bug fix proposed by
Michal Sekletar <msekleta at redhat.com>. The committed version only added
the job to the run queue if the job had a timeout, which most jobs do
not have. Just re-ordering the code gets us the intended functionality
commit fbbeb65a93e2f90f6576001b69def877cd98722d
Author: Tom Gundersen <teg at jklm.no>
Date: Sun May 11 13:58:18 2014 +0200
networkd: get preexiting addresses when a link is added
commit 2e9f08eaf11fdb9c702058524f634eb13298a966
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 19:39:03 2014 +0200
networkd: listen for address changes
This is proof-of-concept only, as we only log the changes but don't do anything
with it.
commit 8fe65c03fce8739c0799231e46a3ad99ec53deb3
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 20:16:10 2014 +0200
rtnl: message - fix check for broadcast messages
commit 66269b05cf31ef5d8f83a7150c314bf35ee8a35e
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 20:15:52 2014 +0200
rtnl: message - read group membership of incoming messages
commit 26349add97c8e9bfd26f2f16d61dd80a324f504e
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 19:55:00 2014 +0200
rtnl: message - verify that we read the pending message size from the kernel
Reuse the auth-checking for both the peek and the real read.
commit 127dc4ea9487397b1ab70447e2f44d091e44ab5f
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 19:40:11 2014 +0200
rtnl: message - move code around
No functional change.
commit 897e184c7d54156357fd204beafe06ab9bd0341a
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 19:38:32 2014 +0200
rtnl: change from bitmask to enum for rtnl groups
The bitmask is deprecated in the kernel, so move to the new interface. At the moment
this does not make a difference for us, but it avoids having to change the API in the future.
commit 389cc5f74368a18fd5991e4647e7ba86319c473f
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 16:08:03 2014 +0200
networkd: link - redo flag change logging
Make the logging less verbose by only printing all the changed flags on one line,
at the same time make it more complete by supporting all flags currently supported
by the kernel.
We still fall back to printing the raw flags in case we get something we do not recognize
This may be useful when running on new kernels.
commit f4e884dd1c4cc4bc6d5f068f96b14ceda46f3962
Author: Tom Gundersen <teg at jklm.no>
Date: Sat May 10 16:06:23 2014 +0200
sd-rtnl: message - add support for getting prefixlen from address messages
commit 31d0ac36c62c9ed9646fb478b9d71cc2ecc3e55c
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 18:05:42 2014 +0200
networkd: network - fix leak
commit 86e6e5d1b4e78d62d1a45539c1de141bc5e839aa
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 18:02:14 2014 +0200
networkd: manager - initialize variables
commit 5e273efec5fcf60ddb55e6bc0aaa850cb1be86c6
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 18:00:20 2014 +0200
networkd: netdev - rephrase logging message a bit
Make it fit with what is logged from the link.
commit 4d473d5dded03d3b682dc389d610bb6b2db6e5f7
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 17:59:20 2014 +0200
networkd: manager - refactor link tracking a bit
commit 5bb75bc745557d5141066dee796b329507b0c634
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat May 10 03:44:25 2014 +0200
systemctl: return an error code is status fails
This got lost in the refactoring in f74294c1dabb4.
Also make sure that the return code corresponds to the *first* failure,
not the last.
https://lists.fedoraproject.org/pipermail/devel/2014-May/199080.html
commit b90b025af151eb4e07121f86495d9362e54b3455
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 14:23:17 2014 +0200
networkd: link - don't log errors when missing routes/addresses are dropped
We were ignoring the wrong errno.
commit 7619683b46bddcf753786fd20581322da9825f99
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 12:11:15 2014 +0200
networkd: link - handle links coming back to life
When enslaving devices, we may receieve DELLINK/NEWLINK for the same ifindex,
let's not be confused by this.
commit d9c67ea112724e271c39553d966eae612e272e34
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 12:20:21 2014 +0200
networkd: reorder bonding and bridging
A link should only ever be part of one, but if we accidentally do both, let's do it
in the right order so the failure is more obvious in the logs.
commit 699370c98d37e4b373795f62cba9ff7bade5f2a1
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 9 00:26:22 2014 +0200
sd-dhcp-client: improve logging when stopping client
'Requested by user' was confusing, just drop it.
commit f22364691bafc834a41cbe106f73f3da1a78d57f
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 18:55:11 2014 +0200
networkd: manager - drop links and netdevs when we receive DELLINK
commit 37ebeb77cf94ef0222cbe3b19eaad8a0a53702f1
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 21:08:12 2014 +0200
networkd: netdev - drop if creation fails
This ensures that all links waiting to be enslaved are notified that the netdev does not exist.
commit 370e9930c3260cc58984ec70e44b1e2ab7676496
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 20:50:05 2014 +0200
networkd: link - introduce LINGER state and link_drop()
We need the LINGER state in case we still have references to the link after it has been dropped.
commit 2cc7e981af27b12a6a3d4f08728281febeb450c9
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 20:42:22 2014 +0200
networkd: netdev - introduce LINGER state and netdev_drop()
We need the LINGER state in case we still have references to the netdev after it has been dropped.
commit 59cb64e6253e445c78b9e78be5e27bae0015ea38
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 20:40:56 2014 +0200
networkd: netdev - cancel all callbacks when freeing
This notifies the link that the netdev no longer exists.
commit b226d99b044222739dccfa9cf9f7a9d79576c407
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 19:46:06 2014 +0200
networkd: link - take refcounts on links
We need to take a refcount on the link whenever we expect a callback. The exceptions
are the ipv4ll/dhcp clients as their lifetimes are guaranteed to be shorter than that
of the link.
commit 47e2dc3168cb0509d8d61f5dbeffaa3c252685b5
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 19:28:17 2014 +0200
networkd: network - do reference counting on netdevs
commit 69a93e7db47addc4495a6ec9dc0fc74092a6ebee
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 19:22:53 2014 +0200
networkd: network - merge all netdev parsing into one function
commit 14b746f72132324e637c4e39694bd474f85e19f7
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 18:54:26 2014 +0200
networkd: introduce refcounting for Links and NetDevs
commit 68a8723c8592c06b2c978f391cb47db266d9d6de
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 18:53:32 2014 +0200
networkd: link - clean up state files
Also keep the path to the lease file around rather than regenarating it all the time.
commit bdf9fc1a940e342afb7a78075984419cb3bc3135
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri May 9 08:39:25 2014 -0400
man: sd_journal_send does nothing when journald is not available
https://bugzilla.redhat.com/show_bug.cgi?id=1096067
commit 9b3310b066136b0674a926da094b7fe87a13a58b
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 17:32:32 2014 +0200
timesyncd: read global operational state from networkd
commit bbf7c04821a71fec67eaf0e7a34d17afc5913c13
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 17:21:37 2014 +0200
sd-network: expose global operational state
commit e0e5ce237b11f2d97189cd7725bf339b4b8a78de
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 7 15:26:47 2014 +0200
timesyncd: only run when the system has a carrier on a network interface
As the operational state detection in sd-network is still too primitive, timesyncd
will likely try to connect a bit early, so the first attempt will fail.
commit 3a9c5a32bec18dc1cca68af46fd1aebfad7e9fd7
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 13:14:42 2014 +0200
networkd-wait-online: flush monitor events after processing
Otherwise the event will trigger immediately again.
commit d91d3c1580ee3c50139eec8ab794c634a54044fb
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 13:11:23 2014 +0200
networkd-wait-online: fix false positives when checking if a link is managed by networkd
commit 75adc2189bb3b4f993e50f5160c9dff3efaec0b1
Author: Tom Gundersen <teg at jklm.no>
Date: Thu May 8 12:32:11 2014 +0200
networkd: link - operstate is an enum, not a bitmask
commit cd7affaeea16d3904354b810a292e594dfef25dd
Author: Åukasz Stelmach <l.stelmach at samsung.com>
Date: Thu May 8 12:57:26 2014 +0200
core: check the right variable for failed open()
commit 3b3d7d069d10d53336dbada1c67f739e3492b218
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu May 8 01:28:46 2014 +0200
doc: balance C indirections in function prototypes
Shift the asterisks in the documentation's prototypes such that they
are consistent among each other. Use the right side to match what is
used in source code.
Addendum to commit v209~82.
commit 6667311dc3d22ad0c2f6a3085654ec00aa89d212
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu May 8 01:28:47 2014 +0200
doc: write out stdin/stdout file descriptors
"When refering to code, STDOUT/STDOUT/STDERR are replaced with
stdin/stdout/stderr, and in other places they are replaced with
normal phrases like standard output, etc."
Addendum to commit v209~127.
commit b8bde11658366290521e3d03316378b482600323
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu May 8 01:28:45 2014 +0200
doc: comma placement corrections and word order
Set commas where there should be some.
Some improvements to word order.
commit dca348bcbb462305864526c587495a14a76bfcde
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu May 8 01:28:44 2014 +0200
doc: corrections to words and forms
This patch exchange words which are inappropriate for a situation,
deletes duplicated words, and adds particles where needed.
commit 0c9d8f1d4b5018199cb5a9b57580dc1480a7f915
Author: Jani Nikula <jani.nikula at intel.com>
Date: Wed May 7 12:01:01 2014 +0300
backlight: handle saved brightness exceeding max brightness
If too high a brightness value has been saved (e.g. due to kernel
mechanism changing from one kernel version to another, or booting the
userspace on another system), the brightness update fails and the
process exits.
Clamp saved brightness between the policy minimum introduced in
commit 7b909d7407965c03caaba30daae7aee113627a83
Author: Josh Triplett <josh at joshtriplett.org>
Date: Tue Mar 11 21:16:33 2014 -0700
backlight: Avoid restoring brightness to an unreadably dim level
and the absolute maximum.
https://bugs.freedesktop.org/show_bug.cgi?id=78200
commit 3d89c35c2ae08c3fbf1a037c4df54c8e5ae56faf
Author: Dimitris Spingos <dmtrs32 at gmail.com>
Date: Wed May 7 18:27:02 2014 +0200
po: add Greek translation
https://bugs.freedesktop.org/show_bug.cgi?id=78064
commit bc6345767e9f6864f1e1c0e87fe5da352c00e67f
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 7 16:35:52 2014 +0200
networkd-wait-online: rely purely on sd-network events and drop rtnl hooks
commit 99b4cc3e75e757c07d573e2f4c29f47393e24fa1
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 7 16:42:47 2014 +0200
networkd: link - always maintain link operstate regardless of admin state
commit deb2e5230b4dcbc0e2e02cc47a0b2d0d7179a044
Author: Tom Gundersen <teg at jklm.no>
Date: Wed May 7 16:35:05 2014 +0200
sd-network: expose both admin and operational state directly
Also add a call to check if a link is loopback, as this should commonly be ignored.
commit 089377209f47e62f29b80b018ad9bbf17f6d5fbd
Author: Kay Sievers <kay at vrfy.org>
Date: Wed May 7 14:45:32 2014 +0200
timesyncd: shorten log message
commit b588c2d1b7e5058c6fb65ef958c796449679f6fb
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sat May 3 19:15:27 2014 +0200
doc: adhere to XML syntax
commit 70a44afee385c4afadaab9a002b3f9dd44aedf4a
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sat May 3 19:15:24 2014 +0200
doc: typographical fine tuning
commit d28315e4aff91560ed4c2fc9f876ec8bfc559f2d
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sat May 3 19:15:23 2014 +0200
doc: use non-contracted forms in written documents
commit 22fc2420b2a7220addcee33c2fa17ada44d87f9c
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 6 22:59:22 2014 +0200
sd-dhcp-client: use asynchronous_close()
close() is a blocking call, which may slow things down measurably when running many dhcp
clients in the same single-threaded main loop. Let's just use the asynchronous version
instead to avoid the problem.
commit c3d2994b595542caa971a06ea894019d16b95896
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 6 22:02:32 2014 +0200
sd-dhcp: network - don't leak sockets on failure
Also some general cleanups
commit 85923f79e1d1191673c5dffa4bdf1f5aadaa415b
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 6 22:02:14 2014 +0200
sd-dhcp: network - set TOS on outgoing packets
This should improve performance on busy wireless networks and the
like. Inspired by a similar change in dnsmasq.
commit 085cabf266bfbbc5ebdada9179a8ebe404e540a8
Author: Tom Gundersen <teg at jklm.no>
Date: Tue May 6 21:57:09 2014 +0200
dhcp-network: don't pass ifindex to bind_udp_socket
UDP sockets can anyway not be bound to specific netdev's. The packages would have to be filtered
when received instead.
commit b408026b9899c1f9d155ac6d9f7bdc7f5cd3defb
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 18:51:08 2014 +0200
man: document sd_event_add_time(3)
commit 7b8b9686e050a2b19ed2a3686af187dffaab5c08
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 18:20:49 2014 +0200
timesyncd: hook up systemd-timesyncd with systemd-timedated
Later on we will probably remove support for controlling any other NTP
implementations but systemd-timesyncd, but for now, let's keep things
generic
commit 661278ee297247c0c7e0708924f8ce52284529fc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 18:08:04 2014 +0200
timesyncd: never accept NTP time from server that is older than systemd's release time
commit dfdb269daf539470c6bcf232a58c6cd1e4492fc8
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 17:03:28 2014 +0200
journald: remove some dead code
commit a429267c4449e16f68962b1b3a3037b54e487c1d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 17:03:09 2014 +0200
load-fragment: minor cleanup
commit 8dfb5bced205a12d5380c95de035100ad6c09454
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 17:02:54 2014 +0200
update TODO
commit e8af69739a629708d2c155ebcd4fa57b8fd5006a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 17:02:11 2014 +0200
timesyncd: read server settings from a configuration file
Also, allow compiling in a default server list via a configure command
line item.
commit 16c058ba014e210fd8f6833a56787815c1059e1f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 16:15:02 2014 +0200
timesyncd: when an NTP server doesn't respond, proceed with the next
commit 376cd3b89c62f580a6f576cecfbbb28d3944118f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 13:07:15 2014 +0200
list: make LIST_FIND_TAIL work for empty lists
commit 2db3e2023d1af9eab6ebecddbf64812be2b104f5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 13:04:29 2014 +0200
update TODO
commit 600809211ecf1b1c3f2b701f30e5f77e33f0348b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 12:34:03 2014 +0200
timesyncd: keep order of NTP servers
commit 1df52dd282cd6014ace8ca2279dd90d9ea52d2a4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 12:33:53 2014 +0200
update TODO
commit 05f7fc0fe3b65cb203bf1e32002db07d860767b5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 12:33:43 2014 +0200
timesyncd: make sure to reread /etc/resolv.conf when we try the next NTP server
commit 136aa3b444ab5025ebb265b056c5c7ef55688774
Author: Kay Sievers <kay at vrfy.org>
Date: Tue May 6 12:29:20 2014 +0200
timesyncd: accept NTP version 3 responses
commit 881c74201d42d84f076e11d4ed765bd8421a6ff0
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 01:37:29 2014 +0200
timesyncd: add a more servers by default
commit becad8f1ed696433b9841cbb9c4603c303338d30
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 01:37:13 2014 +0200
timesyncd: also try next server when sendto() fails
commit 7a183c4c739665b1be3033fe70933ef236686b58
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 01:29:47 2014 +0200
timesyncd: don't busy loop when we cannot connect to any servers
commit 678522cff0977ab4a9b3ed78fbbb8f602620eba4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue May 6 01:17:35 2014 +0200
timesyncd: properly handle multiple configured NTP servers and multiplei IP addresses per server name
commit 856a5a7d769826019d86bc52ae1bc2ed7b13ad44
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 23:53:17 2014 +0200
timesyncd: lookup name server via sd-resolve, support IPv6, react to SIGINT/SITERM
commit 73dec31974a315f4329fb302d8efe0e24b9da1d4
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 23:49:19 2014 +0200
sd-resolve: make sure we can destroy a query object from its own callback handler
commit cc567911ba790931743c18332b2476e8c4accf64
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 23:48:25 2014 +0200
sd-event: allow disabling event sources when an event object is dying anyway
commit 59bc1fd776b5270bcabe3c536852afd0c892fbe1
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 23:47:56 2014 +0200
sd-event: make it easy to bind signal handling to event loop exits
By passing a NULL callback provide a simple way to make event loops exit
on SIGTERM and other signals.
commit 7ed0dd4be6ef4e73d7fb2fc1e80e6f9405c2f257
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 21:47:38 2014 +0200
timesync: use safe_close() where possible
commit 5f8cfaee52745c885ea4148cd720c71ee5efc742
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 21:47:09 2014 +0200
timesync: always initialize structs when declaring them as far as possible with contsant values
commit 43ba1b3e642253652cc29c92903cf53e310ce6cb
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 21:39:10 2014 +0200
build-sys: enable timesyncd by default
commit 37efac5ddb21fd91ed420c070ed07f375e78b3b9
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 21:18:54 2014 +0200
update TODO
commit 76cf10dab7a36653a159f0e87c46a13df494474f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon May 5 21:18:34 2014 +0200
build-sys: move async.[ch] to src/shared
So that we can use it at multiple places.
commit 99a17ada9caa8e190b5cafa5cd3c19618feeff48
Author: Kay Sievers <kay at vrfy.org>
Date: Mon May 5 18:49:43 2014 +0200
core: require cgroups filesystem to be available
We should no longer pretend that we can run in any sensible way
without the kernel supporting us with cgroups functionality.
commit 61fb23db45c626d92b4e33f09b9287f58a3625a5
Author: Kay Sievers <kay at vrfy.org>
Date: Mon May 5 14:23:10 2014 +0200
hwdb: update
commit ee03381e21683bcb61a2a936a3f61ee2e81fd5a4
Author: Kay Sievers <kay at vrfy.org>
Date: Mon May 5 14:21:40 2014 +0200
timesyncd: log drift value as signed
commit 7ca1d31964a2553f7bd011bc10ac42e0ebc1f975
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 2 22:29:18 2014 +0200
sd-rtnl-message: append - fix uninitialized memory
We were not properly clearing the padding at the front of some containers.
commit 3f781aa8a0b4490e00975ebc7d4a7b729c7dd9e8
Author: Tom Gundersen <teg at jklm.no>
Date: Fri May 2 15:49:40 2014 +0200
sd-rtnl: route - allow setting multiple matching routes
commit 8faf88e5eb5495bd54b2b2ad376e836a530de603
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Apr 30 10:37:13 2014 +0200
TODO
commit ef6191945e8bcf113fef120ec425f35643754eca
Author: Kay Sievers <kay at vrfy.org>
Date: Sat May 3 15:03:27 2014 +0200
timesyncd: log drift correction
commit 8a474b0c04a5a3608dda53edc1ddaa932ba177bf
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 2 17:56:05 2014 +0200
async: add asynchronous close() call
commit 7348b3adb324614132cf376f478e883bd7de28f1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri May 2 17:56:01 2014 +0200
update TODO
commit d67006fe539cb024440e06053742e8c7478ac0c1
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Apr 30 16:55:10 2014 +0200
timesyncd: use nanosecond mode
commit 81c36b3f28103c72e1b1c80a2af0dcc308a07bcf
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Apr 30 09:37:47 2014 +0200
timesyncd: remove debug code
commit 8ddbeaa23c20659fe3b1b79502d746aceb396ce8
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Tue Apr 29 22:40:38 2014 +0200
networkd: dont configure route if lease doesn't have one
commit 7e141e498c73ec7c8b61a0df37c4937f1d6becc7
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 29 22:27:29 2014 +0200
sd-network: add support for only listening to some types of changes
commit ba9f11dc98f6812a3333411453ff6fb324abf303
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Apr 29 23:48:23 2014 +0200
timesyncd: limit debug values to milliseconds
commit d20850cbf4545715340580c179cf316005d53905
Author: Michal Sekletar <msekleta at redhat.com>
Date: Tue Apr 29 22:15:47 2014 +0200
update TODO
commit bc4155669aaf567e2d6fa1f1082d68012346629e
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 29 21:57:11 2014 +0200
sd-dhcp-lease: fix double realloc
commit d38cbe1bb7382782226b4b72944c9f7a7cf3eca1
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Apr 29 16:26:09 2014 +0200
build-sys: fix linking order for networkd-wait-only
commit 93f1bcf40030a9e98bf2b71c177cbea36c64d5c9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Apr 29 15:44:31 2014 +0200
sd-resolve: rework sd-resolve to be callback based, similar in style to sd-bus and sd-event
commit 4c06153f7b7d1af4fc8df4602c1d6714734bf9fd
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 29 15:42:05 2014 +0200
networkd: fix distcheck
commit 109731eb250705e055b98b844d7c0dfb74bcf728
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 29 13:29:12 2014 +0200
sd-dhcp-lease: (de)serialize DNS and NTP servers
Also use inet_ntoa rather than inet_ntop.
commit 0b21bde96d6d33313bac42ae1d5802a83a4e7b2f
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 29 12:46:06 2014 +0200
sd-dhcp-leaes: use newdup()
commit 4684469639d0893d78fc8e1a1966ce11eb9c7e31
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 29 12:17:27 2014 +0200
sd-dhcp-lease: add NTP support
Export the NTP servers so timesyncd can use them.
commit 39594d49cf22d022bf370d6534c07186e9d8fb8a
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Apr 29 10:16:07 2014 +0200
timesyncd: update log message
commit a91df40e69fec72cc98c9829721fa5153da28bc2
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Apr 29 08:57:51 2014 +0200
timesyncd: add unit and man page
commit 0b36bbc42d3a408531517a02acaf56105b863d55
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Apr 28 18:11:40 2014 +0200
machine-id: only look into KVM uuid when we are not running in a
container
commit 687ed1237b20a6db174fd0b372df20fa9a3a23c2
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Apr 28 14:45:42 2014 +0200
rename timedate-sntp to timesync
commit e5a7f17341f90827c2fc8248de19d8741c8672da
Author: Jonathan Boulle <jonathanboulle at gmail.com>
Date: Mon Apr 28 08:15:50 2014 +0200
conf-parser: Fix typo in comment
Fix minor typo in conf parser
commit 9b86b3930a47cafd39f342ed141014068a3093c2
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 28 00:16:46 2014 +0200
networkd: link - don't fail a link if RF kill is active
commit 1f0e0484742e5763e80b4f2c27667ecfea3d9aee
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 27 11:23:30 2014 +0200
TODO: network
commit 69ceb044c891579fa1f5556e0980a046ccef19d4
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 27 13:15:35 2014 +0200
networkd: netdev - log when loading a .netdev file
commit 798e174ab2b009729e752a2b70326906548c7126
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Sun Apr 27 23:45:42 2014 +0200
networkd: update TODO
commit ccfdc9a11256dc9b88860583924b5e57a9bb4ed1
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Sun Apr 27 22:01:42 2014 +0200
sd-dhcp-client: log positive error number
Log error no for such client_stop(client, DHCP_EVENT_STOP)
commit d9bf4f8c6c47b8620ffa1a056208eb15118b78d5
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Sun Apr 27 21:58:26 2014 +0200
libnetworkd: add link local tests
- Also only allow positive ifindex on both dhcp and ipv4ll
[tomegun: the kernel always sets a positive ifindex, but some APIs accept
ifindex=0 with various meanings, so we should protect against
accidentally passing ifindex=0 along.]
commit d96e629fd7a29323ab19917d5afeb05adc62b373
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Sun Apr 27 22:33:42 2014 +0200
networkd: do not complain about IFF_RUNNING
Otherwise:
eth0: unknown link flags gained: 0x00040 (ignoring)
[tomegun: hiding these messages is ok, as IFF_RUNNING is redundant
and can be deduced from operstate and IFF_LOWER_UP]
commit 20a83d7bf4542875f8033b68682a4da4993010e8
Author: Brandon Philips <brandon at ifup.co>
Date: Fri Apr 25 09:31:59 2014 -0600
job: add waiting jobs to run queue in unit_coldplug
When we have job installed and added to run queue for service which is
still in dead state and systemd initiates reload then after reload we
never add deserialized job to the run queue again. This is caused by
check in service_coldplug() where we check if deserialized state is
something else than dead state, which is not the case thus we never call
service_set_state() and finally unit_notify() where we would have added
job to the run queue.
Thanks to Michal Sekletar <msekleta at redhat.com> for the original patch.
commit ae0ceefc2f432bc1068889fcff53d929eca8a3c4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 24 20:49:15 2014 +0200
build-sys: add configure switch for -fsanitize=undefined
--enable-undefined-sanitizer mirrors --enable-memory-sanitizer.
commit dfd9cf7f0b257d38f5527989dd9315e767fbe41b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Apr 25 19:58:21 2014 -0400
test-journal-flush: avoid predictable names in /var/tmp
commit 7f1f9b4bcbb9398bbede097eb56e33a949afd7ba
Author: poma <pomidorabelisima at gmail.com>
Date: Sat Apr 26 11:09:45 2014 +0200
man: networkd typo fixes
commit 27134b2f052c7dc6bedff6c09e97c5df3b2d7a54
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 24 21:32:25 2014 +0200
networkd-wait-online: refactor a bit
Clarify that we are waiting for any link to reach 'carrier' state, regardless
of who manages it. This will be useful when we add support for waiting for more
operational states.
commit cef8b0735831b2bfeaf21d8a245d8024c3de816a
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 24 21:28:46 2014 +0200
networkd-wait-online: drop config file and add commandline options instead
commit 4ab72d6fb499c2b4d8baced9fa94a8bbfa5a4b3d
Author: Will Woods <wwoods at redhat.com>
Date: Fri Apr 25 18:26:33 2014 -0400
core: reindent {selinux, ima, smack}-setup.c
7-space indentation is just too weird to leave alone.
Make it 8 spaces, as per CODING_STYLE. No other changes.
commit 6cdf527c6aa041534205622e1fb02a0634a467a5
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Apr 25 13:28:02 2014 +0200
update TODO
commit b2f8b02ec27dfec9cbd23573f47aba494f2e9b5f
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Apr 25 13:27:25 2014 +0200
core: expose CFS CPU time quota as high-level unit properties
commit 3051f1871ea2d9a36b423207221e461cc27e577c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Apr 25 13:26:37 2014 +0200
core: make sure we always write changed cgroup attributes to the cgroupfs
commit f55b9bdfae46e3683c74c30f1d063642a41368a5
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Apr 25 07:16:01 2014 +0200
update TODO
commit c7fc641ea349a08291dd3cd6db4a99262f834271
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 24 19:16:37 2014 -0400
bootchart: print to stdout and display default values in help
commit 7e6798df26c8b77120797b9f7609a9700be2e80b
Author: WaLyong Cho <walyong.cho at samsung.com>
Date: Fri Apr 25 00:50:52 2014 +0900
bootchart: rewrite usage message more generally
commit 49e5b2a93339869703d581a06f8d903f8371ab60
Author: WaLyong Cho <walyong.cho at samsung.com>
Date: Fri Apr 25 00:50:51 2014 +0900
bootchart: add control group option
commit e6c474723dc66cd4765fd09453d6b48bd5905ba4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Apr 20 13:57:26 2014 -0400
udev: warn when name_to_handle_at is not implemented
We have a bunch of reports from people who have a custom kernel and
are confused why udev is not running. Issue a warning on
error. Barring an error in the code, the only error that is possible
is ENOSYS.
https://bugzilla.redhat.com/show_bug.cgi?id=1072966
commit bf500566323bbc2240d1fdd1165a8c908faf4098
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date: Thu Apr 24 09:35:38 2014 +0200
service: rename StartLimitAction enum to FailureAction
It's used for the FailureAction property as well.
commit 93ae25e6fd62b2f87c3dd9ad3e81934eecc48057
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date: Thu Apr 24 09:35:37 2014 +0200
service: add FailureAction= option
It has the same possible values as StartLimitAction= and is executed
immediately if a service fails.
commit 209b031e4fb7b50fc1812fc7c6ea59ca2f5d0c78
Author: Robert Milasan <rmilasan at suse.com>
Date: Thu Apr 24 11:23:33 2014 +0200
udev: increase the size of RESULT buffer
Under some conditions, in udev_rules_apply_to_event the fact that
result is 1024 bytes, creates problems if the output of the running
command/app is bigger then 1024 bytes.
commit 1d49b5aea98ad0ad3ccafc3f83943811219729e0
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 24 10:36:19 2014 +0200
bus: update kdbus.h
commit 77c98a9eb15bf50b469ddaf2988ac37cdd3f4a7b
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Wed Mar 26 14:17:07 2014 +0100
test-resolve.c: Cleanup and make use of sockaddr_pretty()
commit 6131a78b4d247618715e042e14ad682f678d3b32
Author: David Härdeman <david at hardeman.nu>
Date: Tue Mar 25 11:05:28 2014 +0100
Fix keysize handling in cryptsetup (bits vs. bytes)
The command line key-size is in bits but the libcryptsetup API expects bytes.
Note that the modulo 8 check is in the original cryptsetup binary as well, so
it's no new limitation.
(v2: changed the point at which the /= 8 is performed, rebased, removed tabs)
commit 9fa1de965a0954dcb6d855ebe0513077515a0daa
Author: David Härdeman <david at hardeman.nu>
Date: Tue Mar 25 11:05:23 2014 +0100
Add more password agent information
Add an (optional) "Id" key in the password agent .ask files. The Id is
supposed to be a simple string in "<subsystem>:<target>" form which
is used to provide more information on what the requested passphrase
is to be used for (which e.g. allows an agent to only react to cryptsetup
requests).
(v2: rebased, fixed indentation, escape name, use strappenda)
commit 0d522a7a0547982eae9ab1b5971e4bed9c2fbc7c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Apr 24 08:11:39 2014 +0200
errno: make sure to handle the 3 errnos that are aliases for others properly
commit 21749924e12201d8f5210c5dc9695e18fd16bb93
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Apr 24 07:46:31 2014 +0200
util: make sure all our name_to_handle_at() code makes use of file_handle_union
commit 3a67e927e3be7efb8edf314a31aa4f8f5cba4f53
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Apr 23 17:42:55 2014 +0200
networkd-wait-online: improve interoptability and enable by default
To make sure we don't delay boot on systems where (some) network links are managed by someone else
we don't block if something else has successfully brought up a link.
We will still block until all links we are aware of that are managed by networkd have been
configured, but if no such links exist, and someone else have configured a link sufficiently
that it has a carrier, it may be that the link is ready so we should no longer block.
Note that in all likelyhood the link is not ready (no addresses/routes configured),
so whatever network managment daemon configured it should provide a similar wait-online
service to block network-online.target until it is ready.
The aim is to block as long as we know networking is not fully configured, but no longer. This
will allow systemd-networkd-wait-online.service to be enabled on any system, even if we don't
know whether networkd is the main/only network manager.
Even in the case networking is fully configured by networkd, the default behavior may not be
sufficient: if two links need to be configured, but the first is fully configured before the
second one appears we will assume the network is up. To work around that, we allow specifying
specific devices to wait for before considering the network up.
This unit is enabled by default, just like systemd-networkd, but will only be pulled in if
anyone pulls in network-online.target.
commit fa4f8f9bc1fbef6a658cff39ac185bbedea6caf4
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Wed Apr 23 22:41:13 2014 +0100
hostnamectl: read kernel name and release from remote
commit f426cc5d4e30b05a0661c74e93ff3e95414f7a3c
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Wed Apr 23 22:41:12 2014 +0100
hostnamed: expose KernelName and KernelRelease on the bus
commit e107ed185ef08945102834234a05ec51bb438685
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 22:41:44 2014 +0200
update TODO
commit a213b7e977221ca96bbc1b19a5a879c912ba2488
Author: Jeffrey Clark <h0tw1r3 at gmail.com>
Date: Wed Apr 23 22:37:43 2014 +0200
analyze: fix plot with bad y size
systemd-analyze plot > test.svg produces output with all y and height
element attributes equal to zero. This of course causes the resulting
svg to appear blank (zero height). Bug does not affect x86. Looks like
a compiler optimization may be the culprit.
https://github.com/archlinuxarm/PKGBUILDs/issues/815
commit 24072d36bcf6bb4bc84a2e1bbe0b3331c50c545a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Apr 23 20:32:29 2014 +0200
journal-gatewayd: bugfix for invalid level case
introduced in cafc7f91306ea17ace4a6c3d76d81c8780c87452
commit 4423116699faec8f550f3dac5c6887e81ec5aa7b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 20:11:38 2014 +0200
man: recommend that XDG_SESSION_DESKTOP and XDG_CURRENT_DESKTOP use the same identifiers
commit 7c83910bb92fbe54522307e5ba18568473525917
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Apr 23 19:22:39 2014 +0200
use new name DRAW_TREE_VERTICAL
Was renamed in 6b01f1d3911bd7c7eadbb8a3b4375bd3ac05c98f
commit 6b01f1d3911bd7c7eadbb8a3b4375bd3ac05c98f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 19:05:46 2014 +0200
delta: draw arrows with draw_special_char()
Let's unify generation of unicode chars at one place.
Also, don't add an extra space into chars we print, except for the tree
chars where this is really necessary.
commit b91a3b02f3be899dd8a2ae22df5be8de78f5a175
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 06:57:34 2014 +0200
install: simplification
commit 113283c493cead39fc362bb8433f40d6c29ef6c8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 06:57:24 2014 +0200
label: there is no label_retest_selinux() call
commit 1b02f301834ffe9211e3cc8f83ca6fd3c37ad508
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 06:57:00 2014 +0200
bus: simplification
commit c7fdf44d08e1217d40dc092fb90a65978a0f541f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Apr 23 06:55:54 2014 +0200
backlight: warn if kernel exposes backlight device with bogus max_brightness
We shouldn't silently tape over broken kernel drivers.
commit e30fa16e27cbd48f960113a1d72d9a15c3b2d67b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Apr 22 06:49:16 2014 +0200
update TODO
commit 8b8fa8b80c6b306b9ca249fa3ef64e83f49efa35
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Apr 23 17:38:43 2014 +0200
login: rename session_mute_vt() to session_prepare_vt()
This function is no longer just about muteing the VT. We do all kinds of
VT setup for sessions using the controller-API. Rename the function to
something more appropriate.
commit d6176c6c97bf0614c2e7caaf2156bf813b39337a
Author: Ray Strode <rstrode at redhat.com>
Date: Tue Apr 22 13:27:58 2014 -0400
login: give session ownership of VT
The tty associated with a VT should be owned by the owner of the session
running on the VT. This is important for supporting a socket activated X
server, since the X server will open the tty itself.
This commit makes sure to chown the tty any time a session is
created and and chown it back to root any time the session
is removed. This behavior is copied from /bin/login.
commit 26e376bfe34ba6caa04723b9200e9deace8e6c9f
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Apr 22 22:52:19 2014 +0200
bus: remove "on behalf" kdbus logic (ABI break)
commit cc544d5fb4c85e5645e3db7fbb34474674a3ac98
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Apr 22 21:45:17 2014 +0200
networkd: link - add missing curly brackets
introduced in 1e9be60bbabe179f5233217384f1daec757c17c7
commit df9aa406e8e32a2fb3b2a4b42d5871ef75a32ed8
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 22 19:51:27 2014 +0200
networkd: link - reduce default verbosity a bit
commit 1e9be60bbabe179f5233217384f1daec757c17c7
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 22 19:40:05 2014 +0200
networkd: link - support IFLA_OPERSTATE
This properly detects the state of the link based on both the link flags and the
operstate.
Moreover, always log state-changes even if we are not yet managing the link.
commit 45ad2c132827b0ab5854ec52068659f246c59cf8
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 22 19:36:40 2014 +0200
networkd: link - don't react to successfull link up
Avoid having two code-paths racing with eacother to do the same thing. The change
of flags will be detected in the normal way, so only use the link_up_handler
to detect if the 'up' failed and in that case fail the link.
commit 124fa2c601c6fbbc3751b744c6f68bd522e0c588
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 22 19:29:14 2014 +0200
networkd: link - log when starting clients fail
commit 2139694e823935d3ac1479aa7c9a78ee3ffdc759
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 22 19:26:04 2014 +0200
networkd: link - avoid cycle when failing
commit 111bb8f93a2e936fc62fc2f34350b85c5f0000c8
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 22 19:25:31 2014 +0200
networkd: link - stop clients when failing
commit 0fbedd1fdc98ab6d0a29d34b00079afda01b99c1
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Apr 22 19:24:41 2014 +0200
remove bus-driverd, the interface is now handled natively by bus-proxyd
commit dc780ecf10c6ca2794c5d1bfe61ca48ef350381f
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Apr 21 21:16:26 2014 +0200
bus-proxyd: handle org.freedesktob.DBus calls natively
commit 7d95c772cba1836545459760273b13f2e01dd2a8
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 21 22:08:04 2014 +0200
Revert "networkd: netdev - set predictable mac address when creating netdev"
This reverts commit cdc85c875b842b9309f72caefc51c262f521cf92.
There appears to be a kernel bug that (among other things) cause bridges
not to get a bridge id set when supplying IFLA_ADDRESS when creating the
netdev.
Simply revert the whole thing until we sort this out in the kernel.
See: http://www.spinics.net/lists/netdev/msg279807.html
Reported-by: C. R. Oldham <cr at saltstack.com>
commit efe6e7d33a9feb0b647c77862016284457895fa6
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date: Tue Mar 25 14:15:45 2014 +0100
service: add support for reboot argument when triggered by StartLimitAction=
When rebooting with systemctl, an optional argument can be passed to the
reboot system call. This makes it possible the specify the argument in a
service file and use it when the service triggers a restart.
This is useful to distinguish between manual reboots and reboots caused by
failing services.
commit c5220a940d00fc2520c702104939d0a4cf637254
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date: Tue Mar 25 14:15:44 2014 +0100
systemctl: delete REBOOT_PARAM_FILE if no parameter is specified
And move it to sperate function.
commit 370c860f748d149097710dc7952a64f627db9de7
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sat Apr 19 13:22:35 2014 -0400
implement a union to pad out file_handle
Cases where name_to_handle_at is used allocated the full struct to be
MAX_HANDLE_SZ, and assigned this size to handle_bytes. This is wrong
since handle_bytes should describe the length of the flexible array
member and not the whole struct.
Define a union type which includes sufficient padding to allow
assignment of MAX_HANDLE_SZ to be correct.
commit dbb9401dba0bd5157d021e695a47bf52b2d74a2d
Author: Dave Reisner <dreisner at archlinux.org>
Date: Tue Apr 15 22:16:40 2014 -0400
condense assignment and path_kill_slashes calls
commit 6d6c604ac8ac777dde0eeb58745ee6e76e2ea43d
Author: Lukasz Skalski <l.skalski at samsung.com>
Date: Thu Apr 10 14:50:23 2014 +0200
doc: fix items' names in PORTING-DBUS1
commit 9d50e74a0aeefa5b66eae1ad3e38af59fdc4ca62
Author: Bas van den Berg <b.van.den.berg.nl at gmail.com>
Date: Tue Apr 8 11:14:16 2014 +0200
Remove duplicate includes
commit 6e37cd2f4af8928d905203108a4331e375d7127c
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Apr 21 00:02:35 2014 +0200
silence warnings
commit 57bd6899b35b84d1f23809133ae45d29a87b2eaa
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 19:49:00 2014 +0200
networkd: link - add explicit unmanaged state
commit 4bb40e8125ae0a83a13cb8e020950975eeeb1ad2
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 19:34:51 2014 +0200
networkd: link - set mac addresses when starting clients
MAC addreses are also set when NEWLINK messages are receieved, but only if the clients have
already been initialized.
commit 6317519517210f703e20dc846b31d018845244cd
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 19:10:02 2014 +0200
sd-dhcp-client: log ifindex and mac address when starting
commit c6a1eb79a52a29ddb80bc2b58f44a86a33e9f027
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 13:08:59 2014 +0200
networkd: link - log changes in some common link flags
commit 75ee87c8c61817a94e520cf1ec564996b3781b89
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 10:28:19 2014 +0200
networkd: link - use IFF_DORMANT instead of IFF_RUNNING
Should be no functional change, but avoids spurious log
messages when in operstate UNKNOWN and !IFF_LOWER_UP.
commit 069e10a0e0c628875386002778750307ee353bee
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 12:59:24 2014 +0200
networkd: link - make debug logging a bit more readable
Drop leading zeros which will never be used when printing the link flags.
commit 92d927f850d4b668b44f3e5f41e266d934d03726
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 07:53:16 2014 +0200
udev: link-config - treat any non-random mac address as persistent
The address may be already changed by other processes, or set
when creating the netdev from userspace.
commit 6190b9f9d2574428d560458a99f2838041cfdaac
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 20 07:51:28 2014 +0200
sd-rtnl: log when queues are exhausted
commit 66aaf85e178492c27f699d9c94c84a98466a1435
Author: Matthew Monaco <matt at monaco.cx>
Date: Sat Apr 19 12:56:45 2014 -0600
cryptsetup: copy value, not key for (rd.)luks.key
commit d38f6e34a618e2d100b06888e0810f776eb83510
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Apr 19 21:58:03 2014 -0400
Handle Unix domain socket connections from outside our namespace v2
This is a second attempt at 9754d56, reverted in 2f20a8e, because
I lost a 'break;' when moving chunks around.
commit a555350d47c4b70d716a63424933b34902c98300
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 19 22:13:49 2014 +0200
networkd: order after udev kernel socket
Otherwise we will not be able to queuery whether devices are initialized on kdbus enabled systems.
commit 667fcc6d7dab1b98dfbbb65f8f14127d8690e70f
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 19 20:49:06 2014 +0200
networkd: manager - add a bit of debug output to udev ADD events
commit b8941f74c87b56c341d0f4f14aae8aab268eadc0
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 19 20:39:17 2014 +0200
networkd: link - track interface renames
commit d4ef4f46cfa393f65c7312a18bc798db43018cd0
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 19 20:32:01 2014 +0200
sd-rtnl: socet_read_message - make sure we only shrink the partial rqueue when processing multi-part message
commit 6916ec29afd488d91e7e0fcbcc2e006b4e5f28df
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 19 19:05:37 2014 +0200
network: implement masking of .link, .network and .netdev files
commit a21df104887552e8558d6c11388dff466641a031
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 19 17:14:36 2014 +0200
networkd: netdev - give up early when setting already set ifindex
We may receive RTM_NEWLINK messages with missing LINKINFO after the initial NEWLINK message,
don't bother verifying these, just drop out early after checking that the ifindex is not in conflict.
commit c6315a7afc905c0b41901cf8e204306296ebb640
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 18 10:28:42 2014 +0200
networkd: netdev - verify name of newlink messages
commit cdc85c875b842b9309f72caefc51c262f521cf92
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 18 00:50:40 2014 +0200
networkd: netdev - set predictable mac address when creating netdev
commit 505f8da7325591defe5f751f328bd26915267602
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 15 14:21:44 2014 +0200
networkd: tie links to rtnl rather than udev
This essentially swaps the roles of rtnl and udev in networkd. After this
change libudev is only used for waiting for udev to initialize devices and
to get udev-specific information needed for some [Match] attributes.
This in particular simplifies the code in containers where udev is not really
useful, but also simplifies things and reduces round-trips in the non-container
case.
commit d1ca51b153d7854d49400289ddedc7d493458f71
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 14 12:46:09 2014 +0200
nss-myhostname: port to sd-rtnl
commit 6e20c8f8fa095b28ef4e08d9dae494abed6f275f
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 14 18:07:34 2014 +0200
sd-rtnl: message - expose DUMP flag in the api
commit 7182867e7970741d294237aa83022fcb2774af69
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 17 11:12:41 2014 +0200
sd-rtnl: add multi-part message test
commit 4e996881b2a24390b534d84aa89ba70401cc7e69
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 17 21:32:25 2014 +0200
sd-rtnl: message - concatenate multi-part messages from different packets
commit 24a026737da3f108ba56c1c9fe7786b8173376d5
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Apr 16 18:17:24 2014 +0200
sd-rtnl: message - don't put NULL message on rqueue
If nothing interesting was receieved we should not put anything on
the queue.
commit 6fc518838cd717f2f8258f8a0cca37797c187a06
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 15 12:01:39 2014 +0200
sd-rtnl: message - make room for all pending messages, not just the first
Also, don't actually read any of the message when peeking, just get its length.
commit 2f20a8ebdb5aed3146f366360762d8963efe8d82
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Apr 19 13:53:11 2014 +0200
Revert "Handle Unix domain socket connections from outside our namespace"
This reverts commit 9754d56e9b21bfe89fc18f47987d6bef491b8521.
It causes a crash in PID1:
Apr 19 13:49:32 lon systemd[1]: Code should not be reached 'Unhandled socket type.'
at src/core/socket.c:684, function instance_from_socket(). Aborting.
Apr 19 13:49:32 lon systemd[1]: Caught <ABRT>, dumped core as pid 336.
Apr 19 13:49:32 lon systemd[1]: Freezing execution.
commit a606871da508995f5ede113a8fc6538afd98966c
Author: Greg KH <gregkh at linuxfoundation.org>
Date: Tue Apr 15 14:12:01 2014 -0700
tmpfiles: fix permissions on new journal files
When starting up journald on a new system, set the proper permissions on
the system.journal files, not only on the journal directory.
commit 1dd5aa56d1cdf64397fba03b1d2ad63aaf281fe4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 17 23:39:40 2014 -0400
build-sys: do not try to build test-rtnl-manual w/o kmod
commit 7c4e5e4db829e1e2d22f2ff5fa04518ad1eb1787
Author: Åukasz Stelmach <l.stelmach at samsung.com>
Date: Mon Apr 14 15:14:14 2014 +0200
build-sys: add libkmod flags for test_rtnl_manual
commit f2f426ddcf55807d1884a9163399a6821eb955d6
Author: Ali H. Caliskan <ali.h.caliskan at gmail.com>
Date: Mon Apr 14 19:30:16 2014 +0200
core: minor typo fix
commit 00a5cc3a63c125633e822f39efd9c32223169f62
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Apr 16 23:33:41 2014 -0400
delta: do not use unicode chars in C locale
https://bugzilla.redhat.com/show_bug.cgi?id=1088418
commit af7fce1cdb6c0d6ce56bcddccbc31dd3d64a8cd8
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Thu Apr 17 01:47:11 2014 +0100
install: create_symlink() check unlink() return value
create_symlink() do not check the return value of unlink(), this may
confuse the user.
Before the unlink() call we check the 'force' argument. If it is not set
we fail with -EEXIST, otherwise we unlink() the file, therefore the next
symlink() should not fail with -EEXIST (do not count races...).
However since callers may not have appropriate privileges to unlink()
the file we lose the -EPERM or any other errno code of unlink(), and
return the -EEXIST of the next symlink(). Fix this by checking unlink()
results.
Before:
$ systemctl --force --root=~/container-03 set-default multi-user.target
Failed to set default target: File exists
After:
$ systemctl --force --root=~/container-03 set-default multi-user.target
Failed to set default target: Permission denied
commit a1484a216e79da1fa7e2323095fb1b7203fb7a17
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Mon Apr 14 01:07:52 2014 +0100
systemctl: allow to change the default target without the --force switch
Currently "systemctl set-default" will fail to change the default target
due to the 'default.target' being a symlink which is always the case.
To work around this, the user must specify the "--force" switch to be
able to overwrite the existing symlink.
This is clearly a regression that was introduced by commit 718db96199e
since it worked before without the "--force" switch and the man pages do
not mention that you need to specify it. It is expected that this is a
symlink.
So just explicity set the force flag to make it work again.
https://bugs.freedesktop.org/show_bug.cgi?id=76623
Reported-by: <code at progandy.de>
commit 9754d56e9b21bfe89fc18f47987d6bef491b8521
Author: Eelco Dolstra <eelco.dolstra at logicblox.com>
Date: Wed Apr 16 18:39:07 2014 +0200
Handle Unix domain socket connections from outside our namespace
NixOS uses Unix domain sockets for certain host <-> container
interaction; i.e. the host connects to a socket visible in the
container's directory tree, where the container uses a .socket unit to
spawn the handler program on demand. This worked in systemd 203, but
in 212 fails with "foo.socket failed to queue service startup job
(Maybe the service file is missing or not a template unit?): No data
available".
The reason is that getpeercred() now returns ENODATA if it can't get
the PID of the client, which happens in this case because the client
is not in the same PID namespace. Since getpeercred() is only used to
generate the instance name, this patch simply handles ENODATA by
creating an instance name "<nr>-unknown".
[zj: reorder clauses and remove (unsigned long) casts.]
commit 5d2abc04fc95f5c5f6d0eaf2f9b06c70d504019f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Apr 16 22:15:42 2014 -0400
man: document relationship between RequiresMountsFor and noauto
https://bugzilla.redhat.com/show_bug.cgi?id=1088057
commit 7f076504b8291d03063ccaee5b40f642df48f8b1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Apr 16 22:04:31 2014 -0400
test-path-util: fix running with separate build dir
test-path-utils attempts to find itself, but if the binary is not
in current directory, the test would fail.
commit 2e573fcf8754fdfe0db0a783b1631ec1679b063a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Apr 16 21:33:46 2014 -0400
sysctl: replaces some slashes with dots
It turns out that plain sysctl understands a.b/c syntax to write to
/proc/sys/a/b.c. Support this for compatibility.
https://bugs.freedesktop.org/show_bug.cgi?id=77466
commit 806a37e743a038c0fd0887c24c8b1b6914cb109d
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Apr 16 23:50:19 2014 +0200
systemctl: add --recursive for list-timers
commit 0cfc35257189d3d7c336fcbd01d18941c333cd6a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Apr 16 00:37:17 2014 +0200
systemctl: add --recursive for list-sockets
commit b8ec9ba918269a4a58d942d8488ce38a44847211
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Apr 14 21:01:55 2014 +0200
bus-proxy: remove unused variable
commit 5706b3e78d29517680e64e984a8461e589d7721a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Apr 14 20:51:45 2014 +0200
cgls: avoid writing an unused value
silences a build-scan warning for the unused value in r
commit 2667cc25896a15f82f9f1583e80d416beb1316e1
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Apr 14 19:16:56 2014 +0200
timedatectl: avoid using uninitialized var
sec is not set if have_time is false so avoid using it. have_time
was introduced in 9ff09bcb86fb125768667aca9bc0b10b1745370a but only
the first uses for sec were covered
Found with scan-build
commit a6ad1458e8baf913e9ee377c52863b927d7a2638
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Apr 14 19:12:45 2014 +0200
man: fix typos in sd_event_new
commit 3379e257ee06f997ec756cd70008353796457b43
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 14 17:55:47 2014 +0200
networkd: link - make state changing logging a bit less verbose
commit b9ef681b04644493fca7c1d5611db7169697d26a
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 14 12:42:11 2014 +0200
sd-rtnl: message_addr - allow dumping of messages
commit a88f77c406ea56160c1e5a4b39eab1de134abe40
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 14 17:20:51 2014 +0200
sd-rtnl: socket_read - use a read buffer
Rather than allocating/freeing memory for each message read, keep a global read buffer
in the rtnl object. Also, rather than using a fixed size, peek at the pending message
header to get the message size and reallocate as necessary.
commit 1403f45ab61d6f2026a3a7a06b52a536c1b7a3b3
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 13 21:37:53 2014 +0200
sd-rtnl: multi-part message - store as linked-list rather than independent messages
This means the API can stay the same as for single-part messages by simply passing the head message around. Unrefing
the head of the linked list unrefs the whole list.
commit e00d77ddd598ea6cbc2d512d143e9e4d98e62256
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 14 12:41:13 2014 +0200
sd-rtnl: message_addr - expose a few more getters
commit e9189a1f56e5dd418d13dfcf3a7f5a701884858e
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 13 22:10:34 2014 +0200
networkd: link - ignore missing MAC address from NEWLINK message
The kernel may broadcast such messages, simply discard them.
commit d060b62fcb4746d3758c567e9379c6728a035b66
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Apr 14 07:54:35 2014 -0700
hwdb: PCI - include "primary" model string in subsystem model string
The data in the PCI ids file is randomly inconsistent. Many
subvendor model strings just describe the "product" where the
hardware is built into, not the hardware itself. This causes
some "Network Card Model Foo" to show up as "Laptop Model Bar".
Try to make the best out of this mess and concatenate both
strings to describe the hardware.
commit dbe633cc027e31a0d4fb488a3c68b7762ef0e7b3
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Apr 13 23:46:27 2014 -0700
hwdb: update
commit d96ea5048b2a901143059eecd32cb1607ceae041
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Apr 13 20:00:42 2014 -0700
util: ignore kernel errors reported via close(), unless it is EBADF
The kernel can return pretty much anything there, even though the fd is
closed. Let's not get confused by that.
commit 3ebdb81ef088afd3b4c72b516beb5610f8c93a0d
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Apr 13 19:54:27 2014 -0700
udev: serialize/synchronize block device event handling with file locks
commit 2f1a3d086860b7cff659e425ea16d8bb34dc62ac
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Apr 13 19:43:00 2014 -0700
bus-proxy: when replying to bus calls set a synthetic serial number and patch the sender address
Otherwise old libdbus1 is confused and will not accept our replies.
commit 2a0abe5b6d4997baaeb3353eee8685d92b2060e9
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Apr 13 18:25:10 2014 -0700
bus: process AddMatch/RemoveMatch driver call in proxy
Previously, AddMatch/RemoveMatch calls where processed exclusively in
the proxy. That's racy however, since subscribing to a signal might not
complete before the signal is sent due to some subsequent method call.
Hence, in order to expose the same ordering guarantees as dbus1 process
the AddMatch/RemoveMatch calls from the proxy, so that they are
dispatched synchronously to all following messages, thus fixing the
race.
Ultimately, we should probabably dissolve the driver entirely into the
proxy, as it is purely a compatibility feature anyway...
commit 6e0369b0ff3909baec25c6ab31b5ddf5c4ae0f3f
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Apr 13 17:42:11 2014 -0700
man: explain that the timestamps on incoming kdbus messages are not necessarily monotonically increasing
commit 11fb37f16ed99c1603c9d770b60ce4953b96a58d
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Apr 13 17:41:51 2014 -0700
update TODO
commit bdb65e785ae2a312b452e6e3f17c1506b0fbe8c1
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Apr 1 19:13:42 2014 +0200
build-sys: add Makefile symlink
commit 01083ad094664e5c685060f4fb35a05ea2f212ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Apr 1 19:13:22 2014 +0200
update TODO
commit faae655de3cdbed4be1d472b01ce0c4d81e905ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Apr 1 19:12:59 2014 +0200
man: add man page for sd_event_new()
commit 9ea28c55a2488e6cd4a44ac5786f12b71ad5bc9f
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Apr 12 22:35:50 2014 -0700
udev: remove seqnum API and all assumptions about seqnums
The way the kernel namespaces have been implemented breaks assumptions
udev made regarding uevent sequence numbers. Creating devices in a
namespace "steals" uevents and its sequence numbers from the host. It
confuses the "udevadmin settle" logic, which might block until util a
timeout is reached, even when no uevent is pending.
Remove any assumptions about sequence numbers and deprecate libudev's
API exposing these numbers; none of that can reliably be used anymore
when namespaces are involved.
commit a163b64c4b08e8a4ad39a9a295acf3d1634024a3
Author: Dan Kilman <dankilman at gmail.com>
Date: Sun Apr 13 18:06:13 2014 +0300
bash completion: fix __get_startable_units
commit b972115c97b9ec1bb17ee4897da6b85d82727ca8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Apr 12 17:17:49 2014 -0400
path-util: also check for existence of binary when given absolute path
In contrast to a filename-only argument, find_binary() did not
actually check if an path exists, allowing the code to fail later on.
This was OK, but it seems nicer to treat both paths identically.
Also take advantage of path_make_absolute_cwd doing strdup() by itself
if necessary to simplify.
commit eb66db55fc4b342e4253065886e0cc0419c45a07
Author: Mike Gilbert <floppym at gentoo.org>
Date: Sat Apr 12 16:07:45 2014 -0400
fsck: Search for fsck.type in PATH
Modifies find_binary() to accept NULL in the second argument.
fsck.type lookup logic moved to new fsck_exists() function, with a test.
commit b189101727e80a09864c5e5880663ef565467f19
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sat Apr 12 10:38:16 2014 -0700
hwdb: Update database of Bluetooth company identifiers
commit 05a2f6fefedd7254fd799502191d025d2908cf74
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sat Apr 12 08:37:38 2014 +0300
man: mention XDG_CONFIG_HOME in systemd.unit
commit aca33b078cd32c5416a7fa3d5020a5d461c130ee
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Fri Apr 11 22:57:02 2014 -0300
build: if -fstack-protector-strong is available, use it.
commit 472fc28fdade525e700ebf4b25d026a8c907796d
Author: Thomas Bächler <thomas at archlinux.org>
Date: Wed Apr 2 20:18:44 2014 +0200
core: Make sure a stamp file exists for all Persistent=true timers
If a persistent timer has no stamp file yet, it behaves just like a normal
timer until it runs for the first time. If the system is always shut down
while the timer is supposed to run, a stamp file is never created and
Peristent=true has no effect.
This patch fixes this by creating a stamp file with the current time
when the timer is first started.
commit baf167ee0a2953f98e4e7d4c35752ef737832674
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Apr 11 20:57:27 2014 -0400
journal: properly detect language specified in line
... it turns out that the duplicates in our own catalog were not real
duplicates, but translations.
commit e3b9d9c8027a7c4c55cf1614e0fe9423fad69e8f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Apr 11 08:44:55 2014 -0400
journal: cleanup up error handling in update_catalog()
- Negative/positive errno mixup caused duplicates not to be detected properly.
Now we get a warning about some duplicate entries in our own catalogs...
- Errors in update_catalog would be ignored, but they should not be.
commit 6e00a80641aaba814204c65365c2fd5a90768394
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 10 23:45:46 2014 -0400
test-dhcp-client: unref lease objects to make valgrind happy
Also unref client objects in test code, and initalize logging,
to DEBUG by default.
commit ca2d37841476e6272c9957c3f5a0cbe869a531ca
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 10 09:48:59 2014 -0400
Unify GREEDY_REALLOC and GREEDY_REALLOC_T
greedy_realloc() and greedy_realloc0() now store the allocated
size as the count, not bytes.
Replace GREEDY_REALLOC uses with GREEDY_REALLOC_T everywhere,
and then rename GREEDY_REALLOC_T to GREEDY_REALLOC. It is just
too error-prone to have two slightly different macros which do the
same thing.
commit 7cc832b91e8f5883b505c42f9f403e03dfc83c89
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 12 12:27:22 2014 +0200
networkd: link - require both RUNNING and LOWER_UP before using link
Usually RUNNING implies LOWER_UP, but for drivers that don't support oper state, RUNNING can
also mean that the state is unknown. In that case we should just trust LOWER_UP directly.
commit ffba61663aa5f11b2066928d74c09f00e60e9e20
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 12 12:05:43 2014 +0200
networkd: wait for IFF_RUNNING rather than IFF_LOWER_UP
The interface is not fully ready until it enterns RUNNING. This was causing
problems with sending out DHCP messages before the interface was ready, so they
would get lost. In particular this affected DHCP INIT-REBOOT, as it relies on
the first package sent being successful (or it will fall back to a full reboot).
Also improve the logging a lot, to make future debugging of link state a lot
easier.
commit 730b3062088792ea0ad06655046d548be01a6d79
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 12 11:20:28 2014 +0200
sd-dhcp-client: drop logging about T1/T2
These are redundant now that the REQUEST messages contain the same information.
commit 998d8047029fb922ec42e55c9ed0c8926d1d9223
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 12 01:01:13 2014 +0200
sd-dhcp-client: improve logging
Specify what kind of REQUEST we send, and distinguish between REBOOT and START.
Also log stop reasons as strings rather than numbers.
commit 7739a40b45fcc00874f8760be3d26534ed76cd45
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Apr 12 00:34:05 2014 +0200
sd-dhcp-client: use client_initialiez and client_restart for REBOOT
commit 702807365ee63f0929858ea26eeea593df4e51da
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 11 23:57:18 2014 +0200
networkd: add an assert
This error should never happen, so replace the check with an assert. The check
was anyway broken due to an uninitialized return value.
Reported by Thomas Hindoe Paaboel Andersen <phomes at gmail.com>.
commit 50d6810ea8117bbfcf7007ae779d1a98a7300b5f
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 11 21:02:16 2014 +0200
sd-dhcp-client: document message creation a bit more
Also reshuffle some code to make the correspondence with the RFC a bit more
obvious.
Small functional change: fail if we try to send a message from the wrong state.
commit 8a9e761600d0d44bcc2e665e4fe1fda30e3e4749
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 11 19:54:04 2014 +0200
sd-dhcp-client: assert that we can only create DISCOVER or REQUEST messages
commit eb105b96d58a3ebfeedb76a5d421b13748e0395c
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 11 18:02:54 2014 +0200
sd-dhcp-client: rebind raw socket when resetting transaction id
As we are now filtering the raw socket based on the transaction id, we must
reset the BPF when we reset the transaction id.
commit 4d978a46693e4f23bc73da6a0bafacfcff2aba05
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Apr 9 13:12:10 2014 +0300
sd-ipv4ll: Add an explicit stop state for IPv4LL
Add an explicit stop state for IPv4LL so that the user can stop the
IPv4LL client from the callback. When returning from the callback,
check also the stop state in order to halt any further protocol
processing.
commit 56cd007ab83749b85670c9c7f560e083980c2ff4
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Apr 9 13:12:09 2014 +0300
sd-ipv4ll: Add reference counting for IPv4LL
Similar to DHCP, the IPv4LL library user can decide to free the LL
client any time the callback is called. Guard against freeing the
LL client in the callback by introducing proper reference counting.
Also update code using the IPv4LL library to properly handle a
returned NULL from the notify and stop functions if the IPv4LL
client was freed.
commit 781ca7a13feb01739a9aa8b629ff1ff7c51e74aa
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Apr 9 13:12:08 2014 +0300
sd-dhcp-client: Add an explicit stop state for the DHCP client
Add an explicit stop state for the DHCP client so that the library
user can issue a stop at any time the callback has been called.
When returning from the callback, check also the stop state and
stop any further DHCP processing.
commit e5b04c8de83aa17e324bae95f18a822931fb8078
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Apr 9 13:12:07 2014 +0300
sd-dhcp-client: Add reference counting for DHCP
The DHCP library user can decide to free the DHCP client any time
the callback is called. After the callback has been called, other
computations may still be needed - the best example being a full
restart of the DHCP procedure in case of lease expiry.
Fix this by introducing proper reference counting. Properly handle
a returned NULL from the notify and stop functions if the DHCP
client was freed.
commit 48a4612e6b67ae81b93ee8e8a4b3f8efa5324270
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 11 00:51:55 2014 +0200
sd-dhcp-client: recevie_message - verify cmsg_len before reading
commit bc078e7163a826126e9ba03934978f510e9ef9e5
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Apr 11 00:04:39 2014 +0200
sd-rtnl: use SO_PASSCRED
This unifies the socket handling with other sd-* libraries.
commit 5ba85788ab3b934db90b42508c7a7892277b5e94
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Apr 11 00:48:19 2014 +0200
bash completion: add -i/--image to nspawn
commit 862bbf89c6e3db0a3ec265310eb6a92e0f1c375d
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 10 13:27:23 2014 -0700
bus: catch up with kdbus changes (ABI break)
commit dec51b29f9c7bd63b3c0555b486d163fb94981c9
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 10 13:02:35 2014 -0700
bus: update kdbus.h
commit d8c21348dfe8abd6557366f7982886248544e87a
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 10 12:58:10 2014 -0700
timedated: ignore initial delta in history data
commit 1b89cf56483991c1b6eaa2dcd375630f4623ba3a
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 10 19:40:48 2014 +0200
sd-rtnl: don't drop multi-part messages
We still only return the first message part in callback/synchronous calls.
commit 77768cbabc97d27535bd5329a11490f5c35a63f3
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 10 19:00:30 2014 +0200
sd-rtnl: use GREEDY_REALLOC for message queues
commit d47e1de40e410ab2149918c3269038d2c264b01d
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 10 16:37:47 2014 +0200
sd-dhcp-client: test - fix for jenkins
This test should have been updated when changing the magic cookie handling around.
Reported by Ken MacLeod.
commit 70f539ca147694c2a61131b7068526d88decd931
Author: Philip Lorenz <philip at bithub.de>
Date: Wed Apr 9 19:08:45 2014 +0200
nspawn: Fix erroneous OOM when building group list
change_uid_gid() never initialises sz which may cause greedy_realloc to
skip the initial buffer allocation.
commit 13be49798cc4d1bdf84780b6a315e920f20fa11a
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Thu Apr 10 11:33:12 2014 +0200
cgls: fix running with -M option
systemd-machined doesn't store cgroup path in a state file anymore.
Let's figure it out from the scope.
commit 9541666b8d97f107335dd7e3cb93b4d2cfbf19c9
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Apr 9 21:22:48 2014 +0200
login: add 'mir' to the list of session types
Add Mir to the list of session types. This is implemented for LightDM
in lp:~robert-ancell/lightdm/xdg-session-desktop [1].
[1] https://code.launchpad.net/~robert-ancell/lightdm/xdg-session-desktop/+merge/214108
(david: adjusted commit-header and fixed whitespace issues)
commit 13468826f2457cae45a79649e122deadb9dc9774
Author: Mike Gilbert <floppym at gentoo.org>
Date: Mon Mar 31 14:28:23 2014 -0400
Document CONFIG_NET_NS as a required kernel option
Several units now utilize the PrivateNetwork parameter, which requires
network namespace support.
commit 7ff8f4b53c158833b87899090552b18c922596de
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 8 21:26:19 2014 +0200
networkd: guard against NULL pointers
This should never be a problem, but better be safe than sorry.
commit aa6fc9b8c823834f262ab5ab2ac094a3775370a9
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 7 20:00:53 2014 +0200
sd-dhcp-client: include client id in debug messages
commit de41590a9bb370de92e4a1ed933bc6e38abb6787
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Apr 7 20:58:37 2014 -0400
man: reword Persistent= description
I think it is easier to grok this way.
commit c4acff1275e8d3a1c29c9b417b93f6cf6f10e258
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Apr 7 20:58:36 2014 -0400
test-dhcp-client: style fixes
commit 938d2699d2e818bd996614e89ea3d668200ad2a8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Apr 7 20:57:22 2014 -0400
backlight: unify error messages
commit d576127429a7be7d8e393d06f1bdd004fa37096c
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Apr 2 10:00:31 2014 +0200
libsystemd-network: Speed up checksum computation using 64 bit integers
Improve the checksum computation by using 64 bit integers instead of the 16 bit
integers in the existing implementation. This change speeds up the computation
with approximately 78% both on 64 bit and 32 bit systems.
Please see RFC 1071 for details.
commit 298f77c60c954a4e31229592ec95ee8e06ff1baa
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 7 09:17:53 2014 +0200
ipv4ll: use BPF on raw socket
This should significantly reduce spurious wakeups.
commit 463b73e24eb51fb787ccc033b47a35a780dec245
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Apr 7 09:12:59 2014 +0200
sd-ipv4ll: fix packet broadcasting
Umut said: 'I have noticed a bug that we are sending PROBE/ANNOUNCE messages on
00:00:00:00:00:00 address where it should be broadcast.'
commit 7429b07f822348dc5a87208ce107f5f6bf02656d
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 6 19:23:33 2014 +0200
sd-dhcp-client: improve BPF
Try a bit harder to make the kernel drop packets not for us. This should reduce
the number of wakeups from n^2 to n in the number of dhcp clients, which admittedly
only makes a differenc in very extreme cases.
commit 0c79c68d93d721d37ba088fb50dbf07bb0d447e5
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 6 19:35:36 2014 +0200
sd-dhcp-client: eagerly drop too small packets
If they are too small to fit the IP+UDP+DHCP headers they can be of no use, so
don't waste resources parsing them. This is at the cost of losing some verbosity
in the logging.
commit 3b7ca119fdc501e21f017695dc9b6f82fdbd1d93
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 6 14:05:32 2014 +0200
sd-dhcp-client: move magic cookie into DHCPMessage struct
Also move the checking of it to the main message handler, rather than the
options parser.
Fix a bug, so we now drop the packet if any of the magic bytes don't match.
Before we used to only drop the packet if they were all wrong.
commit 19aa72f74e41045510b4af3f1415b419d42ff20b
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Apr 6 18:00:26 2014 +0200
udev: net_id - use constants rather than magic numbers
commit 609211792b83267ca202b40f25d1755a004c8c96
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Apr 5 21:05:22 2014 +0200
journal-remote-parse: avoid passing null to memchr
Found with scan-build
commit b2103dccb354de3f38c49c14ccb637bdf665e40f
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Apr 5 13:59:01 2014 -0400
reduce the amount of messages logged to /dev/kmsg when "debug" is specified
commit b65f24238b0627143916a9c7f8315483a9666676
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Apr 5 13:29:50 2014 -0400
systemd-python: fix failing assert
A parameter which was always null before, now get's set to
the module.
commit b532cf3722e04adb0bd075666eb9989a9390d0a2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Apr 5 13:23:25 2014 -0400
systemd-python: use .hex instead of .get_hex()
It turns out the latter got removed in Python 3.
https://bugs.freedesktop.org/show_bug.cgi?id=77086
commit 0830ba618946876c1a0e62230bff81777a3f4de6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Apr 5 13:17:51 2014 -0400
build-sys: add newly used if_link.h defines to missing.h
Reported-by: Arnaud Gaboury <arnaud.gaboury at gmail.com>
commit ecb08ec6a5c52f2d940f3b8147e2a480affd46e1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Apr 3 14:05:01 2014 -0400
Fix a few return codes in error paths
commit ee0e4cca5ac37a094dfe1074907dae70c7b7701c
Author: Florian Albrechtskirchinger <falbrechtskirchinger at gmail.com>
Date: Thu Apr 3 21:17:20 2014 +0200
tty-ask-password-agent: return negative errno
Return negative errno in wall_tty_block(). get_ctty_devnr() already
returns a negative errno in case of failure, no need to negate it again.
Reported-by: Simon <hwold at odai.homelinux.net>
commit b3ae710c251d0ce5cf2cef63208e325497b5e323
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Apr 1 20:43:15 2014 -0400
systemctl: update NAME to PATTERN in help()
Previously the man page was modified, but not help().
commit a08ac7e0f72a502564aae6b85a8821f6bd03493c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Apr 1 09:07:32 2014 -0400
logind: remove one cast
commit 0ade5ffe2778e7b238bba8d979ca4d53dee1e702
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Mar 31 08:57:28 2014 -0400
journal: fix export of messages containing newlines
In "export" format, newlines are significant, and messages containing
newlines must be exported as "binary".
commit a36b8debe67f3a5515200dada75cf4dbc334c7f5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Mar 29 11:58:32 2014 -0400
journalctl: free arg_file on exit
commit 3cadce7d33e263ec7a6a83c00c11144930258b22
Author: Thomas Bächler <thomas at archlinux.org>
Date: Thu Mar 27 23:41:59 2014 +0100
backlight: do nothing if max_brightness is 0
On virtually any newer Asus mainboard, the eeepc-wmi driver is loaded.
It exposes a backlight device despite the lack of any physical backlight
devices. This fake backlight device has max_brightness set to 0. Since
the introduction of the clamp_brightness function, systemd-backlight
tries to write '1' to brightness and fails.
This patch changes systemd-backlight to exit gracefully when
max_brightness is 0 before performing any action. This affects
both the load and save actions.
commit 51e430a5b053dde2abc4bbd5d702ff2b900f10c2
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Apr 3 03:00:44 2014 +0200
bash_completion: busctl - add support for --user mode
commit 085ebc1b222b4fc7329a03c8459fe5fb1844c802
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Apr 3 22:52:21 2014 +0200
bash completion: Add -r/--recursive to systemctl
commit 60a0d61e7de8f1a87396fecc01e3cd0b2c6f8ae4
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Apr 3 19:09:22 2014 +0200
network: default to IPv4LL on host0
Now that we have a graceful handover from IPv4LL to DHCP, there is no longer any reason to leave this off by default.
commit 0a827d105de9d3d502f22e77fb3ff83da479c2e7
Author: Susant Sahani <susant at redhat.com>
Date: Thu Apr 3 13:35:56 2014 +0530
sd-rtnl: fix broken test cases and add support for tunnel
This patch fixes the broken test-cases for sd-rtnl and add support for ipip
and sit tunnel.
[tomegun: minor fixups]
commit aba496a58acf9d9c61314de71353550e579f85ee
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Wed Apr 2 21:31:12 2014 +0200
networkd: smooth transition from ipv4ll to dhcp address
Currently when both ipv4ll and dhcp are enabled, ipv4ll
address (if one has been claimed) is removed when dhcp
address is aquired. This is not the best thing to do
since there might be clients unaware of the removal
trying to communicate.
This patch provides a smooth transition between ipv4ll
and dhcp. If ipv4ll address was claimed [1] before dhcp,
address is marked as deprecated. Deprecated address is still
a valid address and packets can be received on it but address
cannot be selected as a source address. If dhcp lease cannot
be extended, then ipv4ll address is marked as valid again.
[1] If there is no collision, claiming IPv4LL takes between 4 to
7 seconds.
commit 3e790eae01ce74f94a5233adeab12c64508916e0
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Tue Apr 1 22:55:54 2014 +0200
networkd: drop routes when lease expires
commit 8016b904849a2d2bd8b0171ed8493db5524b5ff7
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Apr 2 16:20:13 2014 +0200
logind: don't print error if devices vanish during ACL-init
If a device is unplugged while we initialize it, we will get ENOENT for
ACL-init (and related stuff). We currently print errors then, which is
misleading. Print a debug-message early and continue.
commit ca2bb1606a170ce2e45de1345b0119bd220f4f0d
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Apr 2 15:47:09 2014 +0200
udev: do not export "static node" tags for non-existing devices
commit bc29e507e2731d594ab577d04c13d771b39fa0c1
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 09:54:18 2014 +0200
sd-dhcp-client: use BPF on raw socket
Filter out everything except UDP packets destined for the DHCP client port,
this should avoid the vast majority of spurious wakeups.
Filter based on [0], with permission.
Possible improvemnts: also check for the DHCP magic cookie to drop invalid
packets. Check for our xid to filter out packets destined for other clients.
[0]: <https://github.com/ambrop72/badvpn/blob/master/dhcpclient/BDHCPClient.c#L57>
commit b6b20d1d360cff3c485fbc2e20c03498eafe188d
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Apr 2 11:34:33 2014 +0200
build-sys: remove no longer needed user/org.freedesktop.DBus.busname
commit 5985ea4d1741543ca5218030a4ce8448bf49a1c7
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Apr 1 22:32:44 2014 +0200
build-sys: no use for compat libs in the static analysis
commit bcf3ce7b39529eb5421aa45d6336c9b12f8594c0
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Apr 1 21:29:20 2014 +0200
sd-ipv4ll: speed up bind() in the same way as for dhcp
commit 0ef298ab47439ee221c011eb602dc1607ddd11e9
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Tue Apr 1 15:00:31 2014 +0200
build-sys: workaround scan-build bug to fix ./autogen.sh s
It seems to be a clang-analyzer problem since it don't behave like
clang-compiler regarding -std={c99,gnu99}
commit 66a67effcc5beaf8a61e1c1147c3114b02a96439
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 23:28:58 2014 +0200
sd-dhcp-client: --omg-optimized
Passing the protocol to socket() is redundant as it will be specified again in
bind(). Dropping the redundancy reduces the cost of bind() from ~30ms to ~0ms.
For details see [0].
networkd in a container (i.e., with next to no network latency) can now
negotiate a DHCP lease in 0.7 - 5 ms.
Thanks to Kay for help with debugging and to Daniel Borkmann for the pointer
to fix the problem.
[0]: <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=902fefb82ef72a50c78cb4a20cc954b037a98d1c>
commit 208612034e16c6af0406fa0572da975bf8747d2e
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 17:17:56 2014 +0200
networkd: rewind rtnl message between passing it to functions
This makes updating link status on netdev links work again.
commit 689703f618f99661ca75db7c74984ec0fed27e08
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 14:43:34 2014 +0200
sd-rtnl: modernize a bit
commit 5fa4ddb88cb0cfb60aff1f502e39788a6ec136d3
Author: Lukasz Skalski <l.skalski at samsung.com>
Date: Mon Mar 31 11:34:42 2014 +0200
doc: fix items' names in PORTING-DBUS1
commit c589a0e6280beb9d8664eef74f525a07bbdbd37a
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 11:30:59 2014 +0200
TODO
commit fd88eb8ab0ae6b3dec15b29725ad040eafe7ac67
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 10:04:32 2014 +0200
networkd: link - fix memory leak
commit 2292547af9638e2b3f7e0e96a56dd6c909e516dc
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 31 10:01:59 2014 +0200
networkd: fix use-after-free
Free networks before links (the reverse of creation order).
commit c8a7165f582c322628a9b07fc7e01d0aab184b48
Author: Steven Siloti <ssiloti at gmail.com>
Date: Sun Mar 30 21:20:26 2014 -0700
sd-rtnl: fix off-by-one
Also fix type parameter passed to new0
commit 42742bf1ce3a2a4fecb82df9d8adea57133ae33b
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Mar 31 04:00:04 2014 +0200
timedated: adjust accuracy and slew values
commit 2ad7561f9f658f8dee168a76654c7d918e2260c7
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 30 20:36:44 2014 +0200
sd-dhcp: avoid checksum calculation if possible
When receiving lots of packets that are not meant for us, we waste a relatively large amount
of cpu time computing their checksums before discarding them. Move the checksum calculation last
so we never compute it for packets which would otherwise be discarded.
commit 6e34949d7207f9dff4e2b01a3037a0af88e1c25c
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 30 20:33:57 2014 +0200
sd-dhcp: check for ipv4 packets
commit d454a6748c34f0f67eef618238e0a64b80c85303
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Sun Mar 30 19:09:14 2014 +0200
sd-dhcp: check for udp packets
Do not try to parse ICMP packets
[tomegun: slightly tweaked debug message]
commit 3cbbb3e6787ad002cae3e1c80179af7d4d6cf9e7
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 29 23:53:03 2014 +0100
sd-rtnl: types - hook up bond types
Reported by Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
commit 0834ff93c3ec4d22ce58ae84baae8bb3126da0b6
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 29 23:52:03 2014 +0100
sd-rtnl: message - fix clang compile warning
commit aef0768e6c74c5be7c3422926efd46009342e9c6
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 28 19:11:15 2014 +0100
sd-rtnl: message - don't log about out-of-range attribute types
We will easily get these when running on newer kernels. However, we can safely ignore them as we
anyway don't know what to do with them.
commit ba5596ec2ed65943b66d42fbe6e9ef7ebc79216c
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 28 18:20:31 2014 +0100
networkd: netdev - improve logging when setting ifindex
commit d8e538ecd9e62f841242f07e3df5c835c1ba6313
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 26 19:25:01 2014 +0100
sd-rtnl: rework rtnl type system
Use a static table with all the typing information, rather than repeated
switch statements. This should make it a lot simpler to add new types.
We need to keep all the type info to be able to create containers
without exposing their implementation details to the users of the library.
As a freebee we verify the types of appended/read attributes.
The API is extended to nicely deal with unions of container types.
commit 9f5bbfe354c52cd9e28cca32c35596b73e8d738b
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 28 00:46:45 2014 +0100
sd-rtnl: message - fix memory leak
commit 8c57830308a612b06b53f5fd31cfb765d8710d68
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 23 15:33:24 2014 +0100
sd-rtnl: message - don't reference associated rtnl object
The object is not currently used, so just drop the refenence. If/when we end up
using the object in the future, we must make sure to deal with possible mutual
references between rtnl busses and their queued messages; as is done in sd-bus.
commit bf81e792f3c0aed54edf004c1c95cc6f6d81d0ee
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 27 21:47:14 2014 +0100
udev: persistent naming - we cannot use virtio numbers as they are not stable
This reverts commit 8741f2defaf26aafe5ee0fd29954cfdf84ee519c: 'Add virtio-blk support to path_id' and
commit e3d563346c4237af23335cc6904e0662efdf62ad: 'udev: net_id - handle virtio buses'.
Distros may want to take note of this, as it changes behavior.
commit 9f2a50a3005a771a3b6cea2136b6a6c7e5686a0e
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Mar 27 20:13:11 2014 +0100
silence warnings
commit 93c941e3fb232da014a4b8050c960b63cb2bbf3d
Author: Brandon Philips <brandon at ifup.co>
Date: Thu Mar 27 11:51:57 2014 -0700
systemctl: fix spelling in comment
commit d4b687c96adf207f0878aebf3ce3371f6160687f
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Mar 27 15:30:09 2014 +0100
udev: update net_id comments
commit 15f392394e75ffb7f318920008fd1bbe4e82b488
Author: Scott Thrasher <scott.thrasher at gmail.com>
Date: Wed Mar 26 18:48:13 2014 -0700
Add hwdb entry for Samsung Series 7 Ultra
commit e57e4e2be345f346bb49547ecad71dc000c406b2
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 19:22:17 2014 +0100
build-sys: update "linkcheck"
<kay> ssuominen: and drop --no-as-needed from the linkcheck?
<kay> ssuominen: i expect it all triggers without the gc-sections thing alone
<ssuominen> if the intention is to make it strict as possible,
to catch undefined references caused by missing -lfoo in linker line, then
LDFLAGS="-Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--no-gc-sections"
commit bc61d6ac014a25e50cd0bc32fbd50cdb534be1c6
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 13:12:47 2014 +0100
build-sys: rename "check-broken" to "linkcheck"
commit 381a662a90ed0ae3a011374e4acb252eb622306f
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 13:06:46 2014 +0100
build-sys: split "make upload" and "make tango"
commit f89b42ec0fd51feab5566d6bdbacee101023c037
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Tue Mar 25 20:21:23 2014 -0700
hwdb: Update database of Bluetooth company identifiers
commit 530a9662aa3d291555e5b3f6eb43199e1b04f63c
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 03:47:03 2014 +0100
core: do not read system boot timestamps in systemd --user mode
Before:
$ systemd-analyze --user
Startup finished in 2.810s (firmware) + 48ms (loader) + 122ms (userspace) = 122ms
After:
$ systemd-analyze --user
Startup finished in 122ms (userspace) = 122ms
commit 4851ac45269f539ff8c90fe686178128584b820c
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 03:38:48 2014 +0100
bus: provide org.freedesktop.systemd1.busname for systemd --user
commit 0afee06b26b14d3394733eff74522bda1ccdcef1
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 02:30:32 2014 +0100
build-sys: disable test-cgroup-mask, it mangles valid user data in /run/user/$UID/
$ ./test-cgroup-mask
...
rmdir("/run/user/2702/systemd/generator") = 0
open("/run/user/2702/systemd/generator.late", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_NOFOLLOW|O_NOATIME|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFDIR|0755, st_size=3200, ...}) = 0
fcntl(5, F_GETFL) = 0x78800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_NOFOLLOW|O_NOATIME)
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
getdents(5, /* 160 entries */, 32768) = 10072
unlinkat(5, "org.gnome.Weather.Application.busname", 0) = 0
unlinkat(5, "dbus-org.gnome.Weather.Application.service", 0) = 0
...
commit 5870f79a0bb7d891b1cdb20043816aa2a21c0425
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 26 01:26:44 2014 +0100
build-sys: add "make check-broken" to find limited-toolchain link errors
commit 2fa495c8a4ea25cb96daebb8aa0d146b74353016
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 25 23:16:31 2014 +0100
build-sys: fix library link order
commit 78a337bd30a42d3d58846ab81f1541afbe7a99bb
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 25 23:05:52 2014 +0100
gitignore update
commit 307e6d8304b80000699e81aa988ae315af4ac218
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 25 23:04:13 2014 +0100
build-sys: split-off internal libsystemd-resolve
commit 4433c995c77b66f42fe4a238aff6b53706628a2e
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Mar 25 20:28:31 2014 +0100
completions: fix/augment zsh completions for systemd-nspawn, busctl, loginctl, hostnamectl, localectl, machinectl
commit 10b17992ee59ac1d03d6fc210a976bc2b59f6d75
Author: Jason St. John <jstjohn at purdue.edu>
Date: Mon Mar 24 23:14:28 2014 -0400
src/systemd: fix grammar and spelling errors in comments
commit 3b5b000fbc2ed6d953df2de528a50a8348afc618
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 20:22:41 2014 +0100
build-sys: prepare 212
commit 51c61cda1a542c9e999bfdc6aab4a029c0ae7f5a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 05:02:35 2014 +0100
build-sys: prepare NEWS for 212
commit 9a6704a81fb5431f7b32dea267a837b1c2b86801
Author: Susant Sahani <susant at redhat.com>
Date: Tue Mar 25 14:13:30 2014 +0530
sd-rtnl: add support for tunnel attributes
Added support for tunneling netlink attrributes (ipip, gre, sit).
These works with kernel module ipip, gre and sit . The test cases are
moved to a separate file and manual test as well because they require
respective kernel modules as well.
commit 41ca2c206bb70168f662200784ded59d1af22044
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 24 22:21:08 2014 +0100
sd-rtnl: message - don't try to enter unsupported containers
Currently we only support containers in RTM_*LINK messages.
Reported-by: "Thomas H.P. Andersen <phomes at gmail.com>"
commit 5ba6e0949cef1a5b947dd59665bad1ca5066619d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 04:08:16 2014 +0100
time: support @ syntax for denoting times since the UNIX epoch 1970-1-1
commit a2b135e3d8d5dfa103a87e304ed8a91b01fdbb02
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 02:11:52 2014 +0100
update TODO
commit 67608cad2301f9ab5c92336992c176505640f2ba
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 01:46:24 2014 +0100
util: consider both fuse.glusterfs and glusterfs network file systems
Based on a similar patch by Lukáš Nykrýn.
commit 981e4cd325410384cdadd837f34c002699d2d750
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 01:30:19 2014 +0100
ask-password: modernizations
commit 036eeac5a1799fa2c0ae11a14d8c667b5d303189
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 01:27:05 2014 +0100
ask-password: when the user types a overly long password, beep and refuse
Based on a similar patch from David Härdeman.
commit af7424af70d063412c09b0125f4d4a39865210dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 00:51:22 2014 +0100
systemctl: add more verbose explanation of --kill-who and what control/main processes are
commit 0088d63151e088d62104d88f866e9eb049091c22
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 00:31:48 2014 +0100
systemctl: --kill-mode is long long gone, don't mention it in the man page
commit 905826156de95d173b26e7a57df29188a1020cd0
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 00:26:09 2014 +0100
man: be more specific when EnvironmentFile= is read
http://lists.freedesktop.org/archives/systemd-devel/2014-March/018004.html
commit d2753d220044892495769f7f9fca297cf86d01b9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 00:10:41 2014 +0100
man: explain that the journal field SYSLOG_IDENTIFIER is usually derived from program_invocation_short_name
commit b107b705cc97d3033e37c44229deb37b5aa31df5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 00:03:23 2014 +0100
update TODO
commit 75145780813957ecbe6835f2c8bc20113a3605d2
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 00:01:51 2014 +0100
sd-event: don't accidentally turn of watchdog timer event if we determine 0
commit 52444dc478fe38b5b69a771923ab429a41927aa5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 23:54:21 2014 +0100
sd-event: initialization perturbation value right before we use it
That way, we don't forget to initialize it when the watchdog is
initialized before all event sources.
commit 56dc9aec21ab23f76fadf45585adf88e71aa8078
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 23:54:14 2014 +0100
sd-daemon: fix incorrect variable access
commit ac1a87b9f2d085ef1f976a79042fe8797da9b329
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 23:45:58 2014 +0100
cryptsetup: minor typo fix
commit 79e16ce3bf734434081e57f1170333277830a592
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 23:45:33 2014 +0100
networkd: fix a couple of memory leaks
commit c3ebdce39a748f738f3731730cd085ff3551b379
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 24 21:50:16 2014 +0100
networkd: netdev - fix error handling in set_ifindex()
Firstly, remove stray assert(). Also be a bit stricter when verifying the
received info. If we get an applicable newlink message that we can't make
sense of, we will now enter NETDEV_FAILED, as we cannot reasonably continue
without knowing the ifindex of our device.
commit c4bfd1691f4d3e26d6d7f34dbca941e119956e8a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 21:04:02 2014 +0100
core: don't try to relabel mounts before we loaded the policy
commit 07a062a79374406e8f6b5a1e2f80c80baf031567
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Mar 18 00:27:05 2014 -0400
timedate: fix numerous grammar errors in comments and output/debug messages
commit 3caf0bc89ba1282db0f24fb1d179e67dc92a37e3
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 24 20:33:41 2014 +0100
sd-rtnl: tests - drop redundant tests
These tests were both broken and redundant, so let's drop them.
commit e43e3e3eed40d72d2d2d3efff2d889a91ef93262
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Wed Mar 19 11:20:41 2014 +0900
libsystemd: Don't use "class" in public headers
For compatibility with C++
commit 7f8aa67131cfc03ddcbd31c0420754864fc122f0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 20:07:42 2014 +0100
core: remove tcpwrap support
tcpwrap is legacy code, that is barely maintained upstream. It's APIs
are awful, and the feature set it exposes (such as DNS and IDENT
access control) questionnable. We should not support this natively in
systemd.
Hence, let's remove the code. If people want to continue making use of
this, they can do so by plugging in "tcpd" for the processes they start.
With that scheme things are as well or badly supported as they were from
traditional inetd, hence no functionality is really lost.
commit 1cfc57e8847ab2b138e5a8fcff4f881b3b1a9b60
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 19:57:10 2014 +0100
build-sys: add makefile link
commit 1c07b16c2f98e03d44f1dff5343110c60934ff07
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 19:55:47 2014 +0100
service: don't take chkconfig priority into account
Given that native services do not carry a sysv priority anyway it is
pointless reading them from chkconfig headers, and pretend they'd work.
So let's drop this.
commit 6c7c89dfc61cc87e779bbc22bac524d7c7cd8c0d
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 24 17:13:24 2014 +0100
networkd: add CapabilityBoundingSet
commit e634cd409669130f77e552d2a57c1fca08738014
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 24 11:58:22 2014 +0100
sd-rtnl: message parsing - log when ignoring message attributes
commit d39edfc72f9296078a18014627bf0a2543b60627
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 24 00:07:46 2014 +0100
networkd: netdev - verify that newlink messages has the expected kind
We match 'newlink' messages with expected netdev's based on their names. Now also
make sure that the receieved link has the expected kind.
commit 3dd215e056ee9ff23175eca66686ff9b7a566dbf
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 23 21:45:46 2014 +0100
sd-rtnl: add sd_rtnl_message_enter_container()
Extend rta_offset_tb into a stack of offset tables, one for each parent of the
current container, and make sd_rtnl_message_{enter,exit}_container() pop/push
to this stack.
Also make sd_rtnl_message_rewind() parse the top-level container, and use this
when reading a message from the socket.
This changes the API by dropping the now redundant sd_rtnl_message_read()
method.
commit 48791a98be997ed22e8c45a89d8d728a2151c074
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 16:48:39 2014 +0100
units: networkd shouldn't have PrivateTmp= set, since it runs in early-boot
/tmp is only available in later boot, and we shouldn't create private
subdirs in it hence, while we are still in early boot.
commit 777920bc039f3b1af08eae7e59a598b2bb7e5aaa
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 16:23:56 2014 +0100
update TODO
commit bd8f585b9996667db89764ece1cacf37672e3223
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 16:22:34 2014 +0100
core: add a setting to globally control the default for timer unit accuracy
commit dedabea4b3d61a87cedb5c8d7ccce5b86ea84afe
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 16:09:54 2014 +0100
timer: support timers that can resume the system from suspend
commit e955c45881eec5895fa10bf107bee3fafed38645
Author: Daniel Mack <zonque at gmail.com>
Date: Mon Mar 24 14:44:58 2014 +0100
sd-bus: invert bus->is_kernel check in sd_bus_get_peer_creds()
The bug was introducted in a3d59cd1 ("sd-bus: don't use assert_return()
to check for disconnected bus connections")
commit cd31d1884f1ecf38e11bc6268f446d75dfafbc25
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Mon Mar 24 12:07:41 2014 +0100
rules: update qemu hid rules
Update comment to be a bit more specific.
Change match to blacklist the serial number of the broken devices
instead of whitelisting the serial number of the fixed devices.
This allows to do something useful with the serial number in the
future.
commit d784e2dbac20d7aa6c2da82d6267173b58c55df8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 03:42:17 2014 +0100
systemctl: show last trigger time in "systemctl list-timers"
commit 3d94f76c99da13e5603831d0b278f8c8c21bcb02
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 03:22:44 2014 +0100
util: replace close_pipe() with new safe_close_pair()
safe_close_pair() is more like safe_close(), except that it handles
pairs of fds, and doesn't make and misleading allusion, as it works
similarly well for socketpairs() as for pipe()s...
commit 6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 24 02:49:09 2014 +0100
sd-event: rework API to support CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM, too
commit f66eeb6bb636f8061bf45e6e8e24761e87510800
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 23 21:44:47 2014 +0100
sd-rtnl: message - protect against SEGFAULT when reading messages
Make sure the returned data fits the datatype we requested. Otherwise return -EIO.
Also fix a broken test that this exposed.
commit a212d0dadd1e5e7bc0a57b8dfe2feb9111db2678
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 23 17:51:20 2014 +0100
sd-rtnl: message - don't skip parts of message when parsing
If a message type occurs repeatedly let the last one win.
Also, don't skip type == MAX.
Based on patch from: Susant Sahani <susant at redhat.com>
commit 374c356979ba7222fa7e09005824fe6996b0e91e
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sat Mar 22 19:31:31 2014 +0100
sd-bus: mark sd_bus_unref() as broken regarding self-refs
If you allocate a message with bus==NULL and then unref the main bus,
it will free your message underneath and your program will go boom!
To fix that, we really need to figure out what the semantics for
self-references (m->bus) should be and when/where/what accesses are
actually allowed.
Same is true for the pseudo-thread-safety we employ..
commit 23aedd029452b65c11b6eb838e44f60be1c66814
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Mar 22 18:27:35 2014 +0100
README: update
commit f33016ff8b56c45dc85485ecf4d59f435c42ca40
Author: Thomas Bächler <thomas at archlinux.org>
Date: Sat Mar 22 01:41:12 2014 +0100
README: Correct EFI requirements
systemd does not need or use CONFIG_EFI_VARS anywhere, this should
be CONFIG_EFIVAR_FS instead.
commit eb33a6f858c2cd39dcf9c2f39514c9f83ed040fe
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sat Mar 22 18:06:38 2014 +0100
sd-bus: add note about sd_bus_unref() recursion
In sd_bus_unref() we check for self-reference loops and destruct our
queues in case we're the only reference holders. However, we do _not_
modify our own ref-count, thus effectively causing the
message-destructions to enter with the same reference count as we did.
The only reason this doesn't cause an endless recursion (or trigger
assert(m->n_ref > 0) in sd_bus_message_unref()) is the fact that we
decrease queue-counters _before_ calling _unref(). That's not obvious at
all, so add a big fat note in bus_reset_queues() to everyone touching that
code.
commit 22fdeadcc06e95fe41ac4de872ec245c0887547f
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sat Mar 22 17:43:30 2014 +0100
sd-rtnl: fix self-reference leaks
Like sd-bus, sd-rtnl can have self-references through queued messages. In
particular, each queued message has the following self-ref loop:
rtnl->wqueue[i]->rtnl == rtnl
Same is true for "rqueue".
When sd_rtnl_unref() gets called, we must therefore make sure we correctly
consider each self-reference when deciding to destroy the object. For each
queued message, there _might_ be one ref. However, rtnl-messages can be
created _without_ a bus-reference, therefore we need to verify the
actually required ref-count.
Once we know exactly how many self-refs exist, and we verified none of the
queued messages has external references, we can destruct the object.
We must immediately drop our own reference, then flush all queues and
destroy the bus object. Otherwise, each sd_rtnl_message_unref() call would
recurse into the same destruction logic as they enter with the same
rtnl-refcnt.
Note: We really should verify _all_ queued messages have m->rtnl set to
the bus they're queued on. If that's given, we can change:
if (REFCNT_GET(rtnl->n_ref) <= refs)
to
if (REFCNT_GET(rtnl->n_ref) == refs)
and thus avoid recalculating the required refs for each message we
remove from the queue during destruction.
commit 2afa65c3122542b21d1881fada917c89b8913bd4
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 22 10:52:49 2014 +0100
sd-dhcp-client: test - don't close socket twice
One end of the socketpair is closed by the library, so only close our end. Also switch to
the safe_close() so we get notified about problems with closing.
commit c6f7c917a1b494d4455800823472227463f87438
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 21 21:38:14 2014 +0100
libsystemd-network: move network-utils from src/shared
This does not belong in shared as it is mostly a detail of our networking subsystem.
Moreover, now we can use libudev here, which will simplify things.
commit b5db00e52ee2e20578839e4e4488f7b9af9abc38
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Fri Mar 21 19:23:35 2014 +0100
sd-ipv4ll/networkd: generate predictable addresses
Increase the chance of using the same link local address between reboots. The
pseudo random sequence of addresses we attempt is now seeded with data that is
very likely to stay the same between reboots, but at the same time be unique
to the specific machine/nic.
First we try to use the ID_NET_NAME_* data from the udev db combined with the
machin-id, which is guaranteed to be unique and persistent, if available. If
that is not possible (e.g., in containers where we don't have access to the
udev db) we fallback to using the MAC address of the interface, which is
guaranteed to be unique, and likely to be persistent.
[tomegun: three minor changes:
- don't expose HASH_KEY in the siphash24 header
- get rid of some compile-warnings (and some casts at the same time),
by using uint8_t[8] rather than uint64_t in the api
- added commit message]
commit 18bb8adb06002a5963a3373fa30c12cfa89b9724
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Mar 21 17:49:50 2014 +0100
timedated: do not reset poll interval with a spike
commit 4644fee04fb515787bcfbba53b3cabe58c81d317
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 21 18:36:32 2014 +0100
sd-dhcp-client/sd-ipv4ll: allow mac address to be updated at any time
If necessary, restart the clients to deal with a changing mac address
at runtime. This will solve the problem of starting clients on bridges
before they have received their final MAC address.
commit 9765ce69e15fd294db9553777b621515fa57f2c6
Author: Brandon Philips <brandon at ifup.co>
Date: Thu Mar 20 11:28:12 2014 -0700
network: dhcp: create explicit host route to gateway
Some DHCP servers gives you a netmask of 255.255.255.255 so the gateway is not
routable. Other DHCP client implementations look through the existing routes to
figure out if they should add an explicit host route. See below for a link.
However, it makes sense to just create the route explicitly whether it is
needed or not since it is explicit, makes the dhcp route entries independent of
other entries and saves us from knowing the state of the kernel tables.
After patch route table on a machine with a network (common case):
default via 10.0.2.2 dev ens3
10.0.2.0/24 dev ens3 proto kernel scope link src 10.0.2.15
10.0.2.2 dev ens3 scope link
After patch route table on a machine without a network (this case):
default via 10.240.0.1 dev ens4v1
10.240.0.1 dev ens4v1 scope link
The code from dhcpcd that works around this issue is on line 637.
https://android.googlesource.com/platform/external/dhcpcd/+/master/configure.c
commit 9e64dd72765ddc2583554ebed24eb2c824564838
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 19 16:05:44 2014 +0100
sd-dhcp-client: add fallback subnet masks
The DHCP RFC does not require the DHCP server to send a subnet mask, so if it
is missing, let's try to use the default subnet masks based on address class.
In case the class the address belongs to does not have a default subnet mask,
we fail as before.
Also improve logging when handling invalid dhcp messages, and simply ignore them
rather than stop the whole dhcp client.
commit 022446adf99b84c59a88c2e614033ccde13c395c
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 19 17:19:22 2014 +0100
sd-dhcp-client: make timeout handling a bit more robust
Accept any lease lifetime greater than one second. Server should not
hand out extremely short leases, but let's not be the ones to fail.
Do not fail when arming a timer in the past, but also only arm one such
timer.
Avoid rounding errors when computing the default timeouts, this may be
an issue if we are handed a very short lease.
Also, don't pass 'time_now' around, as that can be found in the event
object when needed.
commit a853c45d9a85adbed3fa5a4d93b051bf8161015b
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 21 03:42:49 2014 +0100
missing: add more compat for old kernels and loop devices
https://bugs.freedesktop.org/show_bug.cgi?id=76335
commit a351a679ed087a30574d4fec95fa88069f87d046
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 21 03:35:28 2014 +0100
man: document ARM root partition types
commit c144692179098c1861f2aeafc67689a74439cf4c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 21 03:27:17 2014 +0100
update TODO
commit 06642d1795382a4849aa750ee54238f91e2f3126
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 21 03:25:28 2014 +0100
timer: add timer persistance (aka anacron-like behaviour)
commit 155e8b9adce60eff5aa5cdeb16fac7b6530e3e3f
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 20 20:19:59 2014 +0100
TODO
commit eb34d4af3fd2ddfaa4bdb591a1549d203e2d8ac8
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 20 19:57:19 2014 +0100
networkd: link - create dhcp and ipv4ll eagerly
Make sure the client objects exist for the lifetime of the Link.
commit c49b33aca6fd6a66e2bc43dad4a12701b7df8472
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 20 19:20:55 2014 +0100
networkd: update mac address in clients when it changes
Pass the mac address on to ipv4ll and dhcp clients so they always have
up-to-date information, and may react appropriately to the change.
Also drop setting the mac address from uevent, and only log when the
address actually changes.
commit 58ec2d3e6e7d2274f5bb5cb64b936f1dbac45168
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 20 16:21:43 2014 +0100
sd-dhcp-client: do not reset 'secs' when entering INIT-REBOOT
Also keep start_time in sync, but that shouldn't matter.
commit 6236f49b230568ba3163df71fd7d386d354091de
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 19 14:45:35 2014 +0100
sd-dhcp-client: don't pass around 'secs'
The value is stored in the client object, so get it there when needed.
commit d790d3f17325df9004b1a6cc4f5a107d5eeec7d8
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Thu Mar 20 10:31:49 2014 +0200
libsystemd-dhcp: Update client test case for client id and end option
Check that the client identifier is formatted as suggested in the
RFC and that the messages sent ends with an end option.
commit 9d7bf1d58c2ce7f383f256a5beb1f5fc4ee843f5
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Mar 19 14:38:59 2014 +0200
libsystemd-network: Don't unnecessarily send too long packets
Since the length used by options is known, send packets with no
extra padding.
commit 715c6a9acd6ce4cce4fdfe8a62a32dc8f552e1d7
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Mar 19 13:53:02 2014 +0200
libsystemd-network: Prepend hardware type byte to client identifier
Even though client identifiers SHOULD be treated as opaque objects by
DHCP servers, follow the recommendation of a hardware type field with
value 0x01 (ethernet) followed by the hardware address as described in
RFC 2132.
commit f1b2c3eccb5ca2cbf97bb14b735fef5784bf3a90
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 20 04:19:23 2014 +0100
update TODO
commit c2c13f2df42e0691aecabe3979ea81cd7faa35c7
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 20 04:16:39 2014 +0100
unit: turn off mount propagation for udevd
Keep mounts done by udev rules private to udevd. Also, document how
MountFlags= may be used for this.
commit b5640d824565ac4e305714598d4828de21ceaea1
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 23:25:41 2014 +0100
update TODO
commit f21a71a907a1b1289faec94559f4a1c111ea1d13
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 23:08:39 2014 +0100
core: enable PrivateNetwork= for a number of our long running services where this is useful
commit 7181dbdb2e3112858d62bdaea4f0ad2ed685ccba
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 22:46:45 2014 +0100
core: move notify sockets to /run and $XDG_RUNTIME_DIR
A service with PrivateNetwork= cannot access abstract namespace sockets
of the host anymore, hence let's better not use abstract namespace
sockets for this, since we want to make sure that PrivateNetwork=
is useful and doesn't break sd_notify().
commit 907afa0682c8d6f00937b11b04be6b8a26a3cd41
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 22:26:08 2014 +0100
man: improve documentation of fs namespace related settings
commit 7d711efb9c6fd6d025cb688aa8317ce6a78db711
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 22:00:43 2014 +0100
core: make sure we can combine DevicePolicy=closed with PrivateDevices=yes
if PrivateDevices=yes is used we need to make sure we can still
create /dev/null and so on.
commit a3d59cd1b0a2738d06893948492113f2c35be0af
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 21:41:21 2014 +0100
sd-bus: don't use assert_return() to check for disconnected bus connections
A terminated connection is a runtime error and not a developer mistake,
hence don't use assert_return() to check for it.
commit 598459cebac7cc93089769a992e7b03287f77e12
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 20:40:05 2014 +0100
core: rework context initialization/destruction logic
Let's automatically initialize the kill, exec and cgroup contexts of the
various unit types when the object is constructed, instead of
invididually in type-specific code.
Also, when PrivateDevices= is set, set DevicePolicy= to closed.
commit ae439c9f9b8a9cbb320d66290e3f9ad0e2f37378
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 18:31:54 2014 +0100
sd-bus: properly translate high-level attach flags into kdbus attach flags
commit 5a2e420c1f0961c2819d0c5e35bcf911a7ba559d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:56:16 2014 +0100
update TODO
commit b46a529c7c2d8e1db000ff00ddf42fc9f86d54e1
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:55:43 2014 +0100
core: when PrivateTmp= is set for a unit, make sure to order it after /tmp and /var/tmp are mounted
commit d99a70529637d44cdd8f6ade3b981ea33f09d90d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:45:28 2014 +0100
units: make use of PrivateTmp=yes and PrivateDevices=yes for all our long-running daemons
commit 7973ca1927e1f3bac9438f3529458c9ff868905d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:24:47 2014 +0100
update TODO
commit 2b85f4e19cee6a8533208f9fd618a7da6d32ad51
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:23:32 2014 +0100
core: Beef up PrivateDevices=
Also mount /dev/kdbus, /dev/mqueue and /dev/hugepages into the /dev for
namespaced services.
commit d0ce77344bfb71e50da7296cd0d4f2529a109044
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:21:01 2014 +0100
busctl: when monitoring the bus, enable all credentials
commit 6af00e06e4e9efacc5a9941eb3b9fffa1c816ee6
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 16:19:06 2014 +0100
core: expose missing busname properties on the bus
commit 7bf2f4397255bc8f6cf20a0f2adab4c984ea7d14
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 19 10:41:29 2014 +0100
sd-dhcp-client: accept infinite lease lifetime
Otherwise we would fail with -EINVAL. Thanks to Brandon Philips
<brandon.philips at coreos.com>, for reporting the bug.
commit 8b1243f72ed321bd11f0939405b6d0963ce5eea5
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Jan 31 11:31:22 2014 +0200
libsystemd-network: Add Init-Reboot support
Init-Reboot is tried if a client IP address has been given when
the DHCP client is started. In Init-Reboot, start by sending a
broadcast DHCP Request including the supplied client IP address
but without the server identifier. After sending the request,
enter Reboot state.
If a DHCP Ack is received, proceed to Bound state as usual. If a
DHCP Nak is received or the first timeout triggers, start the
address acquisition over from DHCP Init state.
See RFC 2131, sections 4.3.2, 4.4, 4.4.1 and 4.4.2 for details.
commit 0f941add365638ad487ba94017cc2cf1f8d45195
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Mar 12 11:46:40 2014 +0200
libsystemd-network: Restart DHCP acquisition if the lease expires
This causes the DHCP client struct initialization and DHCP client
starting to be factored out into functions of their own.
commit 8fc8e3ab98104db40f5674984dd3edb54e62267f
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Mar 12 12:52:00 2014 +0200
libsystemd-network: Add hangcheck timer for DHCP client test
commit a838c939a3a50b7318efac7b960392ca8d13bb1e
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Tue Feb 25 13:33:24 2014 +0200
libsystemd-network: Export checksum function to test case
Remove identical checksum function implementation from the test
case code.
commit 4658568002357edfc7ea634ddafca925d185606b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 04:17:37 2014 +0100
update TODO
commit 09365592341b4ba4ceca677bb551dcde811e0333
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 04:17:00 2014 +0100
sd-bus: add proper monitoring API
commit 4f10118016f9b2fd7e1d26c9ef7d91eb33fba694
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 03:09:51 2014 +0100
core: by default .busname units should be activating
commit 622efd8775bc8140c43f86e741495a1eac3f2b36
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 02:28:03 2014 +0100
update TODO
commit 5892a914d173e4b968d2a14fbf717373dee3999a
Author: Daniel Mack <zonque at gmail.com>
Date: Mon Mar 17 11:41:21 2014 +0100
busname: introduce Activating directive
Add a new config 'Activating' directive which denotes whether a busname
is actually registered on the bus. It defaults to 'yes'.
If set to 'no', the .busname unit only uploads policy, which will remain
active as long as the unit is running.
commit ec8408740a32888f0bbbdcb79ccfbf550b12f19f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 01:48:23 2014 +0100
update TODO
commit d2e7b05f248a03dc528f4a270dac2ac3ff3e605a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 01:36:03 2014 +0100
core: when creating an activating busname attach all metadata fields to the messages queued for it
This way we can be sure that the service the messages are ultimately
intended for finds all fields it might need.
commit f9d12d44393189e6ebad59208902b759958635f2
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 01:35:52 2014 +0100
update kdbus.h
commit 5f381b355a95b953654e46ba3ccdc81bdec165ea
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 01:10:14 2014 +0100
missing: define LO_FLAGS_PARTSCAN if it is missing
https://bugs.freedesktop.org/show_bug.cgi?id=76335
commit c4a7b2c56e907e39fa9a6cdb21c1970464abd44e
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 19 00:54:41 2014 +0100
util: add new FOREACH_STRING() macro as syntactic sugar to iterate through a number of fixed strings
commit cb9da7f24fb057813606c87f9a73fdb941baa78c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 21:06:08 2014 +0100
update TODO
commit ce236b57bee9a081d62db04bcc5be34e3ba6d217
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 21:05:16 2014 +0100
man: dcument sd_bus_negotiate_fds() and friends
commit 2ce97e2b04c9f9ee51529488f3114693d5204ff1
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 21:03:37 2014 +0100
sd-bus: if we got a message with fds attached even though we didn't negotiate it, refuse to take it
This makes sure we don't mishandle if developers specificy a different
AcceptFileDescriptors= setting in .busname units then they set for the
bus connection in the activated program.
commit 3f9da416457c4265b8f1179516a32ad1a987ff7d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 20:54:32 2014 +0100
core: add new AcceptFD= setting to .busname units
AcceptFD= defaults to true, thus making sure that by default fd passing
is enabled for all activatable names. Since for normal bus connections
fd passing is enabled too by default this makes sure fd passing works
correctly regardless whether a service is already activated or not.
Making this configurable on both busname units and in bus connections is
messy, but unavoidable since busnames are established and may queue
messages before the connection feature negotiation is done by the
service eventually activated. Conversely, feature negotiation on bus
connections takes place before the connection acquires its names.
Of course, this means developers really should make sure to keep the
settings in .busname units in sync with what they later intend to
negotiate.
commit 63405595065fb60811440680b148261e9ec50704
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 19:31:44 2014 +0100
test
commit 03e334a1c7dc8c20c38902aa039440763acc9b17
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 19:22:43 2014 +0100
util: replace close_nointr_nofail() by a more useful safe_close()
safe_close() automatically becomes a NOP when a negative fd is passed,
and returns -1 unconditionally. This makes it easy to write lines like
this:
fd = safe_close(fd);
Which will close an fd if it is open, and reset the fd variable
correctly.
By making use of this new scheme we can drop a > 200 lines of code that
was required to test for non-negative fds or to reset the closed fd
variable afterwards.
commit 9459781ee66eb57709c8b8701701365ba60a9f1c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 17:59:11 2014 +0100
udate TODO
commit f1660f96f59dad860d39f148c3a747050d112763
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 17:58:19 2014 +0100
core: drop CAP_MKNOD when PrivateDevices= is set
commit 45aee6d67ad62a651720f22e67273a692014f948
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 18 16:20:15 2014 +0100
timedated: update test address
commit 6080625dc833144aca0817d1b9fd23f2fbcdf5c2
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 18 16:17:51 2014 +0100
hwdb: update
commit d23c45bfccb3ed6e2628e6d12b4ea12b8c920ab9
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Mar 18 14:13:01 2014 +0100
sd-dhcp-client: make sure timers fire immediately
The default slack caused there to be a delay before timers fired. Solve it
by setting timers that should trigger immediately to trigger far in the past.
This brings down the ideal-case dhcp lease acquisition time from about 500ms to
about 50ms (over a veth pair, so no network latency involved).
All the rest of the time (except for ~0.5ms) is spent in the bind() call in,
dhcp_network_bind_raw_socket(). I don't know if there is anything to be done
about that though...
commit 4dd5da7f7d37f964fe95b0f0d451d7843a34591d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Mar 17 22:13:47 2014 -0400
microhttpd-util: avoid double free on error
It seems that resources are properly deallocated by MHD_destroy_response,
even if enqueuing the request fails.
Also replace a trivial printf with alloca and fixup log message
(it'll now be something like "Connection from CN=some.host.name",
which seems clear enough.)
commit 9786767a36803f6a27870e6f2a666113565e19d2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Mar 17 22:11:18 2014 -0400
journal-remote: do not attempt to read from µhttpd connections
This chunk got lost in one of the rebases :(
commit 1dba654b27918c22e413ac5b3c19301f1ff86ad2
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 04:44:39 2014 +0100
machinectl: reimplement machinectl's "reboot" verb on top of "kill", and add new verb "poweroff"
There's really no point to send the reboot SIGINT from machinectl
directly, if machined can do that anyway. This saves code, and
makes machinectl network transparent for these verbs. And while we are
at it we can easily add a "poweroff" verb in addition to "reboot". Yay!
commit de58a50e24a0d55e3bbcc77f8f6170a7322acf52
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 04:43:08 2014 +0100
machined: fix Kill() bus call on machine objects when "what" is specified as "leader"
commit df23374071f497831c4d25076a12b1da41054271
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 03:53:59 2014 +0100
update TODO
commit 679142ce4a8def7da43c4d3b2a02bae8c0d21175
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 04:06:54 2014 +0100
core: remount /sys/fs/cgroup/ read-only after we mounted all controllers
Given that glibc searches for /dev/shm by just looking for any tmpfs we
should be more careful with providing tmpfs instances arbitrary code
might end up writing to.
commit a641dcd9bf05418d6a6c165e1c0cff615b4a0f47
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 04:06:36 2014 +0100
cgroup: it's not OK to invoke alloca() in loops
commit 50933da01b71d3f5a0b869731fc41ce89881db69
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 03:53:02 2014 +0100
systemctl: sort local host entry before container in list-machines output
commit 90c3f79dc74229134818e78cb97d315e28ee93b5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 18 03:51:24 2014 +0100
systemctl: prefix list-units and list-machines output with a circle indicating a failure state
(Subject to --no-legend)
commit 12c0d47c60f4fb6f5a11c02ddb91a6c7ded5a049
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 18 03:57:35 2014 +0100
timedatectl: clear ADJ_MAXERROR to make sure we keep STA_SYNC set
commit 761a7c71b649b5e926c28c703a11fbdc22dd6df1
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Mar 17 21:59:43 2014 +0100
systemd-run: extend bash completion
--system
-H --host
-M --machine
--service-type (options: simple forking oneshot dbus notify idle)
--uid
--gid
--nice
--setenv
-p --property (options read from bus_append_unit_property_assignment)
commit fd1e5b62e8d44761ec9d6b6f49590cccc0be1e8f
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Mar 17 21:50:49 2014 +0100
remove unused variable
commit f47c5c47d1a7bcfa1842ff7cc52b1f7fc1d86bcf
Author: poma <pomidorabelisima at gmail.com>
Date: Mon Mar 17 21:08:40 2014 +0100
man: networkd - additional examples related to bridging
commit 58dfc42ecfa95f2b859790d726bfae2feea1faa9
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 17 18:28:30 2014 +0100
build-sys: move sd-login src/login â src/libsystemd/sd-login
After all, it is ultimately linked to libsystems.so anyway, thus belongs
there and shares very little with the rest of logind, hence let's move
this away.
commit 4c63a53ac5190dc8b837c15daefec5772de66bdc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 17 18:15:38 2014 +0100
update TODO
commit bf34ab149f3038686bc75e1592179abac1700322
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 17 18:14:26 2014 +0100
sd-login: add calls that retrieve credentials of peers connected to AF_UNIX peers
This is supposed to be an extension of SO_PEERCRED and SO_PEERSEC,
except for cgroup information.
commit 7366b080b324caf66e2ca1671f8ce7f57ace7553
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 17 15:18:11 2014 +0100
update TODO
commit 6f285378aa6e4b5b23c939d1fea16f9ab0a57efb
Author: Miklos Vajna <vmiklos at vmiklos.hu>
Date: Fri Mar 14 21:13:38 2014 +0100
core, libsystemd, systemd, timedate, udev: spelling fixes
commit 9029f64298cb70c12ecf638fddee7f41b056fcf1
Author: Jason St. John <jstjohn at purdue.edu>
Date: Mon Mar 17 00:03:46 2014 -0400
man: improve wording of systemctl's --after/--before
Commit 4a77ca7 was an attempt at fixing the wording of --after and --before,
but the new wording was unclear.
Split the combined --after/--before section into a separate section for
each, explicitly state what each option does, and add information about
how these lists are generated.
Reported-by: Andrey Borzenkov <arvidjaar at gmail.com>
Reported-by: Lennart Poettering <lennart at poettering.net>
commit 3f573096641cf3d350c8779971c644ca74aab93a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Mar 17 00:13:48 2014 -0400
build-sys: bump required µhttpd version
MHD_USE_EPOLL_LINUX_ONLY, MHD_USE_DUAL_STACK are only available in
next-but-last release.
commit 8a8d55f2c104cf99efe5f244fc4857a15e9f60de
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Mar 16 22:33:35 2014 -0400
journal-remote: implement inheriting http(s) sockets
Now --listen-http=-3 --listen-https=-4 can be used to spawn a µhttpd
server on those two ports, in http and https modes respectively.
As before, --listen-http=3 --listen-https=4 will launch µhttpd servers
on ports 3 and 4.
commit e7216d112aff3ba4ce196db95b86d77d5a1b234e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Mar 16 20:05:50 2014 -0400
microhttpd-util: use static buffer for static messages
Most of the messages we send do not require a allocating and
freeing a buffer, to optimize this by using const strings.
Also, rename respond_error to mhd_respond*, since it is used
not only for errors.
Make use of information from printf to avoid one extra call to
strlen.
commit cc64d0175a3c2c974709e9962c00fbe04d74c43f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Mar 15 15:58:03 2014 -0400
journal-remote: HTTP(s) support
The whole tool is made dependent on µhttpd availability. It should be
easy to make the µhttpd parts conditional, but since transfer over
HTTP seems to be the primary use case, currently this is not done.
Current implementation uses nested epoll loops: sd-event is used for
the external event loop, and µhttpd uses epoll in its own
loop. Unfortunately µhttpd does not expose enough information to add
the descriptors it uses to the external event loop. This means that
starvation of other events is possible, if one of the inner µhttpd
loops is constantly busy. This means that µhttpd servers should not
be mixed with other sources.
The TLS authentication parts haven't been really tested properly, and
should not be take too seriously.
commit fdfccdbc985944a57017a25f44dd6acc1a937bab
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 1 23:08:03 2012 +0100
journal-remote: tool to receive messages over the network
commit f12be7e8ca278a5a207d0fd051acec700b804a7a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 1 11:12:05 2012 +0100
journal-gatewayd: check if certificate is signed by CA
If --trust=ca.crt is used, only clients presenting certificates signed
by the ca will be allowed to proceed. No hostname matching is
performed, so any client wielding a signed certificate will be
authorized.
Error functions are moved from journal-gateway to microhttp-util and
made non-static, since now they are used in two source files.
commit cafc7f91306ea17ace4a6c3d76d81c8780c87452
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 28 23:08:35 2012 +0100
journal-gatewayd: log to journal from gnutls
Prefix "gnutls: " is added. Some semi-random mapping of gnutls levels
to syslog levels is done, but since gnutls levels seem to be used
rather loosely, most end up as debug.
commit 6031319956b4b1d13799373bfda3e8690f6fa874
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 28 12:45:31 2012 +0100
build-sys: add check on gnutls
commit e5ebe12b770bbb7bf73177517c339dc3601a5efc
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 26 23:02:14 2012 +0100
journal-gatewayd: ask clients to provide certificates
A certificate authority certificate will be presented to clients,
causing them to present their client certificate, if it is signed by
this authority (default behaviour of most clients). No certificate
checking is actually performed.
commit e0aa3726103448097e5ad7cc6f427e142103a321
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Mar 9 21:33:04 2014 -0400
activate: export make_socket_fd
Also improve logging to print out the parsed address on error.
commit 6cf487afad4ef4706b5d6d9ba5df24cac68e687a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Nov 2 15:05:31 2012 +0100
shared: export is_dir
commit d18d46ecea80a7f07415edb9264af6a254fd70bb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 3 20:13:46 2012 +0100
journal: export valid_user_field and size defines
In preparation for use elsewhere.
commit 63c8666b824e8762ffb73647e1caee165dfbc868
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 1 22:36:52 2012 +0100
journal: extract duplicated code to a function
commit fc55baee9964a118afbddbf82b8e667a0ad80b99
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 1 22:26:22 2012 +0100
journal: extract duplicated code to a function
commit 2fc74bf4336eb7a7e40c0b355d19966cd97d4b3c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Mar 10 21:19:23 2014 -0400
journald: remove stray reset of error return value
commit 1238ee09b7babb175b9bf7ad1d0e8eb2a414ee6e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 17 03:31:38 2014 +0100
systemctl: introduce -r switch to show units running in local containers in addition to the host
commit 9ec65868668839136ee10bcf6785938c3ad9a1a1
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Mar 17 00:18:55 2014 +0100
timedated: move test logging to test program
commit a47b9e628367eb39ce00c3774e2b6488684fe6c0
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Mar 16 23:51:50 2014 +0100
timedated: update spike handling
commit 3dbc7620030b7eacfe19d55f1bcd8237dd3230ef
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Mar 16 22:57:42 2014 +0100
timedated: update spike handling
commit 7b41586761d6173cf6596b84a55d6b036662e068
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Mar 16 17:45:06 2014 +0100
timedated: handle external system time changes
commit f8294e4175918117ca6c131720bcf287eadcd029
Author: Josh Triplett <josh at joshtriplett.org>
Date: Sat Mar 15 11:40:07 2014 -0700
Use strlen even for constant strings
GCC optimizes strlen("string constant") to a constant, even with -O0.
Thus, replace patterns like sizeof("string constant")-1 with
strlen("string constant") where possible, for clarity. In particular,
for expressions intended to add up the lengths of components going into
a string, this often makes it clearer that the expression counts the
trailing '\0' exactly once, by putting the +1 for the '\0' at the end of
the expression, rather than hidden in a sizeof in the middle of the
expression.
commit 039dd4afd64a8c8413ff28d43f533c30c5a06a16
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 16 13:55:41 2014 +0100
nspawn: UP the host side of the veth pair after adding it to a bridge
commit 1f0db3ed88015a0510b8bf4723af2121ee55d9a8
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 16 13:02:16 2014 +0100
sd-rtnl: never treat broadcasts as replies
Otherwise the sequence number of a broadcast may match the sequence number of a
pending unicast message and cause confusion.
commit e09826dcf13a17cd63d900502282c511a06ecbe8
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 15 20:03:34 2014 +0100
networkd: netdev - support joining already existing netdevs
commit 6a8402d956a6f89910530e6b364c79be821d2d9d
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 15 20:02:24 2014 +0100
sd-rtnl: make RTM_NEWLINK report EEXIST by default
Use RTM_SETLINK to update an existing link.
commit d2d66d1ce7da459ee2a01ac033197dbd053df9f8
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Mar 15 16:57:51 2014 +0100
timedated: print delay and jitter in debug output
commit 3a450ec5c6adf3057bcedd6cc19c10617abc35a5
Author: Wieland Hoffmann <themineo at gmail.com>
Date: Mon Mar 10 15:17:32 2014 +0100
_sd_machines: Use machinectl --no-legend
Otherwise bogus entries from the header and footer would show up in the
completion list.
commit d895500c478c6ad7904905bb4c08176d5a6c0763
Author: Wieland Hoffmann <themineo at gmail.com>
Date: Mon Mar 10 15:17:31 2014 +0100
zsh completion: Install _sd_machines with _machinectl
_machinectl uses _sd_machines to provide a list of all available
machines.
commit 8fe90522fb74dd84ff791a7546fee70047672396
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Mar 14 21:43:56 2014 -0400
timedated: use builtins for integer log and exp
commit 40b71e89bae4e51768db4dc50ec64c1e9c96eec4
Author: Sebastian Thorarensen <sebth at naju.se>
Date: Fri Mar 14 00:38:15 2014 +0100
journald: add support for wall forwarding
This will let journald forward logs as messages sent to all logged in
users (like wall).
Two options are added:
* ForwardToWall (default yes)
* MaxLevelWall (default emerg)
'ForwardToWall' is overridable by kernel command line option
'systemd.journald.forward_to_wall'.
This is used to emulate the traditional syslogd behaviour of sending
emergency messages to all logged in users.
commit 9003d9b0d628be059922e522fd35f9c5b4d8b039
Author: Sebastian Thorarensen <sebth at naju.se>
Date: Fri Mar 14 00:38:05 2014 +0100
utmp-wtmp: allow overriding username on wall
utmp_wall() now takes an optional argument 'username_override' which
allows the caller to override the username shown on wall messages.
journald will use this to inform users that its wall messages comes from
'systemd-journald'.
commit 5a4d665ad679a8436f1210ba67d713a8f0b91b96
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 21:15:32 2014 +0100
sd-bus: don't choke if somebody sends us a message with a unix fd count of 0
It's kinda pointless to include a unix fd header field in messages if it
carries the value 0, but let's do this anyway...
commit bbb6ff0216a7c081a2e63e01b1f121592b0165bb
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 21:12:36 2014 +0100
sd-bus: don't access invalid memory if a signal matcher was freed from its own callback
commit 29bfbcd675d750c0af4d7dae217722932249e435
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 21:11:31 2014 +0100
util: add hexdump() call to create pretty hexdumps of data
This is very useful when debugging sd-bus to look at messages.
commit edb2935c5c5b95c42b8679086f60da5eafad74cb
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 21:10:55 2014 +0100
update TODO
commit eed0eee85ac34abd81cd9e81fdb6a19f47b6c8a3
Author: Michael Olbrich <m.olbrich at pengutronix.de>
Date: Fri Mar 14 18:19:29 2014 +0100
networkd: fix typo
It's HAVE_SPLIT_USR not HAVE_SPLIT_USER
commit a86eae57ff8e28f194b84719835cb7f88112dd11
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 15:12:05 2014 +0100
gpt: introduce root partition type GUIDs for ARM 32bit + ARM 64bit
commit cf9a4abdc24c43565d0890fcb88c00169057c0c4
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Thu Mar 13 21:32:13 2014 -0700
tmpfiles: add --root option to operate on an alternate fs tree
This makes it possible to initialize or cleanup an arbitrary filesystem
hierarchy in the same way that it would be during system boot.
commit 4cf7ea556aa1e74f9b34d4467f36d46a1bb25da3
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Thu Mar 13 21:32:12 2014 -0700
shared: add root argument to search_and_fopen
This adds the same root argument to search_and_fopen that
conf_files_list already has. Tools that use those two functions as a
pair can now be easily modified to load configuration files from an
alternate root filesystem tree.
commit 315db1a8aed226a51a4cf700172249cfd10ae115
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Mar 14 09:05:56 2014 -0400
Do not return -1 (EINVAL) on allocation error
commit fe970a8a30d611d454cb40025cfc32e29efa34e6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Mar 14 08:43:21 2014 -0400
machine-id-setup: use path_kill_slashes and modernizations
commit cb44f25c12f6203ad1f173d5b32d4059f446508e
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 14 13:04:57 2014 +0100
man: network - clarify which options may be specified more than once.
commit 92f2f92edcad46ce4098ee26504edca0a1dad68e
Author: Greg KH <gregkh at linuxfoundation.org>
Date: Fri Mar 14 04:43:04 2014 +0000
machine-id: add --root option to operate on an alternate fs tree
This makes it possible to initialize the /etc/machine-id file on an
arbitrary filesystem hierarchy. This helps systems that wish to run
this at image creation time in a subdirectory, or from initramfs before
pivot-root is called.
[tomegun: converted to using _cleanup_free_ macros]
commit 06f021a8048583d66202e3ac5cd0a12386d33ac2
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 13 20:46:45 2014 +0100
networkd: allow more than one static DNS server
commit 0ea51a1129b9984a3c6d96cef1b0e33c99b5e9cf
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 13 19:02:28 2014 +0100
networkd: fix creation of runtime dirs at startup
This allows us to drop the repeated attempted creations of the runtime dirs during runtime.
commit 2a1763edfbdb95be643d595afbcc64f3fc092e46
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 13 18:42:56 2014 +0100
networkd: lease - store (up to) one dhcp lease file per interface
This removes an accidentally left-over test fragment.
commit 7947952edea208f004d48e978a9fc35e6ed4ab8c
Author: Dave Reisner <dreisner at archlinux.org>
Date: Thu Mar 13 21:56:07 2014 -0400
nspawn: remove unused variable
commit f418f31d5042398344740f2d8ac4dc1c2583151c
Author: Brandon Philips <brandon.philips at coreos.com>
Date: Thu Mar 13 15:19:40 2014 -0700
nspawn: allow -EEXIST on mkdir_safe /home/${uid}
With systemd 211 nspawn attempts to create the home directory for the
given uid. However, if the home directory already exists then it will
fail. Don't error out on -EEXIST.
commit b64c7b3d5b06af9fafd47c0795acb003ddbe90ef
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 01:49:32 2014 +0100
update TODO
commit 66cdd0f2d0670b054bd27dad16fcb5838b11dde3
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 14 01:38:19 2014 +0100
logind: automatically remove SysV + POSIX IPC objects when the users owning them fully log out
commit bcdbbd7ee1b7dc6ec19261c957ed11e5e1ed1aaf
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Mar 10 22:15:56 2014 +0100
timedated: add SNTP client/query hookup (unused for now)
commit 42c4ebcbd4cbd7b27667eb8081ee4dc46f9ece17
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 20:33:22 2014 +0100
sd-bus: don't look for a 64bit value when we only have 32bit value on reply cookie hash table access
This broke hashtable lookups for the message cookies on s390x, which is
a 64bit BE machine where accessing 32bit values as 64bit and vice versa
will explode.
Also, while we are at it, be a bit more careful when dealing with the
64bit cookies we expose and the 32bit serial numbers dbus uses in its
payload.
Problem identified by Fridrich Strba.
commit 82923adfe5c4fa09cc91fd2a2e374c936cd4a186
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 20:00:50 2014 +0100
bus: fix memory leak when kdbus is not enabled
commit 01dde0611bbf08f7e27aa8442f36eea2d0cca9de
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 13 17:47:30 2014 +0100
nspawn: make host0's MAC address persistent
We still need to make sure that no two MAC addresses are the same, so we use
a logic similar to what is used in udev to generate MAC addresses, and base
it on a hash of the host's machine ID and thecontainer's name.
commit fc6c7fe9becdd70ae6b671c396f2ad2db0b71cd7
Author: Hendrik Brueckner <brueckner at redhat.com>
Date: Tue Mar 11 18:41:09 2014 +0100
getty: Start getty on 3270 terminals available on Linux on System z
Add the first 3270 terminal device that is associated with the Linux preferred
console to the list of virtualization consoles. This is required to
automatically start a getty if the conmode=3270 kernel parameter is specified
for Linux on z/VM instances. Note that a queued upstream patch also enable
the 3270 terminal device if it is associated with the Linux preferred console.
How
To successfully start agetty on a 3270 terminal, a change in the agetty
parameter order is required. Previously, agetty would started like this:
/sbin/agetty --keep-baud 3270/tty1 115200,38400,9600 TERM
The agetty program interprets the "3270/tty1" as baud rate and fails to start
with the "bad speed: 3270/tty1" error message. Fixing this in agetty is more
complex rather than reordering the command line parameters like this:
/sbin/agetty --keep-baud 115200,38400,9600 3270/tty1 TERM
According to agetty sources and "agetty --help", agetty accepts the "tty",
"baudrate tty", and "tty baudrate" specifications.
P.S. The "tty: Set correct tty name in 'active' sysfs attribute" introduces
a change to display the terminal device which is associated with the
Linux preferred console. This change helps to let systemd handle this
particular case only. Without the changes of this commit, no additional
3270 terminal device can be managed by systemd.
https://git.kernel.org/cgit/linux/kernel/git/gregkh/tty.git/commit/?id=723abd87f6e536f1353c8f64f621520bc29523a3
commit c3441de0613490a1f29d5f1fd0856e07e7c90b49
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 03:58:56 2014 +0100
systemctl: autopage always if systemctl status is invoked without args
commit ea6c2dd1f819c3d481fc590849809aeb552c1d48
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 03:58:03 2014 +0100
systemctl: suppress duplicate newline if there's not log output in "systemctl status"
commit 15ef11449b31e2fc91f2172c8afedb20ecad5ae9
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 03:44:32 2014 +0100
systemctl: reorder verbs
commit 3df538da67091623044f00c2dbf488a194a689c6
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 03:44:21 2014 +0100
systemctl: make sure status -a doesn't terminate too soon
commit b0d14c69b2907798ffde32b49b4f28a90242dbb7
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 03:43:36 2014 +0100
systemctl: show a colored red dot in "status" output indicating the state of a unit
commit a878789268a0d3e165cde1b816534d40bddf78c4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Mar 12 21:39:31 2014 -0400
build-sys: make sure we rebuild manpages when doing releases
https://bugs.freedesktop.org/show_bug.cgi?id=76056
commit bddabb577046b95e7ea6c73d7695d5a0c104b26a
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 01:39:09 2014 +0100
update TODO
commit 727fd4fda56aded228967955d9805bc12cbcf794
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 01:33:33 2014 +0100
nspawn: honour GPT partition flags when mounting file systems following the discoverable partitions spec
commit 8d0cfd6c8858d4f32d1eda122eb5a61e96e6ac54
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 01:06:41 2014 +0100
gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table
commit fa041593fe04b12ffd7e81d8b3598a7a6f313fb3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 01:06:19 2014 +0100
gpt-auto-generator: print debug messages when we ignore a block device
commit cca1dfddd4ce4357113663532696488427cc54e4
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 01:01:56 2014 +0100
gpt-auto-generator: honour read-only and no-auto flag from GPT data
Similar to the read-only and no-automount flags of Microsoft Basic Data
Partitions, introduce our own flags. We map them to the same flag bits
as Microsoft's, to keep things simple.
commit f75cac3746efa4c3fb0b1dbc458c9ae0bf083a52
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 13 00:46:58 2014 +0100
cryptsetup: call static variables parsed from command line arg_XYZ like in all other tools
commit 9c4495ca561624c2f0085507dd1288ed5f1247c5
Author: Tomasz Torcz <tomek at pipebreaker.pl>
Date: Wed Mar 12 19:25:11 2014 +0100
gpt-auto-generator: don't return OOM on parentless devices
commit 9d16d0c7d0b05e3ff278c3c95e1f2f871f348dd3
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Wed Mar 12 20:09:25 2014 +0100
socket.c: make use of union sockaddr_union
commit 8fcf784dffba1ca24c2790b96c18dd689d4981fb
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 23:33:46 2014 +0100
systemctl: when "systemctl status" is called without arguments show a short overall system state
Previously "systemctl status" without argument would print the status of
all loaded units. This has now been moved to "systemctl status -a".
commit 0851062751fe5083326308b9901527fc4b234919
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 22:27:13 2014 +0100
manager: use system state enum where appropriate
commit dc36d78e116a7ce4a119a527299785025c925679
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 22:26:22 2014 +0100
macro: make sure we can use IN_SET() also with complex function calls as first argument
commit 0d292f5e7597a729365644edfbcdf2e5fac8beb4
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 21:13:58 2014 +0100
systemctl: add new "list-machines" command
"systemctl list-machines" shows one line per local container which
includes the current system state of the container, the number of failed
units as well as the number of currently queued jobs.
commit f755e3b74b94296a534033dd6ae04d9506434210
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 20:55:13 2014 +0100
core: introduce system state enum
The system state knows the states starting â
running/degraded/maintenance â stopping, where:
starting = system startup
running = normal operation
degraded = at least one unit is currently in failed state
maintenance = rescue/emergency mode is active or queued
stopping = system shutdown
commit 0325941fff60888ff3486f271b0d513a75f9a324
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 20:54:29 2014 +0100
sd-login: add sd_machine_get_class() call
commit 01f83c1c765db13e20a241a48733333360457718
Author: Josh Triplett <josh at joshtriplett.org>
Date: Tue Mar 11 18:51:17 2014 -0700
util: Make in_charset a static inline in util.h
With in_charset now reduced to a one-liner (plus asserts), make it a
static inline.
commit e0333c7314e89c0bc268bd20c5e247a7c907ab34
Author: Josh Triplett <josh at joshtriplett.org>
Date: Tue Mar 11 16:45:56 2014 -0700
util: Rewrite in_charset to use strspn
This simplifies in_charset down to a one-liner, and allows for possible
optimizations of strspn in libc.
commit 7b909d7407965c03caaba30daae7aee113627a83
Author: Josh Triplett <josh at joshtriplett.org>
Date: Tue Mar 11 21:16:33 2014 -0700
backlight: Avoid restoring brightness to an unreadably dim level
Some systems turn the backlight all the way off at the lowest levels.
Clamp saved brightness to at least 1 or 5% of max_brightness. This
avoids preserving an unreadably dim screen, which would otherwise force
the user to disable state restoration.
commit cddc35f75ecff63b2ffd3f8e4c863d475e7b14ca
Author: Josh Triplett <josh at joshtriplett.org>
Date: Tue Mar 11 21:09:04 2014 -0700
backlight: Fix copy/paste error printing an unrelated error code
udev_device_get_sysattr_value returns NULL on failure, but doesn't
provide an error code; thus, when printing an error from it, don't print
an unrelated error code from a previous call.
commit 13b28d822462e9a0a7130ad40bed08cb380082f0
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 16:39:21 2014 +0100
NEWS: 211 was actually released past midnight, so let's use the correct date
commit 769918ecd30c0f7ee6e87b9aa6226d956bd2f530
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 12 16:38:49 2014 +0100
update TODO
commit f937d3d662ffd66416bb8b949ea59331dd9b2172
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Mar 12 01:25:05 2014 +0100
test-dhcp-client: remove pointless initializer, wrongly committed earlier
commit 0ce91e4e3ba60d5c87307c1be4a3f6095790c4c2
Author: Mike Gilbert <floppym at gentoo.org>
Date: Tue Mar 11 18:14:18 2014 -0400
build-sys: Fix move-to-rootlibdir
Since we now use ln -s --relative, using this sed statement is redundant
and causes broken symlinks to be installed.
commit b5d3e1688133077ca20542a20dcd8919147e72e1
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 11 22:38:54 2014 +0100
logind: move lid switch handling from logind-main to logind-core
../src/login/logind-dbus.c:1352: error: undefined reference to 'manager_set_lid_switch_ignore'
collect2: error: ld returned 1 exit status
make[2]: *** [test-login-tables]
commit 4ef0809c22a7d15bae3865d44596ff6e3cdaf1cb
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 11 21:46:36 2014 +0100
build-sys: add libsystemd-label to network/dhcp users
commit 223763f5800fba637bd3f9a8fbb9549dd47a07e9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 20:57:17 2014 +0100
build-sys: we still want to rebuild the tarball though on upload
commit 22e7062d749c69d7edfcd52ef7cc6ec005e862d5
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Tue Mar 11 20:46:57 2014 +0100
NEWS: fix typo
sittings -> settings
commit 9f19a44770548dca87d3699c997921e88eeec459
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 20:45:47 2014 +0100
build-sys: when I upload the tarball, don't run the whole distcheck thing again
I run this anyway, and given how slow it is now due to -flto, let's make
my workflow a bit faster...
commit 4ef6e535e30c67d4ff34b2ca785e555dbaeac14e
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Mar 11 20:41:12 2014 +0100
NEWS: update
commit 6bf6f402b67b51d55765cbf3d1c7cb707a346969
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 20:25:00 2014 +0100
build-sys: prepare release 211
commit 1810e3dc6218afd69c469cfb816254730a0ef4e3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 20:20:54 2014 +0100
man: improve nspawn's --user= documentation
commit 699b6b3491dc265ead79602404ad67ccdacae302
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 20:18:06 2014 +0100
NEWS: prepare for release 211
commit f8791e820b717f4c6aa26fa35890a7cbcae8296d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 19:10:49 2014 +0100
update TODO
commit a6278b88305b237b02eabff0d870b57fe851822d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 19:03:50 2014 +0100
bus: replace sd_bus_label_{escape,unescape}() by new sd_bus_path_{encode,decode}()
The new calls work similarly, but enforce a that a common, fixed bus
path prefix is used.
This follows discussions with Simon McVittie on IRC that it should be a
good idea to make sure that people don't use the escaping applied here
too wildly as anything other than the last label of a bus path.
commit 2be56ff1e49c8954a0899da701233acf053e95a4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 18:02:17 2014 +0100
update TODO
commit 689aede8c622ba68d9060e4edee27364445b2007
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 17:57:15 2014 +0100
fstab-generator: when running in a container, ignore fstab entries referring to device nodes
Since these device nodes will never appear in the container anyway
there's no point in waiting for them.
This makes it easier to boot images generated with general purpose
installers like Anaconda which unconditionally populate /etc/fstab to
boot in containers.
commit 7a249d0c1b2b2fa46e4dd7ff633699fe0f19fb5a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Mar 11 12:55:17 2014 -0400
build-sys: sign releases
commit 3448456bb20384987a5a6335518072f7c35ba32b
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Mar 11 14:57:16 2014 +0100
hostnamectl: read OS pretty_name and cpe_name from remote
commit 44c3298855b60d4635b1be989d7abf0b87070935
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Mar 11 14:57:15 2014 +0100
hostnamed: expose OperatingSystemPrettyName and OperatingSystemCPEName on the bus
commit f200e8bb34d08616dbcb03d6503d0610f4e7e5bc
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Mar 11 14:57:14 2014 +0100
hostnamed: minor improvements in context_write_data_other()
Prepare context_write_data_other() and rename it to
context_write_data_machine_info()
commit 94036de887ad5b0dc805abe38b5c1c58b57d9465
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Tue Mar 11 17:49:00 2014 +0200
logind: Do not fail display count if a device has no parent
udev_device_get_parent() may return NULL when the device doesn't have a
parent, as is the case with (for example) /sys/devices/virtual/drm/ttm.
Also, log an actual error message instead of "-12 displays connected".
commit 4de82926892eb1636d0a25cf1e4ab15cab6a6099
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Tue Mar 11 18:00:13 2014 +0200
nspawn: fix argv[0] for getent
commit a07f961e98456714e7516c75041d5150d8641776
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 17:43:00 2014 +0100
nspawn: allow using kdbus from nspawn containers
commit e41969e3d1a8bda8b0b2f7eb012cef1c8835509a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 17:42:24 2014 +0100
core: support globbing matches in DeviceAllow= when checking for device groups
commit 98b2f766b24c84fc49a4df954717b1f96bbce00d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 17:27:58 2014 +0100
gpt-auto-generator: rename root device node symlink to /dev/gpt-auto-root
Before it was placed in /dev/disk/by-id, which makes it a bit too much
API. However, it's mostly an implementation detail for now, hence move
it out of the stable block device dir.
commit f401e2b24ba17452f9655993a6dedefdffe06d23
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Tue Mar 11 09:33:31 2014 -0700
hwdb: Update database of Bluetooth company identifiers
commit 66390abefae6530981446970ffd7ff4d1085e254
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Mon Feb 24 17:06:21 2014 +0100
udev: properly detect reference to unexisting part of PROGRAM's result
commit 93570bd7ed31aad336c1a0a88ba08159c9c8e4cc
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Mar 11 10:57:00 2014 +0100
sd-dhcp-client: use close_nointr_nofail()
We are already assuming the close() will not fail, so make it explicit.
commit f0c4cd7a2c2835a392b5b1807d8c506ab0af44de
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 10 23:40:34 2014 +0100
networkd: rework startup
Open all listenerns before loading configuration.
commit 63edaa623bee43c934a0c357e8c6498992429391
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 9 22:51:07 2014 +0100
sd-dhcp: generalise ip header generation
This will be needed for sd-dhcp-server.
commit a7b1c3971a30546fe633e320d45033aba8b2ca3c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 05:40:36 2014 +0100
README: document that we still encourage people to turn off audit when they want to use containers
commit 236af516b866473c22f980b556a2d7535cef4d9b
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Wed Feb 19 23:17:45 2014 +0100
logind: add a debug message in case the session already exists
If the session already exists then the only way to log it is to set the
debug option of pam_systemd. There are no debug messages in the login
service that permits to log if the session already exists.
So just add it, and while we are it add the "uid" field to the debug
message that indicates that the session was created.
commit 4a77ca700d1841c2b8a86ed5b7f3495db61c236d
Author: Andrey Borzenkov <arvidjaar at gmail.com>
Date: Fri Feb 21 20:44:06 2014 +0400
man: fix description of systemctl --after/--before
It was backward - --after fetches After property, so units shown really
come *before* unit given as argument. Same for --before.
commit 252094eb05c58270a0bc35b14ad30a126ddbb3bb
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 05:23:39 2014 +0100
man: multiple sleep modes are to be separated by whitespace, not commas
As pointed out by Jason A. Donenfeld.
commit f39d4a08e746e703d562076a0f622eb91dbdcd3e
Author: Harald Hoyer <harald at redhat.com>
Date: Thu Mar 6 16:35:02 2014 +0100
systemctl: for switch-root check, if we switch to a systemd init
If "systemctl switch-root" is called with a specific "INIT" or
/proc/cmdline contains "init=", then systemd would not serialize
itsself.
Let systemctl check, if the new init is in the standard systemd
installation path and if so, clear the INIT parameter,
to let systemd serialize itsself.
commit 9d9951a460a90ef0e1e0384742cefdcf85193f8c
Author: Harald Hoyer <harald at redhat.com>
Date: Thu Mar 6 09:12:57 2014 +0100
util: add files_same() helper function
files_same() returns
1, if the files are the same
0, if the files have different inode/dev numbers
errno, for any stat error
commit 756461fd560b4603703661913cfde6685cc96c38
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 04:19:43 2014 +0100
update TODO
commit fe7f06f142cf42928e419d8578afd75bf1439672
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 04:10:19 2014 +0100
dbus: suppress duplicate and misleading messages
When we try to send a signal on a connection we didn't hae the time to
process the Disconnected message yet, don't generate multiple warning
messages, but only a single debug message.
https://bugs.freedesktop.org/show_bug.cgi?id=75874
commit 7ced1d8f878cf233fb0dd58a1820940b5ecd5dcc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 03:09:00 2014 +0100
update TODO
commit 8c4e25b73c680ce4072247592bd44e1c809e2dd2
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 03:08:54 2014 +0100
nspawn: fix getent fallback
commit 2cb46a2b0c7accf0786828b232413554a5c76f17
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 02:48:59 2014 +0100
update TODO
commit 0cb9fbcd44517ec90b2a678876194607beab5dec
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 02:41:13 2014 +0100
nspawn: when resoliving UIDs/GIDs for "-u", do so in forked off /usr/bin/getent instead of in-process
When the container runs a different native architecture than the host we
shouldn't attempt to load the container's NSS modules with the host's
libc. Instead, resolve UID/GID by invoking /usr/bin/getent in the
container. The tool should be fairly universally available and allows us
to do resolving of the UID/GID with the container's libc in a parsable
format.
https://bugs.freedesktop.org/show_bug.cgi?id=75733
commit d96c1ecf7bf9dae6b0cb728e41d09999ecce0b4a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 11 01:01:38 2014 +0100
nspawn: make sure we don't try to mount the container block device in the child after the parent added us to the device cgroup
commit 2ecfc64e59b5e4e96bed6f68bd36b612ef77a146
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 10 23:17:42 2014 +0100
update TODO
commit ebc54302d7fc70927d5dc119e178ff03f6a911ed
Author: Peter Rajnoha <prajnoha at redhat.com>
Date: Mon Mar 10 22:58:14 2014 +0100
rules: mark loop device as SYSTEMD_READY=0 if no file is attached
Check existence of loop/backing_file in sysfs and mark loop devices with
SYSTEMD_READY if missing. Such loop files is uninitialized and it's not
ready for use yet (there's no file attached).
commit 2d0efdf1af5ff77441228854343c61d42a89840c
Author: Samuli Suominen <ssuominen at gentoo.org>
Date: Sat Mar 8 09:49:29 2014 +0200
build-sys: Find the tools for users with no /sbin:/usr/sbin in PATH since some systems still make the distiction between bin and sbin.
commit eb0f0863f5af48865fb4569e2076d5f9e2313995
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 10 21:36:01 2014 +0100
nspawn: don't try mknod() of /dev/console with the correct major/minor
We overmount /dev/console with an external pty anyway, hence there's no
point in using the real major/minor when we create the node to
overmount. Instead, use the one of /dev/null now.
This fixes a race against the cgroup device controller setup we are
using. In case /dev/console was create before the cgroup policy was
applied all was good, but if created in the opposite order the mknod()
would fail, since creating /dev/console is not allowed by it. Creating
/dev/null instances is however permitted, and hence use it.
commit 1b9e5b126359a2a2ec37de1f94f046093abc74b8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 10 20:35:52 2014 +0100
nspawn: add --image= switch to boot GPT disk images that follow the Discoverable Partitions Specification
commit 79fbcd8869f5d2d0236f7272bf45ba6b3d4abbea
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 10 17:21:16 2014 +0100
man: fix formatting of uuids
commit 055d406624cb9e01963558767420b71e5f75d2d3
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Mar 10 08:25:15 2014 -0400
logind: fix policykit checks
commit 2658624399b22a9c4a345a22c69886dc9417f801
Author: Martin Pitt <martin.pitt at ubuntu.com>
Date: Mon Mar 10 08:54:22 2014 +0100
input_id: Recognize buttonless joystick types
Input devices like rudders or pedals are joystick-like; they don't have
buttons, but axes like RX, THROTTLE, or RUDDER. These don't interfere with
other device types with absolute axes (touch screens, touchpads, and
accelerometers), so it's fairly safe to mark them as ID_INPUT_JOYSTICK and thus
hand out dynamic ACLs to the user.
https://bugs.freedesktop.org/show_bug.cgi?id=70734
commit 7abaad1ab099b077ebd6452b14ef351483831245
Author: poma <pomidorabelisima at gmail.com>
Date: Sun Mar 9 18:12:50 2014 +0100
man: fix example in systemd.link
'man/systemd.link.xml' recovery from:
commit eac684ef1c29684b1bcd27a89c38c202e568e469
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 25 19:30:40 2014 +0100
man: split out systemd.net{work,dev}(5) from systemd-networkd(8)
commit a748b692dd1e436ca1ff56b8d567c065c2539e5a
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Mar 9 14:43:37 2014 +0100
network: link - simplify code a bit and remove some debug logging
commit 26abdc73a212b90f7c4b71808a1028d2e87ab09f
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sat Mar 8 17:32:53 2014 -0500
fix off by one error in array index assertion
Since the index is already post-incremented when the array is appended
to, this assertion can be wrongly reached when the array is at capacity
(with the NULL terminator). The bug is reproducible on shutdown with
the following settings in /etc/systemd/system.conf:
LogTarget=journal-or-kmsg
LogColor=yes
LogLocation=yes
Reported by Thermi on IRC.
commit d5ce683c0780c02cf657be4f5cff506edf913f0a
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Mar 8 19:38:06 2014 +0100
units: remove "AllowUser=root own", the bus owner can always own names
commit 088b51107aa51fe180e1a1681c487d6918e2bcbb
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Mar 8 18:22:14 2014 +0100
sd-bus: sync kdbus.h
commit 58b129170ca6acacffd853b6c8fbec9fce2c2163
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Mar 8 11:57:28 2014 -0500
networkd: fix confusion from missing braces
Fixup for 76800848f281c3 'networkd: link - degrade failed UP to warning'.
commit b629d0984206ad855cc0cb7e6a376c919f7bf366
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Mar 8 14:18:48 2014 +0100
sd-bus: check for potential integer overflow in KDBUS_ITEM_FOREACH()
For large values of item->size, the 'part' pointer can wrap around,
which results in an illegal pointer, but currently passes the for-loop
condition.
commit 2a781fc9bd33982c81e5ff75974a442a33d4f167
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Mar 8 04:05:48 2014 +0100
update TODO
commit 61331eab0a53cd9b8446eab6d1ebf1a046d8efc1
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Mar 8 03:55:43 2014 +0100
gpt-auto-generator: probe only partition table and partitions we are interested in
Instead of iterating through the list of partitions and probing them all
with blkid, simply probe the partition table and use that information to
only probe the partitions we care for.
commit 76800848f281c3705c9364fd3e888153d94aaf34
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 8 01:08:30 2014 +0100
networkd: link - degrade failed UP to warning
Something else may still bring the link up, so don't enter failed state prematurely.
commit 59a7a684227cd8a8b4d84bd19acc1264d34fca65
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 8 01:05:02 2014 +0100
sd-rtnl: increase default timeout to match sd-bus
commit 2c5859afecee81e345fc9526b1083bf79990ffb8
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 21:38:48 2014 +0100
Make tables for DEFINE_STRING_TABLE_LOOKUP consistent
Bring some arrays that are used for DEFINE_STRING_TABLE_LOOKUP() in the
same order than the enums they reference.
Also, pass the corresponding _MAX value to the array initalizer where
appropriate.
commit fe8d029277f8077d4537489b358ce7f10d59ecc2
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 17:56:53 2014 +0100
units: set 'AllowUser=root own' and 'AllowWorld=talk' own for all .busname files
commit a9beb58d8df694742775cb5c539ba9f39794e7b4
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 17:56:20 2014 +0100
dbus1-generator: set AllowWorld=own for now
commit 1683342af1fc85e75ba21264bbcedc26aef0fa39
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 17:29:01 2014 +0100
sd-bus: add support for policy upload on activator connections
Activator connections may upload policy when registering to the bus.
This patch contains code to translate between BusNamePolicy objects and
the kdbus specific items.
commit f7c7cd03d1e9a9a4bb6925fb64d8423f4a6a2fdc
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 17:14:52 2014 +0100
sd-bus: sync kdbus.h (ABI break)
Bring kdbus.h in sync with recent policy related changes. Most notably,
KDBUS_MAKE_POLICY_OPEN is now gone. The rest doesn't matter for systemd
at this point, as the policy functionality was not yet used.
commit 54d76c92868838e17d6aad0a3bb0cc7a5b11e35f
Author: Daniel Mack <zonque at gmail.com>
Date: Thu Mar 6 22:42:42 2014 +0100
busname: add parser for bus name policies
There are three directives to specify bus name polices in .busname
files:
* AllowUser [username] [access]
* AllowGroup [groupname] [access]
* AllowWorld [access]
Where [access] is one of
* 'see': The user/group/world is allowed to see a name on the bus
* 'talk': The user/group/world is allowed to talk to a name
* 'own': The user/group/world is allowed to own a name
There is no user added yet in this commit.
commit fb255b31c5f4eca821d60a2c9b1235a513f15732
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 18:50:13 2014 +0100
man: reference the Discoverable Partitions Spec from the gpt-auto-generator man page
commit 700ff4d97311902a440109a2c081731ab6ae8a20
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 17:29:16 2014 +0100
busname: don't drop 'service' from the result string
commit 9842de0d93dc895800a43ccf1d04e5174f0ffea8
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Mar 7 17:34:38 2014 +0100
networkd: use new rtnl_message_read() API
commit 4e9e7f1836b0c8f612f2beb3447d6144f9244d26
Author: Susant Sahani <susant at redhat.com>
Date: Fri Mar 7 20:38:02 2014 +0530
sd-rtnl: introduce read ether and ip address functions
This patch introduces reading ethernet address and IPV4/IPv6
as well which is based on table based look up.
[tomegun: rename read_ether() to read_ether_addr() to match the append function.]
commit b2cdc6664ef6b56e47d38649d69b9943d9f9f5d0
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 14:43:59 2014 +0100
manager: flush memory stream before using the buffer
When the manager receives a SIGUSR2 signal, it opens a memory stream
with open_memstream(), uses the returned file handle for logging, and
dumps the logged content with log_dump().
However, the char* buffer is only safe to use after the file handle has
been flushed with fflush, as the man pages states:
When the stream is closed (fclose(3)) or flushed (fflush(3)), the
locations pointed to by ptr and sizeloc are updated to contain,
respectively, a pointer to the buffer and the current size of the
buffer.
These values remain valid only as long as the caller performs no
further output on the stream. If further output is performed, then the
stream must again be flushed before trying to access these variables.
Without that call, dump remains NULL and the daemon crashes in
log_dump().
commit 8a39439e08cf14c22e9f1ca5e69d1ba499075051
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Mar 7 14:37:01 2014 +0100
udev-builtin-blkid: remove dead code
commit 36d239dbdaf94ba2d96bb60ac45ecfc58624b1eb
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Mar 7 11:41:18 2014 +0100
core/busname: add lookup string for BUSNAME_FAILURE_SERVICE_FAILED_PERMANENT
When a busname unit enters BUSNAME_FAILURE_SERVICE_FAILED_PERMANENT, the
serialization will not be able to look up the result as string via
busname_result_to_string(). This leads to an assertion trap during
daemon-reexec.
commit 6c49212741253dae05b89d22374186f092ef1e5a
Author: Thomas Bächler <thomas at archlinux.org>
Date: Fri Mar 7 01:50:34 2014 +0100
units: Do not unescape instance name in systemd-backlight at .service
The instance name is never escaped in the udev rule, but unescaped in the unit.
This results in the following error message on Asus boards:
Failed to get backlight or LED device 'backlight:eeepc/wmi': No such file or directory
commit e2eb18d56b14eeb405706970f0460d8539cdcf23
Author: Armin K <krejzi at email.com>
Date: Tue Mar 4 16:23:41 2014 +0100
build-sys: Don't distribute generated udev rule
It contains hardcoded path to systemd-sysctl executable which
is /usr/lib/systemd/systemd-sysctl on latest stable release and
as such it will complain at runtime if rootprefix != prefix
[zj: readd the file to nodist_udevrules_DATA]
commit 7d06ef0a5cd2f0a4e021d3d12f3841cce529e0f2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Mar 6 23:54:13 2014 -0500
man: add missing comma
marcosf0> missing comma in udevadm "see also" section
commit d86dd07d462fb8502b1c7b4a9a4df4fba8318bdd
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Mar 6 23:24:30 2014 -0500
build-sys: update intructions for Makefile-man.am regeneration
commit effbc8e4f70fc70e4a4a8a1dc77228dd187f9c22
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Mar 6 23:24:20 2014 -0500
man: describe functions for appending to messages
commit a0e5b17733f2146d727edfdb0ebf8482a8c3bf6c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 04:38:39 2014 +0100
update TODO
commit 73b80ec2d999c45ce13f3e034704249d80829f7e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 04:31:26 2014 +0100
gpt-auto-generator: automatically find the root disk of the system
When run in an initrd and no root= argument is set (or is set to
root=gpt-auto) we will automatically look for the root partition on the
same disk the EFI ESP is located on.
Since we look for swap, /home and /srv on the disk the root partition is
located on, we hence have a fully discoverable chain:
Firmware discovers the EFI ESP partition â the initrd discovers the
root partition â the host OS discovers swap, /home, and /srv.
Note that this requires an EFI boot loader that sets the
LoaderDevicePartUUID EFI variable, such as Gummiboot.
commit 329f7803ee4414cd015e6f83a835079208608171
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 03:30:30 2014 +0100
udev: automatically create a symlink /dev/disk/by-id/gpt-auto-root if there's a suitable root partition
commit 5ecdcf41cbce38c44b399993cb1c356280e0bafd
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 02:39:59 2014 +0100
fstab-generator: the root partition is not optional
commit a873c5bdf253057b8cd39a7e2affdd4ff8752827
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 02:39:01 2014 +0100
efi-boot-generator: typo fix
commit cbd353ce7787ab11a9aa193f35abb97548b3fcf2
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 02:35:19 2014 +0100
udev-builtin-blkid: when we find a GPT partition marked as root disk on the same disk as the ESP, expose a property on the udev device
This is preparation for a logic to automatically discover the root
partition to boot from if no partition has been configured explicitly.
This makes use of our newly defined GPT type GUIDs for our root disks:
#define GPT_ROOT_X86 SD_ID128_MAKE(44,47,95,40,f2,97,41,b2,9a,f7,d1,31,d5,f0,45,8a)
#define GPT_ROOT_X86_64 SD_ID128_MAKE(4f,68,bc,e3,e8,cd,4d,b1,96,e7,fb,ca,f9,84,b7,09)
We define differen GUIDs for different architectures to allow images
which finde the right root partition for the appropriate arch.
commit d13394a88334441bf3092cf93804ba0f9c56d8e0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Mar 7 02:34:18 2014 +0100
udev-builtin-blkid: modernizations and minor fixes
commit 6db615c17ee7a434f9e0c40d67a1f833d8f3cc9d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 21:14:26 2014 +0100
fstab-generator: merge /proc/cmdline parsing loops into one
commit 82ed60080d327d7301fcd55f5a1f8511f894b9d5
Author: Zachary Cook <zachcook1991 at gmail.com>
Date: Thu Mar 6 03:49:49 2014 -0500
man: systemd-bootchart - fix spacing in command
Use the same formatting as the systemd-analyze man page, so that man shows a space.
commit 20e265d4bbebb927e5020ebe57ff062609468484
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Mar 6 20:28:32 2014 +0100
strv: set _printf_ on strv_extendf
commit d22f1006a1910e32ff099330d70badaf2aec75c6
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Mar 6 19:44:37 2014 +0100
sd-rtnl/networkd: use new rtnl_message_read() API and drop helper
With the new sd_rtnl_message_read_string(), there is no longer a need for
rtnl_message_get_ifname().
commit 44caa5e7dfa2160f7d644d003de2718fd3ca2ee6
Author: Susant Sahani <susant at redhat.com>
Date: Wed Mar 5 20:43:25 2014 +0530
sd-rtnl:introduce table-based lookup and typesafe read() functions
This patch introduces new netlink attribute parsing logic
which is table based lookup and sd_rtnl_message_read_*
methods for reading attributes. By doing this user does not
have to loop for the attribute values . Only providing the
attribute type it gets the attribute values which is optimized
and sd_rtnl_message_read_* methods are simplified.
commit 6d26dfe11c853d612b84abe858520bbcb62c2e96
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 18:26:35 2014 +0100
generators: make automatic discovery generators work correctly when reloading
In addition to checking whether the diestination mount point is
populated, check whether it is already a mount point.
If it is already a mount point, or if it is unpopulated, let's create
the unit.
commit c3834f9b881f2b1a68dc7d797c134f0b66b47b57
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 18:26:06 2014 +0100
generators: add Documentation= fields that point to the generator man pages
commit 059cb3858acd038ff2cef10a3a99119bf71a8fc6
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 17:05:55 2014 +0100
util: move more intellegince into parse_proc_cmdline()
Already split variable assignments before invoking the callback. And
drop "rd." settings if we are not in an initrd.
commit 27d14fb331ba8144f99f4da2d13f15cf5c8b8a9f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Mar 6 08:10:19 2014 -0500
man: update link to LSB
https://bugzilla.redhat.com/show_bug.cgi?id=1073402
commit 0939968c77c7b570da0a4387262f29a83cd0e5d4
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 05:03:39 2014 +0100
update TODO
commit 965e5c5daff660e13a31bfa5a27af733a707ec4b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:57:16 2014 +0100
core: include partition label in .device description fields
commit 646e392e10924454576f10b072f78d7676422816
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:52:31 2014 +0100
logind: fix reference to systemd-user-sessions.service
commit 1ebab691c7749779072741f71865bd0e055b7ecf
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:52:13 2014 +0100
gpt-auto-generation: set a pretty description string
commit 9533ad1f429ec037a155a5793d70ef49e69fbec2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:51:48 2014 +0100
units: don't use the word 'Reboot' for Startup, but simply 'Boot'
commit d1a6f44125c31364b02da66216a5f9b3647fd0d7
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:51:11 2014 +0100
units: properly capitalize the unit description
commit 9788205f453178fd0b349d44aac76e0cbf8633dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:50:19 2014 +0100
man: bring gpt-auto-generator up to date
commit 1af7211984a8dba3c5ba40fae794c4c55f5e6bd3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:05:13 2014 +0100
gpt-auto-generator: properly handle LUKS partitions
commit 58d081428af6f49c601619c2ee9f9aae24d05fae
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 04:04:58 2014 +0100
unit-name: modernizations
commit 744198e92501e9d98047ef6b0f7e8da3597a1f0f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 02:26:52 2014 +0100
cryptsetup: some fixes
commit bd44e61b0480712ec5585ff7b0295362a5f9dd36
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 02:19:42 2014 +0100
core: correctly unregister PIDs from PID hashtables
commit aa62a8936f5983770e90b791083d55107659f7a1
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Mar 6 02:19:06 2014 +0100
util: add timeout to generator execution
commit 6a3f892a23db71544d0439355f96c44350dafa8f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 22:31:03 2014 +0100
update TODO
commit e48fdd84432bbf9c2ecc339183258c7c33116032
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 22:26:10 2014 +0100
generators: rework mount generators
- Add support for finding and mounting /srv based on GPT data, similar
to how we already handly /home.
- Share the fsck logic between GPT, EFI and fstab generators
- Make sure we never run the EFI generator inside containers
- Drop DefaultDependencies=no from EFI mount units
- Other fixes
commit 848e3e24b00a61130f20226ef5f051433d478c69
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Wed Mar 5 20:51:36 2014 +0100
man: ipv4 link-local
commit 7040b626e82d65dc48a4e464965e15ec7f529aec
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 19:02:53 2014 +0100
systemd-run: don't print error messages twice
commit 4de33e7f3238a6fe616e61139ab87e221572e5e5
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 18:57:21 2014 +0100
systemd-run: make sure --nice=, --uid=, --gid=, --setenv= also work in --scope mode
commit 69629de9c820dd41fffb1bf9b69d6d5b319c19c9
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 5 11:53:26 2014 +0100
networkd: listen to changes to the MAC address
Bridges will change their MAC address when other devices are enslaved. We need
the correct MAC address to acquire a DHCP lease, so take note of it whenever
it changes.
commit 3b35ade3fd015482a450fe20edb7c7b7ccbbb803
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 5 11:47:38 2014 +0100
sd-rtnl: do not blindly enter containers in message_read()
We need a separate container_enter() function, which will be part of a largerg
API change. For now, just fix message_read().
commit 02ec5cd78a148c2c05c0d6e5016ae04570a9ef97
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Mar 5 11:07:15 2014 +0100
sd-dhcp-client: log the MAC address we are using
commit 0ad6148e87cd1348be81d9e83c4364a09dab2c29
Author: Mark Oteiza <mvoteiza at udel.edu>
Date: Wed Mar 5 10:41:13 2014 +0100
networkd: restore logic for enslaving to a master bonding interface
This partially reverts commit 54abf46, which unintentionally removed the
enslaving support for bonding interfaces
commit a9a245c128af6c0418085062c60251bc51fa4a94
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 27 00:11:54 2014 -0500
journal: forget file after encountering an error
If we encounter an inconsistency in a file, let's just
ignore it. Otherwise, after previous patch, we would try,
and fail, to use this file in every invocation of sd_journal_next
or sd_journal_previous that happens afterwards.
commit fb099c8d2af6620db2709e826a258089d10cdfe8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 27 00:07:29 2014 -0500
journal: assume that next entry is after previous entry
With a corrupted file, we can get in a situation where two entries
in the entry array point to the same object. Then journal_file_next_entry
will find the first one using generic_arrray_bisect, and try to move to
the second one, but since the address is the same, generic_array_get will
return the first one. journal_file_next_entry ends up in an infinite loop.
https://bugzilla.redhat.com/show_bug.cgi?id=1047039
commit 32f244309902243a20cff5d5d1abb1c888b5fb21
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 04:41:40 2014 +0100
update TODO
commit 760b9d7cbaa72cc7446ad915f84d4939c11a360c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 04:41:01 2014 +0100
core: don't override NoNewPriviliges= from SystemCallFilter= if it is already explicitly set
commit e567439ec6a63f07258d52fe383a538f5dbeb79b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 04:07:37 2014 +0100
systemd-run: support all currently exported properties with -p
commit d584f638940366c46a48e34a25cf43e2b77475be
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 03:49:00 2014 +0100
core: make the LimitXYZ= properties settable for transient service units
commit 1ac67edb7c4d31a287fa98c0b554ae98bd34e71b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 03:38:36 2014 +0100
systemd-run: add some extra safety checks
commit 981ee551945f4e00de52fcbb7780fd7476bcd47e
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 03:37:48 2014 +0100
man: document missing options of systemd-run
commit df31a6c0fe07805cb50045fbe91c2a6e7e430562
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 03:36:22 2014 +0100
systemd-run: add new --property= switch that can set arbitrary properties for the unit that is created
The code for parsing these properties is shared with "systemctl
set-property", which means all the resource control settings are
immediately available.
commit 53ede806cb58c661efbee6bbaabee6b2f0d3ce79
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 03:34:48 2014 +0100
strv: add new STR_IN_SET() macro that operates similar to IN_SET() but for strings
commit efc141b8ffbfa1e449da40ce27fccaa81428f779
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 02:30:47 2014 +0100
update TODO
commit 517d56b1d0f67dcf76710bc1e17b05518b8cabe6
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 02:29:58 2014 +0100
missing: if RLIMIT_RTTIME is not defined by the libc, then we need a new define for the max number of rlimits, too
commit a049d1a9723b6608e45bf8f1a64dab5761dee555
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Mar 5 02:27:37 2014 +0100
core: when passing resource limit values to client, map RLIM_INFINITY into portable value (uint64_t) -1
commit 207017017db91232189226bfcf29e61926310a9b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Mar 4 23:16:30 2014 +0100
add bash completion for systemd-cat
commit 86bafac9540ba9e111ccba2fdf4161fe3a67cd3b
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Tue Mar 4 13:58:35 2014 +0100
architecture: Add cris
commit 726a6e963056a7238a512cfe6ce612af2c2d1419
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 4 20:01:44 2014 +0100
update TODO
commit 1c231f56482546725c4dbd3303f70300bd3c63e9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 4 19:20:21 2014 +0100
logind: make $XDG_RUNTIME_DIR a per-user tmpfs
This way each user allocates from his own pool, with its own size limit.
This puts the size limit by default to 10% of the physical RAM size but
makes it configurable in logind.conf.
commit b5d742138f71e87312541a89aac5657015f50f48
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Mar 4 09:50:26 2014 -0500
Do not print invalid UTF-8 in error messages
Inexplicably, 550a40ec ('core: do not print invalid utf-8 in error
messages') only fixed two paths. Convert all of them now.
commit 6e18964d3a365567954fe10ddcfad74babdc427c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Mar 4 09:20:51 2014 -0500
Introduce strv_consume which takes ownership
This mirrors set_consume and makes the common use a bit nicer.
commit e062dec5ae1a443d47885537af85d328c83c67db
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 12 20:40:11 2014 -0500
shutdownd: modernizations
commit 61376f96a98291b5421bfd79a15ca4db50c2a3fe
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Feb 2 23:58:16 2014 -0500
logind: small simplifications
commit 21491585780b71010b7ee2138fa394680b2de340
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Mon Mar 3 21:13:56 2014 +0100
man: networkd - fix typo
commit 5e11d962c02d583f38991adc4eec78872ccb23e4
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 23:47:40 2014 +0100
build-sys: work around broken ln --relative -s -f
As it appears "ln -s --relative" in conjunction with "-f" is broken,
let's work around that by explicitly remove the destination of the
symlink before we create it.
https://bugzilla.redhat.com/show_bug.cgi?id=1072103
commit 5c1d3fc93d91384bbac29adf01074fa4375317ea
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Fri Feb 28 16:10:20 2014 +0100
sd-network: IPv4 link-local support [v2]
Implements IPv4LL with respect to RFC 3927
(http://tools.ietf.org/rfc/rfc3927.txt) and integrates it
with networkd. Majority of the IPv4LL state machine is
taken from avahi (http://avahi.org/) project's autoip.
IPv4LL can be enabled by IPv4LL=yes under [Network]
section of .network file.
IPv4LL works independent of DHCP but if DHCP lease is
aquired, then LL address will be dropped.
[tomegun: removed a trailing newline and a compiler warning]
commit b6b8adbff4b1a67a2fffc2c225f1b083d9e4a69e
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 3 20:16:12 2014 +0100
networkd: wait-online - fix typo
commit 7ba4fedb8048182fb765bd6ae5aa1e548389bef3
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 23:18:19 2014 +0100
update TODO
commit e4e703c3076cb5060ab401a2370ab84883f2fd8f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 23:17:27 2014 +0100
core: fix assert when trying to serialize non-initialized bus peer tracker object
commit 4d46396131aa30ede598eb35c3710784745995b4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Mar 3 22:22:14 2014 +0100
silence warning
commit 15bd9a285858c374684e75709de82681ab7daaa7
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 22:26:34 2014 +0100
core: add missing show-status.[ch]
commit 3bfe58cbd4a9b1d2520f425f95de718f3a583d39
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Mar 3 22:16:04 2014 +0100
add bash completion for systemd-detect-virt
commit 64ae7f1864d54f38d62e258322a7ea9756c7284b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Mar 3 22:01:42 2014 +0100
update bash completion for systemd-analyze
commit 18633feaaee617e25c401617926a83a37ba5a7d9
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:55:41 2014 +0100
update TODO
commit 8f2665a463ffb2b822c1e3effdb292d2bddf72be
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:53:19 2014 +0100
conf-parser: minor optimization in config_parse_string()
commit 3b43629240c82bf270542dc3ea13868980b30f07
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:42:38 2014 +0100
conf-parser: drop special casing in config_parse_path()
The code checked for two lvalues that aren't even using
config_parse_path(), so let's drop these checks and make the function
completely generic again.
commit 94828d2ddc89c9dba3d6f386e55b6c9310d8f627
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:40:55 2014 +0100
conf-parser: config_parse_path_strv() is not generic, so let's move it into load-fragment.c
The parse code actually checked for specific lvalue names, which is
really wrong for supposedly generic parsers...
commit 3af00fb85a26a1d812363fbf88c045311fd05376
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:26:53 2014 +0100
core: move config_parse_set_status() into load-fragment.c
Let's keep specific config parsers close to where they are needed. Only
the really generic ones should be defined in conf-parser.[ch].
commit 4d7213b2747ddd87002f970ccc60b1a9ab637136
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:23:12 2014 +0100
core: move ShowStatus type into the core
Let's make the scope of the show-status stuff a bit smaller, and make it
private to the core, rather than shared API in shared/.
commit ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:14:07 2014 +0100
conf-parse: rename config_parse_level() to config_parse_log_level()
"level" is a bit too generic, let's clarify what kind of level we are
referring to here.
commit e361df9e75b697930e6a94a08a1e0fa6deeb670b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 21:08:49 2014 +0100
update TODO
commit f9cd6be10ece07e10488c05e270a0b5860779864
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 20:49:33 2014 +0100
logind: ignore lid switch events for 30s after each suspend and 3min after startup
This is needed to give USB docking stations and suchlike time to settle,
so that a display connected to an USB docking station can actually act
as a lid swith inhibitor correctly.
With this change we should have somewhat reliable docking station
support in place.
commit 7e9110a29d90041b0364cb93a84aec9dd72363b6
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 19:39:51 2014 +0100
logind: fix printf format
commit 6a79c58603ea816a1b4fa1520397b4e138bc1ca0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 19:30:16 2014 +0100
logind: ignore lid switch if more than 1 display is connected
Previously we expected the desktop environment to take an inhibitor
lock, but this opened a race on boot-up where logind might already be
running but no DE is active.
Hence, let's move checking for additional displays into logind. This
also opens up this logic for other DEs, given that only GNOME
implemented the inhibitor logic so far.
commit ae833394d64e60edf558dec74c4780d88f788447
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 3 18:25:37 2014 +0100
man: networkd - mention resolv.conf symlink
commit e66cf1a3f94fff48a572f6dbd19b43c9bcf7b8c7
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 17:14:07 2014 +0100
core: introduce new RuntimeDirectory= and RuntimeDirectoryMode= unit settings
As discussed on the ML these are useful to manage runtime directories
below /run for services.
commit b64a3d86bcc3b3698824019d0ebdc2117ad31bb5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 17:12:56 2014 +0100
execute: no need to include seccomp.h from execute.h
commit 98b47d54ce946ad3524f84eb38d2413498a333dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 17:11:39 2014 +0100
execute: free directory path if we fail to remove it because we cannot allocate a thread
commit e2438b7a321de8050f5db6793599a1668c91ccf5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 17:10:16 2014 +0100
build-sys: prefer using ln --relative -s where appropriate
By using --relative symlinks look nicer when dealing with OS image trees
that are placed in arbitrary places of the OS.
commit 8e34a618e2a67e22250247956697fe27c14c83c8
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 3 17:13:59 2014 +0100
sd-dhcp-lease: add sd_dhcp_lease_get_next_server()
commit 0ad853bc06dea1db5740caf59f404d274fa5e3c9
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 3 16:46:10 2014 +0100
sd-dhcp-lease: add sd_dhcp_lease_get_server_identifier()
commit ce78df79b88d02d36cbf9e39e70ecb871750e16d
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Mar 3 15:43:02 2014 +0100
sd-dhcp-lease: add Root Path support
This is necessary when mounting /dev/nfs based on a DHCP lease.
commit 8100c1a8f58b2fb5d97e156420a7e16562e93bc4
Author: Mike Gilbert <floppym at gentoo.org>
Date: Sun Mar 2 23:37:39 2014 -0500
Fix systemd-stdio-bridge symlink
The symlink is created in bindir (/usr/bin), and points to a binary
which lives in rootlibexecdir (/lib/systemd or /usr/lib/systemd). A
relative symlink does not work here.
commit 8f8f05a919355095518911135c3d630f4620a9b0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 3 01:33:45 2014 +0100
bus: add sd_bus_track object for tracking peers, and port core over to it
This is primarily useful for services that need to track clients which
reference certain objects they maintain, or which explicitly want to
subscribe to certain events. Something like this is done in a large
number of services, and not trivial to do. Hence, let's unify this at
one place.
This also ports over PID 1 to use this to ensure that subscriptions to
job and manager events are correctly tracked. As a side-effect this
makes sure we properly serialize and restore the track list across
daemon reexec/reload, which didn't work correctly before.
This also simplifies how we distribute messages to broadcast to the
direct busses: we only track subscriptions for the API bus and
implicitly assume that all direct busses are subscribed. This should be
a pretty OK simplification since clients connected via direct bus
connections are shortlived anyway.
commit d9256bac4da4241cb5d97960c899390839f2c6e5
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Mar 2 22:58:18 2014 +0100
add bash completion for systemd-cgtop
commit 840292befd6ad78e018f5ea16bec80e83d910071
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Mar 2 13:28:05 2014 -0500
Disallow sizes with increasing unit size
Things like 3B4T, 4B50B, 400 100 (meaning 4*1024**4+3, 54, and 500,
respectively) are now disallowed. It is necessary to say 4T3B, 54B,
500 instead. I think this was confusing and error prone.
As a special form, 400B 100 is allowed, i.e. "B" suffix is treated
as different from "", although they mean the same thing.
commit 9480794b277b5ce33e467578ed669996df576bb9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Mar 2 00:05:16 2014 -0500
Allow fractional parts in disk sizes
It seems natural to be able to say SystemMaxUsage=1.5G.
https://bugzilla.redhat.com/show_bug.cgi?id=1047568
commit e525326bd07ebf3cabcfd730bc479166723f2d44
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Mar 2 10:02:10 2014 -0800
hwdb: Update database of Bluetooth company identifiers
commit 5f8fd969bdc3e035cded055054510702e9f9edcb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Mar 1 21:45:27 2014 -0500
build-sys: fix location of network-util.h
commit e1528e085cefce20e93d930a45fce792e32db29a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Mar 1 22:52:25 2014 +0100
networkd-wait-online: use automatic cleanup
commit abdab4f602745952030a37b1521cd0374d51d3ea
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Mar 1 23:08:38 2014 +0100
add bash completion for systemd-cgls
commit 474cba1c7d5d04a3909499040dbe66959af59bd2
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Mar 1 14:13:18 2014 +0100
TODO
commit 88ce2902ca78e7ba1c8efdb736957fe6b9a189cb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Mar 1 07:44:47 2014 -0500
build-sys: distribute kdbus documentation
commit 489a3d957ef3ef2ceaca3426e39cb9cfef174e00
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Mar 1 07:39:14 2014 -0500
Update gitignore
commit 9319e4605170271c20b56b04a31f28e6a47a2392
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Mar 1 04:03:52 2014 +0100
update TODO
commit 0d6883b6a870b66c8c70e43695d22de96aab68e7
Author: Thomas Andersen <phomes at localhost.localdomain>
Date: Sat Mar 1 03:27:49 2014 +0100
bash: add completion for systemd-nspawn
commit 13e8ceb84e56907d73b6b07418deb37faaf0e66d
Author: Tero Roponen <tero.roponen at gmail.com>
Date: Tue Feb 25 17:19:35 2014 +0200
nspawn: fix detection of missing /proc/self/loginuid
Running 'systemd-nspawn -D /srv/Fedora/' gave me this error:
Failed to read /proc/self/loginuid: No such file or directory
Container Fedora failed with error code 1.
This patch fixes the problem.
commit cb6fa44cb5411ed574f14109ee862ff663ab0a36
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 28 02:07:29 2014 +0100
sd-network: turn states 'unknown' and 'unmanaged' into errnos
commit 82bdf8ce36ccfe1b6ff389a9c9c7e2b2d049a43d
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 28 01:49:41 2014 +0100
sd-network: fix header
commit 46eea341c36f0caf0bdd5b2274a1ef7cb4e83e97
Author: Henrik Grindal Bakken <hgb at ifi.uio.no>
Date: Thu Feb 27 21:19:13 2014 +0100
architecture: Add tilegx
Add Tilera's TILE-GX processor family support.
commit 020d59000f86b3d98be763eaee6a2671f0427e46
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 28 01:02:01 2014 +0100
networkd: add networkd-wait-online
This is mostly a proof of concept to try sd-network, so we don't
hook it up with a .service file quite yet. We probably want it to
be more clever about deciding when we are 'online'.
The binary will wait for at least one network managed by networkd,
and until all networks managed by networkd are configured.
commit fe8db0c5ee3365a2fc80ee7ebffa238f9a0a2ae2
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 27 01:24:05 2014 +0100
sd-network: add new library
This is similar to sd-login, but exposes the state of networkd rather than logind.
Include it in libsystemd-dhcp and rename it to libsystemd-network.
commit c594cccee264cfd98f183ae6ec289b11e70f2d6c
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Thu Feb 27 11:19:09 2014 +0100
udev/rules: setup tty permissions and group for sclp_line, ttysclp and 3270/tty
commit a14f14976094650e17d39f3a7d15a1c68c93c333
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Thu Feb 27 11:06:37 2014 +0100
cdrom_id: use the old MMC fallback
https://bugzilla.redhat.com/show_bug.cgi?id=1038015
The problem seems to be that the your virtual DVD is emulating a really
old DVD device, and doing it kind of strangely.
> dracut:# /lib/udev/cdrom_id --debug /dev/sr0
> probing: '/dev/sr0'
> INQUIRY: [IMM ][Virtual CD/DVD ][0316]
> GET CONFIGURATION failed with SK=5h/ASC=24h/ACQ=00h
So your virtual drive rejects the GET CONFIGURATION command as illegal.
Other pre-MMC2 drives that don't accept this command usually return the
error
SK=5h,ASC=20h (invalid/unsupported command code), in which case cdrom_id
tries an older method, and then ID_CDROM_MEDIA_TRACK_COUNT_DATA gets set
and all the /dev/disk/by-label (etc) links get set up.
The virtual drive returns the error SK=5h,ASC=24h (invalid field in
Command Descriptor Block), which cdrom_id doesn't handle, so it gives up
and the links never get made.
The ideal solution would be to make the IMM to emulate a device that's
less than 15 years old, but I'm not going to hold my breath waiting for
that.
So probably cdrom_id should also use the old MMC fallback when the error
is SK=5h,ASC=24h, and then all of this would work as expected.
Suggested-by:Luca Miccini <lmiccini at redhat.com>
commit 0f62019c34e546f7c069a3b9f46deaa4b1608276
Author: Stef Walter <stef at thewalter.net>
Date: Tue Feb 25 09:45:46 2014 +0100
autogen: Allow running autogen from a builddir != srcdir
While the configure correctly supports being run outside of
the top source directory by default, it's nice if autogen.sh
does too:
$ git clone git://anongit.freedesktop.org/systemd/systemd
$ cd systemd
$ mkdir $(uname -m)
$ cd $(uname -m)
$ ../autogen.sh a
$ make
commit 2141e47892cadfd48ad0896ae66831e704ec068e
Author: Armin K <krejzi at email.com>
Date: Wed Feb 26 15:02:55 2014 +0100
build-sys: Do not distribute generated udev service files
They are already in nodist_systemunit_DATA and if they are
shipped, they contain hardcoded paths to udevadm and
systemd-udevd which will cause them to fail to start when
rootprefix != prefix and rootlibdir != libdir.
commit 77e8ff6974ffaa6c9954e3d2264d9aa75ef25233
Author: Kieran Clancy <clancy.kieran at gmail.com>
Date: Thu Feb 27 16:02:57 2014 +1030
hwdb: keymaps for Samsung 900X3E/900X3F
Keymaps for Samsung 900X3E and 900X3F should be the same as for other
models in the series.
I have also moved the comment for '# Series 9' to the right place
commit 0b6b7c2004317da48e5bbd3078c5662d8f0061b6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 26 23:01:43 2014 -0500
journalctl: refuse extra arguments with --verify and similar
Positional arguments only make sense with the default action.
For other actions, complain instead of ignoring them silently.
commit 47d80904a1f72d559962cc5ad32fffd46672a34a
Author: Uoti Urpala <uoti.urpala at pp1.inet.fi>
Date: Thu Feb 20 03:00:09 2014 +0200
logs-show: fix corrupt output with empty messages
If a message had zero length, journalctl would print no newline, and
two output lines would be concatenated. Fix. The problem was
introduced in commit 31f7bf199452 ("logs-show: print multiline
messages"). Affected short and verbose output modes.
Before fix:
Feb 09 21:16:17 glyph dhclient[1323]: Feb 09 21:16:17 glyph NetworkManager[788]: <info> (enp4s2): DHCPv4 state changed nbi -> preinit
after:
Feb 09 21:16:17 glyph dhclient[1323]:
Feb 09 21:16:17 glyph NetworkManager[788]: <info> (enp4s2): DHCPv4 state changed nbi -> preinit
commit 911f4d4d60eae3cfa5b8ca122169f3ca21da4afc
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 26 23:16:34 2014 +0100
build-sys: networkd - simplify makefile fragment
commit aef831369cd2a7a1bd4a58dd96ff8628ed6a85f9
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 04:28:37 2014 +0100
mount: don't fire PropertiesChanged signals for mounts that are stopped
commit ff5f34d08c191c326c41a083745522383ac86cae
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 04:27:50 2014 +0100
mount: don't send out PropertiesChanged message if actually nothing got changed
commit dd7a22a990023f083ef488177fb46c9c4667009b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 03:46:04 2014 +0100
mount: minor modernization
commit 1ae383a8a3ae4824453e297352fda603d2d3fd5e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Feb 25 21:26:31 2014 -0500
Use /var/run/dbus/system_bus_socket for the D-Bus socket
commit 47bc23c18cbc87471dc832534c8565625e4a9d16
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 02:54:37 2014 +0100
README: document that /var/run must be a symlink â /run
commit df1e02046144f41176c32ed011369fd8dba36b76
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 02:47:43 2014 +0100
Revert back to /var/run at a couple of problems
This partially reverts 41a55c46ab8fb4ef6727434227071321fc762cce
Some specifications we want to stay compatibility actually document
/var/run, not /run, and we should stay compatible with that. In order to
make sure our D-Bus implementation works on any system, regardless if
running systemd or not, we should always use /var/run which is the
only path mandated by the D-Bus spec.
Similar, glibc hardcodes the utmp location to /var/run, and this is
exposed in _UTMP_PATH in limits.h, hence let's stay in sync with this
public API, too.
We simply do not support systems where /var/run is not a symlink â /run.
Hence both are equivalent. Staying compatible with upstream
specifications hence weighs more than cleaning up superficial
appearance.
commit 41a55c46ab8fb4ef6727434227071321fc762cce
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Feb 25 20:11:04 2014 -0500
Replace /var/run with /run in remaining places
/run was already used almost everywhere, fix the remaining places
for consistency.
commit f513e420c8b1a1d4c13092cd378f048b69793497
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 02:28:52 2014 +0100
exec: imply NoNewPriviliges= only when seccomp filters are used in user mode
commit 9c423fbf2a11bf9c936017c0f1e06ea2e4e82a40
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 02:19:17 2014 +0100
update TODO
commit 538b08707ab7d34fac5b8c2753d3bf9ac12c2ebf
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 26 02:16:46 2014 +0100
build-sys: add missing makefile symlinks
commit 4298d0b5128326621c8f537107c4c8b459490721
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 20:37:03 2014 +0100
core: add new RestrictAddressFamilies= switch
This new unit settings allows restricting which address families are
available to processes. This is an effective way to minimize the attack
surface of services, by turning off entire network stacks for them.
This is based on seccomp, and does not work on x86-32, since seccomp
cannot filter socketcall() syscalls on that platform.
commit 9875fd7875d433eea5c6e3319916e1be18722086
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 20:33:17 2014 +0100
nspawn: no need for duplicate checks against EEXIST
commit 7c66bae2ff5cb674612f84637cb98f9478ed26a8
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 20:32:27 2014 +0100
seccomp: we should control NO_NEW_PRIVS on our own, not let seccomp do this for us
commit fe6b2d55bcb379d01664ed28cea40634cb6b52e3
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 25 21:16:17 2014 +0100
networkd: add basic support for MACVLANs
commit e3ab0c0e19227efdf15237dd9136fc6fc7f3839d
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 25 19:30:40 2014 +0100
man: refer to systemd.net{work,dev}(5) from systemd-networkd(8)
commit eac684ef1c29684b1bcd27a89c38c202e568e469
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 25 19:30:40 2014 +0100
man: split out systemd.net{work,dev}(5) from systemd-networkd(8)
commit 1ff28eaee33d9d0cee46bd176b6d6f8805c95036
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 25 16:56:15 2014 +0100
man: split out systemd.link(5) from udev(7)
commit c7f3ba1ecd11f126a43fb650937a7dae5d4d0bdd
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 25 16:06:45 2014 +0100
man: networkd - clarify that multiple addresses/routes are supported
commit b3e4387351c835766f96796a20d94971afea7d3b
Author: Tomasz Torcz <tomek at pipebreaker.pl>
Date: Tue Feb 25 12:43:55 2014 +0100
fix typo in iDRAC network interface name: irdac->idrac
commit 9c413373d2112055a0142ef522bf95af9b491b4a
Author: Jasper St. Pierre <jstpierre at mecheye.net>
Date: Fri Feb 21 18:23:17 2014 -0500
login: Allow calling org.freedesktop.login1.Seat.SwitchTo
commit 3e6b205f81e743c7354ccbc69eb45afbdbebe2dc
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Tue Feb 25 13:08:24 2014 +0100
login: set pos-slot to fallback on pos-eviction
If we evict a session position, we open the position slot for future
sessions. However, there might already be another session on the same
position if both were started on the same VT. This is currently done if
gdm spawns the session on its own Xserver.
Hence, look for such a session on pos-eviction and claim the new slot
immediately.
commit 949138ccc3417748b0978980e4a1c67955dd4ba4
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Tue Feb 25 10:53:49 2014 +0100
NEWS: fix typo
commit a1937e679f76758635d295287398abe526de2522
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Tue Feb 25 12:20:25 2014 +0100
login: fix pos-array allocation
GREEDY_REALLOC takes a pointer to the real size, not the array-width as
argument. Therefore, our array is currently way to small to keep the seat
positions.
Introduce GREEDY_REALLOC0_T() as typed version of GREEDY_REALLOC and store
the array-width instead of array-size.
commit 23fae27185ddde98706faac0f45d77b11ecd66e6
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 02:37:34 2014 +0100
update TODO
commit 67dd87c51b1ba254dc6a0eeae41762aace40adda
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 02:36:12 2014 +0100
NEWS: fix typo
commit c74e630d0ce4b1ace116e8211f3b6eb472efa7e3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 02:27:39 2014 +0100
nspawn: add new switch --network-macvlan= to add a macvlan device to the container
commit bdd13f6be4b588568683a1ab54f421fc6a636dbb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 22 19:26:27 2014 -0500
Remove dead lines in various places
As pointed-out by clang -Wunreachable-code.
No behaviour changes.
commit e9a2e453bbe3522db4341e4a2a49ae8aab8eb5a3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 01:03:25 2014 +0100
hostnamectl: read virtualization/architecture from remote side
This way we make this more network/container transparent and also do not
require any client side privileges.
commit 7452394e2ecb1dc994c1e9215592bcef28681396
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 25 00:50:38 2014 +0100
core: expose architecture as a bus property, so that we can easily query it remotely
commit 085afe36cb823e7d5b8c5f3ef21ebb9639bac78b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 23:50:10 2014 +0100
core: add global settings for enabling CPUAccounting=, MemoryAccounting=, BlockIOAccounting= for all units at once
More information about the systemd-commits
mailing list