[systemd-commits] stable Changes to 'v210-stable'
Zbigniew JÄdrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Fri Feb 28 20:33:35 PST 2014
New branch 'v210-stable' available with the following commits:
commit 0b37b2b7a3fe8e8f96f368848ff46db325a59e70
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.
(cherry picked from commit 13e8ceb84e56907d73b6b07418deb37faaf0e66d)
commit ff02c36bfc811fc7ecbcaebdbc3bc4bebb5f19ab
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.
(cherry picked from commit 46eea341c36f0caf0bdd5b2274a1ef7cb4e83e97)
commit 107e2ed29711c813a34a07e4ce626f98c3607534
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
(cherry picked from commit c594cccee264cfd98f183ae6ec289b11e70f2d6c)
commit 2388edd10d9aab9c0f3817e73addd3dc0bc870bf
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>
(cherry picked from commit a14f14976094650e17d39f3a7d15a1c68c93c333)
commit 0c4b94ed59075c38da2aa30d162fc9f963d419aa
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.
(cherry picked from commit 0b6b7c2004317da48e5bbd3078c5662d8f0061b6)
commit 494bf9d6d22406676c63822cbf941214fed3111c
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
(cherry picked from commit 47d80904a1f72d559962cc5ad32fffd46672a34a)
commit 3a144cfb90e6c0c6586a976138fc8e472b90bbaf
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
(cherry picked from commit aef831369cd2a7a1bd4a58dd96ff8628ed6a85f9)
commit f230c64b5ad069b271f163da3142df52eab1202b
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
(cherry picked from commit ff5f34d08c191c326c41a083745522383ac86cae)
commit d5194bbb174d0b9a87e81d465644624ab455bbf6
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
(cherry picked from commit 1ae383a8a3ae4824453e297352fda603d2d3fd5e)
commit 10acd244847eb8689e79efbf95475aef8818bb51
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
(cherry picked from commit 47bc23c18cbc87471dc832534c8565625e4a9d16)
commit ab64c275efac13ed8fb255e4b2ccf1c287aa0bc6
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.
(cherry picked from commit df1e02046144f41176c32ed011369fd8dba36b76)
commit a980c3fa6bee1b4f0185d9d317c1bbf30ce6b832
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.
(cherry picked from commit 41a55c46ab8fb4ef6727434227071321fc762cce)
commit d0550e668858e1af94e2746062931680dc15b555
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
(cherry picked from commit b3e4387351c835766f96796a20d94971afea7d3b)
commit 0d0b9805baaed3e4e584916bbff710fec6cb1e8b
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
(cherry picked from commit 9c413373d2112055a0142ef522bf95af9b491b4a)
commit aa6c8bcd17b37634fc7e4d5d59b6b9d93625b4a3
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.
(cherry picked from commit 3e6b205f81e743c7354ccbc69eb45afbdbebe2dc)
commit 2d426f2ad06032979fa7a54d11b74be52b8ec047
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.
(cherry picked from commit a1937e679f76758635d295287398abe526de2522)
commit 4e72e29a390e0bd9226eb802d80b9a9c259565cd
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 21:23:04 2014 +0100
update TODO
commit ed28905eecf631916f03edd0a7dfad8b0a177990
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Feb 24 20:20:25 2014 +0100
NEWS: fix typos
commit 62ca29b81b5f19007889439b744a16776607a55e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 19:25:00 2014 +0100
build-sys: bump revisions and version
commit ae0e60fbbc28990617964204ea925a1ef8f42262
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 19:21:18 2014 +0100
architecture: apparently there is LE ppc now
commit d27893efdf652c6d85ea590fa0b7c2b88f817083
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 19:13:39 2014 +0100
NEWS: add note about ifunc
commit 43c71255b3db02916f4f70afa18bab196c6f4a45
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 18:34:12 2014 +0100
NEWS: prepare for release of 210
commit b9c1bc28eb538fa25ad03437489dab7434dcd592
Author: Åukasz Stelmach <l.stelmach at samsung.com>
Date: Wed Feb 19 16:56:34 2014 +0100
smack: rework security labeling for multiple frameworks
commit e49d3c016751c03e544697656e8e596af8a664d7
Author: Åukasz Stelmach <l.stelmach at samsung.com>
Date: Thu Dec 19 15:15:54 2013 +0100
smack: set loaded_policy in smack_setup()
With loaded_policy set to true mount_setup() relabels /dev properly.
commit 2453d7e447057f2652114c1822bfc8c5600236fe
Author: Åukasz Stelmach <l.stelmach at samsung.com>
Date: Wed Feb 19 16:39:04 2014 +0100
smack: relabel directories and files created by systemd
Systemd creates directories in /dev. These directories will
get the label of systemd, which is the label of the System
domain, which is not accessable to everyone. Relabel the
directories, files and symlinks created so that they can be
generally used.
Based on a patch by Casey Schaufler <casey at schaufler-ca.com>.
commit 650264033f2f98f6319513958d94d59078654af8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 17:34:37 2014 +0100
update TODO
commit 3a3c71c19766c4330ef95b27c875907ec7fe2fd8
Author: Michal Sekletar <msekleta at redhat.com>
Date: Mon Feb 24 15:59:29 2014 +0100
hostnamed: correct error message
We are not parsing timezone data.
commit 2d62c530d2b4c2730abff715b7342f1402114513
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 16:22:23 2014 +0100
logind: detect whether the system is docked, and if it is inhibit lid switch processing
This should make operation nicer with docking stations, but will not
cover anything that does not implement SW_DOCK.
commit 539237644eef4dbb9e5428dd249d7ee8392427d0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 15:29:36 2014 +0100
update TODO
commit 7143555ce8f94b002d06b9b058d7d90c3a4901a9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Feb 24 08:02:28 2014 -0500
units/serial-getty at .service: add [Install] section
This makes it easier to manually enable and disable
specific gettys, and also mirrors getty at .service.
http://lists.freedesktop.org/archives/systemd-devel/2014-February/017329.html
commit 248fab742d2b61557de93ac6e422986a8858bf52
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Feb 23 22:05:18 2014 +0100
virt: make Virtualization an anonymous enum
This makes llvm happy when we assign an error code to the variable.
commit f8901862b2b030921b3d5aba4157044ceab16451
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 13:21:55 2014 +0100
update TODO
commit 4ca39b280fce3c60d2fdecbd478fd9bf7f9d3e64
Author: Mike Gilbert <floppym at gentoo.org>
Date: Sun Feb 23 11:21:13 2014 -0500
configure: Do not require xsltproc for installation of man pages
The release tarballs ship with pre-generated man pages, so we do not
need xsltproc for a typical end-user build.
Developers will probably have xsltproc anyway, but if not they will now
encounter a build-time failure instead of an error in configure.
commit f5080e738512f92564e272d5dcbb357a1eceaa18
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Mon Feb 24 01:42:24 2014 +0100
systemctl: move next elapse calculation to its own function
commit 454f7158c6cecd18555c5e7dd556e3d544301b52
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Mon Feb 24 01:42:23 2014 +0100
dbus-timer: fix bus_timer_vtable to have the correct times
next_elapse_monotonic() should map to the "NextElapseUSecMonotonic"
property and next_elapse_realtime() to "NextElapseUSecRealtime" one.
This makes "systemctl list-timers" compute and show the correct times.
https://bugs.freedesktop.org/show_bug.cgi?id=75272
commit 46a96f43239a5bbbb9e2e440e8ae7f3964a33fc3
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 04:04:23 2014 +0100
update TODO
commit 543407517e05688915128cfc544c5d7f97f240ef
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 03:59:50 2014 +0100
getty-generator: verify ttys before we make use of them
The ttyS[0-3] devices are weird. They may be enumerated, but when one
actually tries to open and use them they return EIO, because they don't
actually exist. Because they may be enumerated they may be specified on
the kernel command line as console=. And some people do that as default.
As response to that we'll spawn a getty on the tty that will quickly
fail, and we retry a couple of time before giving up. That is quite
noisy.
With this new change we will validate all serial terminals configured
with console= on the kernel cmdline before adding gettys on them, and
remove the invalid ones. THis should remove the noise later on.
This should make Eric Paris happy!
commit 01efdf13a6ee9a14fd6d8b41a5d522d5917e1fbc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 03:38:24 2014 +0100
cgroup: certain cgroup attributes are not available in the root cgroup, hence don't bother
commit c35fa384d00dc5dc7d9f339113b015a3f8a5cf79
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 03:20:54 2014 +0100
core: gc half-created stub units
commit b272b74dfd2284838db737f62a77fb5ece227bea
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 03:20:24 2014 +0100
core: expose root control group on the bus
We expose the control group of the units on the bus, so let's also
expose the root control group.
commit 9e281251e99bbbbcb0366575b5195c36fc9483d7
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 03:03:05 2014 +0100
update TODO
commit 9457ac5b4e755e9019ead2f564124df5d35ee7cf
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 03:00:38 2014 +0100
nspawn: make use of the devices cgroup controller by default
commit 9c96019d3183ef93e243416f4c17334ee9108b47
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 02:59:57 2014 +0100
cgroup: parse array cgroup properties correctly when they aren't at the end of the message
commit 55dab2ed837c17236b7df12decaffbc4388d1dff
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 24 01:09:21 2014 +0100
sd-dhcp-client: respect TP_STATUS_CSUMNOTREADY
If an UDP packet has not passed through a hardware device, its checksum may not
have been computed. This is exposed through the TP_STATUS_CSUMNOTREADY sockopt.
When using raw sockets, skip checksum validation when TP_STATUS_CSUMNOTREADY
is set.
This is necessary for dhcp to work directly over a veth tunnel, e.g. as done
in systemd-nspawn.
commit 872c2ab3e2887c1c2b6c9815a201683e246e56fc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 24 02:31:01 2014 +0100
update TODO
commit dfb08b058401d56c395f4f2d20ff214d31a277e5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Feb 23 18:11:48 2014 -0500
NEWS: mention 99-default.link and NamePolicy
commit 279efc700764ebe5c9bb81e3843e61f7798e1794
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 23 22:09:23 2014 +0100
sd-dhcp-client: fix max size of REQUEST message
commit 0a1b6da82109c3b08b1f966a1625a77cc312135a
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 23 22:07:07 2014 +0100
sd-dhcp: message_init - only set secs in the client
commit 8fa2eeace7beecedb01c82811e28949cacec1236
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 23 19:21:50 2014 +0100
sd-dhcp: don't reject packets with the 'wrong' source port
The RFC does not specify that the packets from the DHCP server must come from
the DHCP server port, only that that's where they should be sent.
This fixes a problem when running networkd in VirtualBox.
Thanks to Sébastien Luttringer for reporting the bug and very patiently testing
various fixes.
commit 5266a81ea2b5d355916695c1ecc8c4570a54727b
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 23 17:30:13 2014 +0100
sd-dhcp: use FIONREAD to get correct size of incoming DHCP packet
This avoids the problem of broken DHCP servers sending us too big packets that don't fit in our buffer.
commit 3bb621e1e66b704c0c2dcef31c66f7c646dd47f6
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Feb 23 17:05:37 2014 +0100
journal: downgrade vaccuum message to debug level
https://bugzilla.redhat.com/show_bug.cgi?id=1047148
commit 8f03fd08911016d8bbcad5892b2c07b30a4c2306
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Feb 23 16:43:19 2014 +0100
man: document that per-interface sysctl variables are applied as network interfaces show up
https://bugzilla.redhat.com/show_bug.cgi?id=1062955
commit 06b44be71db4033db8c855491a95f3cf0e7e4595
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 23 14:15:05 2014 +0100
sd-dhcp: equally verify udp and raw dhcp messages
Also be more explicit about why packages are ignored.
commit eda8f06755bd98c4639293c26b856c225f0d1fe1
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Feb 23 03:18:46 2014 +0100
update TODO
commit 5556b5fe41173107a67dbe875fbd916a46e52a02
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Feb 23 03:13:54 2014 +0100
core: clean up some confusing regarding SI decimal and IEC binary suffixes for sizes
According to Wikipedia it is customary to specify hardware metrics and
transfer speeds to the basis 1000 (SI decimal), while software metrics
and physical volatile memory (RAM) sizes to the basis 1024 (IEC binary).
So far we specified everything in IEC, let's fix that and be more
true to what's otherwise customary. Since we don't want to parse "Mi"
instead of "M" we document each time what the context used is.
commit e342365c27ecae32a7f20ada0b2c623ce22e5ea8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 22 20:52:18 2014 -0500
docs: add new gudev functions to documentation
commit f01de9656d0969633ac89eb57a0ba4658a100568
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Feb 23 00:46:26 2014 +0100
src/shared/ cannot reference symbols from libraries
../src/shared/unit-name.c:462: error: undefined reference to 'sd_bus_label_escape'
../src/shared/unit-name.c:477: error: undefined reference to 'sd_bus_label_unescape'
collect2: error: ld returned 1 exit status
commit ac4f16ab4d74c94e8a9d1608e05c0faf7d3fae76
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 23 01:34:05 2014 +0100
sd-dhcp: be more detailed about invalid headers
This may be a common problem, so let's make it simpler to debug,
at least for now.
commit d8148cc59d0faa44d26fe27f91eb177334b4e08b
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sun Feb 23 00:26:29 2014 +0100
build-sys: remove libsystemd.sym duplicate
sd_memfd_new is available twice. Remove the second one.
commit 2cfcd95a4a7a9945932b30694cde8d8d6240c75e
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 22 23:27:03 2014 +0100
build-sys: fix libsystemd --enable-kdbus symbol export
commit 03e37dd767e52908f30783d9b4c09fb6a4e865c7
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 22 19:39:12 2014 +0100
build-sys: build compat libs from sources, avoiding the not generally available ifunc wrapping
commit 0c2f9b84698b25e6065b9febd21486669a13870f
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 22 20:19:49 2014 +0100
networkd: handle SIGINT and SIGTERM
commit 12e0f830f592ec4c6bb49ac7ae1e0e84f74105e3
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 22 20:22:41 2014 +0100
test: always use assert_se in tests
commit ee57a737a5b72bc3f3f46aafd2bbc452b61dcaa7
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 22 19:53:45 2014 +0100
sd-dhcp: add very basic debug logging
commit 41fd4c4c15e74a39cecfa5f1764e039c8d88617b
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 22 18:47:28 2014 +0100
build-sys: add seccomp includes where needed
commit fcc70b92f44788e89252011a4c87151961fd8999
Author: Andreas Fuchs <anduchs at gmail.com>
Date: Sat Feb 22 12:02:35 2014 +0100
gudev: add device::get_sysfs_attr_keys and device::has_sysfs_attr
For gudev -> gudevdevice:
- Add support for get_sysfs_attr_keys()
- Add support for has_sysfs_attr()
commit 733f7a2c69c794a81978a08a79916c224ba355a6
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 22 18:23:19 2014 +0100
udev: net - allow MTU and Speed to be specified with units
This also changes the names to MTUBytes and BitsPerSecond, respectively. Notice
that the speed was mistakenly documented to be in bytes before this change.
commit dd4d2c1cd1eb7c1f3163f6f922362af3189df0a3
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 22:44:42 2014 +0100
networkd/nspawn: enable dhcp client on veth device created in guest
When starting systemd-nspawn with --network-veth, we create a veth device called
host0 in the guest. Pick up on this and start a dhcp client on it. We will also
pick up host0 netdevs created by other containers should they chose to use the
same name.
commit 0031ccd3060593f8c411e76a7764dffe8326f21f
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 22 17:58:05 2014 +0100
build-sys: create /var/log/journal/ in journald section
commit df40be6a145ef929f1e55805cf6927b8e262d012
Author: Armin K <krejzi at email.com>
Date: Sat Feb 22 15:22:00 2014 +0100
build-sys: Also move libsystemd-journal to rootlibdir
commit 4b28cdeb2332cfbd3f5172b43a2f5f534b7e6e57
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Fri Feb 21 21:41:01 2014 -0800
hwdb: Update database of Bluetooth company identifiers
commit 90060676c442604780634c0a993e3f9c3733f8e6
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Feb 22 02:47:29 2014 +0100
cgroup: Extend DeviceAllow= syntax to whitelist groups of devices, not just particular devices nodes
commit 1620510ada018f1e1f0be114714826f6698501f2
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Feb 21 23:21:26 2014 +0100
update gitignore
commit bf175aafd20c9ef974709ef12c5acf836121af33
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 22:29:25 2014 +0100
net-util: match on the driver as exposed by ethtool if DRIVER not set
Also fix a copy-paste error that broke matching on interface name.
commit 95f41b729855bdc9788bec87ab25e54e25ca8a5f
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 21:45:47 2014 +0100
udev: net_setup - import ID_NET_DRIVER
This will do until all net properties are imported.
commit f0329635f80c9d56fca0f6ff6ad0179fbe7e50a4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Feb 21 22:21:50 2014 +0100
Makefile: fix build on clang
needed after libsystemd-daemon was merged into libsystemd in
0ebee8818404adb95a0b8a01416aad3a16f64ae1
commit e8d842a0d0b39f298e1e7f70d29759e50b2b16d4
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 21:41:48 2014 +0100
update TODO
commit 6c0519c01288d0d97bece15da3dbb9934f018949
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 21:32:38 2014 +0100
net: initialize structs when declaring
commit 61f3af4fed2f0d2686bd7ae4cd22bc3e973ddeca
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 21:23:40 2014 +0100
net: initialize structs when declaring them/do not clobber caller variables
Just two minor style fixes...
commit ed4ba7e4f652150310d062ffbdfefb4521ce1054
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 21:10:00 2014 +0100
logind: when we wake up from suspend and the lid is still closed, go to sleep immediately again
This is quite useful on laptops such as the Lenovo Yoga, where the power
button is placed on the front side of the laptop and can be pressed by
accident even if the lid is closed.
This reworks a bit of the logind logic to repeatedly try to suspend the
system as long as a lid is closed. We use the new "post" event source
for this, so that we don't keep things busy.
This also adds some code to check the lid status on boot, so that a
powered-off machine that is accidentaly powered on goes into suspend
immediately.
Yay! From now on I can put my Yoga safely in my backpack without fearing
that it might turn itself on and drain the battery.
commit 6e9feda30d6d5c4aa9908d458c92eb0daf90eb3a
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 21:06:09 2014 +0100
event: add new kind of event source called "post"
This new event source is triggered by the dispatching of any non-post
event source. It can thus be used to do clean-up or recheck work,
triggered by any other event source having been executed.
This is different from "defer" event source which are unconditionally
triggered as long as they are enabled. A "defer" event source that does
nothing will result in the event loop busy looping unless it is turned
off eventually. This is different for "post" event sources that will be
only triggered when some other non-post ran, and will thus not keep the
event loop busy on its own.
commit d7c9a162f1e15cc21636b57ab7f45097446b932c
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Feb 21 20:54:30 2014 +0100
man: networkd typo fixes
commit 847a8a5fed4d265dfa659917515c6f9bd1b8d5c4
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 16:54:00 2014 +0100
udev - link-setup - expose ID_NET_DRIVER
This is the same as shown by 'ethtool -i <ifname>', and is sometimes
set even though DRIVER is not.
commit a0eb2a751c6f3e9c233772cd9af8e8ee1504d27a
Author: Jasper St. Pierre <jstpierre at mecheye.net>
Date: Fri Feb 21 11:22:42 2014 -0500
logind-session: Fix invalid free in the error case
utf8 needs to be initialized to NULL for the free for the early return,
otherwise we try to free invalid data.
commit a2fef7701ba2e0179ec2217fd562b7345b15735c
Author: Jason A. Donenfeld <Jason at zx2c4.com>
Date: Fri Feb 21 16:36:59 2014 +0100
install: networkd.service depend on !--disable
It doesn't make any sense to symlink this unit file into /etc when the
unit file itself isn't even installed, with --disable-networkd. This
moves the GENERAL_ALIASES logic into the right "if" block.
commit 96197df081a16bec192a6cfb8f19674ca58f4835
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 19:22:00 2014 +0100
update TODO
commit c8f57f5963970013b4134f0e4ee58cb590c60338
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 19:19:31 2014 +0100
man: suffix networkd config file options with "="
That's what we do for all options in the other man pages. It helps
clarifying that these are options that values need to be assigned to.
commit f7be6ffa926a0b81495ee201aba933824ab417a4
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 18:57:47 2014 +0100
man: split settings documentaiton in systemd.unit(5) into two sections
commit b8e7a47baf10683f59bf848abd300b45cd5042f2
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 18:57:15 2014 +0100
man: don't document ".include" in configuration files anymore as first step to deprecate them one day
commit 0183b74fa47d7f05b7bc3b46d82daf8cebb17fa7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 18:54:59 2014 +0100
update TODO
commit 28def94cc8fd4394b20e2155d7130166662343c4
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Feb 21 10:31:26 2014 -0500
journald: ignore failure to watch hostname_fd on older kernels
Prior to 3.2, /proc/sys/kernel/hostname isn't a pollable file and
sd_event_add_io will return EPERM. Ignore this failure, since it isn't
critical to journald operation.
Reported and tested by user sraue on IRC.
commit d60473c7ba32f2325a13f0357b23fd8e25609650
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 18:04:29 2014 +0100
ptyfwd: reset nonblocking mode
Apparently bash doesn't turn off non-blocking mode on stdin/stdout when
reading from it, so be nice to bash. Ideally bash would do this on its
own for robustness reasons, though.
https://bugs.freedesktop.org/show_bug.cgi?id=70622
commit 210054d76cf4d294533aa09256d375e33b52569f
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Feb 21 18:11:47 2014 +0100
NEWS: add name_to_handle_at() requirement
commit 74fae4240f670fe5a39a82a71abad367d18caefa
Author: Samuli Suominen <ssuominen at gentoo.org>
Date: Fri Feb 21 16:14:51 2014 +0200
build-sys: make network files respect --rootprefix
With --rootprefix= systemd-udevd gets installed to /lib/systemd, and since
the network configuration is also required during early boot, it should be
available there with it. Using --prefix= is not an option since it would
put everything, including pkg-config files, man pages, documentation, to /
which is not wanted. This commit puts 99-default.link to
/lib/systemd/network/ when required.
commit edbb03e95a3c31bf719d5c6c46eec14d0bcb9c8f
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 14:51:19 2014 +0100
.network/.netdev/.link: allow to match on architecture
commit 7a243b22041595a0c7e0dffb3ef5e2158dde933f
Author: Jason A. Donenfeld <Jason at zx2c4.com>
Date: Fri Feb 21 15:21:21 2014 +0100
configure: show if networkd is enabled in status
commit c32acc96ef74d13d0059a680cdede5f05db1981a
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 15:06:44 2014 +0100
man: there is no ExecStopPre= for service units
https://bugs.freedesktop.org/show_bug.cgi?id=73177
commit ca1a3847695d02ebe62007d8f335f23d3fe04638
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 21 14:20:14 2014 +0100
install: enable networkd by default
This treats it similarly to getty at tty1.service and remote-fs.target, which can be
enabled/disabled, but defaults to enabled.
commit c4a0b20c7a3043a6691ca23d4a1a7c15b5082a03
Author: Jason A. Donenfeld <Jason at zx2c4.com>
Date: Fri Feb 21 04:38:17 2014 +0100
install: do not statically enable systemd-networkd
[tomegun: pruned the commit message as not to contradict the follow-up commit]
commit 9ac441c0f40a10a6c498398e5876a5256b833e31
Author: Thomas Bächler <thomas at archlinux.org>
Date: Fri Feb 21 11:20:24 2014 +0100
sd-event: Fix systemd crash when using timer units.
There was a copy-paste error introduced in commit c2ba3ad6604ef2e189d7e0a36d6911116e84d3ab
which causes the following error when using timer units:
Assertion '(x->type == SOURCE_MONOTONIC && y->type == SOURCE_MONOTONIC) || (x->type == SOURCE_REALTIME && y->type == SOURCE_REALTIME)'
failed at src/libsystemd/sd-event/sd-event.c:264, function latest_time_prioq_compare(). Aborting.
commit 9e82ffa040448a8f800411c2230ad98ef0e57d9c
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Feb 21 12:05:38 2014 +0100
systemctl: fix compiler warning in list_timers()
get_next_elapse() will always fill 'next' with values when it
returns >= 0. Hence, the compiler is wrong about this warning.
Initialize 'next' nevertheless.
src/systemctl/systemctl.c: In function âlist_timersâ:
src/systemctl/systemctl.c:953:43: warning: ânext.monotonicâ may be used
uninitialized in this function [-Wmaybe-uninitialized]
converted = nw.realtime - (nw.monotonic - next.monotonic);
^
In file included from ./src/shared/log.h:30:0,
from src/systemctl/systemctl.c:46:
./src/shared/macro.h:137:38: warning: ânext.realtimeâ may be used
uninitialized in this function [-Wmaybe-uninitialized]
_a < _b ? _a : _b; \
^
src/systemctl/systemctl.c:933:32: note: ânext.realtimeâ was declared here
dual_timestamp next;
^
commit 9bd9f43fceff79796f6d2a3fb19f7a711a3f3ec5
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Feb 21 11:39:38 2014 +0100
shared/architecture.h: fix preprocessor directives
Use 'if defined()', not 'ifdef defined()'. Fixes the following warning.
CC src/shared/architecture.lo
In file included from src/shared/architecture.c:24:0:
src/shared/architecture.h:89:17: warning: extra tokens at end of #ifdef
directive [enabled by default]
# ifdef defined(WORDS_BIGENDIAN)
^
commit 6a70f3aa63a3b7a6a30448c48322ad38b719cdce
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 20 22:39:26 2014 -0500
man: xinclude pkg-config note
commit 4f50d2efbac87aba0505b9f998bf3e4bde64c214
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 20 19:47:03 2014 -0500
man: xinclude --host/--machine
As usual, those common options are pushed to the end.
commit 88ae7333ee052e64607ae6678fe0e84991fe3482
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 13 14:40:40 2014 -0500
man: xinclude --user/--system
commit dfdebb1b925332352966804303b2516a6506a429
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 13 14:33:51 2014 -0500
man: xinclude --help/--version/--no-pager
commit 7c071fda945a8f9e3b11d37dc04c8bdfa615d44a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 19 16:04:30 2014 -0500
build-sys: add conditionals and regenerate manpage list
The list of man pages is auto generated, based on conditonal='...'
attributes in the man page itself.
commit c0652d453e2329fa465f71d4c68f5fe8618a7de2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 19 16:06:10 2014 -0500
man: ignore non-manpage files when generating makefile
commit ef417cfd2211ae017a38b9796c6db29130133e63
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 13 17:10:12 2014 -0500
manager: be more precise in message about restart
commit 0ef61cec618391593a410ef3ce277071d559edb0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 04:04:47 2014 +0100
update TODO
commit 08af0da26935e827b58809ff1946e2f7d496e666
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 04:02:12 2014 +0100
nspawn: when adding a veth interface to a bridge, use the "vb-" rather than "ve-" interface name prefix
This way we can recognize the interfaces later on to apply different
host-side configuration to them.
commit 90e633a7901060063e62bf53948c4c239a9f55d1
Author: Jason St. John <jstjohn at purdue.edu>
Date: Thu Feb 20 18:09:27 2014 -0500
replace tabs with spaces in some files
Files:
* hwdb/60-keyboard.hwdb
* shell-completion/zsh/_systemd-coredumpctl
* src/test/test-helper.h
commit eef65bf3ee6f73afa4a5de23ae3a794a279f30c0
Author: Michael Scherer <misc at zarb.org>
Date: Thu Feb 20 16:19:44 2014 +0100
core: Add AppArmor profile switching
This permit to switch to a specific apparmor profile when starting a daemon. This
will result in a non operation if apparmor is disabled.
It also add a new build requirement on libapparmor for using this feature.
commit 37f78db2f4a33474fc349f406b0a0a48e9c573a2
Author: Colin Walters <walters at verbum.org>
Date: Fri Feb 21 03:29:00 2014 +0100
selinux: Don't attempt to load policy in initramfs if it doesn't exist
Currently on at least Fedora, SELinux policy does not come in the
initramfs. systemd will attempt to load *both* in the initramfs and
in the real root.
Now, the selinux_init_load_policy() API has a regular error return
value, as well as an "enforcing" boolean. To determine enforcing
state, it looks for /etc/selinux/config as well as the presence of
"enforcing=" on the kernel command line.
Ordinarily, neither of those exist in the initramfs, so it will return
"unknown" for enforcing, and systemd will simply ignore the failure to
load policy.
commit fdc8509fb61965698b7a54e3d0ac094650f21cad
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 03:13:57 2014 +0100
build-sys: don't use -Wcast-align anymore
We do a lot of these casts, and they are all OK, so let's get rid of the
warning, to make things quieter.
http://lists.freedesktop.org/archives/systemd-devel/2014-February/017174.html
commit 8eea53dd45265d8cb92bfdb161a425a1668c10c0
Author: Michael Scherer <misc at zarb.org>
Date: Thu Feb 20 16:07:08 2014 +0100
build-sys: Fix compilation of nspawn when seccomp is not enabled
commit 6633045578722be838ba5e40632379f79e5f4954
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 03:07:42 2014 +0100
missing: simplifications
commit 3b794314149e40afaf3c456285e1e529747b6560
Author: Holger Schurig <holgerschurig at gmail.com>
Date: Thu Feb 20 14:39:13 2014 +0100
build-sys: Add setns() functions if not in the C library.
Debian Stable is still using glibc 2.13, which doesn't provide the setns().
So we detect this and provide a tiny wrapper that issues the setns syscall
towards the kernel.
commit d9d93745cd2efcdfca8f82d798e61e0ee70cef5c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 02:28:54 2014 +0100
hostnamectl: should the sanitized arch, not the native uname() one
commit 099524d7b0df690e3361ffc3fe3c6aed0558b4fc
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 21 02:06:04 2014 +0100
core: add new ConditionArchitecture() that checks the architecture returned by uname()'s machine field.
commit a03c5fd2d86c4e3f758a5ca0d98638e5c8bd8d8d
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 20 23:26:07 2014 +0100
man: networkd/udev - add to [Match] documentation
commit f28964e353e4bfb83990742be6f258cdcc78c03a
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 20 22:55:42 2014 +0100
net-util: match - allow globbing
For now support globbing for interface name and path.
commit 95fe27d9307628a4a593e63794000c09ecb91b95
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Feb 20 23:12:02 2014 +0100
bootctl: add bash completion
commit 2333154a2b81bcb9dbf034ad004d975561e8b79d
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Thu Feb 20 21:04:03 2014 +0100
sd-dhcp-client: prevent timer related memory leaks
commit c0dda18697e0994272c0c9616d36f6777b60e2c7
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 20 19:56:50 2014 +0100
networkd: netdev - allow filtering on kernel cmdline, host and virt
commit 2cc412b59353576cece2d5b30c6a39c70552f0a0
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 20 19:39:49 2014 +0100
network/link: Match - filter on kernel cmdline, host and virt
commit b77c08e06b67d5b1dd8aaf67b732e93851d8ae43
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 20 19:26:54 2014 +0100
condition: split out most of condition handling into libsystemd-shard
The parts that require linknig to libcap, libselinux and friends stays in libsystemd-core.
commit afc50ea84e40d6a3f27ad5bfb5161e2d9b431275
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 20 19:09:49 2014 +0100
condition: refactor a bit
No functional change, just move code around a bit to make it simpler to split out
some functions.
commit 41736b25a7a8b27e991e3945cce422170d744242
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 19:14:52 2014 +0100
python: reindent _reader.c
All files should follow our coding style, and that means 8ch indenting.
Let's correct that.
commit 8fca4e305f7f10cd739af8851ec341eab654bad0
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 18:44:51 2014 +0100
macro: add nice macro for disabling -Wnonnull temporarily
commit f0f2e63bb2d5cd27e6a2464ee46a670a3159c5da
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 18:35:03 2014 +0100
macro: introduce nice macro for disabling -Wmissing-prototypes warnigs
commit bcfce235a3d757f0ec3b0c01e8583382db1adfe2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 18:18:32 2014 +0100
macro: introduce a nice macro for disabling -Wformat-nonliteral temporarily
commit beb999379ced9e8d765e533e43d35aab11aa5c39
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 18:06:35 2014 +0100
update TODO
commit 7ebe131a9f37fe5a3a15f69962d21cb7e063dff8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 18:05:56 2014 +0100
util: get rid of warnings around assert_cc() macro
Suggested by Holger Schurig.
commit 748db5928c573fd699cd88f32fe21a456fa46d3e
Author: Daniel Mack <zonque at gmail.com>
Date: Thu Feb 20 17:24:36 2014 +0100
journal: fix compiler warning in journal_file_append_data()
gcc (4.8.2, arm) does not understand that journal_file_append_field()
will always set 'fo' when it returns 0, so this warning is bogus.
Anyway, fix it by initialiting fo = NULL.
commit a002d44b008acd309987c37eb48009e3125a532c
Author: Daniel Mack <zonque at gmail.com>
Date: Thu Feb 20 17:21:13 2014 +0100
journal: fix compiler warning in real_journal_next()
gcc (4.8.2, arm) does not understand that next_beyond_location() will
always set 'p' when it returns > 0. Initialize p in order to fix this.
commit c94d7fc3cefa16f6b715d469b7aa93c39c649b3c
Author: Daniel Mack <zonque at gmail.com>
Date: Thu Feb 20 17:14:50 2014 +0100
libsystemd: fix compiler warning in property_get_set_callbacks_run()
gcc (4.8.2, arm) doesn't understand that vtable_property_get_userdata()
will always set 'u' when it returns > 0. Hence, the warning is bogus,
but anyway.
src/libsystemd/sd-bus/bus-objects.c:510:19: warning: 'u' may be used uninitialized in this function [-Wmaybe-uninitialized]
(and yes, indeed, even the reported line numbers are bogus in this case)
commit e288d6a81a7731fd61029db0ff8938f4f3e72856
Author: Dave Reisner <dreisner at archlinux.org>
Date: Thu Feb 20 09:02:39 2014 -0500
readd journald.so install hooks under libsystemd.so
Inadvertently removed in add00dfd1f05.
commit db57f3c6d11864f4227bb6734a0d509695a32a7d
Author: Daniel Mack <zonque at gmail.com>
Date: Thu Feb 20 13:29:54 2014 +0100
core/unit: fix unit_add_target_dependencies() for units with no dependencies
For units without any dependencies, r needs to be initialized to 0.
Otherwise, the return value of unit_add_target_dependencies() is
unspecified.
commit 6300b3eca9e5261b73bd7f1bb9735992b127cd80
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 03:55:22 2014 +0100
NEWS: fixes that probably should have been made before the 209 release
commit 24442f3b2598fbd0654aaf9d1370d596fedc83be
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 01:22:12 2014 +0100
build-sys: missing EXTRA_DIST
commit 3d3143b44f6cbe85518e8843006fba12a650d510
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 00:54:42 2014 +0100
build-sys: install compat .pc file
commit 62ae6dd4fa3eb127554b0a72ea9aebc992463276
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 00:25:37 2014 +0100
build-sys: add linkwarning.h to tarball
commit 27f7454c3875eadb348dc26bb1a08bd30d12e7b3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 20 00:03:00 2014 +0100
update TODO
commit 151b9b9662a90455262ce575a8a8ae74bf4ff336
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 23:54:58 2014 +0100
api: in constructor function calls, always put the returned object pointer first (or second)
Previously the returned object of constructor functions where sometimes
returned as last, sometimes as first and sometimes as second parameter.
Let's clean this up a bit. Here are the new rules:
1. The object the new object is derived from is put first, if there is any
2. The object we are creating will be returned in the next arguments
3. This is followed by any additional arguments
Rationale:
For functions that operate on an object we always put that object first.
Constructors should probably not be too different in this regard. Also,
if the additional parameters might want to use varargs which suggests to
put them last.
Note that this new scheme only applies to constructor functions, not to
all other functions. We do give a lot of freedom for those.
Note that this commit only changes the order of the new functions we
added, for old ones we accept the wrong order and leave it like that.
commit 3db729cb8e6822114e9323f4041dcdc080f2fb3c
Author: Jason A. Donenfeld <Jason at zx2c4.com>
Date: Tue Feb 18 19:11:08 2014 +0100
sd-bus: the bus returned should be the first arg
This matches the API of previous headers, such as sd-journal.h.
commit e51660ae56bb747ece2cab8fe6eec37f4d06a438
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 19 22:37:13 2014 +0100
udev: net-config - allow interface names to be set from the hwdb
commit dd8875f9396d2de31260915bda9c4c85b350003d
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 21:03:59 2014 +0100
build-sys: install experimental man pages only with --enable-kdbus
commit e2044076bf108f1ca204b2dba0be01b297c628f6
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 21:01:12 2014 +0100
build-sys: bump release in preparation for release
commit b20e61f4369b95ea2428ae6f667c40c9f3fc5e68
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 20:52:48 2014 +0100
build-sys: enable compat-libs for distcheck
commit 2b0a23e8644635b9826853213a6579784bffa170
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 20:16:31 2014 +0100
build-sys: export experimental symbols only with --enable-kdbus
commit 23abf5d5820ed9f24e8fe92fad32a207fe75398c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 20:35:33 2014 +0100
bus: fix unreffing logic
commit 8f61afd8d8e17c4e4970435e857d84465f019354
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 19 19:44:06 2014 +0100
sd-dhcp-client: fix mixup between raw and udp sockets
commit 4a8cf55467303b707113b891733575780db85f39
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 18:30:14 2014 +0100
build-sys: add gcrypt CFLAGS
commit 14bf87881b6e6788447e46108b5bb074d8c5f726
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 18:30:41 2014 +0100
man: fix references to .pc files which aren't separate anymore
commit 952d1536f4d7b64cfe938a569402434decffe4cd
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 18:21:19 2014 +0100
sd-damon is LGPL now
commit d4fdc205a4610965cee46408dbd046c922e7620c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 18:20:04 2014 +0100
update TODO
commit 26e3ff59a6a197e442255d8adfa2df239405c7e5
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 18:19:06 2014 +0100
man: don't advertise sd-daemon as embeddable anymore
It's now part of libsystemd, and should be used like any other API.
commit add00dfd1f050fab623f8aafd9afa1b72bc3aca1
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 16:33:09 2014 +0100
build-sys: merge libsystemd-journal into libsystemd
commit 51f6888bfc86ad92c9a4e081c7c8c33e60bf4fbd
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Feb 19 17:45:13 2014 +0100
busctl: install bash completion
commit e26da2dcea2f56461a8411e64d046cb5d903275c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:52:41 2014 +0100
tmpfiles: simplification
commit 833fce2857bcf9cba316d3f8c37af8997b6a80ab
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:52:28 2014 +0100
util: simplify get_ctty()
commit 480a61ae742378a6a9a0eb84cf29c6c1e4ea22ff
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:51:54 2014 +0100
timedatectl: fix minor memory leak
commit d4f1ef4437e59b2cb69a201bb086ab23070ea72d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:51:08 2014 +0100
udev: make sure we always return a valid error code in trie_store()
commit 0f0e240cb8625d832e760ef32ed772e21c316905
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:50:15 2014 +0100
sd-id128: use new dev_urandom() call
commit 581483bf59ea62147739e71dd2216477be03411c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:49:50 2014 +0100
journal: don't clobber return parameters of sd_journal_get_cutoff_realtime_usec() on failure
commit 1756a0118ea1ab25fd46c853e89853c7e4b3038c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:49:00 2014 +0100
execute: modernizations
commit 39883f622f392d8579f4428fc5a789a102efbb10
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:47:11 2014 +0100
make gcc shut up
If -flto is used then gcc will generate a lot more warnings than before,
among them a number of use-without-initialization warnings. Most of them
without are false positives, but let's make them go away, because it
doesn't really matter.
commit ca721e36083e70709ce21376c0b89bc797e53f91
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 17:43:40 2014 +0100
NEWS: Mention the new Personality= switch in unit files
commit 17d47d8d2dee22ee4f0a7319b9603d3e33a0b28a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Feb 19 17:35:35 2014 +0100
busctl: add --no-legend and use in bash completion
commit 8ec76163fff0a5f6aa31bb6061199829f4cfd75d
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Feb 19 17:12:17 2014 +0100
busctl: update bash completion
commit f5ca75f4a1f9f97a23c8bb70ee89cf669f9bb425
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Feb 19 17:02:45 2014 +0100
man: busctl typo fix
commit 5723e1760f12867c697b93c7ffe82b708b10fa84
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 19 16:40:52 2014 +0100
sd-rtnl: test - include missing.h to build on old kernels
commit 14efd7617b240f025791e428c1172f756318f78e
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 19 16:34:34 2014 +0100
networkd: dhcp - log when lease is lost
commit 216816c6bcabd70342593637a55300749a567f5c
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 19 15:59:31 2014 +0100
networkd: link - only reset transient hostname if it was set by us
commit 31d5a60cae19025225eda458386e0692bec5eec4
Author: Maciej Wereski <m.wereski at partner.samsung.com>
Date: Wed Feb 19 11:39:01 2014 +0100
systemctl: remove erroneous return in runlevel_parse_argv()
commit d1368aa9bd2f5748152ed0663566c0baa854dfc5
Author: Maciej Wereski <m.wereski at partner.samsung.com>
Date: Wed Feb 19 11:39:00 2014 +0100
logind: remove redundant check in manager_new()
commit 7bb2954901b2e568efaf67254e480032e0958cad
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 16:23:30 2014 +0100
update TODO
commit 708e25e137f8938791b72194a3d56c3476793175
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 16:13:42 2014 +0100
label: minor optimizations
commit d5eff74097df9f6ef24ad6e4d972961ba304368d
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 19 15:45:54 2014 +0100
missing.h: add some IFLA_* constants
These were added to the kernel between 3.5 and 3.9, let's not require such
recent kernels (yet).
commit 7a0d4a3d16855bac2ce2f2973122dae1ed069dff
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Feb 19 13:24:38 2014 +0100
event: fix crash on child-source state modifications
Setting a child-source state to anything but SD_EVENT_OFF currently does
nothing. The condition logic is flawed. Move the state update *below* the
test for the previous state.
Fixes a crash if you call:
sd_event_source_set_enabled(source, SD_EVENT_ON);
sd_event_source_unref(source);
on a child-source in its own callback.
commit b67f562c9cac44bd78b24f5aae78a1797c5d4182
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 02:54:00 2014 +0100
man: document $MAINPID
commit 270b08510146014430c649c514dfd6c852267550
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 02:53:08 2014 +0100
update TODO
commit ac45f971a12280de55b834a65237f72dcacfc099
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 19 02:15:24 2014 +0100
core: add Personality= option for units to set the personality for spawned processes
commit 49a356c2580c7c80f9c1e7e897ff7dcf9d9bce4c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Feb 18 20:32:09 2014 -0500
build-sys: fixups for libsystemd-daemon merge
commit be4b47cb52093a1330850513a17f6aecb9362724
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Feb 19 02:24:57 2014 +0100
build-sys: install headers with --enable-kdbus
commit 0ebee8818404adb95a0b8a01416aad3a16f64ae1
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Feb 18 18:50:11 2014 +0100
build-sys: merge libsystemd-daemon into libsystemd
commit 0e4061c4d5de6b41326740ee8f8f13c168eea28d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 23:55:41 2014 +0100
test: add missing test units
commit 6afc95b73605833e6e966af1c466b5c08feb953f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 23:35:19 2014 +0100
nspawn: add new --personality= switch to make it easier to run 32bit containers on a 64bit host
commit 0bc8e31b358a872ec2631874bd2109ba4e009ccf
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Feb 18 22:20:26 2014 +0100
delta: add bash completion
commit 9b1c2626cef16722603bded9bb52033aba34dd74
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 18 22:06:49 2014 +0100
net-match: fix Driver= match
It should match on the driver of the parent device.
commit 11a7f22939d21558df919cab44b8fbe36ab5dae0
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 18 21:42:05 2014 +0100
networkd: refactor link_add() :(
Don't set set **ret when returning r < 0, as matching on the errno may easily
give false positives in the future leading to null pointer dereference.
Reported-by: David Herrmann <dh.herrmann at gmail.com>
commit 3302da4667640ac130956d8d90be7c39fb39222f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 22:27:46 2014 +0100
nspawn: x86 is special with its socketcall() semantics, be permissive in the seccomp setup
commit e9642be2cce7f5e90406980092a6f71f504a16af
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 22:14:00 2014 +0100
seccomp: add helper call to add all secondary archs to a seccomp filter
And make use of it where appropriate for executing services and for
nspawn.
commit f3d5485b805de60ee71810eeb58e82d44ce24fe1
Author: Dave Reisner <dreisner at archlinux.org>
Date: Tue Feb 18 14:44:14 2014 -0500
nspawn: allow 32-bit chroots from 64-bit hosts
Arch Linux uses nspawn as a container for building packages and needs
to be able to start a 32bit chroot from a 64bit host. 24fb11120756
disrupted this feature when seccomp handling was added.
commit 4b462d1a28461b302586b117736ef288fba1012f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 21:23:16 2014 +0100
load-modules: properly return a failing error code if some module fails to load
This is the missing part of b857193b1def5172e3641ca1d5bc9e08ae81aac4.
commit 6bebb0add4d7c32c503e688105c1607e5e20f979
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Feb 18 21:09:06 2014 +0100
machinectl: remove unused --no-ask-password
commit e56056e93d33619a3acf13e483900b4f8938228f
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Feb 18 21:09:05 2014 +0100
machinectl: add bash completion
commit 0f3e07b7cc535af3c4ea56c3b28c140c1771fa6a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 21:07:13 2014 +0100
update TODO
commit 773e264d13cac53cbf7e0b174e1883dabb4c9bc2
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Feb 18 16:39:17 2014 +0100
man: machinectl: there is no command 'kill-machine'
commit 482e2ac193be708d183bdf2d893eb72435eb1d28
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 18 15:48:30 2014 +0100
man: minor fixes to networkd page
Also enforce that we don't allow setting the Broadcast for IPv6 addresses.
commit 7e95eda5b36f4a5259e1e86989b5aee824d83d03
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Tue Feb 18 16:30:09 2014 +0200
NEWS: Fix header file name
commit 0b7005eb0a7daa38b89d6e8bd1e1c597677956b2
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Tue Feb 18 10:56:36 2014 -0300
fix SECCOMP_CFLAGS usage
SECCOMP_CFLAGS must be in the global CFLAGS as <seccomp.h> is
included in core/execute.h. when seccomp.h is not in the standard
path.(i.e openSUSE has it in /usr/include/pkg/libseccomp/, precisely to
catch this kind of bugs) compiling systemd fails.
commit 234ed3eb09f0c8b871253691e0ef9309e68eeae8
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Tue Feb 18 16:07:40 2014 +0200
libsystemd-dhcp: Add a full DHCP address acquisition test case
Upon startup the DHCP library will immediately send a DHCP Discover.
Handle the additional DHCP Discover checking and DHCP Offer sending
in test_addr_acq_recv_discover(). Write a zero UDP checksum, the
received XID and the faked MAC address into place to create a DHCP
message the library can accept.
Follow exactly the same steps when receiving a DHCP Request in
test_addr_acq_recv_request() and send the Ack. Check that the proper
addresses have been found by the DHCP library before exiting the
main loop and finishing the test.
commit 6c8a0f07f21fd32e840ef00f89dd226418f5f8a0
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Tue Feb 18 16:07:39 2014 +0200
libsystemd-dhcp: Factor out test code for DHCP message verification
Add a callback function that will handle the test case specific checking.
commit ede286f9d433fbf3fa46794ae8d906697a5b303d
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Tue Feb 18 16:07:38 2014 +0200
libsystemd-dhcp: Add capability to print out test steps
commit 8b7d0494a3fe35209d4db0d1b9e065e7e5cc9875
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Feb 18 00:28:42 2014 -0500
NEWS: fix typos and grammar errors
commit 8e420494bc59d8b9d43e6d34d8ec8bb765946c74
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 13:38:31 2014 +0100
NEWS: even more fixes
commit 4fb7242cbbed0d865eb343548b8f0ee0fee71d85
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 18 00:10:08 2014 +0100
sd-rtnl-message: store reference to the bus in the message
This mimics the sd-bus api, as we may need it in the future.
commit c0c5af00bec95567435bdfb818c69b2b669adfed
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Tue Feb 18 08:13:25 2014 +0100
NEWS: sd-resolv.h is sd-resolve.h
commit 4670e9d5f23fc39360c086fb58eadf8b157ee205
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Feb 18 05:10:48 2014 +0100
doc: fix newly-arisen inconsistencies in NEWS
commit 06beed6dc6abeb392b3e2ca8c46fa3169616651e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Feb 17 22:25:37 2014 -0500
Remove unused variable and two function stubs
commit 1e190502e78cea1f8bcb62e6d390305c89e41e6a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Feb 17 22:01:28 2014 -0500
NEWS: fix a few typos and inconsistencies
- systemd-delta had support for .d for a long time.
- systemd-activate had --environment before --setenv.
commit ad42cf7308c45fb8a77c15b313f45361c5ea8fb5
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Feb 18 03:19:57 2014 +0100
NEWS: more "scary" kdbus incompatibility warning
commit 4c2413bffa7861bd3c4b3589c821ab7e0ac51c83
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Feb 18 03:13:08 2014 +0100
doc: general refresh of orthography and grammar
commit b97610038a122ff30e60b1996369ca4b979d8b19
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Feb 18 03:06:15 2014 +0100
NEWS: fix typos
commit 38bf2b26bd232ec6aea1d1a9ff2887e3ba23f41c
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Feb 18 01:08:57 2014 +0100
doc: orthographic corrections
commit 270f1624022039b370b9db311f9d33492833ad24
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 03:03:04 2014 +0100
NEWS fix
commit e49b5aada0df13c9e8fce7338ae34e075dd7ccd1
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 18 02:51:39 2014 +0100
prepare NEWS
commit 9f5650aecb22a1d864b2c0b749910556795f1490
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 18:28:53 2014 +0100
util: generalize code that checks whether PIDs are alive or unwaited for
commit ed7e5fe37d7e3392538844abadbb2903f4d2540f
Author: Jan Engelhardt <jengelh at inai.de>
Date: Mon Feb 17 15:43:36 2014 +0100
doc: utilize the DocBook markup for some literals
commit deb480d1a7c3f3178c44f0aa73765181c0e2317f
Author: Jan Engelhardt <jengelh at inai.de>
Date: Mon Feb 17 15:31:28 2014 +0100
doc: reword "shared per-thread" wording
Either it is shared across threads, or it is per-thread: decide.
Reading the source code, I see a thread_local identifier, so that's
that. But that does not yet preclude that a program may pass around
the pointer returned from the function among its own threads.
Do a best effort at saying so.
commit 8dc385e7701726be69b681e2738a1d74a21b24f1
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sun Feb 16 13:55:27 2014 +0100
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 source code.
commit 3c8fa0fd0f99996088e42c5d48e164fdae4ada40
Author: Jan Engelhardt <jengelh at inai.de>
Date: Mon Feb 17 03:58:37 2014 +0100
doc: properly use XML entities
commit dc968941bfc9be464e1df15afa05693dec3ec192
Author: Jan Engelhardt <jengelh at inai.de>
Date: Mon Feb 17 02:49:45 2014 +0100
doc: choose different words to improve clarity
I suggest the following changes to improve the way the text reads
("flows").
commit 66f756d437658cc464bfb5647c97efd0cf77f933
Author: Jan Engelhardt <jengelh at inai.de>
Date: Mon Feb 17 03:37:18 2014 +0100
doc: resolve missing/extraneous words or inappropriate forms
Issues fixed:
* missing words required by grammar
* duplicated or extraneous words
* inappropriate forms (e.g. singular/plural), and declinations
* orthographic misspellings
commit 73e231abde39f22097df50542c745e01de879836
Author: Jan Engelhardt <jengelh at inai.de>
Date: Mon Feb 17 03:37:13 2014 +0100
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes.
commit 48b5804a48b2b629fa793cc93bcb4a9c6edf9962
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sun Feb 16 14:01:31 2014 +0100
doc: detail what "UID" is
commit fc9acf252ffd0992a6bb0870f76c8d87cead2088
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sun Feb 16 13:42:17 2014 +0100
doc: quote consistently in autoconf code
AS_HELP_STRING has been observed to expand such that the surround
function complains; play it safe and consistenly quote the example
code throughout.
commit a87f0f726ca6dc9fde11eea6591a244e77d2d182
Author: Jan Engelhardt <jengelh at inai.de>
Date: Sun Feb 16 13:58:18 2014 +0100
core: more exact test on the procfs special string "(deleted)"
In other parts of systemd, the code checks for " (deleted)",
but in one instance, it did not (yet). Make it do the same.
commit c305c32580a1d7689a401e8cf673ec7936c12bbe
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Mon Feb 17 21:34:20 2014 +0100
man: fix a typo
commit 17256461f500430e27a64c3f4849e809023e8c4d
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Mon Feb 17 21:16:53 2014 +0100
networkd: act on lease only if there is one
Interface could go down before acquiring a dhcp lease
commit acfbbf5c5615dbc413ec653ec31fd8525190e39e
Author: Jasper St. Pierre <jstpierre at mecheye.net>
Date: Mon Feb 17 22:07:02 2014 +0100
Fix gperf syntax
If we put a closing bracket on its own line, gperf will complain about
empty lines. Only occurs if the option in question is disabled. So fix the
m4 macros to work properly in both cases.
commit 6a6751fe24bf456cf5c1efad785a4d11e78b42d0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 17:49:09 2014 +0100
core: warn when unit files with unsupported options are parsed
commit 5f8640fb628cb034981e02d741fd9ddf26fdf38d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 16:52:52 2014 +0100
core: store and expose SELinuxContext field normalized as bool + string
commit 4a3fa6ac77c5236f95963c0a0fdd541d02c6883a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 16:37:30 2014 +0100
Revert "man: systemd.service(5): clarify behavior of SuccessExitStatus"
This reverts commit 29e254f7f093c07a1ec7e845e60203357f585235.
Conflicts:
man/systemd.service.xml
commit 15bd5aee092572116886f0f9381f3477f48241fb
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 16:18:17 2014 +0100
main: make gcc shut up
commit b6e2f3293d0f9a821819d96038eec2a19062151f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 16:17:08 2014 +0100
core: fixate show_status earlier, so that we actually print the welcome message
Previously, we'd fixed show_state only after printing the welcome
message which had the effect that the welcome message was almost always
suppressed.
commit 3d0ce78b257dccda0e377dfef580abfa11437fe8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 15:52:32 2014 +0100
Update TODO
commit 03b90d4bade317c601bc22ccc700396ca6ba5a8e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 02:06:32 2014 +0100
core: find the closest parent slice that has a specfic cgroup controller enabled when enabling/disabling cgroup controllers for units
commit 6d2357247b198314d972932415d65a42f83a9b6e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 01:58:33 2014 +0100
core: fix property changes in transient units
commit e954c9cfa687065244adebaa15314082ba6d7ec2
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 01:19:08 2014 +0100
unit: slice dependencies should not be subject to DefaultDependencies
commit 8a8bf3c045d50917cea76ae5a6e659fca0c03e03
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 17 01:14:14 2014 +0100
main: don't set no_new_privs when using SystemCallArchitectures= system-wide
After all, we want to allow userspace to get new privs...
commit 37c47eb7098cd39733de83c98d06fb67870bb825
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Feb 16 22:20:19 2014 +0100
nspawn: netns_fd can be removed now
commit bc432dc7eb62c5671f2b741a86a66393adb350dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 19:11:07 2014 +0100
core: rework cgroup mask propagation
Previously a cgroup setting down tree would result in cgroup membership
additions being propagated up the tree and to the siblings, however a
unit could never lose cgroup memberships again. With this change we'll
make sure that both cgroup additions and removals propagate properly.
commit b1e90ec515408aec2702522f6f68c4920b56375b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 15 18:13:46 2014 -0500
Pass log config from systemd to systemd-shutdown
If PID 1 debug logging is enabled, it is nice to keep those settings
when switching to systemd-shutdown binary, independently of whether
this was done through /proc/cmdline options, or through runtime
manipulations.
commit fb4729006a7174472e8a435b0887e532cd6217fc
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 15 18:10:36 2014 -0500
Some modernizations
commit 141a79f491fd4bf5ea0d66039065c9f9649bfc0e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 15 18:08:59 2014 -0500
Extract looping over /proc/cmdline into a shared function
In cryptsetup-generator automatic cleanup had to be replaced
with manual cleanup, and the code gets a bit longer. But existing
code had the issue that it returned negative values from main(),
which was wrong, so should be reworked anyway.
commit 8fe63cd4f16e1e7cdf528ff053f8eb4da7848455
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Thu Feb 13 23:03:23 2014 +0100
logind: close race on session state during logins
At login there is a small race window where session_get_state() will
return SESSION_ACTIVE instead of SESSION_OPENING. This must be fixed
since during that time there are calls to session_save() to save
session states and we want to write the correct state.
When we queue the start scope and service jobs, we wait for both of them
to finish before calling and continue processing in:
"session_jobs_reply() => session_send_create_reply()"
to create the session fifo and notify clients.
However, in the match_job_removed() D-Bus signal, we may hit situations
where the scope job has successfully finished and we are still waiting
for the user service job to finish. During that time the
"session->scope_job" will be freed and set to NULL, this makes
session_get_state() return SESSION_ACTIVE before it is really active, it
should return SESSION_OPENING since we are still waiting for the service
job to finish in order to create the session fifo.
To fix this, we also check if the session fifo fd was created, if so then
the session has entered the SESSION_ACTIVE state, if not then it is still
in the SESSION_OPENING state and it is waiting for the scope and service
jobs to finish.
commit 9fadd4cabf57285e58272ddb75147d8d52d4c5a9
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 16 23:28:19 2014 +0100
sd-dhcp: silently ignore malformed packets
This fixes a regression introduced in e5002702.
commit 489e4fbb8c04bf26bb363bfdf4bbcd1505398528
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 16 21:39:50 2014 +0100
sd-rtnl: do not require ifindex to be set for SETLINK messages
The kernel will then look up the ifindex itself based on the name.
This should be used very carefully as it is racey.
[This was a left-over hunk from my previous nspawn patch.]
commit 6cd6fdb22820c5881a316831f4cf57d5d6e31144
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Feb 16 22:58:24 2014 +0100
TODO: remove done item
strv_append was removed in e3e45d4f82daa5cd85ba40dde9127df900096c0c
commit 32457153f4026ff2bcc73d82d5ad7a09a0169791
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Feb 16 22:15:24 2014 +0100
nspawn: typo fix in help
commit ab046dde6f355f4a8b07ff6120a7ef51f5d49fc9
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Feb 16 21:12:47 2014 +0100
nspawn: add new --network-bridge= switch
This adds the host side of the veth link to the given bridge.
Also refactor the creation of the veth interfaces a bit to set it up
from the host rather than the container. This simplifies the addition
to the bridge, but otherwise the behavior is unchanged.
commit 1733a00f62f1db9a0506c8d674b4b5ef7d235025
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Sat Feb 15 17:15:33 2014 +0100
Add white space between _XZ_FEATURE_ and _SECCOMP_FEATURE_
commit a3e648ccbb6b4ded2a9d4a95598df156de973db1
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Sun Feb 16 03:01:17 2014 +0100
bus: fix match_parse for unquoted matches
commit e3025da104f96ab428a9121f738c6343964d5260
Author: Yuxuan Shui <yshuiv7 at gmail.com>
Date: Sat Feb 15 13:20:55 2014 +0800
core: check for return value from get_process_state
Fix for commit e10c9985bb.
commit 5d31974e44b8fa163f859d8467a3667ed52056d0
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 15 17:21:49 2014 +0100
README: mention libudev's requirement
commit 080ab27621e979e75f6bb1a055616f3d419f7ac3
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 14 17:23:58 2014 +0100
sd-dhcp: network - don't hardcode ports
We want to reuse these functions for the server library too.
commit 818dc5e72af8a3eb772997188e2bd8ea616de844
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 15 00:06:09 2014 +0100
sd-rtnl: always include linux/rtnetlink.h
commit 0bfedf143c72005cb540ddcaf9a8630844e381f8
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 14 11:58:41 2014 +0100
sd-dhcp: minimum options size is part of the protocol
commit e5002702716b047c3d5515aaeecc5b829db02aa4
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 13 20:56:16 2014 +0100
sd-dhcp-client: explicitly handle raw and udp messages
Split the recevie_message callback into _raw and _udp parts and a generic
DHCPMessage handler.
Also always verify the xid/MAC, rather than only for udp messages.
commit ee3a6a51e5b098aa0c9641ed71d275c459ad2f5a
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 14 22:39:48 2014 +0100
sd-rtnl: message_open_container - don't take a 'size' argument
We can always know the size based on the type, so let's do this inside the library.
commit a7b74db6e72f4f19f74eabc81c1ebb4cb8670f06
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 14 12:15:26 2014 +0100
sd-rtnl: link flags - don't allow change = 0
The kernel will happily treat 0x0 as 0xffffffff, but it is for backwards
compatibility only, so let's not perpetuate this.
commit 93b5eaec70cc323046cad69a5e17993672a6f2f7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Feb 14 23:04:50 2014 -0500
Fix prototype of get_process_state
commit ecea04731c30e351c9eb3176d89af4a329ba784a
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 15 04:30:27 2014 +0100
util: fix mismatching function signature
commit b200a92cdc47b204e2ed7fbdd1eaf15abfd019c6
Author: Jason St. John <jstjohn at purdue.edu>
Date: Fri Feb 14 22:07:22 2014 -0500
man: use spaces instead of tabs
Several sections of the man pages included intermixed tabs and spaces;
this commit replaces all tabs with spaces.
commit 6db2742802b70938f0f2d373110ed734d4fb9813
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Feb 14 22:00:06 2014 -0500
man: replace STDOUT with standard output, etc.
Actually 'STDOUT' is something that doesn't appear anywhere: in the
stdlib we have 'stdin', and there's only the constant STDOUT_FILENO,
so there's no reason to use capitals. 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.
commit bcddd5bf8033b0c9cb15a9d017b7714ebe21473a
Author: Jason St. John <jstjohn at purdue.edu>
Date: Thu Feb 13 20:25:23 2014 -0500
man: fix grammatical errors and other formatting issues
* standardize capitalization of STDIN, STDOUT, and STDERR
* reword some sentences for clarity
* reflow some very long lines to be shorter than ~80 characters
* add some missing <literal>, <constant>, <varname>, <option>, and <filename> tags
commit e10c9985bbc3cf79f12f9ec7317adfe697fa8214
Author: Yuxuan Shui <yshuiv7 at gmail.com>
Date: Sat Feb 15 02:38:50 2014 +0800
core: fix detection of dead processes
Commit 5ba6985b moves the UNIT_VTABLE(u)->sigchld_event before systemd
actually reaps the zombie. Which leads to service_load_pid_file accepting
zombie as a valid pid.
This fixes timeouts like:
[ 2746.602243] systemd[1]: chronyd.service stop-sigterm timed out. Killing.
[ 2836.852545] systemd[1]: chronyd.service still around after SIGKILL. Ignoring.
[ 2927.102187] systemd[1]: chronyd.service stop-final-sigterm timed out. Killing.
[ 3017.352560] systemd[1]: chronyd.service still around after final SIGKILL. Entering failed mode.
commit f928d3263d788da8dec64f06c792988b6076e600
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Fri Feb 14 17:21:41 2014 +0100
test: add basic seccomp tests
commit 8f9c6fe5ff1d59001aecbf3fbf9ca0ed7ff28ba7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Feb 14 17:01:43 2014 -0500
units: systemd-logind fails hard without dbus
That is, without --enable-kdbus and kdbus running.
With --enable-kdbus things are more complicated, because dbus might be
necessary, if kdbus is missing at runtime. If it is not necessary,
the socket will be started, which is not imporant, but not the service.
commit 8a8332f77e61d41f3bb28b8f929ed41e0ffaf721
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Feb 14 16:39:58 2014 -0500
test: print the important commands to make debugging easier
commit b8667ee4162cd2510363602b417cecede9fd2cca
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Feb 14 16:39:15 2014 -0500
test: make the image bigger
I got some errors about lack of disk space... 100MB either way
shouldn't matter.
commit 262d10e6bd8e4a0a6a0967fbb5f89a5b989779ac
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 16:41:03 2014 +0100
nspawn: if we don't find bash, try sh
commit af1082b04a3d45a9b1d796b4271f44e87e307026
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 16:40:52 2014 +0100
update TODO
commit 6b9132a9c40355356b4d4f5b20b6338c0eb74dfa
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 16:35:18 2014 +0100
nspawn: don't accept just any tree to execute
When invoked without -D in an arbitrary directory we should not try to
execute anything, make some validity checks first.
commit 9fccdb0f64d12bc09a71442dd0af2248c1aa3e89
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 15:56:19 2014 +0100
man: always place <programlisting> and </programlisting> in a line with actual sources, so that we don't get spurious newlines in the man page output
commit 6046278f405b3ebaf84fcf17f6e834c4c4bd6a42
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Thu Dec 19 11:14:33 2013 +0100
localectl: log error if bus_map_all_properties() fails
commit 3a33e61d2df24b6b2dec6176930562f93b3c4347
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 02:05:40 2014 +0100
service: when we complain about a notify message we cannot map to main pid because we don't know anything about the main pid, do so at debug level
commit 336c6e4690ea017a11799aa331ffedd4c59a31ad
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 14 02:04:09 2014 +0100
service: if we don't know the main pid of a service, we cannot accept any notification messages
commit 9f137db070bceb064459ca24626d171737851045
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Fri Feb 14 01:52:40 2014 +0100
build-sys: fix for "recipe for target 'dbus1-generator-install-hook' failed"
commit 29e254f7f093c07a1ec7e845e60203357f585235
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Feb 14 01:40:04 2014 +0100
man: systemd.service(5): clarify behavior of SuccessExitStatus
The behavior of this is a little cryptic in that $MAINPID must exit as
a direct result of receiving a signal in order for a listed signal to
be considered a success condition.
commit 112cfb181453e38d3ef4a74fba23abbb53392002
Author: Michael Marineau <michael.marineau at coreos.com>
Date: Fri Jan 31 15:35:04 2014 -0800
shared: include root when canonicalizing conf paths
The conf_files_list family accepts an alternate root path to prefix all
directories in the list but path_strv_canonicalize_uniq doesn't use it.
This results in the suspicious behavior of resolving directory symlinks
based on the contents of / instead of the alternate root.
This adds a prefix argument to path_strv_canonicalize which will now
prepend the prefix, if given, to every path in the list. To avoid
answering what a relative path means when called with a root prefix
path_strv_canonicalize is now path_strv_canonicalize_absolute and only
considers absolute paths. Fortunately all users of already call
path_strv_canonicalize with a list of absolute paths.
commit b58b227a53ee2b9feba8433a1558b51132ffb18b
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Thu Feb 13 18:31:43 2014 +0100
logind: make sure to terminate systemd user on logouts
Currently if the user logs out, the GC may never call user_stop(),
this will not terminate the systemd user and (sd-pam) of that user.
To fix this, remove the USER_CLOSING state check that is blocking the
GC from calling user_stop(). Since if user_check_gc() returns false
this means that all the sessions of the user were removed which will
make user_get_state() return USER_CLOSING.
Conclusion: that test will never be statisfied.
So we remove the USER_CLOSING check and replace it with a check inside
user_stop() this way we know that user_stop() has already queued stop
jobs, no need to redo.
This ensures that the GC will get its two steps correctly as pointed out
by Lennart:
http://lists.freedesktop.org/archives/systemd-devel/2014-February/016825.html
Note: this also fixes another bug that prevents creating the user
private dbus socket which will break communications with the user
manager.
commit 24fb111207566f3bb33c6438714fb5df44ed4305
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 20:30:02 2014 +0100
nspawn: make socket(AF_NETLINK, *, NETLINK_AUDIT) fail with EAFNOTSUPPORT in containers
The kernel still doesn't support audit in containers, so let's make use
of seccomp and simply turn it off entirely. We can get rid of this big
as soon as the kernel is fixed again.
commit 69c79d3c32ff4d6a572ee1cdec248b27df1fb6ca
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 18:47:20 2014 +0100
nspawn: add new --network-veth switch to add a virtual ethernet link to the host
commit 31a4e15384b3819621dd5648e18148c2edea72d3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 18:46:48 2014 +0100
rtnl: support adding VETH_INFO_PEER containers into rtnl messages
commit 5a1aece58142023d407afae797bb0ffb05b34732
Author: Dave Reisner <dreisner at archlinux.org>
Date: Thu Feb 13 10:14:31 2014 -0500
systemctl: fix exit statuses from is-active/is-failed
This was inadvertantly disturbed in e3e0314b when glob support was
added.
commit c8a202b7d47f9d6bba3100a208abdadfc383499e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 14:59:56 2014 +0100
everywhere: always use O_CLOEXEC where it makes sense
commit 955d98c9c1104d469c2989dbfb58f58ee6fe9bdc
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 14:45:51 2014 +0100
everywhere: make use of new0() and macro() macros, and stop using perror()
commit 7e2270246b0906675c8f34bc278b1608b969e65c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 14:38:02 2014 +0100
nspawn: check with udev before we take possession of an interface
commit b88eb17a7a9aad8287df275c46c1d09b1aee09fd
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 14:08:16 2014 +0100
nspawn: no need to subscribe to netlink messages if we just want to execute one operation
commit a42c8b54b1619078c02f5e439bd2564c6d0f901f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 14:07:59 2014 +0100
nspawn: --private-network should imply CAP_NET_ADMIN
commit d595c5cc9e894c3608ed634052b0ba93aa94bf2f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 13:53:25 2014 +0100
rtnl: rename constructors from the form sd_rtnl_xxx_yyy_new() to sd_rtnl_xxx_new_yyy()
So far we followed the rule to always indicate the "flavour" of
constructors after the "_new_" or "_open_" in the function name, so
let's keep things in sync here for rtnl and do the same.
commit cf6a8911738fe2635a5210769d5348b05b166691
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 03:44:14 2014 +0100
rtnl: drop "sd_" prefix from cleanup macros
The "sd_" prefix is supposed to be used on exported symbols only, and
not in the middle of names. Let's drop it from the cleanup macros hence,
to make things simpler.
The bus cleanup macros don't carry the "sd_" either, so this brings the
APIs a bit nearer.
commit aa28aefe61c5406c5cb631f3e82457b6d1bcc967
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 03:27:39 2014 +0100
nspawn: add new --network-interface= switch to move an existing interface into the container
commit 39ed67d14694983dabd6641c02216aa440eed767
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 02:45:11 2014 +0100
nspawn: introduce --capability=all for retaining all capabilities
commit 89fffa2735ea975b3716ee47820d194bd86cce5f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 02:25:45 2014 +0100
seccomp: fix build again if libseccomp is missing
commit 513a78c1aac9fe2de939bed4afb03589216f5471
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 02:13:50 2014 +0100
update TODO
commit b33918c210a9b7a651e4e91cf7429967f1df6c25
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 02:12:27 2014 +0100
core: make StopWhenUnneeded work in conjunction with units that fail
during their start job
https://bugzilla.redhat.com/show_bug.cgi?id=997031
commit bcd02123e10a23d79b0317072ed8d4a250163475
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 01:41:24 2014 +0100
update TODO
commit d3b1c5083359faa6cfca81810cf87ef70d0290f6
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 01:35:27 2014 +0100
core: add a system-wide SystemCallArchitectures= setting
This is useful to prohibit execution of non-native processes on systems,
for example 32bit binaries on 64bit systems, this lowering the attack
service on incorrect syscall and ioctl 32â64bit mappings.
commit 624b5a636f2e0003a67025274d7afe9ebc55423b
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 13 01:38:53 2014 +0100
networkd: correctly handle manager_free(NULL)
commit 57183d117a1d6a96d71ce99d648beb0d2b36228d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 13 00:24:00 2014 +0100
core: add SystemCallArchitectures= unit setting to allow disabling of non-native
architecture support for system calls
Also, turn system call filter bus properties into complex types instead
of concatenated strings.
commit 351a19b17d51ba0a5737f35d3c5deb8e7975fdee
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 12 18:44:40 2014 +0100
core: fix build without libseccomp
commit 17df7223be064b1542dbe868e3b35cca977ee639
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 12 18:28:21 2014 +0100
core: rework syscall filter
- Allow configuration of an errno error to return from blacklisted
syscalls, instead of immediately terminating a process.
- Fix parsing logic when libseccomp support is turned off
- Only keep the actual syscall set in the ExecContext, and generate the
string version only on demand.
commit c0467cf387548dc98c0254f63553d862b35a84e5
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Wed Feb 12 01:29:54 2014 +0100
syscallfilter: port to libseccomp
commit c6f7b693fedfd822febc219868fc810c32d458c5
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 12 16:59:52 2014 +0100
sd-dhcp: make sure client->secs > 0
Some DHCP servers will not work correctly if secs == 0, so round up
to at least 1.
commit 60ad0c85e58ea8f546677c1d2e425551f7b96179
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 12 16:40:24 2014 +0100
networkd: work inside containers
Udev does not run in containers, so instead of relying on it to tell us when a
network device is ready to be used by networkd, we simply assume that any
device was fully initialized before being added to the container.
commit 86d0d519429b85b0cad93c8c9fe8e68c5b9a4fe3
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 12 12:59:31 2014 +0100
update TODO (add section for things to fix before 209)
commit 32dcef3ab1eb91ee469c3246ef859578dccd8a45
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 12 02:58:41 2014 -0500
build-sys: make lxml required when generating indices
Since the manpage indices generated without lxml would be missing some
parts, it doesn't make sense to keep lxml optional anymore.
commit feef0842cfa8abe8b76c16e026217bad7e90f283
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 12 02:05:06 2014 -0500
build-sys: add less-variables.xml to EXTRA_DIST
commit 21ac6ff143cc8bebfbd1818af28e8c6f82cd5265
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Feb 12 00:55:38 2014 -0500
man: use xinclude to de-deduplicate common text
I only tested with python-lxml. I'm not sure if xml.etree should be
deprecated.
commit f366d58dc1fe51b300167446597750d29687c3c5
Author: Jason A. Donenfeld <Jason at zx2c4.com>
Date: Wed Feb 12 03:30:10 2014 +0100
pager: support SYSTEMD_LESS environment variable
This allows customization of the arguments used by less. The main
motivation is that some folks might not like having --no-init on every
invocation of less.
commit db999e0f923ca6c2c1b919d0f1c916472f209e62
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 12 02:52:39 2014 +0100
nspawn: newer kernels (>= 3.14) allow resetting the audit loginuid, make use of this
commit dd513a5dbfa0d5f97084c7c8e475530a03cfd973
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 12 02:09:32 2014 +0100
test: fix "make check"
Let's remove the tests for cg_path_get_machine_name(), since they no
longer operate solely on the cgroup path, but actually look up data in
/run. Since we have a test for cg_pid_get_machine_name() this shouldn't
be too much of a loss.
commit 923d8fd381bced1c2d90ca53d18629d61a0f454a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 12 02:07:57 2014 +0100
machinectl: add new "machinectl reboot" call
commit a87105a38637355bd6d648036f0369a1a9546ae9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 8 17:22:13 2014 -0500
logind: ignore PropertiesChanged signals for jobs
Otherwise we get a (harmless) message like:
systemd-logind[30845]: Failed to process message [type=signal sender=:1.36 path=/org/freedesktop/systemd1/job/4674 interface=org.freedesktop.DBus.Properties member=PropertiesChanged signature=sa{sv}as]: Invalid argument
commit 9bb69af4f2823fdd30902f5ffd959e9b041feb53
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 8 20:29:56 2014 -0500
logind: always kill session when termination is requested
KillUserProcesses=yes/no should be ignored when termination is
explicitly requested.
commit 4daf54a851e4fb7ed1a13c3117bba12528fd2c7f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Feb 9 20:08:55 2014 -0500
journald: log provenience of signals
commit c480d2f8bc63565e40bd969054ebd97e9e2deca6
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 11 21:07:09 2014 +0100
units: make use of nspawn's --keep-unit switch in systemd-nspawn at .service
commit b87633c4b20e3221748d6c98336cf6c85123cd66
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 11 21:06:51 2014 +0100
machined: fix enumeration of existing machines on restart
commit 2fcb3af6a2931cfc74c8602ab68f00bc99b61b1c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 11 20:31:37 2014 +0100
update TODO
commit 00555a2ee1b008bccbb570320047307b8b9159f9
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Sat Feb 8 20:51:57 2014 +0100
logind: use session_get_state() to get sessions state of the user
In function user_get_state() remove the session_is_active() check, just
count on the session_get_state() function to get the correct session
state.
session_is_active() may return true before starting the session scope
and user service, this means it will return true even before the creation
of the session fifo_fd which will produce incorrect states.
So be consistent and just use session_get_state().
commit 70d9b9fc0a4fa1698ff00e364c61bb875244efa1
Author: Cristian RodrÃguez <crrodriguez at opensuse.org>
Date: Tue Feb 11 09:54:49 2014 -0300
efi: fix Undefined reference efi_loader_get_boot_usec when EFI support is disabled
commit 89f7c8465cd1ab37347dd0c15920bce31e8225df
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 11 17:15:38 2014 +0100
machined: optionally, allow registration of pre-existing units (scopes
or services) as machine with machined
commit 2d2ebd6b8f0775b93480bf05464865a0c78a9390
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 11 16:45:35 2014 +0100
util: modernize readlink_malloc() a bit
commit c50e4f95d8cfcd21bde2b0d1ff24b4de8fef4976
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 11 16:45:15 2014 +0100
util: drop parse_user_at_host() since its unused now
commit eb91eb187b7491e05fb95215b77cb62061f41d08
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 10 15:36:32 2014 +0100
nspawn: add --register=yes|no switch to optionally disable registration of the container with machined
commit cf597f650a178626258e67005dc917e504e9e5ea
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 11 13:11:18 2014 +0100
sd-dhcp: split out packet handling from client
commit a020c2a01368c47f32a0a1688d739275fb3c1a0a
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Mon Feb 10 16:42:52 2014 +0100
sd-bus: export sd_bus_call{,_async,_async_cancel}
The .sym file somehow lacks these declarations, so add these. You have to
run "make clean" to make sure the sym-test runs fine afterwards.
commit 63ffa72022b176a44d4cd134c901e9e1847e05d5
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 10 23:01:47 2014 +0100
networkd: link - correctly skip state ENSLAVING when no vlans configured
This fixes a regression introduced in 672682a6b
commit 672682a6b9d6fb6a3722c3fea1a93b4831747b54
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 10 18:41:54 2014 +0100
networkd: VLAN - allow multiple vlans to be created on a link
Also limit the range of vlan ids. Other implementations and
documentation use the ranges {0,1}-{4094,4095}, but we use
the one accepted by the kernel: 0-4094.
Reported-by: Oleksii Shevchuk <alxchk at gmail.com>
commit 3831838ae7b3ac145711bb84a71cb86cdd829975
Author: Michal Sekletar <msekleta at redhat.com>
Date: Mon Feb 10 16:37:09 2014 +0100
pam: use correct log level
commit 108e131ece5990466fa6d7bcfe3177a063bd1ddd
Author: Susant Sahani <ssahani at redhat.com>
Date: Fri Feb 7 22:36:25 2014 +0530
sd-rtnl: added support for a few more attributes
commit 11fc2e833e454e65ff1123a091ab1a877a063e15
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 10 13:28:39 2014 +0100
sd-rtnl: test - improve test of MTU a bit
We are more likely to catch errors if we don't use '0' as test value.
commit eedee64522f19a4976957fff12ee0d9c1870a7df
Author: Susant Sahani <ssahani at redhat.com>
Date: Fri Feb 7 10:27:41 2014 +0530
sd-rtnl: add test cases for link
commit 8a96d94e4c33173d1426b7e0a6325405804ba224
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 10 13:15:42 2014 +0100
nspawn: add new --share-system switch to run a container without PID/UTS/IPC namespacing
commit deb678f15a6faf9feb29e18954553f5051788056
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 10 13:05:28 2014 +0100
update TODO
commit 82adf6af7c72b852449346835f33184a841b4796
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 10 12:32:03 2014 +0100
nspawn,man: use a common vocabulary when referring to selinux security contexts
Let's always call the security labels the same way:
SMACK: "Smack Label"
SELINUX: "SELinux Security Context"
And the low-level encapsulation is called "seclabel". Now let's hope we
stick to this vocabulary in future, too, and don't mix "label"s and
"security contexts" and so on wildly.
commit 0d3f7bb3a5bc6d5c0712f88a080fed388981bca3
Author: Michael Scherer <misc at zarb.org>
Date: Thu Feb 6 10:05:18 2014 +0100
exec: Add support for ignoring errors on SELinuxContext by prefixing it with -, like for others settings.
Also remove call to security_check_context, as this doesn't serve anything, since
setexeccon will fail anyway.
commit 5c56a259e07661a66e806cc2fbc71de96a75f78e
Author: Michael Scherer <misc at zarb.org>
Date: Thu Feb 6 10:05:17 2014 +0100
exec: Ignore the setting SELinuxContext if selinux is not enabled
commit 7b52a628f8b43ba521c302a7f32bccf9d0dc8bfd
Author: Michael Scherer <misc at zarb.org>
Date: Thu Feb 6 10:05:16 2014 +0100
exec: Add SELinuxContext configuration item
This permit to let system administrators decide of the domain of a service.
This can be used with templated units to have each service in a différent
domain ( for example, a per customer database, using MLS or anything ),
or can be used to force a non selinux enabled system (jvm, erlang, etc)
to start in a different domain for each service.
commit 36e0e6311bb4df37385db19b5eca03973b26b5ff
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 10 13:06:09 2014 +0100
includes: remove duplicate includes
Found by the new check-includes make target.
commit 3c3e5f4276a893791110b03984735654372aa33a
Author: Karel Zak <kzak at redhat.com>
Date: Mon Feb 10 10:37:10 2014 +0100
build-sys: move python helpers to tools directory
Note that make-man-rules.py is missing in EXTRA_DIST=, this patch
fixes this mistake too.
commit bfb35cfda11d529f02c698e87ae298309a776305
Author: Karel Zak <kzak at redhat.com>
Date: Mon Feb 10 10:37:11 2014 +0100
build-sys: add check-includes build target and script
commit 63a1b905d83b8d223f78822122c71860c1b613d1
Author: Colin Guthrie <colin at mageia.org>
Date: Sun Feb 9 12:07:11 2014 +0000
fstab-generator: Create fsck-root symlink with correct path
This was noticed in Brussels at the hackfest. The fstab-generator currently
creates a broken symlink pointing to itself in
/run/systemd/generator/local-fs.target.wants/ for systemd-fsck-root.service
commit fcf90586a2b26c445d6a35313990096c8562ecee
Author: Vincent Batts <vbatts at redhat.com>
Date: Mon Feb 10 11:57:53 2014 +0100
nspawn: require /etc/os-release only for init
/etc/os-release is expected for the case for booting a full system, and
need not be required for thin container execution.
commit d50cf59b94e44d359c3f947a990b730a1f1a242c
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 10 11:53:16 2014 +0100
networkd: fix setting dns from dhcp
commit bbf261b75fda04ea6c1278d5e427f7c47eea9a6b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Feb 9 01:34:20 2014 -0500
man: fix another reference in systemd-inhibit(1)
http://bugs.debian.org/738316
commit 07b4b9b82247c4eff88dc236bb248dcc8c155548
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Feb 9 01:34:20 2014 -0500
man: fix reference in systemd-inhibit(1)
http://bugs.debian.org/738316
commit 49888ca9ef9cac69bfc9b6e30e4f8e3376dcae03
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 8 15:09:55 2014 -0500
manager: fix initialization of plymouth socket
I'm not sure why this makes a difference...
commit 66a5dbdf282435403f947c2caadd04bb0cdec752
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sat Feb 8 12:54:58 2014 -0500
cryptsetup-generator: auto add deps for device as password
If the password is a device file, we can add Requires/After dependencies
on the device rather than requiring the user to do so.
commit 2ba110900aca729f7d511c185b62149c4a28a293
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Jan 12 15:55:10 2014 -0500
core: use automatic cleanup in two functions
commit 550a40eceb7d1917152fc9317bf2696708d52bc2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Jan 17 21:28:41 2014 -0500
core: do not print invalid utf-8 in error messages
commit cda7ecb0a3d6cf839ec484a6690c12857a6e8375
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Feb 8 12:12:20 2014 -0500
pam-module: avoid (null) in debug message
commit f27f0e2177ac0a4b96585aed7db3a080e27a2f00
Author: Goffredo Baroncelli <kreijack at libero.it>
Date: Thu Feb 6 19:09:59 2014 +0100
core: fix crashes if locale.conf contains invalid utf-8 string
In the parse_env_file_push() and load_env_file_push() functions, there
are two assert() call to check if the key or value parameters are utf8 valid.
If the strings aren't utf8 valid, assert does abort.
These function are used early by systemd to parse some files. For
example '/etc/locale.conf'. In my case this file contained a not utf8
sequence, which is bad, but systemd crashed during the boot, which
is even worse!
The enclosed patch removes the assert and return -EINVAL if the
sequence is invalid. This is possible because the caller of these
function [1] checks the errors.
So the check of an invalid utf8 sequence is still performed, but
systemd doesn't crash anymore and logs the error.
[1] parse_env_file_internal(), invoked by load_env_file() and
parse_env_file()
commit ecd2f2c5947d9e2f4d6792c2a3a90b8ced6a5b3e
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Feb 7 23:09:40 2014 +0100
remove unused variables
commit ba978d7b325998709fb19d368d290fa1dff37699
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 7 19:29:28 2014 +0100
nspawn: rename --file-label to --apifs-label since it's really just about the API file systems, nothing else
commit 4e2f8d27781731021aa6b96c0ee18a8966eefe1c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 7 17:59:27 2014 +0100
core: when an already abandoned unit gets abandoned again generate a clean error
commit ba4c5d93b73ef7bba0ae0c6bf2b36a42360f7a34
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 7 16:42:03 2014 +0100
logind: order all scopes after both systemd-logind.service and
systemd-user-sessions.service
This way at shutdown we can be sure that the sessions go away before the
network.
commit 1a436809498faf6486815baa0338fb6b8e5def07
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 7 17:03:23 2014 +0100
networkd: netdev - rename Netdev to NetDev
Both in the configuration file format and everywhere else in the code.
commit 99e7e3922e1d25d0092bd61444c86dcc9a1e030e
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Thu Feb 6 21:37:14 2014 +0100
logind: add function session_jobs_reply() to unify the create reply
The session_send_create_reply() function which notifies clients about
session creation is used for both session and user units. Unify the
shared code in a new function session_jobs_reply().
The session_save() will be called unconditionally on sessions since it
does not make sense to only call it if '!session->started', this will
also allow to update the session state as soon as possible.
commit 743970d2ea6d08aa7c7bff8220f6b7702f2b1db7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 7 16:12:09 2014 +0100
core: one step back again, for nspawn we actually can't wait for cgroups running empty since systemd will get exactly zero notifications about it
commit 4e05c4951aaaa57c9c6f3fb91723e7b93b1bbbda
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 7 15:44:10 2014 +0100
machined: since we can now somewhat reliable get notifications for dying
scopes we don't need to lower the stop timeout anymore
commit 0452ffebbbb00a30894721666d81933425d182c7
Author: Jan Janssen <medhefgo at web.de>
Date: Fri Feb 7 12:47:20 2014 +0100
man: cryptsetup-1.6.3 now allows partition device file in system mode
commit 07c71313c53b21a17b47510daa7ddf17a645446c
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Feb 7 15:48:07 2014 +0100
build-sys: autogen - enable compat libs by default
commit a6cc569e33a05b07550c6c7b4d67d83d868f8bc1
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Feb 4 23:13:52 2014 +0100
sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_client
This allows us users of the library to keep copies of old leases. This is
used by networkd to know what addresses to drop (if any) when the lease
expires.
In the future this may be used by DNAv4 and sd-dhcp-server.
commit d72143bad46b51fc0bbedf01ff92aea8b07afac6
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Feb 6 18:15:47 2014 +0100
zsh-completions: kernel-install - only show existing kernels for 'remove'
When we remove a kernel, we don't remove the modules, so don't look at the modules directory to find installed kernels.
commit a50df72b37ce2a7caf7775c70d18c3f9504b9e80
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 19:04:51 2014 +0100
logind: given that we can now relatively safely shutdown sessions copes
without working cgroup empty notifications there's no need to set the
stop timeout of sessions scopes low
commit 5ba6985b6c8ef85a8bcfeb1b65239c863436e75b
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Feb 7 11:58:25 2014 +0100
core: allow PIDs to be watched by two units at the same time
In some cases it is interesting to map a PID to two units at the same
time. For example, when a user logs in via a getty, which is reexeced to
/sbin/login that binary will be explicitly referenced as main pid of the
getty service, as well as implicitly referenced as part of the session
scope.
commit 8190da36f71a887945297cd65d6426c78b466a50
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 19:46:46 2014 +0100
core: don't send duplicate SIGCONT when killing units
commit 6e8314c420eb375847c9e526745c2caec802399d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 19:27:59 2014 +0100
cgroup: make sure to properly send SIGCONT to all processes of a cgroup if that's requested
commit 5f41d1f10fd97e93517b6a762b1bec247f4d1171
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 18:32:14 2014 +0100
logind: rework session shutdown logic
Simplify the shutdown logic a bit:
- Keep the session FIFO around in the PAM module, even after the session
shutdown hook has been finished. This allows logind to track precisely
when the PAM handler goes away.
- In the ReleaseSession() call start a timer, that will stop terminate
the session when elapsed.
- Never fiddle with the KillMode of scopes to configure whether user
processes should be killed or not. Instead, simply leave the scope
units around when we terminate a session whose processes should not be
killed.
- When killing is enabled, stop the session scope on FIFO EOF or after
the ReleaseSession() timeout. When killing is disabled, simply tell
PID 1 to abandon the scope.
Because the scopes stay around and hence all processes are always member
of a scope, the system shutdown logic should be more robust, as the
scopes can be shutdown as part of the usual shutdown logic.
commit a911bb9ab27ac0eb3bbf4e8b4109e5da9b88eee3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 17:17:51 2014 +0100
core: watch SIGCHLD more closely to track processes of units with no reliable cgroup empty notifier
When a process dies that we can associate with a specific unit, start
watching all other processes of that unit, so that we can associate
those processes with the unit too.
Also, for service units start doing this as soon as we get the first
SIGCHLD for either control or main process, so that we can follow the
processes of the service from one to the other, as long as process that
remain are processes of the ones we watched that died and got reassigned
to us as parent.
Similar, for scope units start doing this as soon as the scope
controller abandons the unit, and thus management entirely reverts to
systemd. To abandon a unit introduce a new Abandon() scope unit method
call.
commit 1006a62d20855eb7d70b044031a2a676a8111a0f
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Feb 7 00:01:19 2014 +0100
core: fix warning
introduced in c7040b5d1c2c148f12b6a5eef3dfce1661805131
commit 627a98d39844a1ac10fde1f72cf18b4f08be4990
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 6 11:59:33 2014 -0500
shell-completion: fix completion of localectl set-locale
https://bugs.freedesktop.org/show_bug.cgi?id=74157
commit 5d63309cf5a6fc5256391fa4ddb72cf68e2e27e5
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Feb 5 17:07:20 2014 +0100
nspawn: fix HAVE_SELINUX ifdef
commit 75cb8502dfec0a6a5305fe766d4b6a1a04a43549
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 6 00:37:18 2014 -0500
transaction: print more information about conflicting jobs
Also remove some debug statement that should not have been committed.
commit 3ce09b7da2eb8b888066468663b2b5c81a05a03c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Feb 6 00:31:22 2014 -0500
bash-completion: fix completion of complete verbs
When doing 'command verb<TAB>', the arguments for verb would be
proposed, but it is too early. We should complete verb first.
https://bugs.freedesktop.org/show_bug.cgi?id=74596
commit 97e0691f85da6e7ea131ce80bd61e2d47a737a61
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 01:50:41 2014 +0100
core: only send SIGHUP when doing first kill, not when doing final sigkill
commit 99bd4af0c7034f425b4d334986b03e632ab71718
Author: Jóhann B. Guðmundsson <johannbg at gmail.com>
Date: Sun Feb 2 13:29:19 2014 +0000
udev: add zram to the list of devices inappropriate for symlinks
udev seems to have a race condition with swapon to see which can open
/dev/zram0 first, causing swapon to fail. Seems to be most noticeable
on arm devices one out of every 7 times or something.
commit 90b2de37b80603168f4e9c9c81cff7eea4efa21a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Feb 3 19:31:53 2014 -0500
Update some message formats
Use PID_FMT/USEC_FMT/... in more places.
Also update logind error messages to print the full path to a file that
failed. This should make debugging easier for people who do not know
off the top of their head where logind stores it state.
commit 284c0b917697fb0271381f331ffee28403278e72
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Feb 6 00:43:14 2014 +0100
nspawn: add --quiet switch for turning off any output noise
commit 1c03020cc48d41c94a51b5efbeeccb96e45d3e26
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 23:06:34 2014 +0100
nspawn: always use default bus
commit f4d140e9a60ca76d36d4539059e463a5db6a3a9d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 23:06:13 2014 +0100
bus: properly unset default bus pointer when destroying last reference
commit a4cd87e9dce6d38846f23d44df9e21f322f946df
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 20:34:11 2014 +0100
man: introduce new "Desktop" property for sessions
This is initialized from XDG_SESSION_DESKTOP and is useful for GNOME
to recognize its own sessions. It's supposed to be set to a short string
identifying the session, such as "kde" or "gnome".
commit 49ebd11fb0ea6af249990439bf0690641e8be559
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 18:55:18 2014 +0100
logind: make session type and class settable via the same ways
If the session type/class is set via environment variables, use that,
and otherwise fallback to something that is set via the PAM module
command line.
commit d9eb81f9844f6d28b52e44b2c0e6e280a61d8200
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 18:27:43 2014 +0100
logind: add new "wayland" session type
commit 1baccdda2e954214e0c5463d6ed8f06009b33c41
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 02:22:11 2014 +0100
core: don't wait for non-control/non-main processes when killing processes on the host either
Since the current kernel cgroup notification logic is easily confused by
existing subgroups, let's do the same thing as in containers before. and
just not wait for non-control and non-main processes.
This should be corrected as soon as we have sane cgroup notifications
from the kernel.
commit b4f052a05ab66d78290892382f33f20593001064
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 02:11:18 2014 +0100
kill: fix error return
commit c7040b5d1c2c148f12b6a5eef3dfce1661805131
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Feb 5 02:02:00 2014 +0100
core: allow User=, Group=, Nice=, Environment=, Type= to be passed when creating a transient service
commit 7b1796403ae1ed0c3299867874cc82ed3ed413a6
Author: Susant Sahani <ssahani at redhat.com>
Date: Tue Feb 4 14:19:20 2014 +0530
Added attribute support for sd-rtnl
Added sd_rtnl_message_append_u8 and
few attribute support in sd_rtnl_message_append_u32
IFLA_GROUP, IFLA_TXQLEN, IFLA_NUM_TX_QUEUES, IFLA_NUM_RX_QUEUES
commit d002827b03d78e31503a6b706ad4b4049ebf9a07
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Feb 4 22:56:07 2014 +0100
nspawn: various fixes in selinux hookup
- As suggested, prefix argument variables with "arg_" how we do this
usually.
- As suggested, don't involve memory allocations when storing command
line arguments.
- Break --help text at 80 chars
- man: explain that this is about SELinux
- don't do unnecessary memory allocations when putting together mount
option string
commit a8828ed93878b4b4866d40ebfb660e54995ff72e
Author: Dan Walsh <dwalsh at redhat.com>
Date: Thu Jan 30 16:28:02 2014 -0500
Add SELinux support to systemd-nspawn
This patch adds to new options:
-Z PROCESS_LABEL
This specifies the process label to run on processes run within the container.
-L FILE_LABEL
The file label to assign to memory file systems created within the container.
For example if you wanted to wrap an container with SELinux sandbox labels, you could execute a command line the following
chcon system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -R /srv/container
systemd-nspawn -L system_u:object_r:svirt_sandbox_file_t:s0:c0,c1 -Z system_u:system_r:svirt_lxc_net_t:s0:c0,c1 -D /srv/container /bin/sh
commit 483798e0770c65968bbe2b668ece293b2419f2ec
Author: Colin Guthrie <colin at mageia.org>
Date: Thu Jan 30 13:58:24 2014 +0100
journal: Drop pkgconfig reference to libsystemd-id128.
This is now part of libsystemd.
commit f389bf15d0b732027669690ed9606a96c0568bbd
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 3 13:26:24 2014 +0100
bus: when closing the bus don't end up in a recursive destruction deadlock
commit fdb9161cd3e1a64eb9a653a6bf69596670d6e942
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Feb 3 12:52:16 2014 +0100
conf-parser: warn when we open configuration files with weird access bits
commit e59749b1f8a960060b7b8e850cc79f97ddaf2db4
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Feb 3 15:25:45 2014 +0100
build-sys: move -lresolv out of CFLAGS
Thomas H.P. Andersen <phomes at gmail.com> wrote:
> Does -lresolv belong in libsystemd_la_CFLAGS? I would have thought
> that it should be in LIBADD for the lib and LDADD for the test.
commit 486e99a387adec15738c2822c2df5c813955f433
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Feb 1 14:41:13 2014 +0100
bus: update kdbus.h (ABI break)
commit 172f6635d164b9c59290fae253bc0698c0627afa
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 1 16:27:41 2014 +0100
networkd: remove unused variable
commit 71acb5e7dc58661e471ca11e0d5707b400c2d12c
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Feb 1 16:27:13 2014 +0100
networkd: don't fail on DHCP errors
commit 07901fc142504efb67c07875a588933dc59a3955
Author: Hendrik Brueckner <brueckner at redhat.com>
Date: Fri Jan 31 17:08:37 2014 +0100
s390/getty-generator: initialize essential system terminals/consoles
Ensure to start getty programs on all essential system consoles on Linux on
System z. Add these essential devices to the list of virtualization_consoles
to always generate getty configurations.
For the sake of completion, the list of essential consoles is:
/dev/sclp_line0 - Operating system messages applet (LPAR)
/dev/ttysclp0 - Integrated ASCII console applet (z/VM and LPAR)
/dev/ttyS0 - Already handled by systemd (3215 console on z/VM)
/dev/hvc0 - Already handled by systemd (IUCV HVC terminal on z/VM)
Depending on the environment, z/VM or LPAR, only a subset of these terminals
are available.
See also RH BZ 860158[1] "Cannot login via Operating System Console into RHEL7
instance installed on a LPAR". This bugzilla actually blocks the installation
of Linux on System z instances in LPAR mode.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=860158
commit eb15fe5cbb782fcb6527ba4496b49eed66ba6bab
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 31 18:03:15 2014 +0100
run: drop mistakenly committed test code
commit 9ceefc810f86026fd9c97ac89d9d1898f8482d89
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 31 17:47:22 2014 +0100
core: fix oom check
commit 2d4a39e759c4ab846ad8a546abeddd40bc8d736e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 31 17:45:13 2014 +0100
core: introduce new stop protocol for unit scopes
By specifiy a Controller property when creating the scope a client can
specify a bus name that will be notified with a RequestStop bus signal
when the scope has been asked to shut down, instead of sending SIGTERM
to the scope processes themselves.
https://bugzilla.redhat.com/show_bug.cgi?id=1032695
commit fb818b2ea194ec182aa3e776d38883dc615910a1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 31 12:27:35 2014 +0100
util: use alloca0() intead of alloca() + memzero()
commit c07aeadfeabc2fa5bc58d7f41d79e2310d33d595
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 31 03:10:27 2014 +0100
networkd: dhcp - refactor handler
commit c3ab23898f5794ab0f0705475cbfc27f8e9163a6
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 31 02:03:39 2014 +0100
networkd: don't check for ifindex in answer to RTM_NEWLINK
The kernel will not be changed to support this, so drop the code. Listening
for all RTM_NEWLINK messages and filtering on name is reliable, so it is not
a problem.
commit 40e39f628308683fda5f77b43afd245b62958641
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Jan 31 11:31:25 2014 +0200
libsystemd-dhcp: Update secs field only when sending Discover
Compute the 'secs' field as seconds since start of lease acquisition
procedure. Start off with a value of zero and increase it only for
each resent DHCP discover message. See the discussion before and
after http://www.ietf.org/mail-archive/web/dhcwg/current/msg05836.html
and Section 3.1 of RFC 2131.
commit f8fdefe4f50c5b1b34cd018e649deddd7af2519f
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Jan 31 11:31:24 2014 +0200
libsystemd-dhcp: Fix stopping of DHCP client
Go back to Init state independent of the current state the client
is in.
commit 1aed1cbc10d33e5bf5836e6838ac16add2002152
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Jan 31 11:31:23 2014 +0200
libsystemd-dhcp: Compute UDP checksum only if set
A checksum field with value zero means no UDP checksum has been
computed for the packet.
commit e44127018aaae2126734aca65a3e46dc14bf1825
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Jan 31 11:31:21 2014 +0200
libsystemd-dhcp: Rename function to be clearer that options are parsed
commit 74e22380ed1d753130e9194186aefdf58449050e
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Jan 31 11:31:20 2014 +0200
libsystemd-dhcp: DNS name option must be a multiple of 4 bytes
commit 29804cc1e0f37ee34301530fd7f1eb8550be464e
Author: Greg KH <gregkh at linuxfoundation.org>
Date: Fri Jan 31 06:51:32 2014 +0100
use memzero(foo, length); for all memset(foo, 0, length); calls
In trying to track down a stupid linker bug, I noticed a bunch of
memset() calls that should be using memzero() to make it more "obvious"
that the options are correct (i.e. 0 is not the length, but the data to
set). So fix up all current calls to memset(foo, 0, length) to
memzero(foo, length).
commit b5cfa7408c4cb68e9bb232fc34b07fd03c915617
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Jan 31 07:07:20 2014 +0100
analyze: fix plot issues when using gummiboot
It would crash and the legend in the bottom followed the time 0.0.
commit 498f8a39e66a62d015ac78e67e2504658bbba5f2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 30 21:40:27 2014 -0500
tmpfiles: fix memory leak of exclude_prefixes
Missed in 5c795114.
commit ba91431154ad7bac82ddf0a540ec1b40db62d782
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 30 17:23:34 2014 +0100
shared: net - use u32ctz to compute prefixlen
commit 32216660c7f01bac69ee2ac924e53684a1f8d549
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 30 16:46:27 2014 +0100
TODO: update sd-rtnl section
commit ec417ccc276f245382e1dc3c7b0599a878160193
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 30 16:46:48 2014 +0100
util: add u32ctz() call for determining ctz of uint32_t
commit 50add2909c2e4b13a04d285b058b1c2270137656
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 29 21:24:44 2014 +0100
networkd: netdev - reduce chance of race when receiving netdev's ifindex
When creating a new link, the kernel will not inform us about the new ifindex
in its ack. We have to listen for newly created devices and deduce the new
ifindex by matching on the ifname.
We used to do this by waiting for a new device from libudev, but that is asking
for trouble, as udev will happily rename the device before handing it to us.
Listen on rtnl instead, the chance of the name being changed before reaching us
is much smaller (if not nil).
Kernel patch in the works to make this unneccessary.
commit 3815f36f05f8bc06904777b1eb7f1d22b78bcced
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 29 21:20:30 2014 +0100
sd-rtnl: beef up rtnl-util a bit
commit 377a218f876507fb8be9c21ef4121fa2576ec317
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 28 23:23:31 2014 +0100
sd-dhcp-client/net-util: make netmask_to_prefixlen generic
This was originally included in the dhcp-client at my request, but it is not
really dhcp-specific and useful outside of it, so let's pull it out.
commit eb0ea358b688a6f83ff305c6b825c61f12b6dcb8
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 28 20:01:37 2014 +0100
networkd: address - add support for broadcast
commit 801bd9e859d7f3f127617172910786929776472b
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 28 20:00:47 2014 +0100
net-util: verify the address family
Error out if the address family is already set to something incompatible with the
address being parsed.
commit eb27aeca247a4cf8816fffc4c0dbcab55ead3864
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 27 20:52:07 2014 +0100
networkd: dhcpv4 - add notion of 'CriticalConnection'
These connections are never torn down, even when the DHCP specifications say that
they should be. This is useful/necessary when the rootfs (or another critical fs)
is mounted over this network connection, and dataloss would result if the connection
is lost.
This option defaults to off, but our initrd generator (TBD) will enable it when
applicable.
commit e7fb33ffefcdc68ad096eea7444da877b68390e8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 30 14:18:46 2014 +0100
utmp: make sure we don't write the utmp reboot record twice on each boot
(Also, only send the audit msg once, too)
commit 1cea22a5e3f9f80c07ad015c985ec17310e0f78c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 30 13:28:56 2014 +0100
update-utmp: code modernizations
commit 084f83586e53384f76b5c71b73c9d7d6517923fe
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 21:10:41 2014 +0100
update TODO
commit 7b217f41d2e31330b47aeaadbd3bf93c9eb1ce46
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 21:23:41 2014 +0100
bus: when proxying messages from the bus driver patch the driver's well-known name into the sender
commit e7b251913e8a2189de14778b6e92c08764ab2012
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 21:07:50 2014 +0100
bus: the owner of the bus driver name as reported by the driver's
GetNameOwner() bus call is the bus driver name itself, for compatibility
with dbus1
commit 40ddbdf85b592add401a0fbc963cec93559def54
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 20:58:50 2014 +0100
nspawn: fix reboot event fd reuse
commit bc6aed7b8b17901ef46c3af9513ae63372b7b413
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 20:12:18 2014 +0100
core: in containers, don't wait for cgroup empty notifications which will never come
commit 6294b8a92db8579210d4fc9ce74097a15005b3e6
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 14:59:45 2014 +0100
core: use a bit more PID_FMT
commit ac84d1fb5a7293df4f75544eedf148ba0bb4ec21
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 14:58:04 2014 +0100
core: make sure to always go through both SIGTERM and SIGKILL states of units
Given that we now have KillMode=mixed where SIGTERM might kill a smaller
set than SIGKILL we need to make sure to always go explicitly throught
the SIGKILL state to get the right end result.
commit c9cf047362cd8e4530c10bc7c2d6db988452305d
Author: Martin Pitt <martinpitt at gnome.org>
Date: Wed Jan 29 16:13:22 2014 +0100
keymap: Add Toshiba EQUIUM
Thanks Aleksander Kowalski <aleksander.kowalski.1 at gmail.com>!
commit ebc2259da1d1579347b86fc2ebca9f96334b6f22
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 13:49:54 2014 +0100
service: allow KillMode=mixed in conjunction with PAMName=
commit 58ea275a68cd242ad60161bcb7582614d1d89f13
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 29 13:38:55 2014 +0100
core: introduce new KillMode=mixed which sends SIGTERM only to the main process, but SIGKILL to all daemon processes
This should fix some race with terminating systemd --user, where the
system systemd instance might race against the user systemd instance
when sending SIGTERM.
commit 373f14222e6ff11ad0b129b033e01f75f7c504f3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 21:38:14 2014 +0100
bus: fake security labels again
(The kernel module got fixed, so let's reenable this again)
commit 38180c856898d352fca38ce85d55f2d89cf8be97
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 22:02:12 2014 -0500
man: remove erroneous history section
commit 6b02bce75923e2475f2a99447bfcedd280d788f9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 21:57:31 2014 -0500
manager: remove "debugging" "feature"
commit e5723c894db1ead8a10ffb1800e53e9064656d7e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 18:26:06 2014 -0500
manager: requeue the cylon eye for 5s later when a job finishes
We'd reqeue the next status update very soon after. Change it so that we wait
for full 5s without any job status changes until we print anything.
commit 8bb310c3c6f5a52f2d483fd8dfb16ca66ecf7a5f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 18:25:39 2014 -0500
manager: print ephemeral information about running jobs' timeouts (v2)
This reverts commit 28c758de94bc8ba97b89d9dab3f517cf466978d0
but makes job_coldplug smarter.
In (v1) I changed the job start timestamp to be always set, so the
start time can be reported in the cylon eye message. The bug was that
when deserializing jobs, they would be ignored if their start
timestamp was unset which was synonymous with no timeout. But after
the change, jobs would have a start timestamp set despite having no
timeout. After deserialization they would be considered immediately
expired. Fix this by checking if the timeout is not zero when
considering jobs for expiration.
commit 0f010ef2130e887347212d4a3f81abafc78985a0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 18:25:31 2014 -0500
Base mkostemp_safe on mkostemp
It is nice to wrap umask handling and return convention,
but glibc's mkostemp is async-signal-safe already.
commit 87b0284327e34a4b96c22085fa2cdb3219294991
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 18:23:38 2014 -0500
Get rid of write_safe
Current glibc implementation is safe. Kernel does this atomically,
and write is actually implemented through writev. So if write is
async-signal-safe, than writev pretty much must be too.
commit 7b36bf82c4deeadef6d914cef750b4a51ff2ed48
Author: Martin Pitt <martinpitt at gnome.org>
Date: Tue Jan 28 18:14:18 2014 +0100
keymap: Add Sony Vaio VGN-FW250
https://launchpad.net/bugs/1271163
commit 1e091c1285b59d0fbab58e6e5113ad111bc08794
Author: Martin Pitt <martinpitt at gnome.org>
Date: Tue Jan 28 18:10:12 2014 +0100
keymap: Add release quirk for Acer AOA switchvideomode key
https://launchpad.net/bugs/1272658
commit 3320e22a5daeb1d44d8998f285a460b2f715b89c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 28 10:36:11 2014 -0500
build-sys: disable lto also for libsystemd-id128
Another instance of https://sourceware.org/bugzilla/show_bug.cgi?id=16504.
commit 2d5bdf5bc0e4714d42e5999a4e37553a6bf83575
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:47:35 2014 +0100
always use the same code for creating temporary files
Let's unify our code here, and also always specifiy O_CLOEXEC.
commit 7736202ce9149942e96e525c08d508daa448aff5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:26:48 2014 +0100
util: pick slightly safer open() flags when creating temporary files
commit c09918f97a3c2fc4c8320d327eafd287bc2138da
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:25:51 2014 +0100
util: define O_TMPFILE on x86/x86-64, where the generic value is used
On other archs we'll not define it so that open_tmpfile() falls back to
unguessable name + unlink.
commit a6afc4aeaa5018859f8c8a397001ee4e3794545e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:09:14 2014 +0100
util: pass original flags value to mkostemp(), in open_tmpfile()
commit d37a91e860ce953079870bdbd2526b2c04bb9ea5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:08:34 2014 +0100
util: simplify mkostemp_safe()
Make it use dev_urandom() and endswith().
commit b89446bb33fbe6b9820efdbea62433657757a03f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:07:28 2014 +0100
util: introduce new dev_urandom() call that is like random_bytes() but doesn't fall back to PRNG
commit 7d5dd5e0cf2f0f2af39d72b1ee65651731bf0129
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 13:06:44 2014 +0100
util: modernize loop_read() and loop_write() a bit
Let's make use of fd_wait_for_event() here, instead of rolling our own.
commit 69727e6dc69ae5d9b5ae3681723778a3faa354e9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 12:33:32 2014 +0100
bus: reorder a few things
commit cbe72e30ebb811c271a131c01a873271480ea43d
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 28 12:07:20 2014 +0100
bus: update kdbus.h (ABI break)
commit 28c758de94bc8ba97b89d9dab3f517cf466978d0
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 28 12:03:23 2014 +0100
Revert "manager: print ephemeral information about running jobs' timeouts"
This reverts commit 2cba2e03524ec0922ddc70f933e8a89b7d23b4ec.
It breaks bootup with dracut, the transition to the real rootfs fails.
commit cb8ccb2271727fc114ca43104d3333ee4635cc79
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 22:48:18 2014 -0500
manager: also turn on output on unit failure
commit d450b6f2a9dd8a7fb14e9f8f771ddd70de7afc5e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 22:27:07 2014 -0500
manager: add systemd.show_status=auto mode
When set to auto, status will shown when the first ephemeral message
is shown (a job has been running for five seconds). Then until the
boot or shutdown ends, status messages will be shown.
No indication about the switch is done: I think it should be clear
for the user that first the cylon eye and the ephemeral messages appear,
and afterwards messages are displayed.
The initial arming of the event source was still wrong, but now should
really be fixed.
commit 65b3903ff576488eaabb51d3c4fbf9c73d867d7c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 25 23:35:28 2014 -0500
journal: guarantee async-signal-safety in sd_journald_sendv
signal(7) provides a list of functions which may be called from a
signal handler. Other functions, which only call those functions and
don't access global memory and are reentrant are also safe.
sd_j_sendv was mostly OK, but would call mkostemp and writev in a
fallback path, which are unsafe.
Being able to call sd_j_sendv in a async-signal-safe way is important
because it allows it be used in signal handlers.
Safety is achieved by replacing mkostemp with open(O_TMPFILE) and an
open-coded writev replacement which uses write. Unfortunately,
O_TMPFILE is only available on kernels >= 3.11. When O_TMPFILE is
unavailable, an open-coded mkostemp is used.
https://bugzilla.gnome.org/show_bug.cgi?id=722889
commit 8e33886ec582336564ae11b80023abe93d7599c0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 25 20:48:01 2014 -0500
Replace mkostemp+unlink with open(O_TMPFILE)
This will only work on Linux >= 3.11, and probably not on all
filesystems. Fallback code is provided.
commit 847657c7690598f1c77d0ba9e86ef58916bc58a7
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 01:05:32 2014 +0100
bus: update bloom filter description a bit
commit b28ff39f42877daef31383748fd2f313d7fd67c1
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 28 00:57:38 2014 +0100
bus: rework bloom filter logic to operate with variable bloom filter
sizes and numbers of hash functions
In order to make the bloom filter logic more future proof communicate
bloom filter parameters from the original bus creator to the clients,
and allow them to be variable within certain ranges.
commit af08d2f9cde8f46d9d3e731dbd1f06ffb3b08942
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jan 27 21:34:54 2014 +0100
bus: add API calls for connecting to starter bus
Add new calls sd_bus_open() and sd_bus_default() for connecting to the
starter bus a service was invoked for, or -- if the process is not a
bus-activated service -- the appropriate bus for the scope the process
has been started in.
commit 968d3d242cc9256eaca9a18155a744b575159cbd
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jan 27 20:12:14 2014 +0100
resolve: update sd-resolve to match the other APIs in style and functionality
commit ff975efb2e88dcd5221a2f0d76c4c87e85b821a8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 23:36:06 2014 +0100
bus: when we cannot bus activate a service because we go down, drop one
message from the queue
commit 82cd413782cca6de3088c2705f839ff31abec7f9
Author: Martin Pitt <martinpitt at gnome.org>
Date: Mon Jan 27 09:04:22 2014 +0100
keymap: Add HP Chromebook 14 (Falco)
Thanks to Stefan Nagy <public at stefan-nagy.at>.
commit 36be24c8f82141fda995841d177e9e4113e1ef06
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 01:23:20 2014 -0500
core: require mounts for the root and working directories
We know that launching a unit will fail if some required directories
haven't been mounted yet. There's no point in starting it just to
have it fail even before it gets a chance to run.
commit 70b64bd3561c2bbe6cad2e590d4e3e25426f75b5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 01:23:16 2014 -0500
core: simplify check for path absoluteness
Just a microopt.
commit fd08a8403f8c4075db95a0a4aec92689897c1e63
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 01:15:27 2014 -0500
manager: rearm jobs timer
It would fire just once.
Also fix units from sec to usec as appropriate.
Decrease the switching interval to 1/3 s, so that when the time
remaining is displayed with 1s precision, it doesn't jump by 2s every
once in a while. Also, the system is feels noticably faster when the
status changes couple of times per second instead of every few
seconds.
commit 2cba2e03524ec0922ddc70f933e8a89b7d23b4ec
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 00:59:08 2014 -0500
manager: print ephemeral information about running jobs' timeouts
Produces output like:
[ *** ] (1 of 2) A start job is running for slow.service (33s / 1min 30s)
The first nubmer is the time since job start, the second is the job timeout.
commit 68db7a3bd9b2f8640c7297382b6d20eb995f7e1e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Jan 27 00:57:34 2014 -0500
core: add function to tell when job will time out
Things will continue when either the job timeout
or the unit timeout is reached. Add functionality to
access that info.
commit d7353ef6095f5e7db63d9cc898c7134b64482550
Author: Matthew Monaco <matthew.monaco at 0x01b.net>
Date: Fri Jan 24 11:23:01 2014 -0700
pam_systemd: Ignore vtnr when seat != seat0
logind considers it an error for a seat other than seat0 to have a
non-zero vtnr for CreateSession
commit 62cfb98addf80c25a9ed12683e73859173c65e97
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Jan 26 17:51:53 2014 +0100
dbus1-generator: use XDG_RUNTIME_DIR instead of /run/user/%lu/
commit 9f70075586839e8f1c097874fea2223a3d76230c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Jan 26 11:36:04 2014 -0500
build-sys: expose more phony targets
commit bd390ae7c75dc5bb0e151e6fd2f7156998ed710f
Author: Elia Pinto <devzero2000 at rpm5.org>
Date: Wed Jan 22 03:28:43 2014 -0800
build-sys: add a phony target for cppcheck
The cppcheck target was introduced by commit 16f4efb4150c65e3c61adaa8ea512489de49f532
"build-sys: add cppcheck target". But it is preferable to use a make phony target
for it, as this patch does.
There are two general reasons to use a phony target: to avoid a
conflict with a file of the same name, and to improve performance. In
this case the first reason is obvious, and the second is that make
skips the implicit rule search for phony targets, since it knows that
phony targets do not name actual files that could be remade from other
files (as described in the "Gnu Make" Manual).
commit b4a11878f2fdf5b07f895863747153de632ff4e6
Author: Christian Seiler <christian at iwakd.de>
Date: Sun Jan 26 12:02:49 2014 +0100
cryptsetup: Support key-slot option
Debian recently introduced the option key-slot to /etc/crypttab to
specify the LUKS key slot to be used for decrypting the device. On
systems where a keyfile is used and the key is not in the first slot,
this can speed up the boot process quite a bit, since cryptsetup does
not need to try all of the slots sequentially. (Unsuccessfully testing
a key slot typically takes up to about 1 second.)
This patch makes systemd aware of this option.
Debian bug that introduced the feature:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704470
commit 0a75bc612dc8b220fc86479a89e0fe35dfcc48bc
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 25 18:55:50 2014 -0500
build-sys: update .pc.in files
commit be12791331b9b64867b5aa4b13df88c1a2b7e2a1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 25 16:05:08 2014 -0500
build-sys: merge libsystemd-id128 into libsystemd
commit 53e856e16ac37fe30b8bb59153ff69aad0fa9c27
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Jan 19 08:50:02 2014 -0500
build-sys: create "compatibility libraries" section
Compat stuff is moved to src/compat-libs/.
Warnings are issued when programs are linked with the deprecated library.
commit 242465b5bfcc2ea1b1d704907e7dd5f1c15d4404
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 25 17:24:19 2014 -0500
build-sys: disable lto for compatibility libraries
https://sourceware.org/bugzilla/show_bug.cgi?id=16504
commit 0bba8d6eb74466bc708a4453130b99b5b4e0254c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Jan 19 00:12:20 2014 -0500
build-sys: merge libsystemd-login into libsystemd
A compatibility libsystemd-login library is created which uses
.symver and ifunc magic proposed by Lennart to make programs linked
to the old library name continue to work seamlessly.
Unfortunately the bfd linker crashes:
https://sourceware.org/bugzilla/show_bug.cgi?id=16467
This will be fixed in binutils 2.25.
As a work-around, gold can be used:
LDFLAGS=-Wl,-fuse-ld=gold
Unfortunately the switch to pick the linker appeared in gcc 4.8.
This also doesn't work with LLVM:
http://llvm.org/bugs/show_bug.cgi?id=11897
commit 39c4ead2323b45bbe9866e0f97fd8dcfb8a0bede
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 21 20:38:49 2014 -0500
build-sys: default to gold linker
gold doesn't exhibit the problems with linking of compatibility
libraries.
It is also slightly faster:
make clean && make -j5 bfd gold
real 34.885s 33.707s
user 34.486s 32.189s
sys 9.929s 10.845s
real 35.128s 33.508s
user 34.660s 31.858s
sys 10.798s 10.341s
real 35.405s 33.748s
user 34.765s 32.384s
sys 11.635s 10.998s
real 35.250s 33.795s
user 34.704s 32.253s
sys 11.220s 11.469s
touch src/libsystemd/sd-bus.c && make -j5
bfd gold
real 10.224s 9.030s
user 11.664s 9.877s
sys 3.431s 2.878s
real 10.021s 9.165s
user 11.526s 9.990s
sys 3.061s 3.015s
real 10.233s 8.961s
user 11.657s 9.973s
sys 3.467s 2.202s
real 10.160s 9.086s
user 11.637s 9.950s
sys 3.188s 2.859s
commit 7a821bfec1bffff043a5bcd82f9cba8927b4b4cb
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Jan 25 21:04:39 2014 +0100
dbus1-generator: add missing "path=" and "unix:*" to DBUS environment variables
This works around the goa daemon crash:
Jan 25 20:54:24 lon goa[1363]: goa-daemon version 3.10.2 starting [main.c:117, main()]
Jan 25 20:54:24 lon systemd[424]: Starting Legacy D-Bus Protocol Compatibility Daemon (PID 1363/UID 2702)...
Jan 25 20:54:24 lon systemd[424]: Started Legacy D-Bus Protocol Compatibility Daemon (PID 1363/UID 2702).
Jan 25 20:54:24 lon kernel: goa-daemon[1363]: segfault at 20 ip 00007f46914b26d5 sp 00007fff1ae6d9a0 error 4 in libtelepathy-glib.so.0.80.1[7f469144f000+228000]
Jan 25 20:54:24 lon systemd-coredump[1368]: Process 1363 (goa-daemon) dumped core.
Jan 25 20:54:32 lon goa[1375]: goa-daemon version 3.10.2 starting [main.c:117, main()]
commit c9ccc19f9eb0599109094c57b7a2f668d708f0c1
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 25 11:39:22 2014 +0100
networkd: improve logging a bit
Fix/add some structured logging messages, and be uniform about when we WARN and ERR.
commit 54abf461d6b10dc270c4bb2aeac65f240ff1c5cd
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 22 14:49:24 2014 +0100
networkd: add basic VLAN support
commit 168a3f602fa2250dc0d0aab140ab91945d5f6efa
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 25 01:22:54 2014 +0100
sd-rtnl: extend tests a bit
commit e5c4350b0d91551041795eb3c4fd4f22b2604ee2
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 24 21:04:05 2014 +0100
sd-rtnl: add support for reading containers
Also insist on messages being sealed before reading them. In other
words we don't allow interleaving of reading and appending to messages.
commit 1fa132931a3eed8556da801d9fe91aa4c166445e
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 24 21:15:34 2014 +0100
bus: bump memfd vs. copy limit to 512k to reflect recent benchmarks
commit 5a081409c5b88b0fcffb4ee5a0e07ed133ca4da3
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 24 18:44:03 2014 +0100
sd-rtnl: add support for nested containers
commit c552d2e18b074eb8784339d6ddfc55ce24ca4212
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 24 19:25:51 2014 +0100
bus: update kdbus.h (ABI break)
commit 040975bd3e7efc393f63153eeb3ea0472ead3789
Author: Michal Sekletar <msekleta at redhat.com>
Date: Fri Jan 24 17:45:49 2014 +0100
TODO: update
ps can display slice unit for a process.
https://gitorious.org/procps/procps/commit/93e7872995d0d1ae850e12fb5fdd64928e2d5e60
commit 18a281479dd6ea65d9b7471c5a74b78f23bef307
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 24 17:06:36 2014 +0100
bus: update kdbus.h (ABI break)
commit eee9ec0e28922b6991a6eea64fd7ce54df1cd364
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 20:45:05 2014 +0100
bus: change API to expose "inverted" no_reply and no_auto_start message flags non-inverted
commit ab9716c2489f9141ed13ec22dbb216b3e6fbd6b5
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 20:29:57 2014 +0100
update TODO
commit 766c580959336be16f7c724b158f8e8fbaba2e9a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 20:26:58 2014 +0100
bus: add sd_bus_process_priority() to support prioq mode of kdbus
commit ca7b42c81652c342288a3e0a10abd885c66ac5b2
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 20:01:23 2014 +0100
bus: expose priority field of messages, in preparation for prioq support
commit aa575ef8dec6fe74c9fdf27960125dd214511202
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 19:10:49 2014 +0100
bus: temporarily disable faking of seclabels, as this is broken in kdbus right now
commit 44b0ed05865e0aa900471a5e822dbd1b4e840053
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 19:08:22 2014 +0100
bus: set debug name of proxy bus connections
commit 14008e4e9cc6b51d68cd07ed091f788239d92856
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 18:43:03 2014 +0100
busctl: include connection name in busctl output
commit 2578d51ebd40ae0a8c6343164334358384dd55f7
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 18:45:38 2014 +0100
bus: unescape connection name when reading it from credentials
commit 5a72317435a39f23520b42731e53bd13d20f489e
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 21 15:55:57 2014 +0100
sd-rtnl: simplify sd_rtnl_message_addr_new()
Split out into sd_rtnl_message_addr_set_{prefixlen,flags,scope}().
commit 52433f6b65eccd1c54606dde999610640f3458ac
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 21 21:58:08 2014 +0100
networkd: add basic bonding support
Refactor bridging support to be generic netdev support and extend it to
cover bonding as well.
commit 01b36069ccddbed35b82dd3b64af3e522ab305fe
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 22 14:16:01 2014 +0100
sd-rtnl: add sd_rtnl_message_append_u16()
commit 2c3d81d4a7e3888632537140aae57940159fb39e
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 22 00:14:04 2014 +0100
DEFINE_STRING_TABLE_LOOKUP: return _INVALID_* rather than assert on NULL string
commit 5d4795f3722911ccd7953c0cf112c1f7624ea834
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 21 15:20:42 2014 +0100
sd-rtnl: link - allow setting the change mask
commit 41add995cf7d61e299cb859a7f63117e2b4de312
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 16:44:32 2014 +0100
bus: pass timestamp info only to caller if he asked for it
commit cccb0b2cdbd25e90ae92d2d5b107125cb1ca3433
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 16:28:58 2014 +0100
bus: include connection name in credentials structure
commit 8d1db1d154c1134c9bf92b202ef198cc79979ea8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 16:16:04 2014 +0100
bus: when allocating a memfd for usage in a bus connection, name the memfd after the bus connection
commit 5972fe953ec56c77936a1e612ca87d8a0e6c0c64
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 16:09:59 2014 +0100
bus: add support for attaching name to bus connections for debugging purposes
commit 7f96b1d8147b164bc7c8ce119aeea5fed6ceecb7
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 13:06:04 2014 +0100
bus: extend memfd api so that we can label memfds for debugging purposes
commit 3736955368e8a3a24962f5fdd25cce3281885c30
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 11:44:54 2014 +0100
man: document message timestamping/sequence number API
commit 1fedcf59e0959b5e20bcd5a0ee9073e1185af315
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 11:25:39 2014 +0100
bus: rename sd_bus_get_realtime_timestamp() to sd_bus_get_realtime_usec()
This brings the calls into similar style as the respective functions in
libsystemd-journal, and also is a bi shorter and more descriptive since
it clarifies the time unit used.
commit 4fc319887efb4c68ec5a308d583a94510382f686
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 11:21:51 2014 +0100
bus: simplify naming of feature negotation calls
Two verbs in a function name suck, so let's simplify this a bit.
commit 6a0e376c1cd303ff09777e5d18f070fe43e6b915
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 22 10:57:12 2014 +0100
bus: add API for querying the kdbus message sequence number
commit d6f116a7b18f8bd3c6507c803217991235c7f1bb
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 22 10:47:48 2014 +0100
udev: static_node - do not exit rule after first static_node item
The nodes usually do not exist, so handle the next item instead of
skipping the entire rule.
commit 069f5e61eb128aa08b6fdff12fc6ac71c3897b48
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 21 15:02:07 2014 +0100
bus: implement synchronous message calls via kernel ioctl
commit 607553f9306286fdccf0b356bc3d1087adfe21c4
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 21 14:10:18 2014 +0100
libsystemd: split up into subdirs
We still only produce on .so, but let's keep the sources separate to make things a bit
less messy.
commit 43d9c2b5848b1363b659c38443c1c94db57415fd
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Mon Jan 20 17:53:16 2014 -0800
hwdb: Update database of Bluetooth company identifiers
commit c61be55d23f7603a986dc2937dd7f9aa390ae79c
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 20 23:40:30 2014 +0100
libsystemd-dhcp: revert merge into libsystemd
Unlike the other merged libs, the rest of libsystemd will never depend on
sd-dhcp-client, so there is no reason not to keep it separate.
commit 5274f05381d460069458d2139a28766c574fb197
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Jan 20 23:55:02 2014 +0100
TODO: update
commit 97f82db3253fcaa557570eccfc55dae9ac2b16d5
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Jan 20 23:42:05 2014 +0100
Revert "sd-bus: let sd_bus_call() use the synchronous kdbus method"
This reverts commit 021b89861d0b1defcbd6ba71d1aaf6271785a942.
Something is not quite right, "KillUnit" sent from systemctl is not
handled correctly and shutdown has problems.
commit 49e6fdbf14b35d8840c3b263fd15259624b07818
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sat Nov 30 11:39:48 2013 +0100
logind: introduce session "positions"
logind has no concept of session ordering. Sessions have a unique name,
some attributes about the capabilities and that's already it. There is
currently no stable+total order on sessions. If we use the logind API to
switch between sessions, we are faced with an unordered list of sessions
we have no clue of.
This used to be no problem on seats with VTs or on seats with only a
single active session. However, with the introduction of multi-session
capability for seats without VTs, we need to find a way to order sessions
in a stable way.
This patch introduces session "positions". A position is a simple integer
assigned to a session which is never changed implicitly (currently, we
also don't change it explicitly, but that may be changed someday). For
seats with VTs, we force the position to be the same as the VTnr. Without
VTs, we simply find the lowest unassigned number and use it as position.
If position-assignment fails or if, for any reason, we decide to not
assign a position to a session, the position is set to 0 (which is treated
as invalid position).
During session_load() or if two sessions have the same VTnr, we may end up
with two sessions with the same position (this shouldn't happen, but lets
be fail-safe in case some other part of the stack fails). This case is
dealt with gracefully by ignoring any session but the first session
assigned to the position. Thus, session->pos is a hint, seat->positions[i]
is the definite position-assignment. Always verify both match in case you
need to modify them!
Additionally, we introduce SwitchTo(unsigned int) on the seat-dbus-API.
You can call it with any integer value != 0 and logind will try to switch
to the request position. If you implement a compositor or any other
session-controller, you simply watch for ctrl+alt+F1 to F12 and call
SwitchTo(Fx). logind will figure a way out deal with this number.
For convenience, we also introduce SwitchToNext/Previous(). It should be
called on ctrl+alt+Left/Right (like the kernel-console used to support).
Note that the public API (SwitchTo*()) is *not* bound to the underlying
logic that is implemented now. We don't export "session-positions" on the
dbus/C API! They are an implementation detail. Instead, the SwitchTo*()
API is supposed to be a hint to let logind choose the session-switching
logic. Any foreground session-controller is free to enumerate/order
existing sessions according to their needs and call Session.Activate()
manually. But the SwitchTo*() API provides a uniform behavior across
session-controllers.
Background: Session-switching keys depend on the active keymap. The XKB
specification provides the XKB_KEY_XF86Switch_VT_1-12 key-symbols which
have to be mapped by all keymaps to allow session-switching. It is usually
bound to ctrl+alt+Fx but may be set differently. A compositor passes any
keyboard input to XKB before passing it to clients. In case a key-press
invokes the XKB_KEY_XF86Switch_VT_x action, the keypress is *not*
forwarded to clients, but instead a session-switch is scheduled.
This actually prevents us from handling these keys outside of the session.
If an active compositor has a keymap with a different mapping of these
keys, and logind itself tries to catch these combinations, we end up with
the key-press sent to the compositor's clients *and* handled by logind.
This is *bad* and we must avoid this. The only situation where a
background process is allowed to handle key-presses is debugging and
emergency-keys. In these cases, we don't care for keymap mismatches and
accept the double-event. Another exception is unmapped keys like
PowerOff/Suspend (even though this one is controversial).
commit 7f112f50fea585411ea2d493b3582bea77eb4d6e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jan 20 19:54:51 2014 +0100
exec: introduce PrivateDevices= switch to provide services with a private /dev
Similar to PrivateNetwork=, PrivateTmp= introduce PrivateDevices= that
sets up a private /dev with only the API pseudo-devices like /dev/null,
/dev/zero, /dev/random, but not any physical devices in them.
commit 3540c7f88fd4b860d3d6d0e931ddb7cd91bc559a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jan 20 17:57:42 2014 +0100
update TODO
commit 8c8f0fb9682bf8b4a6fc598b7243e193a98d1cbd
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Mon Jan 20 09:58:41 2014 +0100
sd-dhcp-client: refactor state machine check
commit 67d6621059085963a2a908a3ea99ced3b0ca789e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jan 20 13:43:20 2014 +0100
systemctl: skip native unit file handling if sysv file handling already handled everything
Issue pointed out by Colin Guthrie.
commit 488ad3b32a7e2b5b1380abf4a15e5f65fa65f3fe
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jan 20 13:42:52 2014 +0100
update TODO
commit 021b89861d0b1defcbd6ba71d1aaf6271785a942
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Jan 18 20:09:14 2014 +0100
sd-bus: let sd_bus_call() use the synchronous kdbus method
commit cb67f7184e61fafc984c4cd1e921d71a7e67c2ae
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Jan 18 20:06:21 2014 +0100
bus-kernel: move bus_kernel_make_message
This makes future commits more readable.
commit e6674986de1985ab4f0733c9a909bdc42c1c3fa5
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jan 19 15:43:33 2014 +0100
networkd: use 'up'/'down' rather than 'on'/'off'
commit 0de638530c0651e554cff06cb0bf7a8ccdff97ab
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 18 21:19:09 2014 +0100
networkd: dhcp - by default ignore the MTU
commit b25ef18b334d85d54f50478446bf81fe214cb2fc
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 18 19:32:45 2014 +0100
sd-dhcp-client: refactor client_{free,new}
Make them more simiar to sd_bus and friends. Also factor out the event attachment. In the future,
we will likely want to support external main-loops, so this is a first step. For the time being,
we are still requiring an sd_event to be attached though.
commit 35bbea48dcb74ed2ecc1cab1ca7306acf6d6bb65
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sat Jan 18 16:07:31 2014 +0100
sd-resolv: declare functions from .h public
commit 127b55d5a49e8e534e12107fc5d5a684c390d7aa
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sat Jan 18 14:30:28 2014 +0100
sd-resolve: rename get_next() and get_n_queries() + cleanup
commit 885d1c80d991b7f9f8074c8d06f64dab1e53b7ad
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sat Jan 18 14:30:27 2014 +0100
sd-resolve: Allocate objects with new()
commit 65883c9108cb2670a5458f0c2f49a5879f2a4ed9
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sat Jan 18 14:30:26 2014 +0100
sd-resolve: get rid of sd_resolve_freeanswer()
commit 039ebe6aebaebcaa18375b33caf1db5fe2551621
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 18 15:47:57 2014 +0100
sd-dhcp-client/networkd: add domainname support
commit bcbca8291fe3beaed36dd672d8b544840cfc49de
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 18 01:37:35 2014 +0100
networkd: don't hard depend on system bus
We may not have a dbus daemon in the initrd (until we can rely on kdbus). In
this case, simply ignore any attempts at using the bus. There is only one user
for now, but surely more to come.
In order to work reliably in the real root without kdbus, but at the same time
don't delay boot when kdbus is in use, order ourselves after dbus.service.
commit b2ad8a16eea1d125159fbd71974ea7c24dc0ab0a
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 17 17:09:56 2014 +0100
networkd: resolv.conf - reword comment
Take into account that users may want to use resolvconf(8), or similar. Also,
avoid repeated calls to fputs().
commit e4ecabd0a41fac73b62924856f5a9a8d7ef617ba
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Jan 18 00:50:37 2014 +0100
libsystemd: sync kdbus.h
commit 02ebe178a2bd6b2448d4fbfa4a1f7fa98e9e82b1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 17 20:27:35 2014 +0100
units: drop [Install] section from multi-user.target and graphical.target
They were supposed to make it easy to make the default.target a symlink
to these targets, but this was never advertised and we have a better
command for this now in "systemctl set-default". Since the install
section makes the output of "systemctl list-unit-files" confusing (since
it makes the units appear as "disabled"), let's drop the sections.
commit 6a8b5fa4635ed858788fb10099ec9b62b3359a0a
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 17 19:59:50 2014 +0100
Update TODO
commit 5599e86621d85cc0ac1b5a368a951da23cfe1863
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Wed Jan 15 18:21:30 2014 +0100
sd-resolve: rename structs to fit coding-style e.g 'struct MixedCase'
lets get this right once, and if not for all, atleast for now :)
So comments and input about nameing is very welcome.
Cheers
commit 4f80925636ed98290c3091318257dbab9efa4d01
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Wed Jan 15 18:21:29 2014 +0100
sd-resolve: get rid of _t post-fixes for sd_ objects
We dont want _t prefixes, right?
commit fece63b86eba465de724e8f36e9461abb5a96947
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Fri Jan 17 13:34:35 2014 +0100
build: Skip .busname generator when kdbus is off
commit 1ffee377ee6d7ad0d365368b5461748f580296d7
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Fri Jan 17 18:11:07 2014 +0100
bus: Fix read_word_le() function
commit 47c94a96df29080f8b3a97e7362df4e9c6ba3265
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 11:53:09 2013 +0100
update TODO
commit b4b5212d310eabc2bf823e79d3af72eb3472836a
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 17 13:43:25 2014 +0100
libsystemd: rename LIBSYSTEMD_BUS to LIBSYSTEMD
commit 9ff1897bb564bcb885a8e2fd9a73902de830b6e0
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 17 01:29:48 2014 +0100
bus: update kdbus.h (ABI break)
commit 5d8364b3c5e06b8dbda75c07fdb707148dfd1656
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 20:20:08 2014 +0100
networkd: resolv.conf - extend the comment a bit
commit 5ee482dfd395b2576605bd18cda7d19abdb0487a
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 19:55:25 2014 +0100
sd-dhcp-client: minor style fixes
Also introduce a cleanup macro for DHCPLease
commit 7ae4ef6d23bc884d0e0ee2ec9cf87ec99d0686bb
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 19:32:22 2014 +0100
sd-dhcp-client: refactor DNS support
Rather than keeping an array of pointers to addresses, just keep an array of addresses.
commit 1346b1f0388f4100bb3c2a2bb23bc881769c020c
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 23:48:28 2014 +0100
sd-dhcp-client/networkd: add transient hostname support
commit 6fc73498945da749744041d4e10cf8dfac5c3bc6
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 16:50:19 2014 +0100
networkd: dhcp - only set the MTU option once
Only set MTU request when creating the dhcp client, not every time it is restarted.
commit 396945dc1f37fc95eb6681dfb62f328920079a55
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 15:09:57 2014 +0100
networkd: link - only save original MTU when necessary
commit 1f6d9bc9ee894d4023b7eacea1754986f25bce57
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 14:59:26 2014 +0100
networkd: improve logging
commit c4e6e24255de376965c7f8ae53e16594c2581200
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 16 01:15:17 2014 -0500
bus: fix issue with reference counting
b7fc42e03 introduced a regression.
commit 235ee2134f8819c5f48ae99a2d817b6b2147ad8a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 14 14:27:48 2014 -0500
build-sys: increase valgrind stack limit so all tests pass again
commit b7fc42e03a7f52efb8707fabbab841d8b2ffff8c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 14 14:26:37 2014 -0500
bus: break reference cycle between bus and messages
Previously (6ee4f99 bus: break reference cycle between bus and
messages) I committed the test code, but not the actual fix :)
commit 8114dedc5910d9a9cec702f6b6658551a0cd9ede
Author: Chengwei Yang <chengwei.yang at intel.com>
Date: Wed Jan 15 13:06:00 2014 +0800
build-sys: fix --enable-dbus
The incorrect shell code of AS_IF always get false value, so it always
build without dbus though build with "--enable-dbus" explicitely.
commit 4f882b2a5007e51032459e29d15a86df6b5ea9f4
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 23:07:59 2014 +0100
sd-dhcp-client/networkd: add interface MTU support
commit eb2f9b18026c7b52099b324f4e9136f23b340c8d
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 01:34:27 2014 +0100
sd-rtnl: only alter link flags when reqeusted to
commit b087416f97a2662d290dde1cd68c3134317d0b1f
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 16 01:40:23 2014 +0100
sd-dhcp-client: fix memory corruption
commit 31927c16deb4b0fdc887220df54505fd6993822f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 15 16:08:20 2014 +0800
event: extend priority raneg to 64bit
The kdbus prioq logic will use 64bit prios too, so let's keep this
similar in style. Using 64bit here has the advantage, that pointers and
pretty much anything else can be mapped naturally to priorities if so
desired.
commit ac3efa8ac62b60261d6c101bc98831316523b07a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 15 15:21:29 2014 +0800
systemctl: introduce new "import-environment" command
This may be used in graphical session start-up scripts to upload
environment variables such as $DISPLAY into the systemd manager easily.
commit 6a38d04a036475bfc222f40961e2adcaa70a6174
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 15 15:19:17 2014 +0800
logind: get rid of X11 display socket symlink
X11 never made use of it anyway and it's probably better to just push
$DISPLAY into the systemd daemon from gnome-session (or equivalent
program) than to change libX11 to look for this socket. In particular
since we won't need this for Wayland anyway and we shouldn't add
infrastructure for stuff that's on its way out anyway.
commit f89a4474e05307e45992e1f30b6b1b26900d91bd
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Wed Jan 15 15:31:07 2014 +0100
shell-completion: remove load from systemctl
commit 1b2457e16dbbaa5e587c5e36d274a48c585d4840
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Wed Jan 15 12:46:44 2014 +0100
Revert "Revert "coredumpctl: in case of error free pattern after print""
In the case of the error set_consume will free the pointer 'pattern'
which is later used in log_error. Either we should stop priniting that
or use simple set_put and free pattern manually.
This reverts commit ece6b8fd5bbc1fee16f652e680e3033f2f3efc4a.
commit 3bedba4ae1237d0b7ff4543f9a5c6234d342d98f
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 14 18:18:43 2014 +0100
sd-resolv: rename to sd-resolve
Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount'
and 'resolv.conf'.
commit c2cb7cbbd526e572b1caa1d7f70be68195b513a9
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 14 22:58:04 2014 +0800
README: list CONFIG_FHANDLE in main section
commit 001809282918f273d372f1ee09d10b783c18a474
Author: Umut Tezduyar Lindskog <umuttl at axis.com>
Date: Tue Jan 14 15:26:54 2014 +0100
readme: CONFIG_FHANDLE is a requirement
commit ece6b8fd5bbc1fee16f652e680e3033f2f3efc4a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 14 09:49:10 2014 -0500
Revert "coredumpctl: in case of error free pattern after print"
This reverts commit cf50a55277ee432e1217ad894afcbd9a664ff96c.
set_consume frees on error.
commit cf50a55277ee432e1217ad894afcbd9a664ff96c
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Tue Jan 14 15:40:16 2014 +0100
coredumpctl: in case of error free pattern after print
commit 8c56c8bd319e419acbedf24b65bc008ad0e5b8b0
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 14 13:51:18 2014 +0100
sd-resolv: remove left-over comment
We are anyway breaking the API by renaming everything, so that is not a concern.
commit 8a6233fb653098c14d84430b3516edd63265d405
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Jan 14 13:50:35 2014 +0100
sd-resolv: require SOCK_CLOEXEC
commit 12f404c4d1dc31a54013646473249b4644fc23e7
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Tue Jan 14 11:46:49 2014 +0100
sd-resolv: rename old asyncns variables
commit 2a4be8ad9896ebd02d0d92be1a116aabd2bf402b
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Tue Jan 14 11:46:48 2014 +0100
sd_resolv: Rename structs- and function names to sd_resolv
commit 135a4eb43449bd64e4ec262573a6ffe29a5ffd03
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 14 20:15:25 2014 +0800
bus: update kdbus.h (ABI break)
commit 9597086027a937edfd7a3f5e5999796d2b34c8ad
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 14 16:10:08 2014 +0800
bus: update kdbus.h (ABI break)
commit 5be4d38e31281727b6f45ae869136bb01a1f7790
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 21:28:53 2014 +0100
networkd: DHCPv4 - allow opting out of using DNS servers
Setting UseDNS=no will ignore any received DNS servers.
commit 5681d7fb8be37771c152d21ea6e95597d664e3f1
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 21:03:28 2014 +0100
libsystemd-dns: merge into libsystemd
Also rename sd-dns -> sd-resolv.
commit 0b54473e9b73d867ed7807507a0fb5adc8137b10
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 20:14:44 2014 +0100
libsystemd-rtnl: merge into libsystemd
commit c813ca40c859ff8abc8bc6aabc3f1e896623eb67
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 19:12:16 2014 +0100
libsystemd-dhcp: merge into libsystemd
commit 6bb648a16ae4a682ad4784412af706d2e6a3e4da
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 13 17:30:51 2014 +0100
libsystemd-bus: rename to libsystemd
Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place
of libsystemd-bus.
commit 883b36908788361a8bb945ce884dc518da83b371
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Jan 13 10:51:26 2014 +0800
TODO: update
commit 8e50b5a77cd980ee57e0f75c59d0012d8df9a4f2
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sun Jan 12 19:42:33 2014 +0100
sd-dns: coding style cleanup
commit f3621dec5234757a8424b90431b681853e9effa2
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jan 12 15:44:40 2014 +0100
networkd: fix wording
commit c74ecd718229e15b42ea5c00c5a171a08f616e51
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 11 20:19:10 2014 +0000
TODO: update rtnl/network sections
commit 3bef724f7e7f7eaca69881548b06e221b77d7031
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jan 5 23:01:10 2014 +0100
networkd: generate resolv.conf
This adds support to generate a basic resolv.conf in /run/systemd/network.
This file will not take any effect unless a symlink is created from
/etc/resolv.conf.
Nameservers received over DHCP takes precedence over statically configured ones.
Note: /etc/resolv.conf is severely limited, so in the future we will likely
rather provide a much more powerfull nss plugin (or something to that effect),
but this should allow current users to function without any loss of
functionality.
commit 924fe4304af981ffd849346b4a1d415f11e9dd79
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 11 20:20:14 2014 +0000
networkd: bridge - remove redundant state
We will not insist on getting the reply from rtnl that the bridge
was created before considering the bridge ready, as we will be
notified about that via udev. We will listen for the rtnl response
however, in case the creation of the bridge failed.
commit f46685a4c0780173e5291fb7c3caa1c35cb1d0af
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 11 20:16:13 2014 +0000
networkd: don't automatically reload config at runtime
We don't know if the config will be consistent, so do as systemd itself and only
load config when the daemon starts (and possibly, in the future, when explicitly requested).
commit ab47d620b459ce45774237ca1a38b5218426c897
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jan 12 15:24:11 2014 +0100
networkd: improve logging a bit
commit 920e2957be7730596a80b1b64f133cbb080e4955
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 10 20:40:19 2014 +0000
bus-proxyd: add some more debugging
Make sure we print a message when exiting with an error.
commit f069efb4710332139ac508180cb8246b02428c17
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jan 12 20:10:40 2014 +0800
core: don't allow setting NOTIFY_SOCKET and similar env vars we need ourselves via SetEnvironment bus calls
We just quietly eat them up, so that simple environment importing still
works without error.
commit 09ecd746c9d6581664873674c2188f8c93ed7780
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jan 12 20:10:33 2014 +0800
update TODO
commit 43d03a83766a0d63f535e2afa6aeb6e6acbe83b2
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jan 12 19:39:56 2014 +0800
core: clean up environment block for --user instances a bit
commit d44fdf4954e3611e6fcd9b637763664b2574af6e
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jan 12 19:15:29 2014 +0800
bus: add test case for signature type
commit 708c143c7cd2bbd748ac0fa993496ff44e72701c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 11 23:44:34 2014 -0500
man: add busctl(1)
commit 441d56a12a90bbb5f6e58717a1e6b9bfe5c82efc
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Jan 12 10:56:40 2014 +0800
bus: properly handle EOF error conditions in proxyd
EOF is not an error so we should not print an error message about it.
commit 348ced909724a1331b85d57aede80a102a00e428
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 13 00:42:22 2013 -0500
journald: do not free space when disk space runs low
Before, journald would remove journal files until both MaxUse= and
KeepFree= settings would be satisfied. The first one depends (if set
automatically) on the size of the file system and is constant. But
the second one depends on current use of the file system, and a spike
in disk usage would cause journald to delete journal files, trying to
reach usage which would leave 15% of the disk free. This behaviour is
surprising for the user who doesn't expect his logs to be purged when
disk usage goes above 85%, which on a large disk could be some
gigabytes from being full. In addition attempting to keep 15% free
provides an attack vector where filling the disk sufficiently disposes
of almost all logs.
Instead, obey KeepFree= only as a limit on adding additional files.
When replacing old files with new, ignore KeepFree=. This means that
if journal disk usage reached some high point that at some later point
start to violate the KeepFree= constraint, journald will not add files
to go above this point, but it will stay (slightly) below it. When
journald is restarted, it forgets the previous maximum usage value,
and sets the limit based on the current usage, so if disk remains to
be filled, journald might use one journal-file-size less on each
restart, if restarts happen just after rotation. This seems like a
reasonable compromise between implementation complexity and robustness.
commit b94801803417c23d099cb7e508754181ecd27f9c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 11 16:45:29 2014 -0500
gpt-auto-generator: use EBADSLT code when unable to detect partition type
ENODEV suggests that something is missing, which is be misleading
here.
commit 843f737ade9c73609a2280dd3dd16e18222a5dcb
Author: Åukasz Stelmach <l.stelmach at samsung.com>
Date: Tue Jan 7 15:00:22 2014 +0100
gpt-auto-generator: skip nonexistent devices
The devices we work with have eMMC chips for storage. The chips
provide four "hardware" partitions. The first is /dev/mmcblk0, it
takes almost whole space and holds a GPT with several real partitions
(/dev/mmcblk0p?). Then there are three block devices (mmcblk0boot0,
mmcblk0boot1, rpmb) that are part of the same hardware as mmcblk0 that
are presented by the kernel as children of the latter. That relationship
makes gpt-auto-generator try to peek them but since they are not GPT
partitions blkid_do_safeprobe() returns -2 making verify_gpt_parition()
function return -ENODEV.
commit 0d8efe3535b3ce9ecbc2c6482007edfc3ac492d0
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sun Nov 24 08:56:56 2013 -0500
ycm: autocompose flags from the Makefile
This should hopefully be self-maintaining.
commit 8042e377b8bb8f79b7da2dff89d2247ce1f74b66
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Jan 12 01:18:41 2014 +0800
pam: skip DBUS_SESSION_BUS_ADDRESS export when kdbus is not active
commit 6c833cdfc36322cf77b83d3154bd216129352a3a
Author: Michael Scherer <misc at zarb.org>
Date: Sat Jan 11 17:20:57 2014 +0100
make socket_instantiate_service use cleanup gcc attribute
commit ec260edc1ca85a02f8a9e2e92401333ff986264b
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Jan 12 00:30:49 2014 +0800
bus: fix length calculation when serializing SD_BUS_TYPE_SIGNATURE
commit 5bf348d77ec35260e2c021ad11d08dca7b92498d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 11 09:52:48 2014 -0500
core: fix unused variable
commit 39032b87779323a244dd89f4832949d462b2ac68
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 11 09:42:55 2014 -0500
network: use GNU-ism to simplify macros
Thanks David!
commit ea18a4b57e2bb94af7b3ecb7abdaec40e9f485f0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 28 19:47:36 2013 -0500
journalctl: allow globbing in --unit and --user-unit
This is a continuation of e3e0314b systemctl: allow globbing in commands
which take multiple unit names.
Multiple patterns can be specified, as separate arguments, or as one argument
with patterns seperated by commas.
If patterns are given, at least one unit must be matched (by any of the patterns).
This is different behaviour than systemctl, but here it is necessary because
otherwise anything would be matched, which is unlikely to be the intended
behaviour.
https://bugs.freedesktop.org/show_bug.cgi?id=59336
commit ae97089d49d1795a35a443b7b830ee666028e733
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 28 19:33:23 2013 -0500
journal: fix access to munmapped memory in sd_journal_enumerate_unique
sd_j_e_u needs to keep a reference to an object while comparing it
with possibly duplicate objects in other files. Because the size of
mmap cache is limited, with enough files and object to compare to,
at some point the object being compared would be munmapped, resulting
in a segmentation fault.
Fix this issue by turning keep_always into a reference count that can
be increased and decreased. Other callers which set keep_always=true
are unmodified: their references are never released but are ignored
when the whole file is closed, which happens at some point. keep_always
is increased in sd_j_e_u and later on released.
commit 47917e4a4a8f1ee00bb7de3e83f7bfd849abf337
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 11 14:59:56 2014 +0000
sd-dns: simplify headers
As noted by Lennart: HAVE_CONFIG_H is done implicitly and sys/prctl.h is
mandatory.
commit edc6f2f56cc82da68510db469e2e4d023d7090fb
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 11 14:54:22 2014 +0000
sd-dns: update/add license texts
commit 1783d89719a9bf346f20f70b388eb4b06e4d5988
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 11 14:51:30 2014 +0000
sd-dns: cleanup public header
Don't include internal headers
Update license text
Use _SD_BEGIN/END_DECLARATIONS
commit e963e3ada17e7592ad499b9d7fbb3355287a05ca
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Mon Jan 6 13:41:59 2014 +0100
sd-dns: initial commit
Origin: <http://0pointer.de/lennart/projects/libasyncns/>
[tomegun: renamed some more files asyncns -> sd-dns and moved to libsystemd-bus as
requested by Lennart]
commit e0d4a0ac06afb856c9370c5c256f0f7bb7efdc8e
Author: Hendrik Brueckner <brueckner at redhat.com>
Date: Thu Jan 9 11:28:12 2014 +0100
udev/net_id: Introduce predictable network names for Linux on System z
Use the bus-ID to create predicatable devices names for network interfaces
on Linux on System z instances. The bus-ID identifies a device in the s390
channel subsystem.
Network interfaces of device type Ethernet are named as:
enccw0.0.1234 (13 characters)
up to
enccwff.7.ffff (14 characters)
CTC network devices of device type SLIP, use a different prefix as follows:
slccw0.0.1234 (13 characters)
See also Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=870859
[tomegun: typical problem of netdevs switching names between reboots.]
commit 2a61aaac6607d998e981481c34ae06e3e3ace4fe
Author: Unai Uribarri <unaiur at gmail.com>
Date: Sat Jan 11 09:19:41 2014 -0500
hwdb: Add support for Toshiba Satellite P75-A7200 keyboard
commit 5eecd85f15d35198807e6cd4b5ca5ec7dfdb11b3
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Jan 11 06:22:19 2014 +0800
Revert "bus: export bus address also when compiled without kdbus"
This reverts commit 9130f2128b64de19a3b7d6db7e0d371adfd296c2.
It's too early to do that. For now we should only "break" the
--enable-kdbus case, not the normal one.
commit 3860bb6dbfb3dfe70cef33823661145dcc5b864c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Jan 10 09:10:18 2014 -0500
man: clarify sd_bus_e_get_errno with NULL arg
commit bc6a6232481bf1e977de08e1eebecdcf28391cf8
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Jan 10 13:35:12 2014 +0800
bus: convert a bus error with NULL name into an errno of 0 in sd_bus_error_get_errno()
commit c5b37953b7835562348d71ad5514faefa4cfb10b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 9 22:23:32 2014 -0500
man: mention which variables will be expanded in ExecStart
commit a2cc4a6c960c26f62c33c995bc648357d939bd68
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 9 20:49:18 2014 -0500
core: fix lack of notifications after reload
commit f58ceb21e9cdc4b79586283743351750ae35c175
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Thu Jan 9 18:00:50 2014 +0100
tmpfiles: don't allow label_fix to print ENOENT when we want to ignore it
commit 277f2f75f69bbd5868c74991011c804ce00dfed9
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Thu Jan 9 16:43:00 2014 +0100
delta: ensure that d_type will be set on every fs
commit 58742b06bd293c13062cdb0f410f8f9d4ffb6f11
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Jan 8 22:34:59 2014 -0500
build-sys: fix distcheck
commit 628706137efbca8aaf753ccd063e5abf7e31aed5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Jan 8 22:04:26 2014 -0500
networkd: print the received DHCPv4 address and gateway
It seems that networkd stores in_addr.s_addr contents in reverse
order (little-endian, not network order). This is a bit confusing,
but sd_rtnl evidently likes this order.
commit 3333d748facc15f49935b6b793490ba0824976e6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Jan 8 20:42:38 2014 -0500
networkd: use structured logging for links and bridges
commit 2ad8416dd057e7e3185169609ca3006e7649f576
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Jan 8 17:41:41 2014 -0500
No need to canonicalize fixed paths
commit d8160f21fd295b451cee9679aa281fedf1cb8e8c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Jan 8 17:20:45 2014 -0500
Improve messages about user mode a bit
commit 354bfd2b166d1044eea05ac9ba1cda05c93a24bc
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 9 08:42:57 2014 +0800
nspawn: do not invoke RegisterMachine on machined from inside the new PID namespace
On kdbus user credentials are not translated across PID namespaces, but
simply invalidated if sender and receiver namespaces don't match. This
makes it impossible to properly authenticate requests from different PID
namespaces (which is probably a good thing). Hence, register the machine
in the parent and not the client and properly synchronize this.
commit 5b590f97640546962b16b3b32684b3ee6b477f93
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 9 08:19:22 2014 +0800
bus: make the bus driver support the driver interface under both / and /org/freedesktop/DBus
Some clients apparently use the "/" path instead of
"/org/freedesktop/DBus". dbus-daemon didn't care, so we need to support
both.
commit dd9b67aa3e9476b3a4b3e231006eea6d108c841f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jan 9 06:45:38 2014 +0800
logind: wait for the user service to finish startup before completing login attempt
commit f37925e02f562d0f705be29ec31b0053ce6f7afa
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 8 23:06:48 2014 +0800
driverd: fix use-after-free error when maintaining match lists
commit 950f87b7e569a12c3ee18b38017ccac830ae474e
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 8 23:07:28 2014 +0800
Revert "bus-driverd: do not track identical matches"
This reverts commit 234e28aa1cd37dee597c719ac5ca004c6215d28c.
commit 9130f2128b64de19a3b7d6db7e0d371adfd296c2
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Jan 8 14:08:34 2014 +0200
bus: export bus address also when compiled without kdbus
It was removed from user at .service, so it should be added here.
commit 06150d9039296a6c37aa300463e9bd0c7f296542
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Jan 8 14:08:33 2014 +0200
bus: use existing macros from def.h
commit 234e28aa1cd37dee597c719ac5ca004c6215d28c
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 8 21:32:37 2014 +0800
bus-driverd: do not track identical matches
Identical matches are only one time in the hash map but multiple
times in the list; when removing, the hash will be empty but the
list still has entries.
Not adding dupicates to the list should keep us in sync and prevent
hitting the assert.
commit 743e7e5242b72dac182b4c15ff3a48be83277ece
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 8 18:20:02 2014 +0800
bus-driverd: properly reply to UpdateActivationEnvironment call
commit 2b197ae21c4a3571024fba1886eeeb87c0dfcf03
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 8 18:10:39 2014 +0800
dbus1-generator: install user version
commit 8b255ecd99dfee4e27b40a075b15d1e117f819fa
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Jan 6 08:00:16 2014 +0400
pam_systemd: export DBUS_SESSION_BUS_ADDRESS
commit bc6422cbd1dfc258fb2b4909a2a25ad356e63400
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 8 18:09:25 2014 +0800
bus: allow omitting quotes for values in match strings
dbus-daemon allows this, the dbus specification doesn't explicitly say
anything about it, so let's follow dbus-daemon on this.
commit e79e8afd62bdec28a88d52fa0761aff9ce145b77
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Jan 8 18:09:05 2014 +0800
update TODO
commit dd965d7a588f16403483fb32824e2fd6877b0318
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Jan 8 17:09:31 2014 +0800
bus-driverd: implement UpdateActivationEnvironment method
commit d30ec1f5df99f18312b4b920b7e62b832387dcc1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 7 23:05:17 2014 -0500
man: document label escaping functions
commit 5485de1edbfd442e0727f699a50c489d815d771d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 7 22:27:43 2014 -0500
man: fix bogus description of sd_bus_creds_has_*_cap
commit 737dedebb8374aa8b600a9006311a10946acb492
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 7 22:18:46 2014 -0500
dbus1-generator: fix copy-pasto
commit 096924092b664e992cec49e2ef4ce33443877ac8
Author: Michele Curti <michele.curti at gmail.com>
Date: Tue Jan 7 17:51:41 2014 +0100
sleep.c: fix typo
commit 71365a7754db5ff8e07941501063b1da2a4b4bd5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Jan 7 21:46:36 2014 -0500
man: document sd-bus error functions
commit 54142c6af15c24a72a1b8dcf278dbe97b95e541a
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 7 20:20:22 2014 +0800
bus-driverd: support user mode
commit 7ca7b61f70371493a0539a76108dd84e0f765264
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 7 07:30:34 2014 +0800
bus-proxyd: support --user bus address
commit c79af123de72cdb70f122c7fda5b2401acc5ea7b
Author: Martin Pitt <martinpitt at gnome.org>
Date: Tue Jan 7 09:40:01 2014 +0100
keymap: Recognize different Toshiba Satellite capitalizations
https://launchpad.net/bugs/665918
commit f92164e45a0f7524e294fb383e624ff754095a25
Author: AppleBloom <rat.o.drat at gmail.com>
Date: Mon Jan 6 20:51:47 2014 -0500
hwdb: fix match for Thinkpad X201 tablet
https://bugs.freedesktop.org/show_bug.cgi?id=71929
commit 245dc22920d6592e50265c82c8def8e4bbf0e665
Author: Dmitry Pisklov <dpisklov at gmail.com>
Date: Mon Jan 6 20:08:21 2014 -0500
hwdb: remove duplicate entry for Samsung 700Z
keyboardbrightnessup/down are not even real keys.
https://bugs.freedesktop.org/show_bug.cgi?id=72311
commit dcafc342bfa44d4d5ee76e5ddc12fd36f8f64af5
Author: Dmitry Pisklov <dpisklov at gmail.com>
Date: Mon Jan 6 20:06:59 2014 -0500
hwdb: add Samsung 700G
https://bugs.freedesktop.org/show_bug.cgi?id=72311
commit dfa2ea215df5f1e78084de862a54c0f1f321a13a
Author: Raudi <mpell at web.de>
Date: Mon Jan 6 19:44:08 2014 -0500
hwdb: change key mappings for Samsung 90X3A
The Key codes didn't match with the described key. Also the key
identifier strings were missing. I hope I chose appropriate ones.
https://bugs.freedesktop.org/show_bug.cgi?id=70296
commit 057d9ab8f016edfe692b7b3e84fdf6e0e000bacd
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 7 07:25:05 2014 +0800
mount: don't creat local-fs.target links for mount units when runnin in user mode
commit ac12cf5b7feb602da691f596bd4eade5fba9d005
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 7 07:09:08 2014 +0800
dbus1-generator: always pull proxy socket into sockets.target
dbus.socket does that for --system, we need to explicitly pull it
in for --user.
commit ca76186598c56da9f08b7eb55b6915d9e2344570
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 7 06:37:23 2014 +0800
core: do not add implicit dbus.socket dependency
Sockets are ordered before sockets.target anyway, and sockets.target
is ordered before basic.target, and hence all bus services end up
being ordered after dbus.socket anyway. Since for kdbus clients
dbus.socket is obsolete, let's not add this dependency explicitly.
Also, it's hot in Australia and we are going for breakfast now.
commit 1bc86acd10f9238f1f477bb6dc45729ab0d2b5e9
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 7 06:36:39 2014 +0800
bus-proxyd: --user -- add Accept=yes to socket
commit e62b3b353aa3cd66670428d453ee36b45127df1f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Jan 7 06:34:39 2014 +0800
update TODO
commit fccd44ec3a7abd305b558d39f54b5ef223f00b68
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Jan 6 07:52:17 2014 +0400
core: --user -- add basic.target an sort against it like --system does
commit fcc81ea3616b1108a23c0997331923d052539124
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Jan 6 07:50:26 2014 +0400
core: --user -- move generator directories from /tmp to $XDG_RUNTIME_DIR
commit 734624951b36a08bd275dc06c0e5f17b7c2792d9
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jan 7 01:33:58 2014 +0800
bus-proxyd: fix socket path
commit c8d32e1f3f674559fdad3e3edfa86a8054d2e8af
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Jan 6 12:17:34 2014 +0100
libsystemd-dns: expose list of DNS servers
My original patch only returned the first DNS server, but we might
want all of them.
commit 9f9a964f195df68175cd3d5c9c90a476fa474073
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jan 5 23:01:32 2014 +0100
libsystemd-dhcp: expose received DNS server
commit 146ccaafd5c9d4f2798240b049f595f70f45f77b
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sun Jan 5 11:57:05 2014 -0500
configure: use POSIX conformant syntax for test
In shells like bash, == and = are equivalent in test contexts. In POSIX
compliant shells, == isn't a valid operator.
commit 2047a15a17d9773cc87569b4176af72830a086eb
Author: Michael Scherer <misc at zarb.org>
Date: Sun Jan 5 17:06:50 2014 +0100
Fix format string mismatch introduced in ab9001a1
src/libsystemd-bus/sd-bus.c: In function 'sd_bus_open_user':
src/libsystemd-bus/sd-bus.c:1104:25: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'long unsigned int' [-Wformat=]
asprintf(&b->address, UNIX_USER_BUS_FMT, (unsigned long) getuid());
commit 4bf7665c760bdd011cee3c5a9b03c8e109991241
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Jan 5 18:53:39 2014 +0400
Revert "bus: driverd: don't attempt to remove from empty list"
We need to find the real reason for the failure, this just
avoids the symptoms.
This reverts commit 215c7625dd510759290d45d6c46434e4338843ec.
commit af13a6b0606f166c93cafc9892343f167f880281
Author: George McCollister <george.mccollister at gmail.com>
Date: Tue Dec 31 14:37:32 2013 -0600
journal: Add missing byte order conversions
Convert entry_array.items[0] to host byte order prior to passing it to
chain_cache_put().
[zj: also use le64toh in journal-verify.c]
https://bugs.freedesktop.org/show_bug.cgi?id=73194
commit 7195aa42e3d3c2b51da5f0ddefa74bd0925441be
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 00:16:39 2013 -0500
shared/install: use char** convention for strvs
commit cc3d61683d877791e6b2ce0b17940d4d77cd6550
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Jan 5 00:32:43 2014 -0500
Remove unused variables
commit e3e45d4f82daa5cd85ba40dde9127df900096c0c
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Sat Jan 4 02:35:27 2014 +0100
strv: multiple cleanups
- turn strv_merge into strv_extend_strv.
appending strv b to the end of strv a instead of creating a new strv
- strv_append: remove in favor of strv_extend and strv_push.
- strv_remove: write slightly more elegant
- strv_remove_prefix: remove unused function
- strv_overlap: use strv_contains
- strv_printf: STRV_FOREACH handles NULL correctly
commit bf85c24daaf63f72562bbe4c627ca8b963dfb964
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Sat Jan 4 02:35:25 2014 +0100
shared: util.c: unify split and split_quoted
commit e10e429f2dcbb586215e65f62847f40c7d8b5956
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sun Jan 5 13:59:12 2014 +0100
TODO: extend login capability note
We cannot remove CAP_SYS_ADMIN, which basically makes removing all other
capabilities useless. Anyhow, still wouldn't hurt checking whether stuff
like CAP_KILL can be dropped from logind.
commit 479e339e5534af4c800894a553010af91f5ec8f7
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Jan 5 00:44:34 2014 -0800
hwdb: update
commit 215c7625dd510759290d45d6c46434e4338843ec
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Sat Dec 28 13:54:18 2013 +0900
bus: driverd: don't attempt to remove from empty list
commit 3f78871b03723e3a5334a9529d92264f2be52d87
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Sun Jan 5 01:57:11 2014 +0200
bus: open user, not system, bus in bus_open_user_systemd()
commit b4696bce07e0a596accf097b7bff84bf30198f25
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Sat Jan 4 02:35:26 2014 +0100
util.c: use read_one_line_file where possible
commit b68fa010f72599e6da5822feda5ae3a47a4e63d8
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Sat Jan 4 02:35:23 2014 +0100
shared: procfs_file_alloca: handle pid==0
when pid is set to 0 use /proc/self
commit 9dddaedfcc70c6dc37ba6a48d1d8e27e12c0cb2e
Author: Stefan Beller <stefanbeller at googlemail.com>
Date: Fri Jan 3 20:33:21 2014 +0100
Update .mailmap file
This commit updates email addresses of people, who are already in the
.mailmap file, so I'd assume they have sorted out their viewpoint on
privacy within the .mailmap file.
The entries for this commit have been produced using:
# Finding out duplicates by comparing email addresses:
git shortlog -sne |awk '{ print $NF }' |sort |uniq -d
# Finding out duplicates by comparing names:
git shortlog -sne |awk '{ NF--; $1=""; print }' |sort |uniq -d
commit 7bb01eff62aa7b612e33fe0e512a4d97862050c4
Author: Stefan Beller <stefanbeller at googlemail.com>
Date: Fri Jan 3 20:33:20 2014 +0100
swap: remove if/else with the same data path
This was introduced in e1770af812 (2012-02-03, swap: replace failure
boolean by result enum).
This just removes unneeded lines of code, no functional change.
commit 4cf8496d0a5e85ec7610d166c5d35df3e6d02d1a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 4 19:28:52 2014 -0500
man: document some more bus functions
commit b3070dc0258831c7e2b13624f75fa3dbd80d9833
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 4 21:13:47 2014 +0100
networkd: refuse to use .network files with missing Address/Gateway key
These keys are mandatory in [Address]/[Route] sections. Otherwise, we
hit an assert:
ens3: setting addresses
Assertion 'address->family == 2 || address->family == 10' failed at /build/amd64-generic/tmp/portage/sys-apps/systemd-9999-r1/work/systemd-9999/src/network/networkd-address.c:137, function address_configure(). Aborting.
Reported-by: Alex Polvi <alex.polvi at coreos.com>
At the same time make sure Route's Destination and Gateway uses the same address family.
commit 3563b896da77bb2e6abc2ca0f03d8e2f570f1cc7
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Jan 4 23:21:13 2014 +0100
man: typo fix
commit 49002eb5f62acb2724e095360d42637077c97290
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Jan 3 21:15:00 2014 -0500
sd-event: add missing symbol, sd_event_source_set_io_fd
This appears to have been omitted in 30caf8f3afd29da8 when the
the function was added.
commit e3d563346c4237af23335cc6904e0662efdf62ad
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 4 14:43:45 2014 +0100
udev: net_id - handle virtio buses
This was already supported in path_id, so should be uncontroversial.
commit d69b12ac8aed834e4a8220d19c6895ef04c73679
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Jan 4 04:22:06 2014 +0100
Revert "net-util: add support for Type=ethernet"
This reverts commit 4cd1214db6cf4b262e8ce6381bc710091b375c96.
This may still be fixed in the kernel, revert this for now until
we see how it all shakes out.
commit 39602c3905da5196987b4df744541295ada725ae
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Jan 3 23:50:59 2014 +0100
systemctl: improve readability on failed commands
Not long ago a failed command would print:
"Failed to start something.service: ..."
regardless of whether the command was to start/stop/restart/etc.
With e3e0314 this was improved to print the method used. E.g. for stopping:
"Failed to StopUnit something.service: ..."
This patch matches the method to a more human readable word. E.g:
"Failed to stop something.service: ..."
commit cd6d5e1c7631d6e74cb04be279dee22e423e08b8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Jan 4 00:08:50 2014 -0500
man: document a batch of bus functions
commit efb8612f9e019e5c680250b7dd12943a201368ba
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 21:07:01 2014 +0100
man: networkd - document DHCP option
commit 4cd1214db6cf4b262e8ce6381bc710091b375c96
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 20:55:23 2014 +0100
net-util: add support for Type=ethernet
When DEVTYPE is not set for a nic, it means it is a wired/ethernet
device.
commit 8b264404b6cc412d3a588ca1b54fd2c1b09c5270
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 18:27:26 2014 +0100
networkd: link hash uses 64, not 32 bit keys
commit aa3437a573ed2a2b2a03c9649fe11d27b40a772b
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 18:20:11 2014 +0100
networkd: print the ifindex of added links
This debug information may be useful when comapring to dropped rtnetlink messages.
commit 2672953bde548f3648eb6a24dbda415604262cea
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 16:38:18 2014 +0100
networkd: improve logging
This gives a bit better messages when a link is added twice.
commit efbc88b8ed8a47c3e09f094f8dcb39422f855a01
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 16:20:10 2014 +0100
networkd: improve link state change logging
commit d0d311d62f5d922dba97f0023c068e2bf90e7803
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 16:02:12 2014 +0100
networkd: add some debug info about notifications we ignore
commit 88c59cb3c12b33449e0b8a57a79dd1d418334061
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 3 02:57:45 2014 +0100
bus: always create --user bus when kdbus is active
We set the variable in the unit file for --user, so this check is
always true.
commit ff254138525758cc4b0ff749b7bd6b90d00b4204
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 02:07:56 2014 +0100
networkd: link - explicitly set the link to be up if the call to IFF_UP succeeds
No need to wait for the NEWLINK message to arrive.
commit 477e73b5312094f2d34de8e40ccbe61e6d4d81e9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 2 19:49:49 2014 -0500
networkd: fix memory leak in error path
commit 7384fa923e1ba403454903133b33f559b735fe75
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 2 19:49:43 2014 -0500
networkd: do not deference null pointer in cleanup
commit d4c636603a2c7594faa66f9c3e6c75f5ccb5c3e4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Jan 2 19:49:33 2014 -0500
core: fix gcc unused variable warning
commit 0349c608c839e728e15a37b2317c3f332c8a2a36
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 22:45:45 2013 -0500
bus: fix memleak in sd_bus_creds_new_from_pid
commit 5ce70e5bcd62e89b52485961c3699312ee4a7e0e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 22:35:54 2013 -0500
Introduce cleanup functions for cap_free
Unfortunately a different cleanup function is necessary per type,
because cap_t** and char** are incompatible with void**.
commit ac6b760ceedd4b21921b6a682cf1479af3d3024f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 20:20:17 2013 -0500
build-sys: add --disable-dbus autoconf option
commit a0846368c808fb8b73b84d40472717cfd83ca4d7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 20:19:58 2013 -0500
build-sys: make valgrind-tests target output nicer
commit 4ebe732c0cdcd9431a5095140bc4189f86508725
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 12:56:59 2013 -0500
rtnl: fix memory corruptions after realloc
struct sd_rtnl_message would keep two additional pointers into the hdr
field. Every time hdr was realloced, those pointers should be adjusted,
but weren't. It seems less error-prone to keep offsets instead.
commit 6ee4f99042a289d0afecc11d322f0addd483c093
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 23:13:38 2013 -0500
bus: break reference cycle between bus and messages
Because messages in the read and write queues hold a reference on the
bus, and the bus holds a reference on each of them, we would never
free the bus if the read or write queues were not empty. Explicitly
substract the number of messages in those queue from the bus reference
count when deciding whether to free or not.
A simple test which creates and unrefs simple objects is added.
commit ccd06097c79218f7d5ea4c21721bbcbc7c467dca
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 17:22:26 2013 -0500
Use format patterns for usec_t, pid_t, nsec_t, usec_t
It is nicer to predefine patterns using configure time check instead of
using casts everywhere.
Since we do not need to use any flags, include "%" in the format instead
of excluding it like PRI* macros.
commit ab9001a1e3dc6e60d0cdf53363dc5d18dcc382fd
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 16:12:46 2013 -0500
Move bus path definitions to def.h
commit da13d4d20f8ca12e86863abbae5ed47bca936828
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 11:21:56 2013 -0500
core/service: check if mainpid matches only if it is set
https://bugzilla.redhat.com/show_bug.cgi?id=1047304
commit a9244623f785f504f799407b0228dea9655e24cb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 22:12:38 2013 -0500
core/manager: print info about interesting signals
Information about signals which are not routinely received by systemd
are printed at info level. This should make it easier to see what is
happening in the system.
commit 41aef6fc747a3b5b8bf47faa468881be16509c66
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 20:03:27 2013 -0500
core/service: tweak messages on operation timeouts
commit a2db1d6b3f0a6ef52bb5cb5cef40f2de5db380e5
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 01:25:18 2014 +0100
libsystemd-dhcp: don't assert on client_stop()
We need to be able to stop the dhcp client at any time, and the function appears to be written to handle this.
commit b1b532f58c99f8d199e6081fa9f23b99f8af2a84
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 00:55:35 2014 +0100
networkd: dhcp - avoid null pointer dereference
commit 1746cf2ad70d95c36064686d4f9b07a80e3bae99
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Jan 3 00:55:09 2014 +0100
networkd: add more asserts and ignore all events when link has failed
commit b11d8d199334494d3434875e63856540cec7f8d1
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Jan 3 01:32:03 2014 +0100
rules: drivers - do not reset RUN list
commit 06a6e593011a8af10f8a824a0be140a5085dac3a
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 2 15:56:10 2014 +0100
networkd: only track state of links we are managing
If a network is not (yet) set for a link, we do not care about its state (as we
anyway don't know what to do with it).
commit 449f75549247b3b7b073a788f0f099ce6b7c5378
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 2 15:30:46 2014 +0100
networkd: improve logging
Remove redundant messages, add some debugging ones and make wording more uniform.
commit be9326ca1d207e1df6a033c593393ebbbc433148
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Jan 2 05:16:14 2014 +0100
networkd: fix NULL pointer deref
commit 5eb036ca53c6066770e05fa0b4f9d19974b86e0c
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Jan 2 01:43:05 2014 +0100
networkd: fix getting initial state
We were requesting the state and then ignoring it...
commit f5be560181d092c5f52a2b819aedcd48220f36ab
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 1 15:16:34 2014 +0100
networkd: add DHCPv4 support
This adds basic DHCPv4 support. Link-sense is enabled unconditionally,
but the plan is to make that configurable.
I tested this in a VM with lots of NICs and over wifi in the various
coffee shops I found this Christmas, but more testing would definitely
be appreciated.
commit f048a16b464295a4e0a4f4c1210f06343ad31231
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jan 1 15:16:10 2014 +0100
networkd: distinguish between static and dynamic addresses/routes
Static addresses/routes are associated with a network. Dynamic
addresses/routes are associtade with links (as the corresponding network
may be shared by several links).
commit 407fe036a24834203aca6c1eec7d74d9ad3e9ee0
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Dec 31 17:31:50 2013 +0100
network: add support for dropping address
commit 9b55cd5665d94e2245a4ca90d2548bbcfe8c34fb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 12:51:46 2013 -0500
build-sys: make test output a bit nicer
commit 7a7c74cae4db0c35cbe54d9bad8418a605cb870f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 11:57:38 2013 -0500
dhcp: fix creation of req_opts array
GREEDY_REALLOC needs to have two size variables: one for the
allocated size, and a second one for the used size. Using
the allocated size only lead to leaving some elements unitialized
and assigning some more than once.
commit aa9ed6538985d667aa6a0264c59622a51384ccd6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 11:48:04 2013 -0500
build-sys: make test-dhcp-* statically linked
This makes them behave like everything else following
48d7417d3 'build-sys: link most internal libraries statically'.
commit dabeaa460d9fa01db645116775f53e3071977503
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 31 11:23:58 2013 -0500
sleep-config: fix double free
Before 34a3baa4d 'sleep-config: Dereference pointer before check for NULL'
oom conditions would not be detected properly. After that commit, a double
free was performed.
Rework the whole function to be easier to understand, and also replace
strv_split_nulstr with strv_new, since we know the strings anyway.
commit b8265d4f8e5cb05c1dacfd3b177c993ef2611723
Author: Stefan Beller <stefanbeller at googlemail.com>
Date: Mon Dec 30 23:32:22 2013 +0100
boot-efi: Remove superfluous assignment
2 lines after the changed line we assign err to efi_get_variable(...)
unconditionally, so it makes no sense to initialize it to some value.
commit 34a3baa4dbd8a4032ae74cb5947b9494bf3ec106
Author: Stefan Beller <stefanbeller at googlemail.com>
Date: Mon Dec 30 17:43:52 2013 +0100
sleep-config: Dereference pointer before check for NULL
This fixes a bug pointed out by http://css.csail.mit.edu/stack/
(Optimization-unstable code)
It is a similar fix as f146f5e159 (2013-12-30, core:
Forgot to dereference pointer when checking for NULL)
To explain this bug consider the following similar, but simpler code:
if (!p)
free(*p)
Assume the if condition evaluates to true, then we will access *p,
which means the compiler can assume p is a valid pointer, so it could
dereference p and use the value *p.
Assuming p as a valid pointer, !p will be false.
But initally we assumed the condition evaluates to true.
By this reasoning the optimizing compiler can deduce, we have dead code.
("The if will never be taken, as *p must be valid, because otherwise
accessing *p inside the if would segfault")
This led to an error message of the static code checker, so I checked the
code in question.
As we access *modes and *states before the check in the changed line of
this patch, I assume the line to be wrong and we actually wanted to check
for *modes and *states being both non null.
commit 226b735a745c1e9bbab24b47460d7304def9d38f
Author: Stefan Beller <stefanbeller at googlemail.com>
Date: Mon Dec 30 00:09:56 2013 +0100
bootchart: Remove unneeded check for NULL
Directly before the changed line there is:
while ((parent->next_ps && parent->pid != ps->ppid))
parent = parent->next_ps;
which looks one element ahead of the list, hence we can rely on parent
being non null here.
If 'parent' were NULL at that while loop already, it would crash as we're
dereferencing 'parent' when checking for next_ps already.
Signed-off-by: Stefan Beller <stefanbeller at googlemail.com>
commit 818156512411835a4a7f070e6fec3d7b80e1f629
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 13:00:38 2013 -0500
tmpfiles: rename --unsafe to --boot
As suggested by Kay, it is better to describe what is done,
not what might happen.
commit 8f8770706e360d7bf60bb6384743b7c7e5974aac
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 12:10:14 2013 -0500
build-sys: fix systemd-stdio-bridge link to work with split /usr
shumski> there seems to be slight error in systemd git master Makefile.am
commit f146f5e159445c4fc7e89fe19ee2b8d72fc19ed7
Author: Stefan Beller <stefanbeller at googlemail.com>
Date: Mon Dec 30 00:18:39 2013 +0100
core: Forgot to dereference pointer when checking for NULL
Actually we already checked for !rt before, now we'd like to examine
the return value of the memory allocation.
commit 3cf148f307e6450aa3411968f59a2563fe9cb154
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 00:11:30 2013 -0500
man: expand on some more subtle points in systemd.socket(5)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727708#1694
commit 819c7e4fa4422af1298a0bf074b1f5644e46fa13
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 30 00:01:00 2013 -0500
systemd-python: fix listen_fds under Python 2
commit b560cc1c45006a98c7652435df13c96b39827f22
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 29 23:39:28 2013 -0500
systemd-python: fix setting of exception codes
The return value of 0 would be treated as failure by mistake,
resulting in " SystemError: error return without exception set".
The way that set_error() is used is changed to be the same
everywhere.
commit 892213bf1fd23e48d64a407ece6e10b07bef1926
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 29 14:56:09 2013 -0500
acticate: rename --environment to --setenv
Nspawn has --setenv, and systemd itself accepts systemd.setenv.
It is nice to have the same parameter name everywhere.
Old name is accepted, but not advertised.
commit ed14edc04f9355b0d3fc769638b167decf27dc23
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Dec 29 18:05:25 2013 +0100
udev: LOG_PRIORITY -> LOG_LEVEL
commit a8c78decf0533f6ada9748ba073f861183cda837
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 27 21:57:12 2013 +0100
autogen: add shortcut for running scan-build
scan-build is a static analyzer in llvm. As ususal static analyzers
tend to mostly find theoretical bugs in software that has been in
production for a while. For in-development code it can be useful to
check if new issues is added as there is a chance to spot real problems
before release. For systemd we are now down to 297 issues - the vast
majority are false positives because the tool does not understand the
cleanup attribute.
Running clang's static analyzer scan-build is a bit messy. You have to
run both configure and make "inside" the build-scan tool. To have an
easy shortcut from autogen.sh I thus call both directly from it. This
makes it different from the other options in autogen.sh. I chose 's'
for static analysis.
scan-build is in the package clang-analyzer on fedora.
commit bd3539b222e0c9bcb97fe35b4fdf79cfceade179
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 27 21:54:48 2013 +0100
autogen: add shortcut for building with clang
For a while I have been cleaning up warnings when building with clang.
There are currently only two sources of warnings left: Wcast-align and Wgnu.
I am not convinced that fixing up those up is feasible so I run with them
disabled to spot regressions. E.g. clang is a bit more strict wrt to unused
variables with the cleanup attribute and I have fixed a number of those since.
Like the other options in autogen.sh I have a shortcut for clang as well. I use
'l' for llvm.
commit 08c51903fb895e836866b8e7a09f0523b72b9aaf
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Sat Dec 28 13:54:19 2013 +0900
gitignore: add back user at .service
commit d14ab08b29d5b0b3ead6e63ac8be472f273011f9
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 28 15:05:45 2013 +0100
bus: fix a couple of format string mistakes
commit 63b575175efb60d6c51bae6a91be7547153fdd8d
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Sat Dec 28 13:54:16 2013 +0900
bus: driverd; add missing format string parameter
This was causing a nasty coredump
commit 62ae7570098ece0278de09d4083c7f604c19089d
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 28 14:39:12 2013 +0100
bus: correct a number of gcc format string attribute usages
commit 5486855f7d9748684633a96bf646d29080d5a28d
Author: MichaŠGórny <mgorny at gentoo.org>
Date: Fri Dec 27 23:44:27 2013 -0500
man: include autoconf snippet in daemon(7)
https://bugs.freedesktop.org/show_bug.cgi?id=40446
commit 4f7385fa496242f06aaf358b66b28d71348607b3
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Fri Dec 6 14:05:49 2013 +0100
selinux: Check access vector for enable/disable perm for each unit file
SELinux check will be done using the context of the unit file as as a
target instead of the default init_t context, allowing selinux control
on the level of individual units.
https://bugzilla.redhat.com/show_bug.cgi?id=1022762
commit 08bcebf36eb85f5e75b968de8c648e6614cc534b
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 28 03:03:50 2013 +0100
shared: add simplistic XML parser for usage in the D-Bus policy language compat parser
commit 79ccff06c19c0ee74b9744928bc40f2ce658fde2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 15:48:07 2013 -0500
bus: fix running tests in parallel
commit a9a305332b7faf0d0d16db04909badaf6a095fef
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 15:27:24 2013 -0500
man: add a note about propagating signals
commit c4a3a17ee919e8b1197328394709edfe36d8b710
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Fri Dec 27 09:35:20 2013 -0800
hwdb: Update database of Bluetooth company identifiers
commit 4acbce79798347cddf1e1d42e9be571e0a041873
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 12:08:04 2013 -0500
build-sys: fix generation of user at .service
commit 3dc9f55d6ef15028468eb7179ff8e97b95acd15d
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Fri Dec 27 17:10:36 2013 +0200
units: user at .service: fix user bus path
commit e9b1d28de3c4f77aa0e30448fc2665915c4f2142
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Fri Dec 27 10:30:53 2013 +0200
bus: PORTING-DBUS1: fix user bus path
commit 984af580b3c3dda38ad6910703970e43d6300b54
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 27 12:04:00 2013 +0100
systemctl: remove unused variable
commit f000939e3b03ba991a81ddf0ca7b79b9a88d3003
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 27 10:58:35 2013 +0100
bus: PORTING-DBUS1 typo fixes
commit 12b25f300151b68330aca58e1cea8317da59cadd
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 27 01:18:39 2013 -0500
man: fix Type= reference v2
grawity:
It looks like the old version _was_ correct â the default value will
be "Type=dbus" if the service has a BusName set.
Suggested change: "if neither Type= nor BusName= is specified"
commit 0a6de1152765242be8029fb8af44c286fc3c55d5
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 27 04:08:53 2013 +0100
bus: PORTING-DBUS1 clarify pool size value
commit 061eab675e6ab8fd8aea38b9e2d81af828c19466
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 27 03:38:38 2013 +0100
bus: PORTING-DBUS1 update
commit 6206f4b49db2de55ee335d6108f474b715b21ae4
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 27 01:27:43 2013 +0100
bus: update PORTING-DBUS1
commit 3e8ba0b815ebe83e396eb911fa9302e6ddb0ac07
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 27 01:20:21 2013 +0100
bus: actually, the kernel does enforce validity of bus names...
commit 9129246ba5ae990025347b3d5ab7d5178d968ee1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 27 01:00:51 2013 +0100
bus: explain obsoletion of dbus1 .service files
commit 2e2ec0eaa6d81ffd793c0071150cd57637410fbd
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 27 00:27:43 2013 +0100
bus: refuse invalid names from kbus meta data
commit 0058679911db806b6db2fa445a1ce879a436c9d6
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 27 00:26:05 2013 +0100
bus: add some preliminary docs for porting existing dbus1 client libraries to kdbus
commit 81efa1da643326f13370dce52d8bf064c1226118
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Dec 26 22:03:18 2013 +0100
bus: update kdbus.h
commit 3d2df82d61b3022820a34f59132d2c41ea11316c
Author: Marcos Felipe Rasia de Mello <marcosfrm at gmail.com>
Date: Thu Dec 26 17:47:57 2013 -0200
man: fix Type= reference
Simple man page fix attached.
--
Marcos
From 268d10a2f8769fd1dcb9440670af15ac02c5df89 Mon Sep 17 00:00:00 2001
From: Marcos Mello <marcosfrm at gmail.com>
Date: Thu, 26 Dec 2013 17:19:04 -0200
Subject: [PATCH 1/1] man: fix Type= reference
commit f78e6385dc4cee0a1f399c4c89ebf823c108d447
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Dec 26 15:30:22 2013 -0500
Use enums to make it obvious what boolean params mean
Suggested-by: Russ Allbery <rra at debian.org>
commit e3e0314b56012f7febc279d268f2cadc1fcc0f25
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 25 18:10:18 2013 -0500
systemctl: allow globbing in commands which take multiple unit names
commit 8d5ba5a946388c965632713f6c1abfb3acba17f7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 25 00:11:51 2013 -0500
systemctl: drop uninteresting units immediately
Also properly free memory if list-unit-files --root=... is used.
commit b65205466248531d52f9d6dba16195864b023d4a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 24 23:55:43 2013 -0500
systemctl: simplify start_unit
commit 91f0ac7d40e4b89ccb8430b34dbf907f305763fa
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 24 22:57:15 2013 -0500
man: fix description of is-enabled returned value
commit c2595875c64381b0c8a9699e6cfb48422c9026dd
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 26 16:07:38 2013 +0100
bus: add a temporary hard-coded policy to proxyd to make gdm work
gdm relies on the policy to deny its own requests to not deadlock. Given
that we currently do not enforce any policy in the dbus1 compat proxy
service this means that gdm will necessarily deadlock on our systems.
To work around this, enforce a fixed policy teomporarily, until we
interpret the legacy XML policy in full.
Booh, gdm, booh, for requring this and making me waste two days on
tracking this brokenness down.
commit 90911bb63ec1b535017f5d9df2b5465c8a72c474
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 26 15:24:58 2013 +0100
bus: always show messages we send
commit 72ebbf3450340338d71ea2039dfb296bc1d595db
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 25 23:20:57 2013 -0500
man: document fail/nofail, auto/noauto
Also s/filesystem/file system/ in a few places.
commit 8b8f259170e35b93e6c6d1757cb8b835bbdaa40c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 25 22:53:09 2013 -0500
Trim TODO
commit e0e009c067aa7237f9683c46e5845bbb11ec67c2
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu Dec 26 02:47:45 2013 +0100
man: grammar and wording improvements
This is a recurring submission and includes corrections to:
- missing words, preposition choice.
- change of /lib to /usr/lib, because that is what most distros are
using as the system-wide location for systemd/udev files.
commit b040723ea412209e0edf54647fa5aa4287411507
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu Dec 26 02:47:44 2013 +0100
man: improvements to comma placement
This is a recurring submission and includes corrections to:
comma placement.
commit 494a66821815e8109afa136bd42818b85da38c09
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu Dec 26 02:47:43 2013 +0100
man: resolve word omissions
This is a recurring submission and includes corrections to:
word omissions and word class choice.
commit 758bf0c755e045f7b1dd89869d3a10b9457e9bbe
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 26 03:08:52 2013 +0100
bus: don't process Peer interface messages in the proxy
commit 452de75e5b8b1cff207243848f4e5de68620554c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 26 03:08:35 2013 +0100
update TODO
commit f2769777c8e8ad32b0b19cd540d2f742bda4457f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 26 03:08:15 2013 +0100
bus: make system bus kdbus node world-accessible
commit 442e2def7938435481eed34cd7331e34ebc8d9e0
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 26 01:52:01 2013 +0100
journalctl: make sure -b --foobar cannot be misunderstood as --boot=--foobar
commit b68b76897aca23f613afdc39a760992c711a7671
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 19:17:14 2013 +0100
Revert "completion: don't offer completions for journalctl -b"
This reverts commit c756a6d57cdb678b702c68913dae3e11ff0427ae.
commit 6cebe83cfa656365348ff21f567d133c7e34a71d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 19:17:10 2013 +0100
Revert "journalctl: remove unexpected behavior of journalctl -b"
This reverts commit cf5bccc2bb9569030cb04debbc4208aaca0fe5b4.
We should fix thinks properly if they aren't perfect, not just break
other things...
commit 43a99a7afe3063eebc901452026b13360b69a7b5
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 19:00:12 2013 +0100
build-sys: minor fixes found with cppcheck
commit 25ad8664604507aacab593327b8d9d7454f0634d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 18:34:44 2013 +0100
build-sys: the pure/const warning options are probably too much as default, but let's make it available via "autogen.sh a"
commit c756a6d57cdb678b702c68913dae3e11ff0427ae
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Dec 25 12:58:37 2013 -0500
completion: don't offer completions for journalctl -b
Since this is a shortopt with an optional argument, assume the user
knows what they're doing. The longopts --boot and --this-boot will
continue to offer boot IDs as completions.
commit cf5bccc2bb9569030cb04debbc4208aaca0fe5b4
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Dec 25 12:24:19 2013 -0500
journalctl: remove unexpected behavior of journalctl -b
This flag shouldn't try and consume the following argument. It should
behave like every other flag which takes an optional argument when
parsed by getopt_long.
commit 0ce036ce7fa040410fda6baceaceb43989a1de0c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 18:26:51 2013 +0100
bus: add a bit of pure/const decorators
commit 99e0f83e0bcc54dbc2b3a4f3fdd15fcd3033b21e
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 18:05:48 2013 +0100
man: add missing sd_bus_message_get_cookie man page fie
commit d9416f8a82d6afd8219d2dfc84817aa33ca8f3cb
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 18:03:05 2013 +0100
man: document sd_bus_message_get_cookie()
commit 693eb9a2d42d71445dad273a76e2470199d1dc5a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 17:46:45 2013 +0100
bus: rename message "serial" to "cookie"
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose
the word "cookie" for this instead, as this is what kdbus uses and since
it doesn't imply monotonicity the same way "serial" does.
commit 80a33f113bbdadf4fc7ffec7fed026fde59d232b
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 25 16:42:50 2013 +0100
bus: conditionally set cookie_reply/timeout and update kdbus.h
commit 7e94edc2a43b9fdb3d9fc743ab1994c3d4a13d9f
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 25 05:45:43 2013 +0100
bus: update kdbus.h
commit 28f45c1c2ef7df305edbf1dba87fb8482d30b1a8
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 25 05:02:58 2013 +0100
bus: set cookie_reply and update kdbus.h
commit 2e3db52da98716e6ec204aee74290b6303d47280
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 03:09:09 2013 +0100
bus: also write debug logs about messages we send
commit 4cdf07519a9582afa9d2deeb6d9f54597b8268a1
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 25 02:13:50 2013 +0100
bus: be a bit more verbose when debug mode is on
commit 33649f58afe3e8b09580719fc16eca249d0efffc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 21:24:06 2013 +0100
shared: fix getpeername_pretty() for AF_UNIX sockets
commit 79a98c609da042c60260e8e0236464014d480dcb
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 21:18:21 2013 +0100
unit: include peer identity in description of per-connection socket-activated services
commit db69869f264af2d1afcdd3e573e0e9fdd5bef065
Author: Dave Reisner <dreisner at archlinux.org>
Date: Tue Dec 24 16:42:06 2013 -0500
sleep-config: fix useless check for swapfile type
Since 0c6f1f4ea49 the check was useless, because the kernel will
ever only write "partition" or "file" there.
OTOH, it is possible that "\\040(deleted)" (escaped " (deleted)")
will be added for removed files. This should not happen, so add
a warning to detect those cases.
commit c4708f132381e4bbc864d5241381b5cde4f54878
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 20 20:25:39 2013 -0500
tmpfiles: introduce the concept of unsafe operations
Various operations done by systemd-tmpfiles may only be safely done at
boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin).
Other operations may be done at any point in time (e.g. setting the
ownership on /{run,var}/log/journal). This distinction is largely
orthogonal to the type of operation.
A new switch --unsafe is added, and operations which should only be
executed during bootup are marked with an exclamation mark in the
configuration files. systemd-tmpfiles.service is modified to use this
switch, and guards are added so it is hard to re-start it by mistake.
If we install a new version of systemd, we actually want to enforce
some changes to tmpfiles configuration immediately. This should now be
possible to do safely, so distribution packages can be modified to
execute the "safe" subset at package installation time.
/run/nologin creation is split out into a separate service, to make it
easy to override.
https://bugzilla.redhat.com/show_bug.cgi?id=1043212
https://bugzilla.redhat.com/show_bug.cgi?id=1045849
commit ef72c1f06e2bc696a799cd31a1e0ed25cc999ea4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 24 10:21:45 2013 -0500
man,units: tmpfiles.d(5) cleanup
Condition for /lib (necessary for split /usr) was missing from the unit.
Some changes which were done in tmpfiles.d(5) were not carried over to
systemd-tmpfiles(1).
Also use markup where possible.
commit 751bc6ac79320bc16e63e8c1bbb713c30a3b7bc9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 19:31:44 2013 +0100
bus: properly shift cgroup data returned from kdbus by the container's root before parsing
commit 4e6a9570b698b335c6f59ec3556dfb3e95817d75
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 18:42:38 2013 +0100
bus: fix return message if StartServiceByName() in the driver fails due
to non-existing service
commit 56e61788c5270af99646bde353abc8b1d54ad71f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 18:15:38 2013 +0100
busctl: show service/session a name belongs to in the list of names
Also, don't show machine name by default as this might cause timeouts on
non-responding peers.
commit 9f6445e34a57c270f013c9416c123e56261553dd
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 16:39:37 2013 +0100
log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings
commit ae98841e63a2624700db84ba44217f768b090d99
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 16:21:59 2013 +0100
util: don't accept an empty peer label as valid
commit 2dc9970bed3cee69e6746b110a649a9285dd6369
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 16:20:47 2013 +0100
bus: only accept kdbus creds if they are valid
This allows userspace to fake kdbus creds via struct ucred in the proxy,
without making the recieving side choke on the missing fields of the
kdbus struct, more precisel pid_starttime and tid
commit eff05270986a13e7de93ae16311f654d3f7c166f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 15:53:04 2013 +0100
util: unify SO_PEERCRED/SO_PEERSEC invocations
Introduce new call getpeercred() which internally just uses SO_PEERCRED
but checks if the returned data is actually useful due to namespace
quirks.
commit 96415cad2fdd8d280ae94b02651b5f826a2f7f3d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 15:38:30 2013 +0100
bus: fix hello ioctl buffer size calculation
commit aedd330b13393518282bc6207cc9aac62c2991ab
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 15:33:02 2013 +0100
bus: make gcc shut up
commit 8a0e0ed9ddfa208e414355881acb886270039268
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 15:03:32 2013 +0100
bus: fake client side creds in the proxy to the caller's creds
commit 515c883021bb3331df4d40fa62c333c0647a1d82
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Mon Dec 23 19:04:19 2013 -0800
hwdb: Add SDIO product ID for Marvell SD8897 WLAN function
commit 3798fd4c30150984d6e9eb63e8e94f5410ba5996
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 03:02:49 2013 +0100
bus: allow peeking signatures recusively inside of containers
Previously we invalidated the peeked signature as soon as the caller
would recurse into a container, making stack based handling difficult.
With this change we will keep the peeked signature around until the user
advances to the next field.
commit eab07b4b23544d38ff0006fa4da9217c61d94749
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 24 02:57:17 2013 +0100
update TODO
commit 8f19720dd2782684a0c73d1deb5e1ac3e1fb086d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 23:48:30 2013 +0100
bus: fix assert when serializing fixed size struct to gvariant
commit 85feb8e4d9b0ef65c338e1a1a16665d0cb8d544a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 22:32:33 2013 +0100
bus: don't attach KDBUS_ITEM_ID to match ioctl() if we don't need it
commit d711a957780932a2705d9ae9a1fc1b6fa7200b75
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 21:55:27 2013 +0100
bus: fix sender match creation on kdbus
commit 3022d74ba585f961de7015087cd95673705bee3c
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 21:44:20 2013 +0100
sd-event: make sd_event_add_signal() fail with EBUSY if signal is not blocked
commit be04cbca6c2c03e9f62e8981cb9b5626c118c953
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 21:01:32 2013 +0100
core: when we close the notify fd, we also need to free its event source
commit 9a8112f5e9f1d80bf1740fe507185f992ab3c34c
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 20:37:03 2013 +0100
units: systemd-machined now exits on idle and we shouldn't try to restart it then
commit 5326b03f30b6b1d50437766afc09598a8be89f8f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 20:37:00 2013 +0100
units: limit caps for bus proxyd and driverd services
commit f98a58fe894d34e4d9675757180f34a8523c936e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 20:22:33 2013 +0100
sd-event: fix return code of sd_event_run()
commit 6261f11fc3d0a8b63c5afa5313d96607a008b54e
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 19:15:43 2013 +0100
machinectl: fix success check when getting pty from within container
commit 94a6ce5b7c0ef1de16d67ef01374cbc08459d29e
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Dec 23 19:16:49 2013 +0100
bus-proxyd: init cleanup variable
commit 98531b5762778ed5740e8e7edc4e3790e57e9f37
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Dec 23 19:14:24 2013 +0100
bus: update kdbus.h
commit fbadf04511389c4a0687ba5e9baf0ecebdbb07f1
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 19:10:11 2013 +0100
bus: when getting a kdbus connection into a container wait first for child, then read message
There's no EOF generated for AF_UNIX/SOCK_DGRAM sockets, hence let's
wait for the child first to see if it succeeded, only then read the socket.
commit e7f7a1b0222c49fd4706a77bbdac59ac28a4ddbb
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 18:56:37 2013 +0100
bus: when we are connected to a bus, then do not assume peer creds are useful as message creds
commit 02bb6cda87189ce0be10e8daba5c781f5eb90634
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 18:10:57 2013 +0100
util: when we try to read /proc/cmdline in a container, read /proc/1/cmdline instead
commit b8d0ffc21f9c237cdeef49b1873b47df1a0a1543
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 17:56:44 2013 +0100
log: als turn on debug logging in non-PID1 if /proc/cmdline contains "debug"
commit 46525bfc020e06609a44670f277aaf23954e7d85
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 17:30:21 2013 +0100
bus: make sure sd_bus_emit_properties_changed_strv() doesn't return ENOENT if no properties with a change flag are in the interface
commit dc74ce9b4a49ab31383d00b30406bc225b2cc8ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 17:18:30 2013 +0100
bus: write debug message when we get a method call we cannot handle
commit 6096dfd6167f8520be3a359c1fd0e6f2e76a4dc1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 22 22:53:23 2013 -0500
delta: if prefix is specified, only show overrides there
systemd-delta /run/systemd/system will show all unit overrides
in /run, etc.
commit f939e9a47c54ac37504e8517f316cbec46864d14
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 22 19:45:02 2013 -0500
delta: fix delta for drop-ins
Also, fix highlighting, add more debug statements, make const tables
static and global, run path_kill_slashes only at entry.
commit 8f04d2ebbaa5f330e5240d29917c02bce9892cff
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 03:43:43 2013 +0100
bus: make sure to request peer cred only after connect(), not before
commit cd789fdf45f188197bf99998e5a8be0f8c614c66
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 03:30:41 2013 +0100
bus: always talk to the full dbus driver object
commit a7639e37afd6afeb7b83b11e75894faa06694ba6
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 02:59:03 2013 +0100
bus-proxyd: synthesize NameAcquire/NameLost signals for socket clients
commit 508c6f95cbcf1afd234eb9220554fc13f9698fa5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 02:08:12 2013 +0100
update TODO
commit dff91e8b7fa396284768a22b62c36dbe23a3b206
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 23 02:08:05 2013 +0100
bus: use memcpy() rather than unbounded strcpy()
commit b67f541f130cd4c55da0b74af5fcbb4daeca1937
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 23:26:07 2013 +0100
bus: switch kdbus bloom filter over to SipHash (from MurmurHash3)
Let's try to standardize on a single non-cryptographic hash algorithm,
and for that SipHash appears to be the best answer.
With this change there are two other hash functions left in systemd: an
older version of MurmurHash embedded into libudev for the bloom filters
in udev messages (which is hard to update, given that the we probably
should stay compatible with older versions of the library). And lookup3
in the journal files (which we could replace for new files, but which is
probably not worth the work).
commit 57d0e6b2731ab695d14b7cf496832ba416cc43d3
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Dec 23 02:46:39 2013 +0100
libudev: ship the original MurmurHash2.[ch] file
commit 91d53e2b896ed3b1e76c3117a7acb74e4edc921f
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Sun Dec 22 07:22:46 2013 +0200
loginctl: fix output of type with class
commit d4fffc4b8beb86e77fd710c1f43913a490ed083a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 22 18:28:03 2013 -0500
Fix extraction of _SYSTEMD_USER_UNIT
Units from user services underneath user at .service would not be detected
properly.
commit 58684be9a781be9797142bce442bbac6fb6a7738
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 22 16:11:45 2013 -0500
systemctl: also color filenames of drop-ins in cat
commit 09812eb764b440651f3ff4cb5d37bd343f800560
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 22:14:05 2013 +0100
sd-daemon: introduce sd_watchdog_enabled() for parsing $WATCHDOG_USEC
Also, introduce a new environment variable named $WATCHDOG_PID which
cotnains the PID of the process that is supposed to send the keep-alive
events. This is similar how $LISTEN_FDS and $LISTEN_PID work together,
and protects against confusing processes further down the process tree
due to inherited environment.
commit 565a9388f261c6e459e1726e358284ff687ec941
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 21:10:06 2013 +0100
journal: when we shall go down do so cleanly
commit 9bf3b53533cdc9b95c921b71da755401f223f765
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 19:59:12 2013 +0100
shared: switch our hash table implementation over to SipHash
SipHash appears to be the new gold standard for hashing smaller strings
for hashtables these days, so let's make use of it.
commit 14f862a508ee64466fa8b3f036797d472f4d03ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 19:50:07 2013 +0100
bus: also take write queue into consideration in sd_bus_try_close()
commit 610f780cd6186073cb7cfe4b5287c261cec7495a
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 19:44:04 2013 +0100
core: the cgroup properties are not actually const
commit c309c17df4e9ecb548bf437159b3cdc2cbfe6ef1
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 11:32:11 2013 -0800
hwdb: update
commit 56243d0936f85b2580f4c1028e1af98b96d77b72
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 11:30:57 2013 -0800
hwdb: Add SDIO database to ids-update.pl script
commit 23ee5a0050e5d57681ae7e8632babe9ad45ac0c0
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 11:20:53 2013 -0800
hwdb: Add SDIO Bluetooth and WiFi devices from Marvell
commit ac6ee4fa3a547f2e913196095c810c897c658fd5
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 11:08:50 2013 -0800
hwdb: Add SDIO products from GCT and CSR
commit 0e122faf73106d02c8202ab3534e162a32d24952
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 10:58:30 2013 -0800
hwdb: Add SDIO WLAN devices from ST-Ericsson and TI
commit a3873fa35b3055b924a067e99f672ef7e8035554
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 10:49:08 2013 -0800
hwdb: Correct SDIO vendor identifier for Broadcom
commit c1a10e25b037a27e93a0c3dfa30bddc0191e4c80
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 10:46:13 2013 -0800
hwdb: Add SDIO device information for Broadcom B43 based cards
commit cb4bef2be122a6805ac33a1bb7284f9ad7c38231
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 10:33:25 2013 -0800
hwdb: Add some known SDIO device identification strings
commit d5f7759a9881e2d3b94a2e706397dae87830f1dd
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 22 10:21:20 2013 -0800
hwddb: Add database for SDIO vendor and class information
commit f72a3e5bada52593aae7cf5fe577138165e83ff3
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Dec 22 16:41:24 2013 +0100
Revert "bus-proxyd: use a loop instead of c&p"
This reverts commit 9818fa6d6d32d87a3e1b96934a54523ea6b02879.
The proxy does not work anymore with this patch.
commit c573f8f873505770987c9f01595532e74197cbb6
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Sun Dec 22 17:47:42 2013 +0900
man: fix make install
commit 5b04fe60004e7c5cd5a43648ede3e6a965e70b8c broke it with
â./man/sd_session_is_remote.3â: No such file or directory
commit 23f30ed31218c6bc01d9a0ecebdace43e67e97ff
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Dec 18 10:52:22 2013 +0100
libsystemd-dhcp: add some asserts
commit 3dd714003534ab1588203f854ac4cb1a7a233262
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:20 2013 +0200
libsystemd-dhcp: Handle T2 Rebinding timeout
Reuse existing functionality when adding T2 Rebinding support.
commit 6a1cd41ef0e7e6c1822ac4def76619a0fddf498a
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:19 2013 +0200
libsystemd-dhcp: Factor out common code initializing events
Factor out common code from timeout T1 handling and starting of
the DHCP client.
commit aba26854e5d47e36fd78a263b271d727d308f0dd
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:18 2013 +0200
libsystemd-dhcp: Handle T1 Renewing timeout
Expiration of T1 timeout takes the client to the Rebinding state,
where it attempts to renew its lease. Start by opening a DCHP unicast
socket as there now is a proper IP address set.
Compute the resend timer as half of the remaining time down to a
minimum of 60 seconds (RFC2131). Modify DHCP Request sending to send
only UDP DHCP data when unicasting. Also modify DHCP Ack/Nak
receiving such that the client_receive_ack() takes care of using
either the full IP, UDP, DHCP packet or only the DHCP payload
depending whether the client is in Requesting or Renewing state.
Finally always report DHCP_EVENT_IP_ACQUIRE from Requesting state
and only DHCP_EVENT_IP_CHANGE if the IP address was modified when
the lease was renewed.
commit 234fc2dfce0e749f6e88301f2c82a3e54ccaa5fa
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:17 2013 +0200
libsystemd-dhcp: Add functions for sending unicast UDP messages
Create a helper functions setting up an unicast DHCP UDP socket and
sending data. Add function stubs for the test program.
[tomegun: initialize structs when allocating, and drop unneccesary 'err']
commit 2fba7b03b515b842f5a33d9e1ec46bfa7767d393
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:16 2013 +0200
libsystemd-dhcp: Check test result without casting value
commit 0c6a3c888abd720b5ab28162d1ba4eadffde5272
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:15 2013 +0200
libsystemd-dhcp: Fix checksum computation for buffer with odd size
Fix off-by-one error and notice that summing may need more than one
round for the result to be in the lower 16 bits.
commit 77e8d29dd2ecfa7f11c31c8d96021d323ab3fe3a
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:14 2013 +0200
libsystemd-dhcp: Fix receiving of other message when expecting Ack
When a DHCP Nak is received, return a DHCP_EVENT_NO_LEASE event. If
some other DHCP message is received or an error happens when parsing
options, return -ENOMSG in order to ignore the packet. There may be
more than one server serving the same subnet, each server will send
its Offer to the client.
commit 2ed0375c2db786012842f02b84014a70c4806017
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:13 2013 +0200
libsystemd-dhcp: Unref event source before closing socket
commit 20d471b933890fb47e8f0be499bfd7b40acbd60c
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:12 2013 +0200
libsystemd-dhcp: Return proper error on OOM
commit 1c8035a89747ed3aadc433bdd11b865cd0d02472
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:11 2013 +0200
libsystemd-dhcp: Return proper error if bind fails
This also fixes a minor indentation damage.
[tomegun: use close_noint_nofail() instead and drop 'err' variables]
commit 3b349af69aab440a625fedb21377e2bdc461098e
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Fri Dec 20 17:16:10 2013 +0200
libsystemd-dhcp: Use be32_t for IP addresses in network order.
commit eb53c37e2eb1ff9e2dbf370985dd53c62a98fa66
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Dec 19 14:16:46 2013 -0500
logind: remove dead variable
Noticed-by: Jan Alexander Steffens <jan.steffens at gmail.com>
commit e2f123b97b9af34f39cb18ce0c1c5ef6cb89117e
Author: Thomas Bächler <thomas at archlinux.org>
Date: Sat Dec 21 11:22:37 2013 +0100
fstab-generator: Do not try to fsck non-devices
This fixes a regression introduced in 64e70e4 where the mount fails
when fstab is misconfigured with fs_passno > 0 on a virtual file
system like nfs, and the type is specified as "auto".
commit 5b04fe60004e7c5cd5a43648ede3e6a965e70b8c
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Sun Dec 22 02:48:46 2013 +0200
libsystemd-login: add sd_session_get_remote_{host, user}
commit bee7e928990fd8a0c5909c2022a2b9eede557c81
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 03:50:30 2013 +0100
update TODO
commit aec8de63b14a93b91b85dc15bf879604352fbbe1
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 03:43:03 2013 +0100
core: no need to list properties for PropertiesChanged messages anymore
Since the vtable includes this information anyway, let's just use that
commit a03e4337fd2ae1cc90989e9b7b5f160b42cdb021
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 03:22:34 2013 +0100
bus: allow invocation of sd_bus_emit_properties_changed_strv() with NULL list
When NULL is passed this shall indicate that a PropertiesChanged message
for all properties marked as EMITS_CHANGE or EMITS_INVALIDATION should
be generated.
commit 556089dc57b10a12a03edd3d3e90ca17398ad206
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 02:24:05 2013 +0100
bus: decorate the various object vtables with SD_BUS_VTABLE_PROPERTY_CONST where appropriate
commit df98a87ba389bdfc0359beedf47557411f3af434
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 22 00:12:54 2013 +0100
bus: introduce concept of "const" properties
This way we have four kinds of properties:
a) those which are constant as long as an object exists
b) those which can change and PropertiesChange messages with contents are generated
c) those which can change and where the PropertesChange merely includes invalidation
d) those which can change but for which no events are generated
Clients (through code generators run on the introspection XML) can thus
aggressively cache a, b, c, with only d excluded.
commit 69d918b0928eaa4ce9584f4c31552b048d551f0d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 19:07:49 2013 -0500
man: update the list of commands influenced by --full
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732798
commit e213d1a3c3dd0b6a39790c2fbd46d3bcfc683c46
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 19:00:08 2013 -0500
man: mention --full and --lines in systemctl status
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732798
commit 4ff4ebb1fbb7296f67b89b66d2d7f720b49b51c5
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 12:44:10 2013 +0100
util: remove union dirent_storage
commit bde1fdd773c5bc036370922e67ff3550a1f5cded
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 12:42:32 2013 +0100
journal: replace readdir_r with readdir
This commit also adds error handling for failures during
directory reading.
commit a2be63f9223ed1503ffc1e99bf21eee25e4ae014
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 11:33:09 2013 +0100
conf-files: replace readdir_r with readdir
commit 0371ca0dac1d70b2e5060a3c4e6fbbc2bdbd8671
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 12:23:12 2013 +0100
journald/server: replace readdir_r with readdir
The available_space function now returns 0 if reading the directory
fails. Previously, such errors were silently ignored.
commit 78a5d04dd61e4a4708c5c017b05724561639e657
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 12:15:58 2013 +0100
journal/vacuum: replace readdir_r with readdir
commit 3fd11280e82f590eaeda1e3945dafadf82cd8727
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 12:05:41 2013 +0100
util: replace readdir_r with readdir
This fixes rm_rf_children_dangerous to detect errors during directory
reading. Previously, it could dereference an uninitialized pointer.
commit 4d993c8cb75aef0f4293e0b9e8f249dd0530b5d8
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 11:59:19 2013 +0100
install: replace readdir_r with readdir
The old code incorrectly assumed that readdir_r updates errno.
commit 9fa3006323e86962ceaa3171b906cf2b1c2cf525
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 11:25:08 2013 +0100
core: replace readdir_r with readdir
commit 66c7a5332a9ef33143ab57f5f0d1cff0dc4d6ac5
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 11:14:09 2013 +0100
login: replace readdir_r with readdir
commit 6887ec4f00d7c10cd70da3e10d570684bf32d28d
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 11:16:12 2013 +0100
delta: replace readdir_r with readdir
commit d78096b343400d7a9f513a55b76c8de28adb2e08
Author: Florian Weimer <fweimer at redhat.com>
Date: Thu Dec 19 12:26:07 2013 +0100
tmpfiles: replace readdir_r with readdir
commit 016284c352084cdbf856905704070c1f30970f58
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Sat Dec 21 15:49:46 2013 +0100
loginctl: correctly show session IDs on session-status
Commit f8f14b3654bcd introduced a regression that makes
loginctl session-status to not show the correct session ID(s)
In print_session_status_info() the map[] array, element "Seat" receives
the offset of the "id" in "SessionStatusInfo" struct instead of the
offset of the "seat" member.
This will cause prop_map_first_of_struct() function to overwrite the
SessionStatusInfo.id memory with seats if there are any.
Fix this typo by using the "seat" member.
Before:
- tixxdz (1000)
Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago
Leader: 1265 (sshd)
After:
1 - tixxdz (1000)
Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago
Leader: 1265 (sshd)
commit 841aa8c0b484b96654b95d3c4e936e37da4c7dda
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 14:20:29 2013 -0500
loginctl,shell-completions: fix listing of sessions/users/seats
commit 40be878abb86308f1aa025f5bbc77dff16383025
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 18:11:35 2013 -0500
build-sys: add xml sources to EXTRA_DIST
Apparently automake does not include the sources if they are under
a conditional that is disabled when making dist. This means that
everything would have to be enabled to make distcheck work.
commit 2dc38ed00fe5c9179721411ba068b53ea127d476
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 13:58:14 2013 -0500
man: add systemd-dbus-proxy at .service(8) and systemd-dbus.proxy(8)
commit 9818fa6d6d32d87a3e1b96934a54523ea6b02879
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 11:23:08 2013 -0500
bus-proxyd: use a loop instead of c&p
commit cc4e8b6f70a42b7bf8f6761006ab95fcd195a3be
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 21 10:26:55 2013 -0500
bus-proxyd: show address nicely in --help
commit dad5f697ddecf91c2ed6604731d907c0a38d0c5f
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 23:32:45 2013 +0100
update TODO
commit 780f962c3eaa88370c1b69a8c53b2cacc3481598
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 23:26:51 2013 +0100
bus: fix bad memory access in driverd when we get an empty triggers list
commit c20733832fdfc780380f1b276655d69782057e49
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:47:33 2013 +0100
bus: when getting credentials of a bus name that is activatable but not activated, say we don't have anything.
commit 050eb34da8bfe26ecdbda072ce945210279a9753
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:35:27 2013 +0100
driverd: properly handle NameHasOwner() for unique names
commit 908b8720b8df3044b2398f14e5ce0c9a0b1e07dd
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:31:00 2013 +0100
bus: unify credential query code in driverd
commit aa56560dbbd485e61fb527214a5211d4b683b3e8
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:21:49 2013 +0100
bus: when client asks driverd for credentials of a name, return a useful error if that name doesn't exist on the bus
commit 8875e122f0014758a987e2de3eafbd6a8bfef515
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:13:05 2013 +0100
driverd: make sure AddMatch is accessible without privileges
commit 2aa40788f75d97e2b2187d94ee90430809a2d04a
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:13:01 2013 +0100
update TODO
commit 7fb411f035e68b5f3f5e2893157739c9da9917b0
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 18:08:39 2013 +0100
bus: when introspecting, turn unprivileged flag into inverse annoation of "privileged"
Internally, it makes sense to have a default of "privileged" for
methods, and a flag to open it up. However, externally in the bus
introspection turn this around since negative options actually suck.
commit b2bb3469fd01cec57f1f1726edb5b851ff8427ad
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 17:46:35 2013 +0100
bus: poll() on the right fds in proxyd
commit 0721804f03934c17509af4f485c3bcef9d86862c
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 04:19:51 2013 +0100
bus: send status message from proxyd to systemd about client we are working for
commit 373d32c9f4746d58cda8c62f4c70d2e0e7aae1af
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 05:07:44 2013 +0100
systemctl: fix bad memory access when processing PIDs on the "systemctl status" command line
commit e10a55fd72b5246cec1bbd09135d544db32e0414
Author: Shawn Landden <shawn at churchofgit.com>
Date: Fri Dec 20 15:35:38 2013 -0800
DEFAULT_PATH_SPLIT_USR macro
commit 4d89874af6a798744a32deb314001a13a28f0559
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 14 11:54:26 2013 -0500
logging: reduce send timeout to something more sensible
For a user, the timeout of 1 min per message seems equivalent to a hang.
If journald cannot process a message from PID1 for 10 ms then something
is significantly wrong. It's better to lose the message and continue.
commit 3c547e6f8ef6bd37df1197862e1aca63d434cbff
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 20 20:26:08 2013 -0500
build-sys: add sd_j_open_container manpage alias
commit 76252ffbde7e8163c67d847db2445d8c49e32457
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 04:06:11 2013 +0100
driverd: sort list of names returned by ListNames
commit 0358b3f95d7cfdd05e7cb8394cfdb6b3b4b14ffc
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 04:03:12 2013 +0100
bus: properly react to Disconnected messages in bus-proxyd
commit ba7689164c0f81ad23861b486514c86ec908ffee
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 03:59:07 2013 +0100
bus: change bus-proxyd command line parsing to be more similar to other tools
commit 3547329642fef7468548320131ab992517957e81
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 03:52:39 2013 +0100
bus: refuse messages pretending to originate from local interface
commit bd746b8b0ce91be3f28532d319ffa577590f52d8
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 03:46:26 2013 +0100
bus: in sd_bus_try_close() consider local read queue too
commit 8e8d37602f33269df0b0d3d93f017d7263b5cea0
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 03:17:29 2013 +0100
bus: always override message destination field with data from kdbus
commit 253ce82b643569564ca8f5730e728f41fcf23d08
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 03:16:39 2013 +0100
bus: always consider well-known names sender credentials as attached to messages
commit 06100c7a1ea503b33708120b09dac95de3264fd5
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 02:56:34 2013 +0100
bus: when filtering by sender take well known names lest from attached creds into account
commit 27fc65e14d56a92f2d6615c0a0c8ec2f45401193
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 02:40:40 2013 +0100
core: make check for Disconnected message more precise
commit 85a0aa17dd870703677118726ac448ef08e8defb
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 01:02:23 2013 +0100
bus: when watching bus names, we always need to add a change match
Since for the kernel change of ownership of a name between starter and
real client is a change and for userspace thats addition/removal, we
need to unconditionally subscribe to these change events.
commit d86f9d5285742e959a158e743799506b5339fefc
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 00:19:37 2013 +0100
core: pass notify fd across reexecs
That way we the random socket name stays stable across reexec and we
won't lose client messages.
commit daee56067fa7b4d474091e65bbbaf5cd1efb6f02
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 21 00:19:30 2013 +0100
update TODO
commit ae095f860593c87d217773976cfe5f89a6993c89
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 20 23:25:43 2013 +0100
bus: wrap KDBUS_CMD_BYEBYE with a high-level call sd_bus_try_close()
commit 5a884f93fdb2a6f89605e44a0e7f4d2db5470b5b
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Dec 20 23:12:42 2013 +0100
libsystemd-bus: match on any connection ID unless specified
commit 73842d62d7f7ebdabc160f1a61d9527163d024fa
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Dec 20 20:57:20 2013 +0100
libsystemd-bus: follow changes in kdbus
In particular, the match interface has seen a major overhaul.
commit f7cf00fa51937e3449b40f098d34569d41170077
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 22:12:53 2013 +0100
def: lower exit-on-idle time
commit ff0031069ffeb0ccda209297b6b39c4786ac770b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 21:38:52 2013 +0100
sd-event: return 1 in sd_event_run() when we hit EINTR
That way we can distuingish timeouts from EINTR
commit 30b5275ac775264fa94490ac88c1e35bc6b90b40
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 21:34:09 2013 +0100
service: don't send out PropertiesChanged message for each watchdog notification
commit d9e34bfda3d34dcde00a876cb052e7de0655e1cb
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 21:15:08 2013 +0100
machined: implement exit-on-idle
commit 37224a5ff522a366b353e8a01e2c2eee1e5416e5
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 21:14:52 2013 +0100
bus: fix exit-on-idle for driverd
commit ff2ea19264b016bd34232cd9c4820c9547413a9a
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 21:13:01 2013 +0100
bus: reenable id change subscriptions
commit 051dfe8708e394a64e8ef6c281228763481ad32c
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 19 22:06:47 2013 +0100
remove unused variable
commit 4d47756b8fa5eb6bc75b7aa2345eb31e6bc10e9a
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Dec 19 21:28:50 2013 +0100
rtnl: correctly get the size of data to be appended
This fixes:
systemd[1]: Failed to configure loopback device: Numerical result out of range
commit 753e98788a9bcbd3bba2b3006672c003ae72eefa
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Dec 19 20:11:34 2013 +0100
loopback-setup: correctly set flags and scope for ipv6 address
commit c5b7838ddeae1fcd5c613ea15f04918b945823e5
Author: Martin Pitt <martinpitt at gnome.org>
Date: Thu Dec 19 08:33:32 2013 +0100
keymap: Refactor Acer tables
Move common keys into generic Acer table, and factorize the model specific
exceptions.
commit 8da4de037650c87362285055d2987614e0a46302
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Dec 19 06:55:44 2013 +0100
bus: do not add empty strings, size should be 0
commit a669d6226da35d8689898b57bcb6a449046e7a3c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 18 22:10:17 2013 -0500
systemct: add empty line between units in cat
commit 495cb9bbeb0bf2959f12e69253465a6aa03e7aef
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Dec 17 19:42:03 2013 +0100
loginctl: improve print_{session|user|seat}_status_info() functions
1) Instead of checking if we need to print a new line on each iteration,
pass the "new_line" as a pointer to those functions, so they can use
it to check if a new line is needed. This makes the code more consistent
as it is done in other places: machinectl, systemctl...
2) Move the error messages from show_{session|user|seat}() to their
appropriate print_{session|user|seat}_status_info() functions, this will
prevent from logging an error message twice in case show_properties()
fails and it will improve code readability.
3) Also do not ignore error codes on these functions.
commit 97aa7b478177f200d250dc0186f49e52b5f6e3c8
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Dec 17 19:42:01 2013 +0100
loginctl: use show_properties() to get login1 properties
Commit f8f14b3654bcd introduced a regression that makes loginctl ignore
the "--property" option.
This patch fixes the bug, it uses a new show_properties() function to
query and filter properties.
commit 1c3051eba4f2a3cbb8417f8d2e11699a67987700
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Dec 17 19:42:00 2013 +0100
loginctl: replace strv_append() by strv_extend()
commit c736283bfb81f5b00756e08a13946c113a41527f
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Dec 17 21:36:27 2013 -0500
journalctl,zsh-completion: fix several issues in --help message text
-- fix grammar and reword some descriptions for clarity
-- add a useful description of what --follow does
-- fix the description for --after-cursor
-- properly introduce the FSS acronym for "Forward Secure Sealing" in
both sections
-- clarify the --disk-usage command
[zj: perform similar changes to zsh completions]
squash! journalctl: fix several issues in --help message text
commit 06d9d3efa554ffc63b5977f1d86e393edeef8ad1
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Dec 17 19:40:02 2013 -0500
man: add DOI for refereed article on Forward Secure Sealing to journald.conf(5)
In journalctl(1), be more explicit about the reference to "Seal=" in
journald.conf(5) and what information can be found there.
commit 9a7adc9a0ed53d6e422321e9196eb83d18afcba5
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Dec 17 18:48:43 2013 -0500
man: be more explicit about option arguments that take 128-bit IDs in journalctl(1)
It may not be immediately obvious to the reader what "ID128" is, so replace the
example option argument "ID128" with "128-bit-ID".
commit c98fa7999b82647a5f63b513cbde55cb723ceed5
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Dec 17 18:48:42 2013 -0500
man: fix grammar issues in journalctl(1)
And add a missing <option> tag around "--setup-keys" under "--force".
commit 8c841f21f5042b11acc91cc1b039cb162cbbe8f4
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Dec 17 23:40:15 2013 +0100
machinectl: show_properties() already logs the error
commit 44433ebdb14d83750e0acdc4b3630b64f1fa18af
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 17 21:49:07 2013 -0500
udevadm: modernization
commit 7643ac9a8add1f07ffc237c054feb443b5612717
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 17 21:48:14 2013 -0500
udevadm,scsi_id: add short options to help strings and to the man page
Also clean things up a bit here and there.
commit ed142bdb68fdcd5ce591152ce0ec9d29898fbac4
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 15 17:15:54 2013 -0500
scsi_id: cleanup
Remove -i option which would case exit(1) to happen.
Remove some unused code.
Convert to bool where appropriate.
Simplify things a bit.
Always free everything.
https://bugzilla.redhat.com/show_bug.cgi?id=1043304
commit 53461b74df0576ec091275d1a5dbee00611df1ee
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 19 03:02:45 2013 +0100
driverd: implement AddMatch/RemoveMatch logic
commit b43b8f7a7e088c31416374340f576887968f7cad
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Dec 19 01:32:55 2013 +0100
do not run kmod-setup in a container
commit 7491e6e7c5fcb3c445a0656a440bd1551adb6ba1
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 18 23:56:35 2013 +0100
temporarily support "kdbus" keyword on the kernel commandline to load the module
commit e8a3b2dcfbd2caa047489b52f7c874833831e5ca
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 18 22:30:26 2013 +0100
libudev: monitor - only disallow "udev" type events
commit df32a1caafe881fc7850a9b569179b877198685f
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 18 22:01:31 2013 +0100
libudev: disable monitor inside a container
Uevents are events of the host, which should not leak into a container.
Containers do not support hotplug at the moment, and devices and uevents
are not namespace aware.
commit ec76ec1fde7da753676b18ff45926740fcd08072
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 18 21:16:35 2013 +0100
bus: catch up with kdbus changes
commit 3e8a51eae6815eb9f54a6b672ba5e1a17d0bffe9
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Wed Dec 18 13:32:13 2013 +0100
bus-driverd: fix flags translation in driver_request_name
Flags for a name entry (KDBUS_NAME_*) should be set for
cmd_name->flags (not conn_flags)
commit 8674debc67cdad04d930d931405a360f15e5cb28
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 19:24:00 2013 +0100
Revert "ptyfwd: make master terminal attributes raw, too"
This reverts commit e7d43b3cc30764138c90eaaf95d3d8f49e448890.
This broke the console terminal when booting up a container, so let's
not do this.
commit 8e959fbf3862172b53d200cda659795c3744fa78
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 18:46:23 2013 +0100
bus: reduce calls to KDBUS_CMD_MEMFD_SIZE_SET ioctl
Instead of calling it for each buffer append, increase allocation
exponentially and set the real value only at the end, when sealing off
the memfd.
This should drastically reduce the number of times we invoke the
ioctl().
commit e7d43b3cc30764138c90eaaf95d3d8f49e448890
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 18:14:10 2013 +0100
ptyfwd: make master terminal attributes raw, too
commit ccf22d4a104e6ed2666d6c5b4031981a84787790
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 17:48:31 2013 +0100
units: when spawning a getty configure TERM explicitly
This way we can make use of our logic to automatically determine an
appropriate TERM for a specific tty.
commit 7cae38c4fa51a56cd13ff028278efe7fae3c222c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 17:41:16 2013 +0100
execute: set TERM even if we don't open the tty on our own
This way, when a tty path is configured TERM is set, which is nice to
set a useful term for gettys.
commit ddae67fa1bdd86b480a60ad6fc1d90d6f35a03d0
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 17:16:33 2013 +0100
loginctl: when showing device tree of seats with no devices show something useful
commit 06acf2d46a38bec212d78094e6ef8b100679048a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 17:13:42 2013 +0100
core,logind: libudev usage modernizations
Always use cleanup logic and don't eat up errors returned by libudev
commit e120204729764f6243b60899eb907103e678bee2
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 17:12:15 2013 +0100
core,logind,networkd: check for udev device initialization via enumeration matches
Instead of checking each device after we got it, check wuth an
enumeration filter instead, to make it more efficient.
commit fa28bc2df724e4aff46d19cb7aa732cc64c71061
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 03:46:53 2013 +0100
core: priorize notification fd processing over notification fd process via sd-event's logic
commit 0e6eaa2d98fffa86d29a9616485b7ade5c160638
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 16:49:15 2013 +0100
log: when we log to /dev/console and got disconnected (maybe due to vhangup) reconnect
commit 74f9e0f20368116fe09f9bf0e5eb0aba08e6ee42
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 16:45:20 2013 +0100
units: run systemd-networkd.service only if CAP_NET_ADMIN capability is around
This has the effect that systemd-networkd won't run in containers
without network namespacing wher CAP_NET_ADMIN is (usually) not
available. It will still run in containers with network namespacing on
(where CAP_NET_ADMIN is usually avilable).
We might remove this condition check again if networkd provides services
to apps that also are useful in containers lacking network namespacing,
however, as long as it doesn't it should be handled like udevd and be
excluded in such containers.
commit 220ec97ad65150542bb9c8a1ba20b19ea0d49ff8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 05:09:53 2013 +0100
core: in a container log to /dev/console if "debug" is specified
commit 99f098257f5e4135609edc3df965ebf27975df18
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 05:07:34 2013 +0100
log: don't reopen /dev/console each time we call log_open()
Instead, force reopen it only if we really really have to.
commit bf108e5541e2a3cbc6f0c59e93665eceb7a5ce05
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 04:19:20 2013 +0100
service: watch main pid even in final states
In some circumstances, for example when start-up times out we
immediately jump into the final state, at which point we still should
try to watch the main pid so that the SIGCHLD allows us to quickly
move into dead state.
commit f6613dd959a1ab49bf061555ada77903397569ad
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 18 16:49:19 2013 +0100
libudev: devices received from udev are always initialized
commit 63966da86d8e71b1f3f2b57d5448770d526421f9
Author: Thomas Bächler <thomas at archlinux.org>
Date: Sun Dec 15 12:06:37 2013 +0100
login: Don't stop a running user manager from garbage-collecting the user.
With the current logic, a user will never be garbage-collected, since its
manager will always be around. Change the logic such that a user is
garbage-collected when it has no sessions and linger is disabled.
commit 48b9cfcb7cfbcd7ab16cae809ebda32be77366bd
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 18 05:06:32 2013 +0100
comment out udev's is_initialized call until the problem is sorted out
commit bf5332d2bf2a1acbba9daacf40570a4addbd3411
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 03:37:26 2013 +0100
core,logind,networkd: don't pick up devices from udev before they finished udev initialization
Managers shouldn't pick up the devices the manage before udev finished
initialization, hence check explicitly for that.
commit 5e2f14e62b43f713bade20dd9f55db525ac43859
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 02:49:03 2013 +0100
busctl: output a single sorted list of names, including activatable and activated
commit 71ebe743a0ddbd4873967c00e20a57287ae12fc3
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 02:25:19 2013 +0100
bus: beef up driverd
Add validity checks for all parameters passed in.
Implement ReleaseName and StartServiceByName().
Fix access control in vtable.
commit 45fd5e4d08c37c1b12e271474e89a770557ebb57
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 02:23:07 2013 +0100
bus: when releasing, taking, listing bus names check if they are valid
Given that the kernel does not validate bus names we have to when using
them.
commit 23c3a89b897b6bc410d1f321355f9c41fa74fea4
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 18 02:22:16 2013 +0100
tests: fix build
commit ceceaf09f9e4a53f86c623d70931676255aef334
Author: Daniel Mack <zonque at gmail.com>
Date: Wed Dec 18 00:20:55 2013 +0100
bus: sync with kdbus
Two new things here:
a) struct kdbus_notify_name_change now carries two struct
kdbus_notify_id_change
b) a new KDBUS_CMD_BYEBYE ioctl that has no user yet in systemd
commit d638dee035bea5ce1082cce6448ad4d8f8cedf55
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Dec 17 19:56:09 2013 +0100
networkd: bridge - fix state machine
We were entering BRIDGE_STATE_CREATED rather than BRIDGE_STATE_READY.
commit ef1ba6065c6ccea94d4ee867f36df7bbc53a5224
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Dec 14 23:39:04 2013 +0530
networkd: link - remove useless states
Rework the state-machine a bit.
commit 22936833e177d9e477e059ec2b4f4fa9213b4e19
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Dec 17 18:36:09 2013 +0100
networkd: rename link_update_flags to link_update
We are likely to track more than the flags in the future.
commit 2b49a4704109e7417da82bdf1e3cb13c0f347b5b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 13 21:34:04 2013 +0100
bus-util: return errors when encountered
Introduced in:
9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75
313333b403439360c0396a50d77d0a1ee2bca4df
commit 919ce0b7affc6fbd68598b709faf477f56c22ac1
Author: Shawn Landden <shawn at churchofgit.com>
Date: Mon Dec 16 08:53:53 2013 -0800
_noreturn_ --> noreturn for C11 compat
also define noreturn w/o <stdnoreturn.h>
commit 73020ab241866dce79b80cbebcaae537470c7086
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sun Dec 15 16:56:21 2013 -0800
util: no need for in_initrd() cache to be thread-local
the process only has one working directory, and a race is
harmless
commit ec202eae8e84a4c99f054f771cb832046cb8769f
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sun Dec 15 16:24:14 2013 -0800
__thread --> thread_local for C11 compat
Also make thread_local available w/o including <threads.h>.
(as the latter hasn't been implemented, but this part is trivial)
commit 06db8540cdfc8259423ed90e7352dbc1d71eccd9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 21:36:54 2013 +0100
update TODO
commit 5232c42ec43e86f90a850d965a33bb413b9e5a00
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Tue Dec 17 10:55:28 2013 +0100
libsystemd-bus: true/false instead of yes/no in msg dump
Due to this patch, message dump (for message which includes boolean
type) is more consistent with dbus-send (which display true/false
instead of yes/no for boolean). It's only simple 'cosmetics change'.
** For dbus-send **
dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply / org.freedesktop.DBus.NameHasOwner string:org.freedesktop.login1
method return sender=org.freedesktop.DBus -> dest=:1.97 reply_serial=2
boolean true
** For libsystemd-bus (without this patch) **
⣠Type=method_call Endian=l Flags=0 Version=2 Serial=8
Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameHasOwner
MESSAGE "s" {
STRING "org.freedesktop.login1";
};
⣠Type=method_return Endian=l Flags=1 Version=2 Serial=51 ReplySerial=8
Sender=:1.59 Destination=:1.67
UniqueName=:1.59 WellKnownNames={org.freedesktop.DBus}
MESSAGE "b" {
BOOLEAN yes;
};
For me true/false seems to be better readable than yes/no for BOOLEAN.
commit 0d647f7f73fa17074a1df81e2bdd00877554e436
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Dec 17 20:15:45 2013 +0100
journal-file.c: remove redundant assignment of variable
we also do 'last_index = (uint64_t) -1;' at the end of the while
loop so there is no reason to also do it here.
commit c966ef4a7678c4040884a5e644132660e72cd6d9
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 20:39:15 2013 +0100
bus: properly return an error code when release_name fails abnormally
commit 3263ef39b89080cacccaf9b7b36675490a282f2d
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Tue Dec 17 17:31:46 2013 +0100
bus-driverd: Fix return code in driver_request_name
RequestName return codes should be consistent with Dbus Specification.
VALUE - DESCRIPTION
1-The caller is now the primary owner of the name, replacing any previous owner,
2-The name already had an owner (QUEUE flag was not specified),
3-The name already has an owner (QUEUE flag was specified),
4-Application trying to request ownership of a name is already the owner of it.
commit a69f4254a82765cd0c7f155d5dc86e0768ea0ef3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 20:02:21 2013 +0100
journald: before closing /dev/kmsg let's unregister the event source
commit c0f71f469fef3f3a0822e0021085e6d165df2b46
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 19:57:13 2013 +0100
journald: close /dev/kmsg again if we cannot make use of it
commit 445ea9be520b9549aee45d0b6427cf48b446987f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 19:56:06 2013 +0100
journald: downgrade warning message when /dev/kmsg does not exist
commit 97b9372db178baadb121634fb4ae12bda8969cfe
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Tue Dec 17 16:24:16 2013 +0100
dhcp: Properly handle unsuccessful cases for DHCP Ack
Ignore DHCP Ack packets if they are found to be erroneous or have
an unexpected xid by setting the result to zero instead of propagating
an error. Also remember to report a DHCP Nak and stop the DHCP client.
commit 187dc6e554f2d5b4b5a3bee72c73ff5df6418aa6
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Dec 17 16:09:52 2013 +0100
udev link-config: add asserts to silence scan-build
commit 6a70535669f9016056c1ad8bcb21e1fd14c2141a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Dec 17 16:07:00 2013 +0100
bus: removed unused variable in driverd
acked by Daniel Mack
commit 382aa8d036b80ef30ee5cebfbf29ea1136e26df2
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 15:44:05 2013 +0100
bus: make driverd code more similar to other daemons, and make it exit on idle among other things
commit f83f897489eb5286ea52a71cfd1a66a52b3ae51f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 03:55:59 2013 +0100
busctl: on kdbus the bus driver is a service like any other, hence don't skip it
commit e1c433c6218b3e3bcc2621bdfa575a77017bb9ae
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 02:43:45 2013 +0100
bus: remarshal messages when necessary before sending
commit 603938e0a9b5379984d7397e3cf81683c0037a53
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 03:14:20 2013 +0100
activate: fix error checking on epoll_ctl()
commit 15e913230c652ace36abfbf2b6fed0c1f56b8711
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 02:43:38 2013 +0100
bus: install unit files for new driver service
commit 816a3f9ec58a695a859aa9718c245a9476d72654
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Dec 17 13:45:02 2013 +0100
bus: sync with kdbus
kdbus_cmd_{ep,ns,bus}_make are now consolidated, and bloom_size has
become an item of the dynamically sized list.
commit 613ec4b836c6f322762b4a3e358d22a81b8d6f2c
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Dec 17 12:25:20 2013 +0100
bus: sync up with kdbus
commit f92f3ff96777048c1f21d5cc4548401b3c5047bc
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Tue Dec 17 09:50:16 2013 +0100
bus-driverd: Fix unique name return in driver_get_name_owner
commit a53692f7b4fb0af771bd510436cc592ef2919f86
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Dec 7 23:23:18 2013 +0100
man: networkd - clarify Address/Gateway keys in [Network] section
commit ae4c67a7c6bb4efb858822838efe81008c965a98
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Dec 7 23:03:19 2013 +0100
networkd: add support for Route sections
commit b0d27a25089e3aa7d9222497005a1d9fff71e59d
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Dec 4 16:21:36 2013 +0100
networkd: correct logging message
commit b9eaf3d1ebc839dc30dbbee9ce080855b3f002c0
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Tue Dec 17 14:13:57 2013 +0900
rtnl: fix for 32bits
Commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5 broke tests for 32 bits
commit e7335f549182233c80fed5dcedeade6d64ed354b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 16 23:58:51 2013 -0500
build-sys: fix distcheck
commit 08c6f819cb0ed435649583da02fa0de965b32dbe
Author: Shawn Landden <shawn at churchofgit.com>
Date: Mon Dec 16 15:41:00 2013 -0800
journal: fix against (theoretical) undefined behavior
While all the libc implementations I know return NULL when memchr's size
parameter is 0, without accessing any memory, passing NULL to memchr is
still invalid:
C11 7.24.1p2: Where an argument declared as "size_t n" specifies the length
of the array for a function, n can have the value zero on a call to that
function. Unless explicitly stated otherwise in the description of a
particular function in this subclause, pointer arguments on such a call
shall still have valid values, as described in 7.1.4. On such a call, a
function that locates a character finds no occurrence, a function that
compares two character sequences returns zero, and a function that copies
characters copies zero characters.
see http://llvm.org/bugs/show_bug.cgi?id=18247
commit 7fd97d7829de4e62690b5fb8d41de81bcde24db2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 16 23:40:00 2013 -0500
man: describe journalctl --show-cursor
commit a94200d0b4a8f98e5d9433282642300082de7d59
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 16 22:40:09 2013 -0500
bus-driverd: actually add --version
commit c0fdf09885ce83cc7edc31f51b03ef284980dfa8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 16 22:34:07 2013 -0500
systemctl: highlight filenames in cat
commit c0ea486f6e14dcd12390fc674e4ee33426444a3a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 16 22:33:45 2013 -0500
systemctl: fix return value from cat
commit 15f2a3a9930eb42e8a858c601f198431979b0b60
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 16 22:10:21 2013 -0500
man: reword awkward phrase
commit 0b6c04bb45c3947f32ae5116f8c2a485cd32b734
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 15 20:35:22 2013 -0500
bus: use gperf to map error string to errno
commit 6241164b73573fdf5beed29f7f200eb88181c07a
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Dec 17 02:50:19 2013 +0100
bus: update kdbus.h
commit 5d6cf65f09ab8df16bee9f2c8909cb90e710a00a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 01:57:27 2013 +0100
bus: when connecting to a container's system bus, double fork after joining the container's namespace
setns(CLONE_NEWPID) only applies to child processes, hence let's fork
once after joining the container's namespace.
commit cd49e2f6641aaa3a9185704ca2f14a1e0855c247
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 01:36:59 2013 +0100
build-sys: build bus-driverd if kdbus support is enabled
commit a4475f577bd0daf762d6c3b4e58bc484e0cb74af
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 01:03:09 2013 +0100
bus: when entering an existing namespace to connect to a container's system bus also switch over PID namespace
This is necessary to ensure that kdbus can collect creds of the
destination namespace when connecting.
commit d003f514dab2dbf1a66e11800a50aeaf039d036c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 17 01:02:13 2013 +0100
core: always create /dev/kdbus/ns (and make it private 0700) after setting up the kdbus system bus
commit 4faa70046ca0c1775c8e231179716a78cf3291b1
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Dec 16 23:35:30 2013 +0100
journal-file: protect against alloca(0)
commit eca7a27add5aa3ec85c272fc4cef287fdca034ce
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Dec 16 23:25:32 2013 +0100
bus: fix typo in systemd-bus-proxyd
commit 294c866023d05162880b056fea5242d25cd9e865
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Nov 30 00:45:53 2013 +0100
Add bus-driverd
systemd-bus-driverd is a small daemon that connects to kdbus and
implements the org.freedesktop.DBus interface. IOW, it provides the bus
functions traditionally taken care for by dbus-daemon.
Calls are proxied to kdbus, either via libsystemd-bus (were applicable)
or with the open-coded use of ioctl().
Note that the implementation is not yet finished as the functions to
add and remove matches and to start services by name are still missing.
commit 16ac401407959cbc62312e61c2dd76dbc3a0793b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 21:26:21 2013 +0100
bus: when a busname unit refuses to activate a service it should flush the queue
commit 010b2b8d7a694e1e404e35db90e938f6a476bf2f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 21:06:34 2013 +0100
bus: also mask dbus.service in generator if kdbus is found
commit 77e96a62476b8df284e19a016ad55e6e3e721fb2
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 21:02:55 2013 +0100
units: properly make bus proxy socket of type Accept=yes
commit 999b600390a2dff43d3367119ad594b7c40ed50d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 20:53:55 2013 +0100
systemctl: properly initialize and free sd_bus_error in "systemctl cat"
We need to properly initialize all error structs before use and free
them after use.
Also, there's no point in flushing stdout if we output a \n anyway...
commit 1c5f57c5a73a90513f1f9c1f534923323b61f68f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 20:39:44 2013 +0100
bus: fix symlink to bus proxy socket
commit 821e0756c62d705252ab13d24af941578c0b9642
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 20:32:37 2013 +0100
bus: use GREEDY_REALLOC() when allocating message queues
commit 306f07be2fe2b4ccf6c9575ef8c980661df2aba8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 20:00:25 2013 +0100
bus: let's use GREEDY_REALLOC() when allocating space for containers
commit 531dca789ea6b4c269ca2646515b42962f83d64a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 20:00:09 2013 +0100
execute: also set SO_SNDBUF when spawning a service with stdout/stderr connected to journald
commit 2a700de47200837af24f848c08d752f652302c6e
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Dec 16 19:31:50 2013 +0100
loopback-setup: remove stray hunk
commit bf1bc6701574f5e935fafc3163659372abdcde63
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Dec 16 18:55:59 2013 +0100
network: more asserts to shut up scan-build
commit e0d48644381dcf0a6c684be6ed4201ca9b4a338c
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Dec 16 17:47:28 2013 +0100
kdbus.h: add alignment requirements
commit 0f49a5f75185bb358ee142f3c1c9f029a588435b
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Dec 16 14:37:51 2013 +0100
network: use SETLINK to bring up interfaces
commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Dec 15 14:00:20 2013 +0100
rtnl: replace message_append by typesafe versions
commit 0fc7531b40225475fed4ca8219b075bbdb54c5e0
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Dec 6 17:19:55 2013 +0100
rtnl: support interleaved reading and writing, and rewind
commit 1f01fb4f29bbe6aff952331a538fb3cc7f52dab4
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Dec 7 21:18:44 2013 +0100
rtnl: simplify route_new()
Drop most of the arguments and instead introduce set_dst_prefixlen().
commit fc25d7f8050f262fa6cafeb2a1032e6eb3e7b412
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Dec 6 18:16:16 2013 +0100
rtnl: simplify link_new()
Drop most of the arguments and instead introduce link_set_{flags,type}.
commit 23a7f0f721ff4e3b3fd4ed87f7d8e01ebad20093
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Dec 6 15:20:36 2013 +0100
rtnl: match - only match on one type at a time
commit 9d0db17836c867ab2b8f460f649a478bf9f291d2
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Dec 6 15:13:34 2013 +0100
rtnl: clean up/add asserts
commit 3e10a9f410da15a8c8384b2d7fcf29d138c6f327
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Dec 6 16:26:17 2013 +0100
rtnl: add support for receiving route messages
commit aec6d91fb76ee55bb1f200cc4489c89072e656d5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 17:05:51 2013 +0100
bus: increase the bus socket buffer to 8 MB similar, to the log socket buffers
commit 10e4e52be8246fde0835212125ef97fea962df1b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 17:05:42 2013 +0100
update TODO
commit 92d75ca419994f3924dc14117b71f8706d9e1f57
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 17:04:36 2013 +0100
util: try harder to increase the send/recv buffers of sockets
If we have the priviliges we will try SO_SNDBUFFORCE/SO_RCVBUFFORCE and
only fall back to SO_SNDBUF/SO_RCVBUF if that fails.
commit 4b8268f843b0da1cfe1995d93a0b1f95faccc454
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 15 21:07:47 2013 -0500
catalog: fix language detection
Detection would fail if language was not specified in the filename
but a dot appeared somewhere higher in the path.
commit 2cfbd749af308bdbe56edcfed7f3eea0fc2b93d2
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 04:59:31 2013 +0100
core: refuse doing %h, %s, %U specifier resolving in PID 1
These specifiers require NSS lookups to work, and we really shouldn't do
them from PID 1 hence. With this change they are now only supported for
user systemd instance, or when the configured user for a unit is root.
commit 213298fb822258bb69c6b85b7c8d7f019fd2306a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 04:43:42 2013 +0100
build-sys: warn if builds are not byte-by-byte reproducible due to usage of __DATE__ and suchlike
commit 8e050193e17ed002f7608ba1b1fe3371a8bb182c
Author: Colin Walters <walters at verbum.org>
Date: Sun Dec 15 20:23:23 2013 -0500
Fix segv introduced by 2fd069b18e525860514a70d3ea08410ca122d3e2
n->path is pointing to the value now, we set s = NULL above.
commit 16f4efb4150c65e3c61adaa8ea512489de49f532
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 16 00:04:40 2013 +0100
build-sys: add cppcheck target
This uses --enable=all mode. Should be taken with a grain of salt
though. While many recommendations make sense we should probably keep
"int r" always on function scope, and many of the portability warnings
really don't matter to us because we only care for Linux/glibc.
commit b5dd8148730db080b48b874c214f8f74ae787d6b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 15 16:26:27 2013 -0500
Fix a few signed/unsigned format string issues
Since numbers involved are all small, behaviour was correct already.
https://bugzilla.redhat.com/show_bug.cgi?id=1043304
commit 2fd069b18e525860514a70d3ea08410ca122d3e2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 15 16:25:04 2013 -0500
Fix a few resource leaks in error paths
https://bugzilla.redhat.com/show_bug.cgi?id=1043304
commit 9bfa2c029d4367406bda9b8984e579e0b06b3b2b
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Dec 15 23:43:47 2013 +0100
bus: _printf_ attributes should be on prototypes not function definitions for non-static functions
commit b6c631f378b4e5a9b68ef34f103b2ece21a9e9fa
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Dec 15 16:56:28 2013 +0100
bus: update kdbus monitoring interface
commit d9de321f785a075fb31508cd695abb1b02a24832
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 14 23:09:14 2013 -0500
udev-builtin-path: fix printf specifiers
commit 5958d08962a11950287bc7eaa4094a9c15c798d1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 14 22:18:49 2013 -0500
bus: return negative errno on error
https://bugs.freedesktop.org/show_bug.cgi?id=72688
commit 899839b9f87a46b49bb3f0eccb9133a8b07c1be7
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Dec 15 02:29:38 2013 +0100
test-journal-syslog: use streq_ptr since we pass in NULL
commit 815ebc540daf5cede58570bbeb0a4106e201c52e
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Sun Dec 15 00:05:38 2013 +0100
systemctl: add the --plain option to the help message
commit 6baf995c17a95ca0d6b5ad0b1f1667c956574816
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 14 17:30:25 2013 -0500
man: remove advice to avoid setting the same var more than once
So far the compatibility with .desktop settings hasn't been imporant
at all, and we do not want people to write convoluted unit
files.
commit ec6039bc08f8e77f92427afec048e4f8ac4b81a8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Dec 14 17:21:55 2013 -0500
man: beef up ExecStart description
We have lots of questions from people who assume that shell syntax works
here, so let's be very explicit what is allowed and what is not. A few
examples should also help.
http://bugs.debian.org/732156
commit 5d5f8ffa077b0f4716d5178734601a0c27f575df
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sat Dec 14 09:27:44 2013 -0800
build: use -ftrapv for development
We want to find these bugs if they exist.
commit 9091e686f43184065381aa71929e3df36a4ea2e1
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Dec 14 13:09:07 2013 +0100
Add more _printf_'s for format-nonliterals
Clang is a bit more strict wrt format-nonliterals:
http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking
Adding these extra printf attributes also makes gcc able to find more
problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c
Some parts looked intetional about breaking the format-nonliteral check.
I added some supression for warnings there.
commit 8d35dae708ffbb88f1b023964913d3d53d4a7418
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 14 05:08:47 2013 +0100
event: some snake-oil to speed up impossible error checks
commit 9a800b5622b0feec879c3f5c81f7af5a8640e57c
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 14 05:08:15 2013 +0100
event: instead of reset the revents field when we get new revents data from epoll, OR it in
commit 15b38f936e257d14854f38bf39357b0b2a5c1e66
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 14 05:07:13 2013 +0100
event: dynamically adjust size of events array instead of pre-allocating it possibly too large or too small
commit e04b0cdb9001edec916216e1fd7b6e814bc46fc3
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 14 05:06:40 2013 +0100
util: port last code over to new namespace utility calls
commit 5e2b3214aa6e9bb3559552d2218ce2eda312c1fc
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Dec 14 05:04:49 2013 +0100
util: when joining a namespace make sure to reset all uids to 0 after
the transition
commit bc9fd78c7bfc39881e19457e476393635f8b0442
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 22:02:47 2013 +0100
bus: when connecting to a container's kdbus instance, enter namespace first
Previously we'd open the connection in the originating namespace, which
meant most peers of the bus would not be able to make sense of the
PID/UID/... identity of us since we didn't exist in the namespace they
run in. However they require this identity for privilege decisions,
hence disallowing access to anything from the host.
Instead, when connecting to a container, create a temporary subprocess,
make it join the container's namespace and then connect from there to
the kdbus instance. This is similar to how we do it for socket
conections already.
THis also unifies the namespacing code used by machinectl and the bus
APIs.
commit 3fa5dd6de798e17d93531bc900b8e2dc587c38f3
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 13 23:21:35 2013 +0100
getty-generator: fix stripping /dev/
commit 7c9a6f906308a6474f1ebb98058c4a33a02c33f1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 20:29:35 2013 +0100
bus: install systemd-bus-proxyd unit files for compatibility with dbus1
commit 207d1d0922d4e668cc6fac98be39e5a8b83ebc8a
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 20:36:02 2013 +0100
getty-generator: fix segfault when $container_ttys is not set
commit 9d3e3aa58dc4e76586b20a7b60c0495ae83a678f
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 17:39:52 2013 +0100
event: make gcc shut up
commit 49cf4ece205bf23c39c30a633a20e22260fc1706
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 17:33:20 2013 +0100
journal: downgrade comments about sd_journal_print_with_location()
Effectviely these calls are ABI anyway, so downgrade the comments a bit,
since it might actually be useful for language bindings to make use of
them.
commit 58f299eef635d538474cda62ad72dc024c10cdb6
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 17:16:06 2013 +0100
update TODO
commit ffaf95cc1885f66eb96de9e6911694c88b698b54
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 17:15:05 2013 +0100
man: document that systemd-getty-generator can start additional container gettys on ptys
commit 1d97ff7dd71902a5604c2fed8964925d54e09de9
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 16:37:58 2013 +0100
getty-generator: look add an environment variable $container_ttys set for PID 1 and start gettys on all ttys listed therein
commit f4889f656b477887b02caa5e9d27387309c75a87
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 16:37:16 2013 +0100
nspawn: add new --setenv= switch to set an environment variable for the container to spawn
commit a56b63f41dc779a86573ae77814c14c1db156398
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 16:01:54 2013 +0100
man: document more error codes for sd_bus_request_name()
commit 043ccd8383a36a9d4f7b37c04670c9e6a57f391d
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Fri Dec 13 12:12:24 2013 +0100
libsystemd-bus: the same error codes for sd_bus_release_name() (for kdbus and dbus1)
Due to this patch, sd_bus_release_name() function
returns the same code errors for kdbus and dbus1
if we try release non-existing name or foreign
name.
commit c97a6dbcf10990bcc2455e842a41bf14b01f358d
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Fri Dec 13 10:26:55 2013 +0100
build-sys: fix help text for --enable-kdbus
commit 9f97c93671554dd3c46588b7c31031d26440ba34
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 05:14:47 2013 +0100
update TODO
commit 6d6f4904aaa5047370949093cd63d0fc2a4a83b8
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 05:13:31 2013 +0100
bus: when a connection terminated use ECONNRESET as error
commit 1e05d493b729beaa947b449a60ed387ee77e5da7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 05:12:46 2013 +0100
bus: rework how we attach fds to event loops
When trying a couple of addresses one after the other, make sure to
reattach the fds to the event loop.
commit 30caf8f3afd29da8507c0edbcead7935604c9f3e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 05:13:59 2013 +0100
event: add ability to change fd of an active event source
commit 8f726607ece2b49980152a53845aefde858768a5
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 04:14:25 2013 +0100
event: allow to query userdata and watchdog state
commit f9f4dd51bdb016bab84f7fb3cf47a2ad102b4c76
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Dec 12 23:14:48 2013 -0500
man: add another nspawn example
Taken from https://bugs.freedesktop.org/show_bug.cgi?id=68369.
commit 12179984a38fe74581333fbcdc11c822d81f505f
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 04:03:30 2013 +0100
event: when unreffing an event source from its own handler, detach fd from epoll
The pattern of unreffing an IO event source and then closing its fd is
frequently seen in even source callbacks. Previously this likely
resultet in us removing the fd from the epoll after it was closed which
is problematic, since while we were dispatching we always kept an extra
reference to event source objects because we might still need it later.
commit 7b77ed8cf36e8eca6017791626044b61ae2d68e7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 03:30:42 2013 +0100
event: be more conservative when returning errors from event handler callbacks
We really should return errors from event handlers if we have a
continous problem and don't know any other solution.
commit c5ef10429a7768e3453f29e8c85cb560ce382649
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 02:43:35 2013 +0100
git: update .gitignore
commit 6b46ea73e3b1d8a1e65f58ac04772821bd4a72fb
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Dec 13 02:05:04 2013 +0100
namespace: include boot id in private tmp directories
This way it is easy to only exclude directories from the current boot
from automatic clean up in /var/tmp.
Also, pick a longer name for the directories so that are globs in
tmp.conf can be simpler yet equally accurate.
commit 6203e07a83214a55bb1f88508fcda2005c601dea
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 22:21:25 2013 +0100
event: rework sd-event exit logic
With this change a failing event source handler will not cause the
entire event loop to fail. Instead, we just disable the specific event
source, log a message at debug level and go on.
This also introduces a new concept of "exit code" which can be stored in
the event loop and is returned by sd_event_loop(). We also rename "quit"
to "exit" everywhere else.
Altogether this should make things more robus and keep errors local
while still providing a way to return event loop errors in a clear way.
commit 6e41a3e53d858f30e131c62350f51465558ca55c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 22:18:09 2013 +0100
bus: fix make check
commit 33cb6e7934a57f508a164eb6d33a044efad75ab7
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 22:17:38 2013 +0100
bus: properly parse NameOwnerChanged messages when caller explicitly wants to match against names coming/going
commit b408e2a8be6b87fd1796c45a767d00bbb00d7148
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 22:01:40 2013 +0100
man: update sd_bus_request_name() man page
commit 11846aa74680bab65711427b1e7702e783b2894c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 21:25:47 2013 +0100
bus: make sure exit-on-idle logic works on kdbus systems that do not generate NameLost
commit 2c8d477a01cd154bbaab6c46a5ffeed3e55f1a6b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 21:25:31 2013 +0100
bus: fix parsing of matches against empty strings
commit 5fba7bbfa47ef5c03a28000252d06ec82405d461
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 12 23:08:47 2013 +0100
scan-build: silence some warnings
test-fileio/test-strv:
Use the streq_ptr to make build-scan not worry about passing in a null
to a nonnull function.
test-dhcp-option:
Prevent a theoretical null pointer dereference
commit e4bb80a07610e6559aa6d2d763fd0b78634a4b12
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 20:43:37 2013 +0100
bus: fix rewind logic
commit c4ef331782b4c0c615a258d3a4e6c71d8ccc67e1
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 20:16:06 2013 +0100
service: process watchdog timeouts with lowest priority
commit 5bb658a1784a0fd4f0f32adb4b1fb636ff503f7d
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Dec 12 20:26:48 2013 +0100
bus: remove explicit activator-specific flags, the kdbus supports it now
commit 07442efff8d14ab18b0bc55ceba62b26aa055318
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Dec 12 20:19:12 2013 +0100
bus: update kdbus.h
commit 3df7a7e610eece1362d0ab148f3d92b2c98277a1
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 20:00:19 2013 +0100
bus: always pass valid timeout to kdbus
commit 0f437184b687af58c5c4b2e3201a83d98485b0e4
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 19:58:46 2013 +0100
bus: enforce endianess and marshalling for messages we send
commit 9ff09bcb86fb125768667aca9bc0b10b1745370a
Author: Shawn Landden <shawn at churchofgit.com>
Date: Thu Dec 12 10:00:03 2013 -0800
timedatectl: work with old timedated
Which does have TimeUSec. Should we specifically check for this method
instead of assuming time=0 means it doesn't exist?
Before:
shawn at debian-T61:~/git/systemd$ ./timedatectl
Local time: Wed 1969-12-31 16:00:00 PST
Universal time: Thu 1970-01-01 00:00:00 UTC
RTC time: n/a
Timezone: America/Los_Angeles (PST, -0800)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Sun 1969-10-26 01:59:59 PDT
Sun 1969-10-26 01:00:00 PST
Next DST change: DST begins (the clock jumps one hour forward) at
Sun 1970-04-26 01:59:59 PST
Sun 1970-04-26 03:00:00 PDT
After:
shawn at debian-T61:~/git/systemd$ ./timedatectl
Local time: Wed 2013-12-11 14:03:21 PST
Universal time: Wed 2013-12-11 22:03:21 UTC
RTC time: n/a
Timezone: America/Los_Angeles (PST, -0800)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Sun 2013-11-03 01:59:59 PDT
Sun 2013-11-03 01:00:00 PST
Next DST change: DST begins (the clock jumps one hour forward) at
Sun 2014-03-09 01:59:59 PST
Sun 2014-03-09 03:00:00 PDT
commit 189b2384d6d2f049fe84ac88d7b85d03d277561f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Dec 12 11:42:45 2013 -0500
build-sys: use internal library for dhcp client tests
Also clean up AM_CFLAGS in a few places.
commit d2fe46b514ef3f6e0c0eb16b2d853c6dd6fa1808
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:32 2013 +0200
dhcp: Add function to free DHCP client data
commit 751246ee37cf0cd72baf378f1b9c1ac04f8b8c9b
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:31 2013 +0200
dhcp: Add notification callback
Define a notification callback and events for stopping and client
lease expiry. Add functions to fetch IP parameters from a lease.
commit 51debc1e396a14d7c1204d8661c4eb1056c47670
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:30 2013 +0200
dhcp: Compute expire, T1 and T2 timers
Compute the default T1 and T2 timer values if they were not set by
the DHCP server. Verify that the values are reasonable.
commit 3e3d8f7857a7a59d62cc5bd1e4e792dc4d0f40b3
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:29 2013 +0200
dhcp: Process DHCP Ack/Nak message
Process a DHCP Ack/Nak in much the same way as an DHCP Offer. Factor
out header verification and process options sent. Add notification
functionality with discrete values for the outcome of the DHCP Ack/
Nak processing.
commit 564ba3b0efbcaf8d5881dbfb80d3c0b174ccaba5
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:28 2013 +0200
dhcp: Add maximum message size option
Add maximum message size option to keep some DHCP server implementations
from sending too big messages. See ConnMan commit
0c5c862749c05193cf4c513628328c6db02b5222.
commit e2dfc79f0624dfbfa30156880b31b13510405f54
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:27 2013 +0200
dhcp: Send DHCP Request to acquire an IP address
Create and send a DHCP Request message reusing already existing parts
of the code. This causes factoring out IP and UDP header creation and
moving next timeout calculation to be done every time in the timer
callback function independent of DHCP state. Also add an exponential
part to the timer calculation, bail out if there are errors while
resending the DHCP message for the sixth or more times.
commit 8c00042c939938818365753023ff2d50f984dec6
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:26 2013 +0200
dhcp: Handle received DHCP Offer message
Create a function for handling the full IP, UDP and DHCP packet
and tie it to the main loop. Verify IP and UDP headers and checksum.
Creat a new lease structure with using the values supplied in the
DHCP message. Free the lease structure when client is stopped.
Split out socket handling into a creation and a sending part. As a
result modify the test code.
commit d3d8ac2f2bac721d99f893c0a0128d21db636d4c
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:25 2013 +0200
dhcp: Add timeout and main loop support
Require a main loop to be set when creating a DHCP client. Set up
a timer to resend DHCP Discover messages and add a 0-2 second
delay to the timeout value. Move to state Selecting after successful
sending of a Discover message.
commit 117539f8b76b3517834f4e57e85aeb3a73326a0d
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:24 2013 +0200
build: Add dependency on libsystemd-bus needed for main loop
commit bbdf06d9f242e2c5a699c3c5820bf6e09e8d174d
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:23 2013 +0200
dhcp: Add function to stop the DHCP client
The client is stopped and brought back to its initial state.
commit f5a70de7a9a9e8a37ba96f89ad75fcc31336bfa3
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:22 2013 +0200
dhcp: Support seconds elapsed since start of DHCP negotiation
It was noticed by Grant Erickson in ConnMan commit
95e15c09350acf58d4707056ae2614570883ef66 that:
"Certain DHCP servers, such as that implemented in Mac OS X
(< 10.7) for its "Internet Sharing" feature, refuse to issue
a DHCP lease to clients that have not set a non-zero value
in their DISCOVER or REQUEST packets."
commit 290c7324ca6ed22bcb6f4d644765aefeb47dc9de
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:21 2013 +0200
dhcp: Add test for discover DHCP packet creation
Set a fake MAC address and emulate raw packet sending. When the buffer
containing the Discover message is received, check selected IP and
UDP headers and compute IP header and UDP message checksums. Also
send the DHCP message for option parsing and expect a successful
outcome.
commit e1c244dea0248116a61152b3433981f1b90b2273
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:20 2013 +0200
build: Add libsystemd-dhcp
commit 46a66b794a00e0f34981ac25dbf2eae2423b6215
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:19 2013 +0200
dhcp: Add DHCP discover sending
On starting the client, use the supplied interface mac address and create
a transaction id. Puzzle together an IP/UDP/DHCP Discover message, compute
checksums and send it out as a raw packet.
Create an additional function that constructs default options common to
all DHCP messages.
Set the DHCP Client ID option as noticed by Grant Erickson in ConnMan
commit b18d9798b3a0ae46ed87d6d2be8d5a474bf3ab1e:
"Some Internet gateways and Wi-Fi access points are unhappy when the
DHCPv4 client-id option (61) is missing and will refuse to issue a
DHCP lease."
commit 8b4a96932de0c56048fbd7f7386090dc202704f7
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:18 2013 +0200
dhcp: Add function for sending a raw packet
Open a packet socket, create a link level header, send packet and
close socket. Adding it to a separate file makes testing of the
DHCP sending much easier, as the test program can supply any socket
to the DHCP client code.
commit e88bc7958c02305968f2d22dd4455b50fbf911f0
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:17 2013 +0200
shared: Add struct sockaddr_ll to sockaddr_union
commit 39b7f5960044511b72b40853d1c6c64e5d618b1b
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:16 2013 +0200
dhcp: Add test function for computing checksum
commit d8b61a1dc9153c6f22c923b303b6235ff55122a3
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:15 2013 +0200
dhcp: Add option append tests
Add checks for invalid lengths and parameters when using the option
appending function. Add also checks for adding options, see to it
that the resulting array is identical to the array of options added.
commit a10c375e02da66efec40e28142bc22fd8955e968
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:14 2013 +0200
dhcp: Add tests for DHCP options, file and sname fields
Add a structure describing the DHCP file, sname and trailing options
fields. Create a messge holding these fields and call the internal
option parsing function.
In the test callback function verify that only regular options are
passed and figure out which part of the DHCP message is the one that
is being processed. As the test program knows the full contents of
the test options in the test structure, skip all non-regular fields
and verify that the option provided to the callback indeed is the
one expected. Check also if non-regular option fields are to be
ignored in the end of the option field as the callback is not called
again and the final check when the whole message has been processed
needs to be successful.
Add a boolean flag for pretty-printing, anticipate there will be a
nice option to toggle it in the future.
commit 78628cd27355a157bf44df1cb91f782150a7ca20
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:13 2013 +0200
build: Add DHCP option test
commit a0ae95c9be347c1e7fbfe4977f35bfd92775eeb6
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:12 2013 +0200
dhcp: Add buffer length and invalid cookie tests for DHCP options
Create an initial simple test program for these two cases.
commit 524cf45894e8219bb66caca58a451bffdc5167ad
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:11 2013 +0200
dhcp: Add option appending and parsing
Add functions to append and parse DHCP options. Not all options
are passed to the callback function, the ones not exposed are
pad, end, message type and overload. If indicated by the overload
option, file and sname fields will be examined for more options.
The option functions are internal to DHCP, add a new header files
for interal function prototypes.
commit b5d01d174c5cb3d2ae49875d3bc1f233c5412120
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:10 2013 +0200
build: Add initial build support
The client test program is the only one to be built so far.
commit be391925d52bde04ea9b14f868a401d545c67af9
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:09 2013 +0200
dhcp: Add test for DHCP client initialization and parameter setting
commit 011feef852de96a1adaba476037ce01b5efefc35
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:08 2013 +0200
dhcp: Add DHCP client initialization
Provide functionality for initializing a DHCP client struct, setting
interface index, last used address and additional options to request.
On initialization the most useful options are added by default.
commit 5f404b1e680cdac9f8149e73296d1d89044af773
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Mon Dec 9 23:43:07 2013 +0200
dhcp: Add DHCP protocol structures and initial defines
Create a new directory to host DHCP components.
commit e5ca092c27c3fd725e5a8467c36d778dff5fbf98
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 15:58:49 2013 +0100
log: protect errno when we use assert_return()
commit ad5b215d1bb06c908832de9297360b4266aef471
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 15:58:31 2013 +0100
core: suppress gcc warnings on selinux-less systems
commit 01390ca8a23292b6b78ec782a43b29a0d10e4af4
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 15:58:13 2013 +0100
update TODO
commit 2a410422ec0c80c4ffc09f232a9b83f5a3d2a22a
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Thu Dec 12 13:56:13 2013 +0900
shared: add missing include
Needed for socketpair, recv
commit d90bb66996f5e3e9b6987e60980ff721b6fc2aff
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Dec 12 06:23:38 2013 +0100
bus: add SD_BUS_NAME_REPLACE_EXISTING to all activatable services, fix one flags conversion
commit 29a07cdb4a317f2e1ea160b79bfe6eb1be2e6e01
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 05:55:58 2013 +0100
bus: instead of exposing the dbus1 flags when acquiring a name use our own that are closer to kdbus
This turns around DO_NOT_QUEUE into QUEUE which implies a more useful
default. (And negative options are awful anyway.)
commit f8e11cda5316055c381f45bd30843c1b54cd323b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 05:29:56 2013 +0100
bus: properly return an error when we detect a method call timeout
commit 6d99330e26977a9970e33fd83085c8c8c9de660f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 05:23:22 2013 +0100
core: fix bus registration on daemon reexec
commit 4d680aeea1e479f08f3dbdb7430def5d9eefe2ee
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 11 22:00:33 2013 -0500
nspawn: complain and continue if machine has same id
If --link-journal=host or --link-journal=guest is used, this totally
cannot work and we exit with an error. If however --link-journal=auto
or --link-journal=no is used, just display a warning.
Having the same machine id can happen if booting from the same
filesystem as the host. Since other things mostly function correctly,
let's allow that.
https://bugs.freedesktop.org/show_bug.cgi?id=68369
commit 50f72bca65ad291685e5b79903cb6ac3fbc8364d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Dec 11 20:34:19 2013 -0500
Do not log all assert_return failures
% build/journalctl help
Assertion 'match_is_valid(data, size)' failed at ../src/journal/sd-journal.c:227, function sd_journal_add_match(). Ignoring.
Callers cannot be expect to check all arguments always.
commit faf5077f891aa249270b2a3d9f0104c3eec02da6
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Thu Dec 12 00:22:48 2013 +0100
journal: pipe journalctl help output into a pager
journalctl help output might run off the screen, so be consistent
as other systemd tools do and pipe it into a pager.
commit 05b92756f74943a3d8c3ad13f5688c7dd22bd9ab
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 10:38:33 2013 -0500
man: mention SYSTEMD_USER_WANTS
Also split into paragraphs for easier reading and make a few minor
corrections.
commit 7596e9e10a433c2104a2616dd8dd429a4243e38a
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 03:03:03 2013 +0100
service: actually leave watchdog enabled in the states where it matters
commit fe2b58a4ff8dc1cdf7081bd071bad8450db51423
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 03:00:57 2013 +0100
timedated: make sure GetAll() succeeds in systems lacking /dev/rtc (such as containers)
commit d514feaa872820d5cb4e9321ad32673c09fbb3f4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 12 00:06:30 2013 +0100
test-fileio: replace mktemp with mkstemp to avoid warnings
This is a fairly useless thing to do but it makes the compilers
and analyzers shut up about the use of mktemp.
commit d78bf250b0e31b42eb8b86ebe3ee775b247bfcf8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 01:42:41 2013 +0100
bus: properly generate NameOwnerChanged messages when we take from/give back to queue/starter
commit 689bd78d108819b362e75af42536725c56b5e939
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 01:39:32 2013 +0100
bus: fix order in which we check creds
commit 0a825b5cd4adb4d9dadfb2e237cdceae09399804
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 01:39:21 2013 +0100
update TODO
commit 7f7030e23ea82b9576472c95680dfbb59d842a54
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 00:35:23 2013 +0100
bus: update name listing logic to current kernel interface
commit 6a4abbc87721b1323ef2a2b1eab3b4b333a5c006
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 00:20:11 2013 +0100
bus: when checking whether a creds object contains some field, don't use assert_return()
These are not programming errors, so they shouldn't use assert_return()
commit 9e5548644f76e893c246d54ae613856b67b8dc1d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 12 00:07:49 2013 +0100
bus: connect directly via kdbus in sd_bus_open_system_container()
kdbus fortunately exposes the container's busses in the host fs, hence
we can access it directly instead of doing the namespacing dance.
commit ba276c8153e510a6741dc8a9492f5bed2b375825
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 23:41:21 2013 +0100
sd-event: try to move each wakeup to the same spot within every 10s
In addition to the same spot within every 1min, every 1s, every 250s
commit 21c6dc33a6fc0e8617247fc12123bc667dcde92b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 23:36:59 2013 +0100
journald: make sure the stdout/stderr stream fd is removed from epoll before we close it
commit b3de50cb07bb49c4e24287002eca1e95c490f90d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 23:31:34 2013 +0100
units: don't run readahead done timers in containers
We don't run the collector in the container either, hence we don't need
to stop it either.
commit e9174f29c7e3ee45137537b126458718913a3ec5
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 23:31:07 2013 +0100
journald: cache cgroup root path, instead of querying it on every incoming log message
commit 897395791f53064d8c9a18cf6b6567404fbedf15
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 23:10:36 2013 +0100
journal: when listing logs of a container make sure we don't accidentally show messages from host too
commit 0c24bb2346b6b6232d67aacd5236b56ea4989de4
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 22:55:57 2013 +0100
journald: cache hostname, boot_id and machine_id fields instead of generating them fresh for each log entry
commit 91bf3b3e124575f6f647bff29766e9d992f55b32
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 22:17:15 2013 +0100
journal: don't go belly up when an stdout/stderr client terminates the connection
commit b6741478e7661c7e580e5dcfd6a6fccd1899c1d0
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 22:04:03 2013 +0100
journal: add ability to browse journals of running OS containers
This adds the new library call sd_journal_open_container() and a new
"-M" switch to journalctl. Particular care is taken that journalctl's
"-b" switch resolves to the current boot ID of the container, not the
host.
commit 842129f58752864d4433792c9c47d40508c4439a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 20:49:43 2013 +0100
service: clean up watchdog logic a bit
commit f9a810bedacf1da7c505c1786a2416d592665926
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 20:13:44 2013 +0100
journald: port to sd-event and enable watchdog support
commit 419173e60a05424008fcd312f6df4b59b2ce8e62
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 18:38:51 2013 +0100
man: explain in more detail how SYSTEMD_READY= influences SYSTEMD_WANTS= in udev rules
https://bugzilla.redhat.com/show_bug.cgi?id=1026860
commit cde93897cdefdd7c7f66c400a61e42ceee5f6a46
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 18:14:52 2013 +0100
event: hook up sd-event with the service watchdog logic
Adds a new call sd_event_set_watchdog() that can be used to hook up the
event loop with the watchdog supervision logic of systemd. If enabled
and $WATCHDOG_USEC is set the event loop will ping the invoking systemd
daemon right after coming back from epoll_wait() but not more often than
$WATCHDOG_USEC/4. The epoll_wait() will sleep no longer than
$WATCHDOG_USEC/4*3, to make sure the service manager is called in time.
This means that setting WatchdogSec= in a .service file and calling
sd_event_set_watchdog() in your daemon is enough to hook it up with the
watchdog logic.
commit 08cd15525450ff2c2ac814a58930f6d82284a1ba
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Dec 11 03:50:35 2013 +0000
event: when handling SIGCHLD of a child process only reap after dispatching event source
That way the even source callback is run with the zombie process still
around so that it can access /proc/$PID/ and similar, and so that it can
be sure that the PID has not been reused yet.
commit e599ba01f564161966b3b8c93cc229daf847e807
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 11 05:30:46 2013 +0100
bus: kdbus - skip only STARTER and IN_QUEUE names for NameOwnerChanged
commit c099716487df4a4f5394e57e7ca14da1d358166a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 10 21:52:11 2013 -0500
activate: clean up inherited descriptors
> [simon at troela server]$ /usr/lib/systemd/systemd-activate -l 9000 main.js
> Assertion 'fd == 3 + count' failed at src/activate/activate.c:115,
> function open_sockets(). Aborting.
> Aborted (core dumped)
> after a bit debuging i found the problem:
> slim appears to leak an fd into all of its children:
> stat /proc/14004/fd/3 (14004 is the pid a random process in my session)
> File: '/proc/14004/fd/3' -> '/var/log/slim.log'
systemd-activate should be robust against the shell (or anything else) leaking
descriptors. Now everything except stdin/stdout/stderr and received sockets
will be closed.
commit 8be12848423218c034cfa7e3078774c9d4732281
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 10 20:27:14 2013 -0500
Update README with test/ requirements
commit e3bfb7be07d9b1f4ebb12eb22c4c8bcd2a988d51
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 10 06:17:01 2013 -0500
journald: malloc less when streaming messages
commit 90d14d2015dda79c7b465b74dd3aaf2dfc25d43c
Author: Luke Shumaker <LukeShu at sbcglobal.net>
Date: Sat Nov 23 04:57:43 2013 -0500
ptyfwd: Don't set the output prop of stdin, nor the input props of stdout.
It was calling cfmakeraw(3) on the properties for STDIN_FILENO; cfmakeraw
sets both input and output properties. If (and only if) stdin and stdout
are the same device is this correct. Otherwise, we must change only the
input properties of stdin, and only the output properties of stdout.
commit eaf73b061604c028aa28f960870a9b46aab2f76a
Author: Luke Shumaker <LukeShu at sbcglobal.net>
Date: Sat Nov 23 04:57:42 2013 -0500
ptyfwd: Set the size of the PTY base on the size of stdout, not stdin.
commit 559a4d4cda0155708e5f0797afeb8e80a4e26e43
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Mon Dec 2 23:26:55 2013 +0100
core: fix Unit.SetProperties argument parsing
SetProperties has signature "ba(sv)", but the bus_unit_set_properties()
helper already does a enter_container('a', "sv") so we have to skip it in
bus_unit_method_set_properties().
commit f820cf99c1cdb58e270fdf92389fea0413c1484e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 23:11:10 2013 +0000
bus: do not dispatch incoming method calls that are broacasted to vtables
commit a82cafb97bf841deded572cd4ade039853cbdc4e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 23:06:50 2013 +0000
bus: don't generate assert warnings when we detach a detached bus from an event
commit 80caea6cc72ebd311a311b1527cc6b87201c13bf
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 22:50:19 2013 +0000
update TODO
commit 9a636ed8096fa44927f182ac3eaef4104866d4a9
Author: Shawn Landden <shawn at churchofgit.com>
Date: Mon Dec 9 14:08:59 2013 -0800
core: epoll and signalfd has been moved into sd event loop
commit 96115cdfe0241ae9b4e7177cd3874c0a93d00b39
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Dec 10 22:30:46 2013 +0100
fix scan-build issues
The static analyzer scan-build had a few issues with analysing
parts of systemd.
gpt-auto-generator.c:
scan-build could not find blkid.h. Whether it should be blkid.h or
blkid/blkid.h seems to depend on the version used. We already use
blkid/blkid.h in udev-builtin-blkid.c so it seems safe to use that
here too.
Makefile.am:
Moved some -D's from CFLAGS to CPPFLAGS. I also simplified them a
bit and got rid of a left over DBUS_CFLAGS.
test-cgroup-mask.c/test-sched-prio.c
A variable was added to store the replaced TEST_DIR. When wrapped
in an assert_se TEST_DIR was not replaced in the logged error.
While not an issue introduced in this patch we might as well fix
it up while we are here.
commit ff4994c50717be97ad4df3dc77fce5125f881c7c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 20:38:51 2013 +0000
bus: generate debug messages when we cannot deliver messages via kdbus
commit 5b1bc83f81bf318aa365dc539b2e0be00fdaa63b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 20:38:04 2013 +0000
bus: when we _unref() a NULL pointer, don't use assert_return()
We support unreffing NULL pointers just fine and we shouldn't pay the
_unlikely_() price for it, not get a debug message if we do, hence let's
not use assert_return() here.
commit c8fa3f60302f6d1bf7b2f7b31fb7e5a46b3d53c1
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Tue Dec 3 15:17:55 2013 +0100
bus: Add bus_kernel_monitor function
commit 65a6df56f136ed3977f7fcd688f62a25371506fa
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 19:52:16 2013 +0000
hashmap: make gcc shut up on old glibcs that lack getauxval()
commit 14c1025934e709d07948c13ca62b40c35c91d111
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 19:51:47 2013 +0000
journald: use a bit more cleanup magic!
commit 35460afc4896b22b0df743b70003e8768d78111a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 19:31:10 2013 +0000
Revert "libsystemd-bus: use assert_return"
This reverts commit f7e2bd5a8070ba86cba6bcbf7d1c9a8173d846d4.
Most of these checks are not programming errors, but happen during
normal runtime. For example bus_kernel_pop_memfd() is called all the
time on non-kdbus systems and is supposed to quickly fail if kdbus is
not available. However, assert_return() makes this failure
expensive, and hence has no place here. With the most recent change to
assert_return() it will even log a debug message, which should never
happen here.
commit ecad10fe4a4c247da72cafbc7b37f843c7c30c06
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 18:53:08 2013 +0000
Revert "systemd: add a start job for all units in SYSTEMD_[USER_]WANTS="
This reverts commit e775289d56ace2f8d23e62ed79316d71332d6d05.
We really should let the dependency logic add jobs for dependencies here
rather than manually adding in jobs, overtaping the real problem.
commit 98088803bb2a9f89b7bbc063123dda3343138f18
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 18:53:03 2013 +0000
util: check for overflow in greedy_realloc()
commit e77f18939b849e636591309ef2f400b6dd537b60
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Dec 10 19:26:51 2013 +0100
bus: update kdbus.h
commit 145b1f799ff6712f333cef92c44218254a1320c5
Author: Shawn Landden <shawn at churchofgit.com>
Date: Tue Dec 10 09:28:26 2013 -0800
core/manager: remove infinite loop
commit 80514f9c9bb86dbba761e4b026e5d62156ea112c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 17:01:10 2013 +0000
macro: log assertion at debug level in assert_return()
commit 6e8df5f00a3874decf1e5542da3d65b25f6da1dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 16:49:00 2013 +0000
bus: introduce new SD_BUS_VTABLE_HIDDEN flag for vtable members
When this flag is set then its member will not be shown in the
introspection data. Also, properties with this flag set will not be
included in GetAll() responses.
commit adacb9575a09981fcf11279f2f661e3fc21e58ff
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 16:41:39 2013 +0000
bus: introduce "trusted" bus concept and encode access control in object vtables
Introduces a new concept of "trusted" vs. "untrusted" busses. For the
latter libsystemd-bus will automatically do per-method access control,
for the former all access is automatically granted. Per-method access
control is encoded in the vtables: by default all methods are only
accessible to privileged clients. If the SD_BUS_VTABLE_UNPRIVILEGED flag
is set for a method it is accessible to unprivileged clients too. By
default whether a client is privileged is determined via checking for
its CAP_SYS_ADMIN capability, but this can be altered via the
SD_BUS_VTABLE_CAPABILITY() macro that can be ORed into the flags field
of the method.
Writable properties are also subject to SD_BUS_VTABLE_UNPRIVILEGED and
SD_BUS_VTABLE_CAPABILITY() for controlling write access to them. Note
however that read access is unrestricted, as PropertiesChanged messages
might send out the values anyway as an unrestricted broadcast.
By default the system bus is set to "untrusted" and the user bus is
"trusted" since per-method access control on the latter is unnecessary.
On dbus1 busses we check the UID of the caller rather than the
configured capability since the capability cannot be determined without
race. On kdbus the capability is checked if possible from the attached
meta-data of a message and otherwise queried from the sending peer.
This also decorates the vtables of the various daemons we ship with
these flags.
commit 85719154e7412de2d84f64b50b6b98b13981b65f
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Dec 10 16:36:45 2013 +0100
libudev: hwdb - use libudev not systemd logging
commit 739d81ddd005fae2bb82edce5b8a6173c7c48b34
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 10 07:39:42 2013 -0500
test: wrap $LOOPDEV in quotes
Otherwise things go awry if it is not set ('[ -b ]' is not the same as '[ -b "" ]'!).
commit c6a77179a4097df355f0f04b8f3260c76b5e515c
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Sun Dec 8 00:01:53 2013 +0100
test: rework run_qemu
It tries to find a suitable QEMU binary and will use KVM if present.
We can now configure QEMU from outside with 4 variables :
- $QEMU_BIN : path to QEMU's binary
- $KERNEL_APPEND : arguments appended to kernel cmdline
- $KERNEL_BIN : path to a kernel
Default /boot/vmlinuz-$KERNEL_VER
- $INITRD : path to an initramfs
Default /boot/initramfs-${KERNEL_VER}.img
- $QEMU_SMP : number of CPU simulated by QEMU.
Default 1
(from Alexander Graf's script: http://www.spinics.net/lists/kvm/msg72389.html)
commit 1a6dc6534e329f21aa2dcde5b8af4138bb4c11f1
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Sun Dec 8 00:30:16 2013 +0100
test: fix TEST-02-CRYPTSETUP
missing generate_module_dependencies call which prevents dm_mod and
dm_crypt modules to be loaded
commit 4987623d011c534a22a490b17a8e0ec81d1ac30c
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 8 11:27:06 2013 -0600
Bring bootchart code in line with CODING_STYLE
Use double and not float, as there is little to no benefit.
commit 2d43b190901902dbd98ccea77c1d1ddc9e2a9955
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 8 13:27:05 2013 -0600
Ensure unit is journaled for short-lived or oneshot processes
In the time it takes to process incoming log messages, the process we
are logging details for may exit. This means the cgroup data is no
longer available from '/proc'. Unfortunately, the way the code was
structured before, we never log _SYSTEMD_UNIT if we don't have this
cgroup information.
Add an else if case that allows the passed in unit_id to be logged even
if we couldn't capture cgroup information. This ensures a command like
`journalctl -u run-XXX` will return all log messages from a oneshot
process.
commit 06d461ee6f3da6650e6d023d7828455752d70b0b
Author: Shawn Landden <shawn at churchofgit.com>
Date: Mon Dec 9 07:04:06 2013 -0800
update README to not suggest that systemd works without procfs
commit 0234c599218518b1eb478d64d9883ba46e4ce5d8
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Tue Dec 10 03:17:39 2013 -0800
hwdb: Update database of Bluetooth company identifiers
commit 18c92a4958361f333d63507c67a35bbcfd0aa925
Author: Adam Williamson <awilliam at redhat.com>
Date: Mon Dec 9 22:02:25 2013 -0800
correct name of Tajik kbd layout in kbd-model-map
commit 70dc36d17fbd81eead01fb73cc231c83c6d977e9
Author: Adam Williamson <awilliam at redhat.com>
Date: Mon Dec 9 21:58:34 2013 -0800
drop several entries from kbd-model-map whose kbd layouts do not exist
kbd-model-map was generated from system-config-keyboard's keyboard_models.py.
Several of the kbd layouts referred in that file do not exist and, so far as I
can tell, never did. I believe these entries existed simply to provide the xkb
configuration information for those layouts, and there never were matching kbd
entries; the kbd names were entirely notional, to satisfy the need for some
entry or other in that field.
For systemd, the only function of kbd-model-map is to 'match' kbd and xkb
configurations, so it does not make any sense to maintain entries for cases
where only one or the other exists in this context.
commit 8c9552c6b417c8dc8d66019bc8e412c8d736454d
Author: Jason St. John <jstjohn at purdue.edu>
Date: Tue Dec 10 00:10:03 2013 -0500
man: improve wording and comma usage in systemd.journal-fields(7)
Improve wording under "Description" and "_KERNEL_DEVICE="
commit f7e2bd5a8070ba86cba6bcbf7d1c9a8173d846d4
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Mon Dec 9 14:09:25 2013 +0100
libsystemd-bus: use assert_return
commit d838db0d3b1369639ed7572f4f838eda58b8d858
Author: Sébastien Luttringer <seblu at seblu.net>
Date: Thu Dec 5 02:55:05 2013 +0100
kernel-install: fix help output
Kernel install doesn't need the second argument on his command line when
removing.
This is correctly documented in the man page.
commit 5877dc5a7fb6f0033b2a3992cc08f335a3c51d63
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 03:31:52 2013 +0100
test: add gvariant test for empty messages
commit 5f7e8903b275f14d0f41f0542871d09deccb1741
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 03:30:51 2013 +0100
bus: properly handle empty messages
commit 224a1ed4c152c394d42b8a6fd78159af400d5df3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 03:04:16 2013 +0100
bus: empty gvariant arrays should at least get size 1
commit 041b85cf01ac2783d61b22da4eea8503cf8b0d5a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 02:57:46 2013 +0100
bus: it's OK to send messages with an empty payload but non-empty signature
THis might happen when sending arrays with 0 enttries, hence this is not
an indication for a problem.
commit 9bb59c29f009079d871027686a72f091abd6a2a7
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 02:33:33 2013 +0100
bus: update kdbus.h
commit 8f2e44f82018afe8d0854d36524532c6f075877d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 02:33:13 2013 +0100
bus: make gcc shut up
commit a99b3a4a9f54c55cb68e467ae3bd36141782cb15
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:11:43 2013 +0100
update TODO
commit 72d87e65192c688374688f98e579baeaf3b8175f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:07:32 2013 +0100
bus: beef up zero copy test case
commit e1d337d4626728545748302735e9e382b5741e83
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:07:09 2013 +0100
bus: only accept gvariant native endian messages via kdbus
commit d36b70313666b334cc01c0c2344070341f7d0eb3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:06:52 2013 +0100
bus: fix rewinding in gvariant messages
commit 5763192abfdfafa2ca7c14c7d48393f67f28eff7
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:06:29 2013 +0100
bus: fix signature handling when exiting container
commit 0039a203b1fc343bb280d512396886a4aefa4a01
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:05:23 2013 +0100
bus: properly deserialize gvariant fixed size arrays
commit d63850688da41981f43642fe95cf3d6e00c6d69c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:04:36 2013 +0100
bus: handler empty messages correctly when using gvariant marshalling
commit f30976971ce902d2ca04157318f5f3c58d63399c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 10 01:03:41 2013 +0100
bus: suppress creating empty parts in messages
commit 18f5b48f3f0679be4d23d0c279d5d780a9fa4e30
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 9 23:24:17 2013 +0100
bus: rely on explicit eof check instead of checking when mapping payload
This allows us to drop quite a bit of code.
commit 813892259bf6f876975717cee6e2aa2e5b2c451a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 9 23:16:14 2013 +0100
bus: rearrange bus-message.c function order to keep read and write calls together
commit 6647dc6659e1e42b3cff3cf5033ea5624000e650
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 9 23:03:21 2013 +0100
bus: demarshal gvariant
commit d3a485135a98184cba28992752834a1bb4769003
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 9 22:51:35 2013 +0100
extend CODING_STYLE document a bit
commit 171754aa4ae37a6ab626878256f7b664da78ef55
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 18:56:16 2013 -0500
man: document 'is-enabled' output
https://bugzilla.redhat.com/show_bug.cgi?id=953077
commit 04504f93d147b12687d0745e50923740b10138c5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 17:51:25 2013 -0500
systemctl: fix 'is-enabled'
commit d08e75edf9d44540d9744349fc0c47dfb4a7eec8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 17:50:25 2013 -0500
systemctl: simplify argument parsing
commit 4f8f66cb4236783cd3cbee97fefc9aaa8469ac08
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 08:16:59 2013 -0500
Help output spring cleaning
Use [brackets] only for optional elements.
Use <optional> in XML sources.
commit a6c3d202b14939006f39e22179a058159a8512fb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 07:46:46 2013 -0500
kernel-install: add -h/--help
commit 014e7ea7f2361e9431926fca1959d868b9f3a430
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Dec 8 06:46:07 2013 -0500
Trim TODO
commit 272bf69e98f93d859a2321b08ee18c44a9c75a06
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Dec 8 22:28:37 2013 +0100
bootchart: remove dead assignment
commit f92ae4968f070ef0ada61ba7cd585794fac404dd
Author: Dan McGee <dan at archlinux.org>
Date: Sun Dec 8 14:33:45 2013 -0600
Fix memory leak in stdout journal streams
Just as 'identifier' is strdup-ed and freed, we need to do the same for
unit_id.
commit e13bb5d2b133f9ae51c0a2d20aa51071c780e9ae
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Dec 8 06:36:39 2013 +0100
test: cgroup-util - do not fail if cpu controller is not available
commit 4c49ab0e7a7f9f14f4308476257cd3548d0b4694
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Dec 7 21:53:37 2013 +0100
systemctl: fix and refactor wait_for_jobs
wait_for_jobs was ignoring the errors from the jobs stored in r.
It would only ever return whether the call to sd_bus_remove_filter
went ok. This patch changes it to return the first job related error
encountered. If a job related error is found, then the result of the
call to sd_bus_remove_filter is ignored.
wait_for_jobs was a bit hard to read so I split it up to avoid
the goto and deep nesting.
commit d8fba7c6ccea5e60f31f329f481fb2cdf6907ce9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 6 21:29:55 2013 -0500
systemctl: allow globbing in list-<whatever> commands
It is nicer to say 'systemctl list-units ssh\*' then to use grep,
because colouring is preserved and it is easier to match just against
the unit name.
commit 2b6bf07dd23bb467099d213c97b3875c5e453491
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Dec 6 21:29:55 2013 -0500
Get rid of our reimplementation of basename
The only problem is that libgen.h #defines basename to point to it's
own broken implementation instead of the GNU one. This can be fixed
by #undefining basename.
commit f4336098941f94d23f2f6c79bc8d055a0907c392
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Dec 6 19:48:08 2013 +0100
systemctl: check the value from start_unit_one
introduced in f459b6025f9368116d8c410376546c157314c205
commit 4ccbc1461566f97445241524be379b94855608fa
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 6 21:11:37 2013 +0100
bus: catch up with latest kdbus changes
commit 5e16c2575b2edf8f3ca18432a087027662c2621b
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 6 20:19:20 2013 +0100
bus: catch up with latest kdbus changes
commit 354806fb4632575fe2e399dd90ca607c9c127f3b
Author: Bastien Nocera <hadess at hadess.net>
Date: Fri Dec 6 15:51:02 2013 +0100
rfkill: Avoid error when state restore is disabled
When the state restore is disabled, we would print:
"Unknown verb: load" instead of simply skipping loading the
state.
commit a8d4cac55cf9575d19ff5a1747e726387f5a552f
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 6 14:31:43 2013 +0100
bus: catch up with latest kdbus changes
commit d94fe1f1772d5ddbd4a080bda8eac7749083e47c
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 6 13:56:23 2013 +0100
busctl: remove ','; it's all one string
commit 2ed4e5e0b89cd1cf128803a62c0a27dd78e1c12e
Author: Shawn Landden <shawn at churchofgit.com>
Date: Thu Dec 5 06:20:08 2013 -0800
nspawn: fix buggy mount_binds, now works for bind-mounted files
commit 85ca9433abc00d8cc641fceafe9e87dfcd92af4a
Author: Yuxuan Shui <yshuiv7 at gmail.com>
Date: Thu Dec 5 22:30:04 2013 +0800
util: fix misuse of memcmp
commit 86cb0691b71873c6fe30a103dc98153e2d9ab507
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Dec 5 21:33:08 2013 -0500
shell-completion: busctl
commit ff6c70f18bacad842b88bf2bfb86d6e9841c1a16
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Dec 6 01:30:59 2013 +0100
bus: update kdbus.h
commit e775289d56ace2f8d23e62ed79316d71332d6d05
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Dec 5 00:41:12 2013 -0500
systemd: add a start job for all units in SYSTEMD_[USER_]WANTS=
commit a809021a9c330236d520eb329cfb4d52a401e8a0
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 5 22:34:01 2013 +0100
execute.h: remove redefinition of Unit
Unit is typedef'ed in both unit.h and execute.h. The typedef
existed first in unit.h and was later added to execute.h in
c17ec25e4d9bd6c8e8617416f813e25b2ebbafc5
It is no longer needed so let's just keep the one in unit.h to
avoid redefining it.
commit 8edb59a98b8571ffb25a7aaedeaca30f38d5ba0b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Dec 5 22:33:22 2013 +0100
test-bus-gvariant: remove unused variable
commit bc25a2fb66ebf14589bb7ce5ecbd35301ee484ac
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 5 03:16:15 2013 +0100
bus: start maintaining a list of difference between kdbus/dbus1
commit ea6ad56836bcbb09038eb1c0912e97dc8686b1d8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 5 03:09:09 2013 +0100
bus: add missing LE meta data enforcement for gvariant serializer
commit 2f671520ebade4877cbf6aca3572a5f8c4e1871d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 5 02:48:17 2013 +0100
busname: improve condition check
commit c1b9d935725103e95901f347b8981647ce4dd546
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Dec 5 02:46:54 2013 +0100
bus: add support for serializing to gvariant
(deserialization is still missing, hence this is not hooked up to kdbus)
commit 65dae17a2f890b12a07dd4901b3db02b1031c463
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 4 23:36:02 2013 +0100
bus: switch to multiple KDBUS_ITEM_NAME including the flags
commit a8053f197e228437a6c49101a7c513b4955f7883
Author: Alex Jia <ajia at redhat.com>
Date: Wed Dec 4 15:57:50 2013 +0800
man.systemd-cgls: Fix an option typo
The option 'M' is inconsistent between help document and man page.
commit a65c89bbb056b18e069008a4f477aed7af0b316b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Dec 4 23:00:05 2013 +0100
README: remove obsolete paragraph about D-Bus
commit 071066a5e509d0138fd2941f46eb60e0a07106bb
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Dec 4 20:51:03 2013 +0100
systemctl: make an always true assert static
Silences a warning i clang
commit 4fd944ec822414b743bc39de37a4751c729463d3
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Dec 4 20:01:07 2013 +0100
systemctl: no need to fdopen stdout
commit f7d8595113c0e2ffe84c760a325dd9c988161d8d
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 4 19:06:52 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
commit f20c84c15f3fea2f6767cdd7dd50d5273773b044
Author: David Coppa <dcoppa at gmail.com>
Date: Wed Dec 4 12:59:40 2013 +0100
Fix typo: SetChasis -> SetChassis
commit 0a4b9a07872dfbcce523baa795c71eefd1bed7fa
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Dec 4 13:14:23 2013 +0100
TODO: add networkd entries
commit dd3efc0993b6e95ff04775e9125e2fc9d30fe261
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Dec 3 18:48:20 2013 +0100
networkd: add link-sense and simplify state-machine a bit
This listens to rtnetlink for changes to IFF_UP and IFF_LOWER_UP (link sense). The latter
is simply logged at the moment, but will be useful once we add dhcp support.
commit 50b3c42f971f4c9c7791c3b2831f6146ebd15e06
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Dec 4 00:34:58 2013 +0100
rtnl: add link_get_flags
commit 8cec01b9e9b7264639fd1fc0fe373ef4d5baaf49
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Nov 30 01:24:29 2013 +0100
rtnl: add callback support
sd_rtnl_add_match allows you to add a callback function for when given types of
messages are received.
commit a02113d2ea96467dc9f1ec196d5f62a34dd99314
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Dec 3 23:55:45 2013 +0100
rtnl: don't ignore broadcast messages
commit e63bb33d71a524e84206ef94ade3eba441e186c5
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Dec 4 11:47:22 2013 +0100
libsystemd-bus: catch up with latest kdbus list query changes
commit f168c27313e4d7b0aabee037dc9c78a5799f0597
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Dec 3 22:27:45 2013 +0100
trivial coding style clean ups
- Add space between if/for and the opening parentheses
- Place the opening brace on same line as the function (not for udev)
From the CODING_STYLE
Try to use this:
void foo() {
}
instead of this:
void foo()
{
}
commit 53ab52ac6d2a12ba24f3cfd618c12c99871947ed
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Dec 3 21:58:51 2013 +0100
sd-memfd: use assert_return
commit c0a0913218f900e76984179ab959d8fb12bef1fb
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 20:31:34 2013 +0100
bus: fix parsing of AcquireName() response
commit a6aa89122d2fa5e811a72200773068c13bfffea2
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 19:55:51 2013 +0100
bus: don't make use of the private bus socket if kdbus is available
commit 0e7be1293fe70eed47b20f70f74a2a67fc87be17
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 18:58:18 2013 +0100
core: use normal library call to query list of current names
commit 71f2ab468d8413cffdb712083eb4d06dc8b2a271
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 18:42:51 2013 +0100
bus: rework sd_bus_list_names() to return two lists for acquired and activatable names
commit 0461f8cdc1d7b4afee2f2ff40fcaa3c7e26c662c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 18:13:48 2013 +0100
bus: internalize a lot of protocol definitions
We shouldn export what isn't necessary or useful to clients, so let's
add the protocol definitions we only need internally into a private
header.
commit 6c045c0b4c49c88a1d3b9360c05efa5084796d2d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Dec 3 08:07:32 2013 -0500
journal: fail silently in sd_j_sendv() if journal is unavailable
"syslog(3) and sd_journal_print() may largely be used interchangeably
functionality-wise" according to sd_journal_print(3). This socket
should be always available except in rare circumstatances, and we
don't random applications to fail on logging, so let's do what syslog
did. The alternative of forcing all callers to do error handling for
this rare case doesn't really have any benefits, since if they can't
log there isn't much they can do anyway.
https://bugzilla.redhat.com/show_bug.cgi?id=1023041
commit e7176abbe818c75c6acd90227a7a84c3e05fee31
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 18:01:26 2013 +0100
bus: make sd_bus_request_name() and sd_bus_release_name() behave more like other calls
Instead of returning an enum of return codes, make them return error
codes like kdbus does internally.
Also, document this behaviour so that clients can stick to it.
(Also rework bus-control.c to always have to functions for dbus1 vs.
kernel implementation of the various calls.)
commit 059d9fbb5a691ced7428cff5ff1da5681cacf6da
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 16:41:06 2013 +0100
macro: better make IN_SET() macro use const arrays
commit 89fbb95e03dbaf6762a8d83c7dd544b387e9314e
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Dec 3 14:38:53 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
commit cde360cd5de39fb910ebfcc0839f8c3fa465ef8b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 04:27:03 2013 +0100
units: ship busname units for the bus activated services we ship
commit a6e9f2b911ce13618b3f0fcd3d23ecb6471e07ba
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 2 20:29:10 2013 -0500
catalog: rename files to specify language in the filename
commit c7332b0844e28d9b70c3c763b929f105c1056fe8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 2 21:35:31 2013 -0500
catalog: determine language from the filename
commit 6a371e23ee0e47827fb4e3aa469ed84da2599304
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Dec 2 21:52:51 2013 -0500
systemd: treat reload failure as failure
systemctl reload "suceeded" on stopped units, but it is documented
to fail in this case.
https://bugzilla.redhat.com/show_bug.cgi?id=1036845
commit c71ecee578fa2d89d13f11edd7b27001f663bbb5
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 02:07:24 2013 +0100
dbus1: make gcc shut up
commit 144e9e5890c2475145eba08f4400869ebdc892cd
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Dec 3 01:56:13 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
commit dca409bf96497343f7036f76d7034bc7669c7fec
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 01:44:24 2013 +0100
units: create busnames.target for user sessions too
commit 5c817d31d9d239421cf9b01a9c06b90f50b18d75
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 01:41:02 2013 +0100
dbus1: hook busnames.target into normal boot if kdbus is enabled
commit 4c3a127cb631cf5efe8a6aab3fb2884e9044ef2d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 01:24:39 2013 +0100
bus: skip unit file generation for systemd itself
commit 1b16c75cd2da6741824e9843135f55e3b5d23d9d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 01:18:26 2013 +0100
units: install busnames.target by default
commit 674eb68520107d771e3458287025a73387f938c4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Dec 3 01:13:03 2013 +0100
bus: add generator that turns old dbus1 activation files into .busname + .service units
commit e821075a23fdfa3ca7738fc30bb2d4c430fe10c0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 23:30:19 2013 +0100
bus: add .busname unit type to implement kdbus-style bus activation
commit f9638db8de2f915a5c5f6e4b7292494168eb4141
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 23:31:41 2013 +0100
bus: make sure we check for "incompatible" flags negotiated with kernel kdbus
commit 8bf9fcf48853021ac713d7675b89143e4e8b1ce5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 23:10:28 2013 +0100
core: extra paranoia when deserializing kdbus fd
commit cabb78068899232c152f4585f19d023e373aa73d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 23:08:25 2013 +0100
macro: add a macro to test whether a value is in a specified list
Introduce IN_SET() macro to nicely check whether a value a is one of a
few listed values.
This makes writing this:
if (a == 1 || a == 7 || a == 8 || a == 9)
nicer, by allowing this:
if (IN_SET(a, 1, 7, 8, 9))
This is particularly useful for state machine enums.
commit 1ae464e09376853c52075ec4d8a6bfc4b4036d0c
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Dec 2 22:42:01 2013 +0100
Use assert_return in more of the public API
commit c85a5a243bc65b48b2b416315bee0e9057ef7fa3
Author: Daniel Mack <zonque at gmail.com>
Date: Mon Dec 2 20:29:58 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
commit fd5b0b9141728abf503f900200dd8b43248ec9e2
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 19:59:15 2013 +0100
nspawn: make sure /dev/kdbus in the container is world accessible
commit f8a2d1c925bf2edd91a3aab2507ff8102b89f6e6
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 18:47:39 2013 +0100
nspawn: make kdbus namespaces actually work
commit 95c4fe827195b47fad7cc87a3f84bf3af6b657c2
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 18:40:19 2013 +0100
busctl: add command to dump creds of a peer or pid
(also, rename _SD_BUS_CREDS_MAX to _SD_BUX_CRED_ALL, since "MAX" so far
was used to indicate one higher than the highest valid value, and this
is not correct here.)
commit a009c158b098e961fd71db47a31ca15048c9816e
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Mon Dec 2 16:31:46 2013 +0100
Display synthetic message serial number in a more readable format than (uint32_t) -1
Serial=4294967295 field in message dump generated by bus_message_dump()
function for synthetic messages isn't good readable.
commit 006a0b8788681809a896544c1af68b5e79cce121
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 17:17:29 2013 +0100
bus: be nice to LLVM and don't embedd a VLA in a union
commit 6717d473506800363af9d2bafbf263ee054e856d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Dec 2 15:28:20 2013 +0100
bus: when replying to an incoming message and the vtable contains the expected return signature generate an error if the response message doesn't match it
commit 99f37ad86e114b2d1c9eaedf2bc1a0004a265d26
Author: Shawn Landden <shawn at churchofgit.com>
Date: Wed Nov 20 00:35:04 2013 -0800
service: remove unneccesary Socket.got_socket_fd
commit e4afbb3eac5b20cf2fdf240af1caa576600ce152
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sun Dec 1 12:28:32 2013 -0800
build-sys: allow building systemctl with --disable-logind
When logind is disabled, do not attempt to link against the non-existing
libsystemd-login-internal.la library.
commit 537220d9102a12aa4a65d5479130ac2cdb323fff
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Dec 1 18:17:21 2013 +0100
bus: bus_open_user_systemd() fall back to bus if runtime dir is not set
commit 917c03718c98a24dfd2ec089fddd9bec0d307c7d
Author: Daniele Medri <dmedri at gmail.com>
Date: Thu Nov 28 18:58:55 2013 +0100
catalog,po: add Italian translation
commit 4545a231fcccc2ef670ef70f7b38f4e0a04f86ae
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sat Nov 30 11:31:59 2013 +0100
util: add greedy_realloc0()
Compared to greedy_realloc(), this sets all newly allocated memory to 0.
As the old variant has been used a lot for string-handling, we avoid
changing it as clearing memory is not needed there.
commit a0a6be9f6ab55ea76215c7fa4a5eab2235687348
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sat Nov 30 11:37:32 2013 +0100
logind: fix "CanGraphical" attribute to return correct value
We should return seat_can_graphical() instead of seat_can_tty() for the
public dbus CanGraphical attribute. This used to work, but the
dbus -> sd-bus conversion introduced this regression.
commit d78a28e3d7c8736d9addc2e45762d0f511ebbcdb
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sat Nov 30 20:02:27 2013 -0800
fix regression of read_full_file() in fileio.c
my e93c33d4aa broke this stupidly
commit 6da49b8b2f78fd74bb33de961ef8a4c7f727b822
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 30 22:31:31 2013 -0500
shell-completion: systemctl cat
Also update -H help string to follow the binaries.
commit e4c0fbe50c9a4a26efa4ae2b2350215be29b8660
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 30 22:29:33 2013 -0500
systemctl: do not show SourcePath when FragmentPath cannot be found
Those files can be in a completely deferent format and also
arbitrarily long, and usually contain information about other
stuff. If we ever add SourceLine= or SourceLines= in addition
to SourcePath=, and can show the relevant information only, this
commit can be reverted.
commit e93c33d4aadb41427f215d43545e7fadc6bcec6f
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sat Nov 30 16:09:26 2013 -0800
systemctl: add "systemctl cat"
commit f74294c1dabb41faaaa0e03777f0dd33b979eed6
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sat Nov 23 19:52:52 2013 -0800
systemctl: refactor show()
v2, don't leave in unused function
commit 6a44e50f4c0938b0ba355fff21add6c067cd9837
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 30 21:23:01 2013 -0500
man: explicitly say when multiple units can be specified
itistoday> how do you specify multiple dependencies in a unit file? i've been
googling and can't find this basic thing :-\
itistoday> do you use a comma, or use multiple After= statements?
commit 572ce4f7832ffa7a91a582c4098f18cec5662666
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 30 20:27:54 2013 -0500
docs: remove unneeded the's in gudev docs
https://bugs.freedesktop.org/show_bug.cgi?id=72164
commit 75be4e6445793853047414900e0aa1eca16a84bf
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 30 20:10:18 2013 -0500
bus: remove unused variable
commit 7c8e83c6d88c1596df28beaa9b713a4a2f478dbc
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Dec 1 00:26:08 2013 +0100
bus: remove unused variable
commit 27373e442747010dfc195296c0705f67e905a611
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Nov 30 23:45:31 2013 +0100
util.c: check if return value from ttyname_r is > 0 instead of != 0
We must return a negative error code from getttyname_malloc but
that would not be the case if ttyname_r returned a negative value.
ttyname_r should only return EBADF, ENOTTY, or ERANGE so it should
be safe to change.
commit a051da35ce96923e31a532c86a530bfd40d5dc76
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Nov 30 21:59:40 2013 +0100
sysfs-show.c: return negative error
introduced in 1ca208fb4f93e5869704af1812cbff7130a2fc03
commit e5f476db05ed520e6454557eaba7dc32c5d5d3a4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Nov 30 21:55:35 2013 +0100
macro.h: fix typo in comment
commit 98a4025806f478fc791b6bcf2ad4764c2e43b168
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Nov 30 20:41:02 2013 +0100
bus: catch up with kdbus
commit 626851be97b4332fc0401d754c81ae7bbc0f5dc4
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 20:18:48 2013 +0100
bus: do kdbus only if this is enabled on the configure switch
Since we want to retain the ability to break kernel ââ userspace ABI
after the next release, let's not make use by default of kdbus, so that
people with future kernels will not suddenly break with current systemd
versions.
kdbus support is left in all builds but must now be explicitly requested
at runtime (for example via setting $DBUS_SESSION_BUS). Via a configure
switch the old behaviour can be restored. In fact, we change autogen.sh
to do this, so that git builds (which run autogen.sh) get kdbus by
default, but tarball builds (which ue the configure defaults) do not get
it, and hence this stays out of the distros by default.
commit 4734b895641bd1cfb47b2eb62b0ce3f2565aa578
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 19:55:23 2013 +0100
update TODO
commit 763e20e675799e9c8d8b62857cdd01126b62e9a9
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 19:53:33 2013 +0100
bus: use "System.Error." as prefix for implicit errno bus errors
We probably shouldn't use "Posix.Error" since many of the errors have
nothing to do with Posix.
commit 79f8d3d2ce51e992493f2d354a5764262c9d564a
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 19:45:32 2013 +0100
bus: support temporarily const errors that don't need to be freed but require deep copies
This should fix issues with incorrectly copying bus error messages out
of sd_bus_message objects.
Original bug found by: Djalal Harouni
commit b57bdedc87c763aba1b5e8dc5396bfa3ac7d5086
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Nov 30 19:23:16 2013 +0100
libsystemd-bus: sync kdbus.h
commit 9bd37b40fac198fee2ff4eabc8793f1a7f2770fe
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 16:36:46 2013 +0100
nspawn: set up a kdbus namespace when starting a container
commit 3310dfd5bdba0e8218eca1eb6c1fa719adc45bb1
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 16:08:11 2013 +0100
bus: append unique and well known names to all messages unconditionally
commit 49b832c5b810f4d8bb59249ff25472fd670503dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 04:14:10 2013 +0100
bus: include unique and well known names in credentials object
commit 2377ae1ff6ee2987a300d4df17320c2d9c61d23d
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Nov 30 14:14:39 2013 +0100
bus: update kdbus.h
commit 1d0e3c98840d89ec0a4dc521663320632a8516e7
Author: Daniel Mack <zonque at gmail.com>
Date: Sat Nov 30 13:31:04 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
The name list and query functions now work differently in kdbus, as the
result is stored in the connection's pool, rather than being copied back
through the ioctl buffer. That also safes us some logic, as we don't
have to resize the communication buffer in a loop with growing buffer
sizes.
Due to this, KDBUS_CMD_MSG_RELEASE was renamed to KDBUS_CMD_FREE, as it
is now used outside the message logic as well.
commit 683fc3a4480645fd2201e5f7c2e1fee277b3eaa0
Author: David Strauss <david at davidstrauss.net>
Date: Sat Nov 30 16:55:30 2013 +1000
bus-proxyd: Fix CLI help. --bus-path is also usable as -p.
commit e3dd987cfc395848256fc6eae637ed0eaf5f1635
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 03:53:42 2013 +0100
core: allocate a kdbus bus for each systemd instance, if we can
commit 32f464809e8e487739fde53a2feb0afba70c8db7
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 01:49:40 2013 +0100
bus: whenever we notice the connection is terminated enter CLOSING state
commit a43b9ca3049d0f27cdb3bc8dad703e688cba31b3
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 01:02:51 2013 +0100
bus: synthesize local error reply when we cannot deliver a message to kdbus because the destination is unavailable
commit 7adc46fcce257fcf4c83faa18b8c78f2a577e4f1
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 00:19:01 2013 +0100
bus: don't generate NameAcquired/NameLost messages in the library
The signals appear entirely redundant due to NameOwnerChange, hence
don't do them in the new library, instead leave them for the
compatibility bridge only.
Also, set the serial number for synthesized messages to (uint32_t) -1.
commit dff55e5db393af91e912e509aac349cff4786de3
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Nov 30 00:16:49 2013 +0100
build-sys: no longer rebuild various bits and pieces such as man pages each time the Makefile changes
We don't do this for .c files either, even they are also influence quite
a bit by makefile settings. Given that XSLT is a lot slower then the
rest of the build let's make our build a bit faster if people end up
touching the Makefile.
commit 4efbd13a99ef545911df1fa43564486093948d47
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 23:55:09 2013 +0100
bus: revert attempts to make the integration-testing work
fa6ccbf42360cdd794ae3164b76e0cc8f0bd62de
197941a8d5d74d79ca45ae73ec114939a8e88244
547708f59edd73d98edcbe84e95b41f7b3321f3b
commit f252ff1742947afaf035ae133876a4e767ddeb7c
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 21:54:44 2013 +0100
rename stdio-bridge to bus-proxyd
commit 219728b31b853e1ecbf6fd1d61bfdc49d7d07318
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 22:02:43 2013 +0100
bus: synthesize NameLost/NameAcquired from kernel messages on top if NameOwnerChange
commit 51502af33df91237196772ac06fd50190e36e198
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 22:02:14 2013 +0100
bus: fix callback index when dispatching kernel messages
commit 7d22c717329c6317f97ccd0f68040a3a2b98e760
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 21:29:16 2013 +0100
bus: add the ability for backends to queue to input messages at the same time
We need this so that one incoming kernel message can result in two
high-level bus messages, for the case where we synthesize NameAcquired
and NameOwnerChanged in the same instance.
commit 3519d4c895b45adc6e0791e1a344574f78b2d1be
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 21:58:39 2013 +0100
libsystemd-bus: sd_bus_request_name: use kdbus_translate_request_name_flags()
commit 98f17eda0f2958946da2a206e9a614a489304624
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 21:14:07 2013 +0100
libsystemd-bus: rename sd_bus_kernel_translate_request_name_flags
... to keep the namespace clean.
commit 6018903565b130a908481bb405026b7135ecb93b
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 20:44:10 2013 +0100
libsystemd-bus: add kdbus support for sd_bus_get_owner()
commit 87b522ae1936c4da9446ee2e05f7b4560ad549cd
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 17:21:39 2013 +0100
libsystemd-bus: add sd_bus_translate_attach_flags()
Factor out code from sd_bus_negotiate_attach_creds() to a generic
translate function, so it can be used from other places.
commit c931748d20ba75e062b6198721970c6871bf23da
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 16:52:06 2013 +0100
libsystemd-bus: factor out DBus bits out of sd_bus_get_owner()
Just a preparation for upcoming kdbus support.
commit fa6ccbf42360cdd794ae3164b76e0cc8f0bd62de
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 21:34:14 2013 +0100
bus: do not fail if "comm" information cannot be retrieved from /proc
commit c6dfb87f1d6c87c51dd06ebccb6776443c906441
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 21:03:54 2013 +0100
bus: fix size calculation for match data
commit 34a2c9e841f66ffdcd81aeaedacec2195cfd472d
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 20:10:08 2013 +0100
bus: when synthesizing messages locally, fill in a sender
commit b5dda4d84a7ff29081074de8904f882eda3d96c1
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 20:08:54 2013 +0100
busctl: fix --help line breaks
commit 777d7a6123cbb192a8ff9e4ac5c05b1da84b4217
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 20:07:56 2013 +0100
kdbus: synthesize NameOwnerChange signals from kernel messages and support matches against NameOwnerChange
commit a9ed78b0ca1caa8cdb8caecdb5c1fe776974c434
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 20:09:41 2013 +0100
kdbus: add base enums for items
commit 197941a8d5d74d79ca45ae73ec114939a8e88244
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 19:46:59 2013 +0100
bus: do not fail if task information cannot be retrieved from /proc
commit 9bb058a1e050b786c72cbf0e96f6c5f57868cb23
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Fri Nov 29 17:57:00 2013 +0100
libsystemd-bus: clean up bus-control.c file
commit 547708f59edd73d98edcbe84e95b41f7b3321f3b
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 18:57:06 2013 +0100
bus: do not fail if cgroup information cannot be retrieved from /proc
commit 8bd54e897c2a62866e6b15244e784a07ff2b2af4
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 18:37:39 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
commit ea1edeceb158a1d869cccbf9ea71734cf7727520
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 18:10:36 2013 +0100
libsystemd-bus: follow kdbus renames
kdbus now has more generic names for the items it passes around. That
allows for usage from other contexts.
commit c6f3f5b4b3ec439ae911ca0644237d96fd31893e
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Fri Nov 29 07:26:47 2013 -0800
hwdb: Update database of Bluetooth company identifiers
commit c58dea190c4cc66330942ccb7a9d485ff45504d3
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 16:24:40 2013 +0100
libsystemd-bus: copy over kdbus provided 128-bit bus id
kdbus now copies the bus unique id back to userspace in the hello
ioctl(). Use these bytes to set the server id of the sd_bus.
commit d21a7bb1a91ca4654287a69d0443629198e42e1b
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 29 15:36:37 2013 +0100
libsystemd-bus: catch up with latest kdbus changes
kdbus_cmd_hello now has a new uint64_t flags field for the requested
attachments. Follow that change in libsystemd-bus.
commit 71008e18a0bf9e9b96348fe2fb751aea23397186
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 15 18:05:27 2013 +0100
systemd-stdio-bridge: make it socket-activatable and usable as kdbus bridge
Augment systemd-stdio-bridge a bit to make it a 1:1 bridge from legacy
DBus clients to kdbus. In particular,
* allow setting the bus path of the upstream bus as command line
argument
* use sd_listen_fds() for systemd's socket activation
* omit calling sd_bus_negotiate_fds() when upstream bus is kdbus
* reply to bus send errors with proper dbus error messages
* treat -ECONNRESET as expected end-of-connection condition
commit ed99569df8e568c1998c3b47bea33ec24b89d787
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Nov 26 17:24:18 2013 +0100
libsystemd-bus: sd_bus_request_name: fix return value for kdbus
kdbus returns -EALREADY if the requesting connection is already the
owner of a name, and -EEXIST if the name already exists and the
connection is not able to take it over.
Also, n->flags needs a translation as well to match the SD_BUS_* enum
values.
commit 0253ddccbb60918d177c13aa6a70c5e1fc9a7e78
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Nov 26 16:45:50 2013 +0100
libsystemd-bus: kernel: add sd_bus_kernel_translate_request_name_flags
Flags used to request a name from kdbus are not identical to what DBus
and sd_bus use internally. Introduce a simple function to do the
translation for us. It's factored out to a separate function so the
dbus-driver instance can make use of it as well.
commit b6bd53c1ee90338ceb83bf81cc11e81560561204
Author: Daniel Mack <zonque at gmail.com>
Date: Tue Nov 19 16:33:05 2013 +0100
libsystemd-bus: make sd_bus_list_names return all connections, including unique names
commit b147398450c5719022a7b68721bebb9f2df48f29
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 15 16:04:32 2013 +0100
libsystemd-bus: add kdbus support for sd_bus_list_names()
kdbus will tell us the minimum buffer size it needs in case the default
8kb buffer doesn't suffice.
commit 9eb34e82257599399c3defa443d9b3d6aed8c57f
Author: Daniel Mack <zonque at gmail.com>
Date: Fri Nov 15 15:55:27 2013 +0100
libsystemd-bus: bring definitions in sync with kdbus
In particular, KDBUS_ITEM_NEXT is now called KDBUS_PART_NEXT, and
KDBUS_ITEM_FOREACH was renamed to KDBUS_PART_FOREACH and takes one more
argument to make it more flexible.
commit 5461f53f186d4253c690df8d1ae06710e0d17585
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 13:34:16 2013 +0100
bus: when turning a buffer into a sd_bus_message avoid creating zero-length parts
commit 03930e48636e86ad84946253ca2bf4f91deeb645
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 29 02:09:58 2013 +0100
Revert "build-sys: avoid warnings from assert_cc"
This reverts commit f1a1264d13b31b9f5521f482d9a5a9d78da55efb.
We can turn this off with a pragma only on old gcc. Newer gcc doesn't
need this, so let's not turn this off for everybody.
commit 76037baee04c262f5d02a9c43ec9110c82196f36
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 29 11:52:22 2013 +0100
bus: creds - ignore EINVAL when acessing the (inactive) LSM /proc interface
commit 27df44a2c6344da89885dfabac611e5df77b620e
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Fri Nov 29 11:37:10 2013 +0100
bus: Add KDBUS_MSG_SRC_NAMES to bus_kernel_make_message() function
commit 7f4cec699581800449db2cefba3c5527bf918036
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 28 20:43:25 2013 +0100
busctl: drop bus driver name from list of services
commit a4297f08ed774ed6d980b6cadaf844bfb2c7a403
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 28 20:41:55 2013 +0100
bus: merge sd_bus_get_owner() and sd_bus_get_owner_creds() into one call
Since the backing ioctl for this on kdbus is the same we retain
atomicity this way.
commit df41aaf9a2b195c9a8bb6fca6672cbf25bc147fb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 28 14:20:07 2013 -0500
Remove some unused variables
commit 0b340bcf0e1e52efb4a5ba1bd4eda8e3349baaed
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 20 15:43:50 2013 -0500
build-sys: use C99
We already use various constructs, so let's just admit that we're using C99.
commit bdb628eec6f5d5111251bd1a4d68516cef33d7d0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 28 13:34:08 2013 -0500
virt: split detect_vm into separate functions
It didn't build on arm. Let's simplify it a bit by
splitting x86 specific parts out, which should also make
things easier when arm virtualization support is added.
commit bd441fa27a22b7c6e11d9330560e0622fb69f297
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 28 12:07:29 2013 -0500
build-sys: make multi-seat-x optional
At some point it should become disabled by default.
http://lists.freedesktop.org/archives/systemd-devel/2013-November/014869.html
commit dda3e81486403c097fbcb8c6c41133cda43e1c06
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Tue Nov 26 12:42:17 2013 +0900
core: fix SetUnitProperties
commit ff83aac3647e21f31ac5e2b575ec1285dc585f6b
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 28 20:06:42 2013 +0100
Revert "link-config: match length for kernel commandline option"
This reverts commit da66338e17f4df04d9d7cc22ec971b416d57761e.
It is superseeded by 70f75a523b16ad495a7791d595ee3eececf75953
commit f38afcd0c7f558ca5bf0854b42f8c6954f8ad7f3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 28 18:42:00 2013 +0100
clean up TODO
commit 5b12334d35eadf1f45cc3d631fd1a2e72ffaea0a
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 28 17:50:02 2013 +0100
bus: add new sd_bus_creds object to encapsulate process credentials
This way we can unify handling of credentials that are attached to
messages, or can be queried for bus name owners or connection peers.
This also adds the ability to extend incomplete credential information
with data from /proc,
Also, provide a convenience call that will automatically determine the
most appropriate credential object for an incoming message, by using the
the attached information if possible, the sending name information if
available and otherwise the peer's credentials.
commit 70f75a523b16ad495a7791d595ee3eececf75953
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 22:37:52 2013 +0100
util: fix handling of trailing whitespace in split_quoted()
Inspired by a patch by Lukas Nykryn.
commit fb1454005dda75cdab5795285a8607237033d6a8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 21:14:56 2013 +0100
man: move socket-proxyd man page to section 8, since it is not in the $PATH
commit 34c7dc47d3beb9aebc8f5e4a8698b3c9acff0048
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 21:14:08 2013 +0100
man: get rid of shell script example in systemd-socket-proxyd man page
commit 07504d6b152084040e48f7657b0f56f364003334
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 20:55:15 2013 +0100
Revert "socket-proxyd: Add --listener option for listener/destination pairs."
This reverts commit adcf4c81c58511b67644e17fa743d1729d3c9ccf.
We have a better solution for the problem of making two processes run in
the same namespace, and --listener is not needed hence and should be
dropped.
Conflicts:
man/systemd-socket-proxyd.xml
commit 486cd82c8f7642016895b72bcc09a1bfe885a783
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 17:29:01 2013 +0100
logind: remove unused session->closing field
This field is always false, drop it. If you want a reliable way to get
session state, call session_get_state(). Testing for any flags directly
doesn't work currently so don't pretend it would.
commit c506027af881a9e4210845a7a8a6ec5910aa0f3b
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 17:25:25 2013 +0100
logind: require VTs on seat0 and forbid elsewhere
Sessions on seat0 must pass us a vtnr, otherwise, you shouldn't try
attaching it to seat0. For seats without VTs, we do the exact opposite: we
forbid VTs.
There can be odd situations if the session-files contain invalid
combinations. However, we try to keep sessions alive and restore state as
good as possible.
commit 92bd5ff3a062c3f9475b9d9d39b9335bfeb7705e
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 17:05:34 2013 +0100
logind: make VT numbers unsigned
Fix the whole code to use "unsigned int" for vtnr. 0 is an invalid vtnr so
we don't need negative numbers at all.
Note that most code already assumes it's unsigned so in case there's a
negative vtnr, our code may, under special circumstances, silently break.
So this patch makes sure all sources of vtnrs verify the validity. Also
note that the dbus api already uses unsigned ints.
commit 92fe133abf2de889659464ae8affd1db1710f72e
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 28 17:17:04 2013 +0100
networkd: fix several Address entries in [Network] section
commit 2a16a986ce5f1bdb7e96abfe14fcb9f34c9364b6
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Nov 27 10:36:35 2013 +0100
event: allow EPOLLET as event flag
EPOLLET enables edge-triggered mode (see epoll(7) for more). For most
use-cases, level-triggered is just fine, but for master-TTYs we need
edge-triggered to catch EPOLLHUP. master-TTYs signal EPOLLHUP if no client
is connected, but a client may connect some time later (same happens
during vhangup(2)).
However, epoll doesn't allow masking EPOLLHUP so it's signaled constantly.
To avoid this, edge-triggered mode is needed.
commit 90a18413f8be577a649900eca977e060273f2b5b
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 15:10:24 2013 +0100
logind: mute/restore VT on behalf of session controllers
If a session process calls TakeControl(), we now put the VT into
KD_GRAPHICS+K_OFF mode. This way, the new session controller can solely
rely on the logind-dbus API to manage the session.
Once the controller exits or calls ReleaseControl(), we restore the VT. We
also restore it, if we lost a controller during crash/restart (but only if
there really *was* a controller previously).
Note that we also must put the VT into VT_PROCESS mode. We want VT_AUTO
semantics, but VT_AUTO+KD_GRAPHICS actually disables *all* VT switches
(who came up with that great idea?). Hence, we set VT_PROCESS for logind
but acknowledge *all* requests immediately.
If a compositor wants custom VT setups, they can still get this by *first*
calling TakeControl() and afterwards setting up the VT. logind doesn't
touch the VT during controller runtime, only during setup/teardown. This
is actually what weston already does.
commit 6d33772f9ae6769c557e2267d16b7d31f67db914
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 14:58:57 2013 +0100
logind: restore session-controller after crash
We now save the unique bus-name of a session-controller as CONTROLLER=%s
in the session files. This allows us to restore the controller after a
crash or restart.
Note that we test whether the name is still valid (dbus guarantees that
the name is unique as long as the machine is up and running). If it is,
we know that the controller still exists and can safely restore it. Our
dbus-name-tracking guarantees that we're notified once it exits.
Also note that session-devices are *not* restored. We have no way to know
which devices where used before the crash. We could store all these on
disk, too, or mark them via udev. However, this seems to be rather
cumbersome. Instead, we expect controllers to listen for NewSession
signals for their own session. This is sent on session_load() and they can
then re-request all devices.
The only race I could find is if logind crashes, then the session
controller tries calling ReleaseControl() (which will fail as logind is
down) but keeps the bus-connection valid for other independent requests.
If logind is restarted, it will restore the old controller and thus block
the session.
However, this seems unlikely for several reasons:
- The ReleaseControl() call must occur exactly in the timespan where
logind is dead.
- A process which calls ReleaseControl() usually closes the
bus-connection afterwards. Especially if ReleaseControl() fails, the
process should notice that something is wrong and close the bus.
- A process calling ReleaseControl() usually exits afterwards. There may
be any cleanup pending, but other than that, usual compositors exit.
- If a session-controller calls ReleaseControl(), a session is usually
considered closing. There is no known use-case where we hand-over
session-control in a single session. So we don't care whether the
controller is locked afterwards.
So this seems negligible.
commit d1107170f9e0fa2cb6e8d18586a003f0d96abfc3
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 14:51:40 2013 +0100
logind: ignore failing close() on session-devices
Unfortunately, close() on a revoked/removed character-device fails with
ENODEV. I tried tracking this down in the kernel, but couldn't figure out
were exactly it comes from. However, can be easily reproduced with:
fd = open("/dev/input/event0", O_RDWR);
ioctl(fd, EVIOCREVOKE, 0);
r = close(fd);
A second close on @fd would return EBADF so the close is actually valid.
We simply ignore close() errors for all session-devices as their access
may be revoked asynchronously, or the device might get unplugged.
We use close_nointr() in case anyone ever looks at the return value (or
anyone runs "grep 'close(' -r src/" to find broken close() calls).
Fixes:
systemd-logind[31992]: Assertion 'close_nointr(fd) == 0' failed at src/shared/util.c:185, function close_nointr_nofail(). Aborting.
commit 5fd38859b30b95008e483109578c7fef2b5072f3
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 14:50:19 2013 +0100
bus: add bus_name_has_owner() helper
Small helper to run a synchronous "NameHasOwner" request on the
dbus-daemon.
commit 3fdb2494c1e24c0a020f5b54022d2c751fd26f50
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Nov 28 10:52:18 2013 +0100
login: revert lazy session-activation on non-VT seats
Existing applications like gdm already depend on new sessions to get
immediately activated on seats without VTs. Fixes a bug reported as:
[systemd-devel] systemd 208:trouble with inactive user sessions at non-seat0 seats
This patch restores the original behavior. We either need to add a new
flag for session-creation or some other heuristic to avoid activating new
sessions in the future.
commit f1a1264d13b31b9f5521f482d9a5a9d78da55efb
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 28 03:41:33 2013 -0500
build-sys: avoid warnings from assert_cc
commit d3822b3b074383babdbde92862abc0776bc4d97a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 28 03:29:26 2013 -0500
po: install translations
commit 247913054eb134d2f81d33178fd5e7669aadecd0
Author: Sergey Ptashnick <0comffdiz at inbox.ru>
Date: Thu Nov 28 03:11:04 2013 -0500
catalog,po: add Russian translation
commit d69faa0e789919d10dc63ea6cf466525cdd2246a
Author: Sylvain Plantefeve <sylvain.plantefeve at gmail.com>
Date: Wed Nov 27 20:43:09 2013 +0100
catalog: fix typos in the French translation
commit dd971bd2cef3e77cba28e52d7d51ec37035e3e61
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 28 02:26:03 2013 +0100
bus: update kdbus.h and always subscribe to KDBUS_HELLO_ATTACH_NAMES
commit 5acac4c814f973d1d47e5fbad1fa52cd3e92e7cf
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 28 01:25:10 2013 +0100
automount: log info about triggering process
commit 28b99ccdcb43937123b170509558af6296a0d271
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 28 01:24:56 2013 +0100
core: initialize variable
commit 88e4d1d733def755a21c1848bf00c20f94b983c5
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Nov 27 23:15:04 2013 +0100
TODO: add sd-rtnl items
commit 8cf030b349cbcb0901d880c9165d785dfc9cd569
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 20:55:15 2013 +0100
Revert "socket-proxyd: Add --listener option for listener/destination pairs."
This reverts commit adcf4c81c58511b67644e17fa743d1729d3c9ccf.
We have a better solution for the problem of making two processes run in
the same namespace, and --listener is not needed hence and should be
dropped.
Conflicts:
man/systemd-socket-proxyd.xml
commit 76cd584b8d6e0df5f662f193803ce2bdc530ac86
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 20:31:51 2013 +0100
namespace: comment typo fix
commit c99c09a2dc0f72e6f10449c9e110158612a43ab6
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 20:24:10 2013 +0100
bus: properly handle if we get disconnected during HELLO phase
commit 613b411c947635136637f8cdd66b94512f761eab
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 20:23:18 2013 +0100
service: add the ability for units to join other unit's PrivateNetwork= and PrivateTmp= namespaces
commit df41776d66b5b7467a5cf9c719b97b66d6534c8c
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Nov 27 16:50:53 2013 +0100
TODO: add dbus runtime depedency
commit e877666c1553a3dd5b05b4c48090f889ffc079e6
Author: Patrik Flykt <patrik.flykt at linux.intel.com>
Date: Wed Nov 27 17:28:54 2013 +0200
networkd: Initialize variable to NULL
If any number of arguments are given, _cleanup_manager_free_ is used
with unitialized memory causing a crash.
commit ff70c61b6fce5547fe22992e561941eff8456c9b
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Nov 27 13:15:10 2013 +0100
TODO: remove dbus requirement
commit 4ec181a0065102ccb0a8992ed9f2fa4860e44b43
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Wed Nov 27 11:02:10 2013 +0100
updates for TODO and README
* library support for setns() system call was added to glibc
version 2.14 (setns() call is use in src/machine/machinectl.c
and src/libsystemd-bus-container.c)
* utf8 validation call are already exported (via sd-utf8.c file) -
commit - 369c583b3fb3d672ef469d53141e274ec9d2e8a7
commit 85a428c69465b047731b6abb5005f01824f1444e
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 02:38:06 2013 +0100
logind: log which process is delaying suspend and not closing locks
commit fbb634117d0b0ebd5b105e65b141e75ae9af7f8f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 01:54:25 2013 +0100
journald: mention how long we needed to flush to /var in the logs
commit eda4b58b50509dc8ad0428a46e20f6c5cf516d58
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 01:44:52 2013 +0100
journal: simplify pre-allocation logic
let's just do a single fallocate() as far as possible, and don't
distuingish between allocated space and file size.
This way we can save a syscall for each append, which makes quite some
benefits.
commit d0767ffd08bbb5c069e266710eb0462315e47e6d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 01:01:53 2013 +0100
journal: add a test case for flushing messages out of a series of journal files into a single new one
commit 248c78c79c5cca9b981800d816a77591e504066a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 00:59:07 2013 +0100
journal: allow journal_file_copy_entry() to work on non-local files
commit e5462cd80e5328a769137c261c93931ea0c27bab
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 27 00:58:39 2013 +0100
journal: fix iteration when we go backwards from the beginning of an array chain element
commit f268980d2cee694fa4118a71402a47c316af0425
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 20:37:53 2013 +0100
journal: optimize bisection logic a bit by caching the last position
This way we can do a quick restart limiting a bit how wildly we need to
jump around during the bisection process.
commit bf807d4dbf27c783db8dfd7f4eca321ae4be5b00
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 18:58:44 2013 +0100
journald: keep statistics on how of we hit/miss the mmap cache
commit b8e891e699e1336c5527f8203e4e8f67c9bbeb84
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 18:40:23 2013 +0100
journal: make table const
commit a676e66535e12458ea6d366a653f8dd60f982504
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 18:39:42 2013 +0100
journal: when appending to journal file, allocate larger blocks at once
commit f5f6d0e25574dd63fb605b81fa7767dd71c454db
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Tue Nov 26 09:38:02 2013 +0100
tree-wide usage of %m specifier instead of strerror(errno)
Also for log_error() except where a specific error is specified
e.g. errno ? strerror(errno) : "Some user specified message"
commit 34a6dc7dcaa47a9efe083acc6f5fc6263414465e
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Nov 26 11:52:38 2013 +0100
man: networkd - document bridging
commit cc3f2093f622c04d12d287689d37d861ded41360
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 26 05:19:04 2013 +0100
systemctl: fix enable/disable reply handling
commit baae0358f349870544884e405e82e4be7d8add9f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 05:05:00 2013 +0100
pam_systemd: do not set XDG_RUNTIME_DIR if the session's original user is not the same as the newly logged in one
It's better not to set any XDG_RUNTIME_DIR at all rather than one of a
different user. So let's do this.
This changes the bus call parameters of CreateSession(), but that is
explicitly an internal API hence should be fine. Note however, that a
logind restart (the way the RPM postinst scriptlets do it) is necessary
to make things work again.
commit 898d5c913733d869820f85422a903da0f0685c6c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 03:50:32 2013 +0100
nspawn: improve error message when we cannot resolve the root directory argument
commit a7c0e5d714512dc3f9fe30c136778257246f3279
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 02:25:34 2013 +0100
man: explain the precise syntax and feature set of unit names at the end of the man page, given that it is detail information
commit 4dc5b821ae737914499119e29811fc3346e3d97c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 02:14:27 2013 +0100
systemctl: replace the three job mode options by a single --job-mode= option
Also, expose the new "flush" job mode this way.
commit 255baef68a8d9d74cb3b846f93c290225ad162aa
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 02:13:41 2013 +0100
core: add new "flush" job mode to cancel all other jobs when queuing a new job
commit d420282b28f50720e233ccb1c02547c562195653
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 26 01:39:53 2013 +0100
core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting and make use of it where applicable
commit 02b59d57e0c08231645120077f651151f5bb2bab
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 24 23:37:56 2013 +0100
networkd: add bridge support
A bridge is specified in a .netdev file with a section [Bridge]
and at least the entry Name=.
A link may be joined to a bridge if the .network applied to it has
a Bridge= entry giving the name of the bridge in its [Network] section.
We eagerly create all bridges on startup, and links are added to
bridges as soon as they both appear.
commit c166a070553511e402de5ad216d3fb62b49bdacb
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 24 23:36:58 2013 +0100
networkd: minor fixes
In particular, store the ifname, though we should only use it carefully, as
it is not guaranteed to be stable. Using it for logging is fine though.
commit 46fabae6b33386277f5ee394cf0d5382376586da
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 24 22:08:30 2013 +0100
rtnl: add support for IFLA_MASTER
commit 33125ac50bafd93dd98934f5f6ff23a59da8d793
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 21 20:44:29 2013 +0100
rtnl: add preliminary support for containers
For now, we only support one container type IFLA_LINKINFO, and we
still lack support for parsing the containers again.
commit a9bc6d2df16c1d9f8a99d2cc9be2babf62bd173f
Author: Dave Reisner <dreisner at archlinux.org>
Date: Mon Nov 25 18:19:10 2013 -0500
networkd: use correct printf formatter
uint64_t can be formatted correctly with %ju, rather than casting to
unsigned and potentially losing accuracy.
commit 4ae7885c2c4d89e1149c3fb186a4fe3b49787cc7
Author: Yin Kangkai <kangkai.yin at intel.com>
Date: Mon Nov 25 23:14:46 2013 +0800
conf-parser: fix memory realloc error
Otherwise there is some memory corruption and undefined behavior,
e.g., in my case systemd-udev was always aborted at the
_cleanup_freep_ around that code blocks.
commit 6301a98cdf26dc073f5317506c806bfa69f74cc8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 23:03:03 2013 +0100
core: fix order of parameters in broadcast_signal()
commit 0fc5ab9057def462a74af6ab374fb30213a2dbc0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 22:32:18 2013 +0100
bus: properly return errors to client if invalid parameters are passed to built-in methods
commit e14c280244fc07a19d0acab2f08c9f783458af34
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 22:20:57 2013 +0100
service: fix handling of PID file inotify events
commit eeaedb7c26375352c32ec290cd716f2ff2dbe61a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 21:16:37 2013 +0100
core: include following set data in dump
commit 9670d583d381d4c2c7f4d80de63bee7ad54fef44
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 21:08:39 2013 +0100
swap: always track the current real device node of all swap devices, even when not active
This way, we can avoid executing two /bin/swapon jobs to be dispatched
for the same swap device if it is configured for two different paths.
Previously we were just tracking the device nodes of active swap
devices, which would not allow us to recognize the identity of two swap
devices before they are active.
https://bugs.freedesktop.org/show_bug.cgi?id=69835
commit 0bee65f0622c4faa8ac8ae771cc0c8a936dfa284
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 18:08:02 2013 +0100
shutdown: during final killing spree also send SIGHUP in addition to SIGTERM to deal with shells
This makes shutdown a bit faster if debug-shell.service is enabled.
commit 26fefda707e6511733f48da03b281a004dba6abf
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Nov 25 21:16:26 2013 +0100
delete unused variables
commit 6ae115c1fe95611b39d2f20cfcea3d385429f59e
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Nov 19 16:54:42 2013 +0100
networkd: add support for [Address] sections
This will allow specifying more options per address than the
simple Address= entry in the [Network] section.
Preliminary support for the same functionality for [Route] sections
are added, but not yet hooked up, as more testing is needed.
commit 71a6151083d842b2f5bf04e50239f0bf85d34d2e
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Nov 19 16:17:55 2013 +0100
conf-parser: distinguish between multiple sections with the same name
Pass on the line on which a section was decleared to the parsers, so they
can distinguish between multiple sections (if they chose to). Currently
no parsers take advantage of this, but a follow-up patch will do that
to distinguish
[Address]
Address=192.168.0.1/24
Label=one
[Address]
Address=192.168.0.2/24
Label=two
from
[Address]
Address=192.168.0.1/24
Label=one
Address=192.168.0.2/24
Label=two
commit c5ab2e02dc7086c72b23390594944b9278282347
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 17:46:21 2013 +0100
device: fix typo
commit 0ba696e20c94ef26275ffc0cfb3e54429d36e806
Author: Martin Pitt <martinpitt at gnome.org>
Date: Mon Nov 25 17:44:57 2013 +0100
udev-builtin-keyboard: More useful error message
Make the "Error calling EVIOCSKEYCODE" error message more useful by mentioning
which scan/key code it tried to set.
commit d2bd639262a45ba4f686ab4a9555f2e8a0337d34
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 17:34:57 2013 +0100
systemctl: remove debug log message
commit dbed408b8e07602c3169af79393b5a3fbd7036b1
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 17:28:42 2013 +0100
systemctl: when status is called without arguments show pager
commit 2c7e050f61d1bf142389edd4eb83c1dc58c5c641
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 17:18:38 2013 +0100
core: fix bus serialization of conditions
commit 4d4c80d073f26368d123f8cebff5b4c36a6beace
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 16:59:51 2013 +0100
core: fix serialization of exec command structs
commit 290837072b136624f1f3d941c7274e4b1b275021
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 15:35:10 2013 +0100
core: set some event source priorities to enforce dispatching order
commit 5bcb0f2ba0615897662fcd4f6227d066781c6fc2
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 15:26:30 2013 +0100
swap: split state machine state ACTIVATING into two
We expect the event on /proc/swaps before we expect the SIGCHILD,
reflect this in the state machine.
commit f1421cc67dba47f0fdb1c963cf65115c8a8e72f0
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 15:25:01 2013 +0100
device: modernizations
commit 752b590500cdfe8e60800c0553bf7ae3ac613ffd
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 15:22:41 2013 +0100
core: dispatch run queue only if there's nothing else to do
Always read all external events before we decide what we do next.
commit 844de4355592259eebcffddfc38c63266e451cb6
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 25 15:20:59 2013 +0100
cgroups-agent: down-grade log level
commit d2df0d0ed3a88e491405b403e6022e6619750130
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Nov 25 01:33:04 2013 +0100
udev: net_setup_link - don't use Description as Alias
Use Description only internally, and allow Alias to be set
as a separate option. For instance SNMP uses ifalias for
a specific purpose, so let's not write to it by default.
commit 517dcac840fe8d5bf30a05c0084eff219af10a4a
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Mon Nov 25 09:31:09 2013 +0100
Revert "man: suggest using hash= atribut for swap in example"
This reverts commit fa7abba2328eb2d23a7e27708f86f5013059ddcf.
commit 2af29c881ae910da2d0ea2cceed5bb27355bb7d2
Author: David Strauss <david at davidstrauss.net>
Date: Mon Nov 25 10:58:13 2013 +1000
socket-proxyd: Fix man page because --listener takes an argument.
commit adcf4c81c58511b67644e17fa743d1729d3c9ccf
Author: David Strauss <david at davidstrauss.net>
Date: Mon Nov 25 10:44:48 2013 +1000
socket-proxyd: Add --listener option for listener/destination pairs.
commit 828db5d84afbf4e6e7060b5da170114a5886b339
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Nov 24 19:18:36 2013 +0100
core: set finish_timestamp only after all jobs have finished
commit a553fd32d14739b746a05ae502b8acc38e5f9a50
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Nov 23 02:47:12 2013 +0100
networkd: fix build
Forgot to 'git add'...
commit 4b6141c42497dc199618f95fa3f359615eecfaa0
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Nov 23 02:07:08 2013 +0100
networkd: use Type=notify
Also start earlier during boot.
commit bfe76ec3ce94cce06ae07699f39ef506af092259
Author: David Strauss <david at davidstrauss.net>
Date: Sat Nov 23 07:55:37 2013 +1000
Update TODO
commit edb5dd18752033d58fea7386773952cf1a4f9273
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 20:19:54 2013 +0100
bus: protected dual timestamp property macro for misusage
commit 39abcaee3e905f41efcb8b11ff4ff013f552620c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 20:19:27 2013 +0100
core: don't warn loudly if we cannot send a bus signal to a disconnected client
commit dbc2c080debdc45683bc5534e327455d4fbbbea7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 19:18:52 2013 +0100
systemctl: indicate in list-dependencies whether a unit is already running
commit 92c1622e14dd99890928b1a1596e4a670b31a7ff
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 19:17:52 2013 +0100
service: honour that for services RestartSec=0 means immediate restarts but TimeoutSec= means no timing out at all
commit 66ca4ec48a63ee0e71532148b9b373cda318c7e2
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 19:14:11 2013 +0100
job: fix serialization
commit 21acf11d407ea93d1b0c99088f9f64adad6cff0e
Author: David Strauss <david at davidstrauss.net>
Date: Sat Nov 23 02:36:14 2013 +1000
cgroups: Fix test service inclusion in Makefile
commit 0e586eae02080102177be7cbd8890ba46d116962
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 15:35:23 2013 +0100
bus: when closing a bus, drop all refs to queued messages, so that the bus can be freed
commit dc0218d267e6358985c7b4e150f09cb370d264c5
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 14:31:31 2013 +0100
man: simplify socket-proxyd examples
commit baabc5776475f7313cdaa5f3bdb45c1c5d053f91
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 14:30:52 2013 +0100
build-sys: move more files from core/ to share/ that are generic enough
commit 254ed85a8c6ff182133a9843125e541929ba8197
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 22 15:58:39 2013 +0100
test: test-sched-prio - skip if XDG_RUNTIME_DIR is not set
=================================
No control group support available, not creating root group.
Failed to determine XDG_RUNTIME_DIR
Assertion 'r >= 0' failed at src/test/test-sched-prio.c:42, function main(). Aborting.
=================================
commit ab9cbe342e5550e46731411a7166d3d9f7808adf
Author: Lukasz Skalski <l.skalski at partner.samsung.com>
Date: Fri Nov 22 14:44:45 2013 +0100
macro: fix problem with __LINE__ macro expansion
David:
I already applied a fix for that, but this patch definitely looks nicer. I
changed CONCATENATE_HELPER() -> XCONCATENATE() similar to XSTRINGIFY and
added the UNIQUE() helper.
commit 128c3c5881e5708b3f15517ee24dd8c0a1c6307e
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 22 13:54:50 2013 +0100
core: fix timestamp assignment
commit b5be11e82364d65bec3647e6a26dca482bd6a491
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Fri Nov 22 09:19:00 2013 +0100
macro: fix assert_cc() fallback
We need two-level macro-expansion, otherwise __LINE__ will not get
evaluated.
commit 5476ad087c0f2d45ab0dab1bab9ef3e9d70418bc
Author: Marcel Holtmann <marcel at holtmann.org>
Date: Sat Sep 21 11:45:05 2013 -0700
hwdb: Update database of Bluetooth company identifiers
commit 780896a4f1ec7e36c8f72c866ba9693d790f9741
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 04:01:46 2013 +0100
bus: rework sd_bus_error APIs
All calls that set a sd_bus_error structure will now return the same
error converted to a negative errno. This may be used as syntactic sugar
to return from a function and setting a bus_error structure in one go.
Also, translate all Linux Exyz (EIO, EINVAL, EUCLEAN, EPIPE, ...)
automatically into counterparts in the (new) "Posix.Error." namespace.
If we fail to allocate memory for the components of a sd_bus_error
automatically reset it to an OOM error which we always can write.
commit 6414b7c981378a6eef480f6806d7cbfc98ca22a1
Author: David Strauss <david at davidstrauss.net>
Date: Mon Nov 11 19:03:31 2013 +1000
cgroups: Cache controller masks and optimize queues.
commit 52c7f2b2d58394c791ea0c6cf706082fd418f5bc
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 01:51:19 2013 +0100
bus: deal with duplicate values from enumerators
commit adcc4ca30dc8ca0cddfcab64ad2eab6f6ab6fe21
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 01:28:45 2013 +0100
event: rename sd_event_get() to sd_event_source_get_event()
commit 2be441769f29578764835df58950ac939f4e29eb
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 01:21:59 2013 +0100
bus: add calls to query attached objects
commit f00c31213a2e521680c2381ef231f05e30c874a7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 22 01:14:57 2013 +0100
bus: also add error parameter to object find and enumerator callbacks
Just in order to bring things inline with the method and property
callbacks.
commit 969987ea93a7fdcd2c87b551eb0adf0bd9338b32
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 23:36:51 2013 +0100
bus: restore selinux access control to PID 1 for properties
commit 9f5eb56a13dee1085cbf2560ac3afd73f72402cb
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 22:07:51 2013 +0100
timer: make timer accuracy configurable
And make it default to 1min
commit b850b06e1efcc7e27cfd785759a3a913ac9ed196
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 21 21:56:18 2013 +0100
build-sys: enable gcc Link Time Optimization when optimization is enabled
commit 92b315dfb482626ca6c98b67cd862e4af483a499
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 21:36:04 2013 +0100
core: actually make SwitchRoot() bus call do the deed
commit 1302759d1581a4df0259cd4499a0908dad5f8b77
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 21:32:23 2013 +0100
core: fix serilization of ListJobs() response
commit ceb19081fec38003064bcbc3aa3fcbdcf478a797
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 21:17:34 2013 +0100
core: fix serialization of client tracker
commit 6ce270b10ad5538fb60dabcf409a49a9c5fd0e8d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 20:49:04 2013 +0100
core: fix deserialization of StartTransientUnit() parameters
commit 21586b77de9bad401f245dd55b75cedb0c2e9b7c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 20:18:59 2013 +0100
bus: properly serialize unit file change list
commit 86b8d289717bad2800342efca0a5023aa8374e9c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 20:05:49 2013 +0100
logind,machined,run: properly invoke StartTransientUnit() bus call
commit ebcf1f97de4f6b1580ae55eb56b1a3939fe6b602
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 19:34:37 2013 +0100
bus: rework message handlers to always take an error argument
Message handler callbacks can be simplified drastically if the
dispatcher automatically replies to method calls if errors are returned.
Thus: add an sd_bus_error argument to all message handlers. When we
dispatch a message handler and it returns negative or a set sd_bus_error
we send this as message error back to the client. This means errors
returned by handlers by default are given back to clients instead of
rippling all the way up to the event loop, which is desirable to make
things robust.
As a side-effect we can now easily turn the SELinux checks into normal
function calls, since the method call dispatcher will generate the right
error replies automatically now.
Also, make sure we always pass the error structure to all property and
method handlers as last argument to follow the usual style of passing
variables for return values as last argument.
commit 0ccad099d4c08dc5a16c87cdd6eefc05e9d4b670
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 19:32:33 2013 +0100
hostnamed: modernizations
commit 9d5a3757c3e5bc2266053dbadb4a542a6dd5e7b8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 19:31:46 2013 +0100
manager: always sort environment block, it's prettier
commit 51b4ea6f485a852671a2a95122121ecb494de331
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 02:17:24 2013 +0100
bus: the :no-sender hack is now unnecessary, since the new library doesn't require this anymore
commit 5a3eb5a77d7c491a31818c4dfdcf8fd7dcaaadb2
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 21 21:04:04 2013 +0100
networkd: make sure Network and Link can always be freed
Also, don't fail a link just because we can't find its MAC address.
commit 602cc437e8b4a3ab760b5a23fa4f3112134d9c36
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 21 20:47:34 2013 +0100
networkd: avoid segfault
commit 94d56326a1cb337151ea0984d5b86f6edc005bce
Author: Daniel Mack <zonque at gmail.com>
Date: Thu Nov 21 20:26:10 2013 +0100
src/core/selinux-access: #include <sys/socket.h>
Fixes the following build errors on Fedora 20:
CC src/core/libsystemd_core_la-selinux-access.lo
src/core/selinux-access.c: In function 'get_audit_data':
src/core/selinux-access.c:245:22: error: storage size of 'ucred' isn't known
struct ucred ucred;
^
src/core/selinux-access.c:259:9: warning: implicit declaration of function 'getsockopt' [-Wimplicit-function-declaration]
r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len);
^
src/core/selinux-access.c:259:28: error: 'SOL_SOCKET' undeclared (first use in this function)
r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len);
^
src/core/selinux-access.c:259:28: note: each undeclared identifier is reported only once for each function it appears in
src/core/selinux-access.c:259:40: error: 'SO_PEERCRED' undeclared (first use in this function)
r = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &ucred, &len);
^
src/core/selinux-access.c:245:22: warning: unused variable 'ucred' [-Wunused-variable]
struct ucred ucred;
^
make[2]: *** [src/core/libsystemd_core_la-selinux-access.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
commit 29db78811db523caf53e873db539a48a1337d652
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 21 20:16:56 2013 +0100
bus: update kdbus.h
commit fa7abba2328eb2d23a7e27708f86f5013059ddcf
Author: Václav PavlÃn <vpavlin at redhat.com>
Date: Thu Nov 21 15:28:02 2013 +0100
man: suggest using hash= atribut for swap in example
(#883941)
commit 002f5de9a9d3f04982588433895dca9faa2c0f22
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 21 15:30:08 2013 +0100
networkd: don't filter on udev tags
This removed the requirement for devices to be tagged with
'systemd-networkd' before they will be visible to networkd.
Still, as by default we don't ship any .network files, network
devices will simply be tracked, but not touched, unless the
admin configures things explicitly.
commit 0b9e3f2cfdd8bc365f98e5544c7c3f5ac94d0965
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 21 12:35:46 2013 +0100
efi-boot-generator: don't mount /boot eagerly
commit fa0fed49751f8fa7c5306877835595f5de184720
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 02:14:05 2013 +0100
bus: fix seriliazation of activation errors
commit 14c24659cdc98e26049b98b965382a0c44eae008
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 02:11:06 2013 +0100
bus: rename SD_BUS_ERROR_MAKE to SD_BUS_ERROR_MAKE_CONST to indicate it only works for const strings
commit df2d202e6ed4001a21c6512c244acad5d4706c87
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 01:51:16 2013 +0100
bus: let's simplify things by getting rid of unnecessary bus parameters
commit 28383ba18963cdedd98ced271b3425f7321119b7
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 01:03:26 2013 +0100
bus: add API calls to escape string components of objects paths
commit 850516e012f0e2c96cecb63c1e8997e13912fcd6
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 00:46:13 2013 +0100
sd-event: try to move timer wakeups to the same spot within each minute
commit 2e41a51ea4cf68f67d6d1e71482d95d9d50091b3
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 21 00:06:11 2013 +0100
socket: fix segfault
commit 54b434b1b5055f934230fe04fad35b01642b8488
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 22:11:10 2013 +0100
valgrind: make running PID 1 in valgrind useful
Since valgrind only generates useful output on exit() (rather than
exec()) we need to explicitly exit when valgrind is detected.
commit 420c7379fb96a188459690a634d0fede55721183
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 22:10:42 2013 +0100
nspawn: add new --drop-capability= switch
commit 1b5995b0395fda2c495579a21b73698d1099c487
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 18:20:23 2013 +0100
event: make sure to possibly disarm the timerfds before we reenter epoll_wait
commit c57b5ca30199cbedaf45a0346c38977387359842
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 18:19:05 2013 +0100
event: don't disarm invalid timerfd
commit 86befb4098e12688605a08bf602532de9a0ec863
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 18:18:09 2013 +0100
bus: make sure an additional ref to a busevent source doesn't cause the event source to be triggered again
commit 2576a19ed25dff1adc7fd2c0b874c74946fb35b4
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 18:07:07 2013 +0100
event: whenever a time source changes pending state reshuffle elapsation prioqs
commit 503f39c35e0fd7ba23649ec14044e195594e3347
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 16:39:22 2013 +0100
event: when we change the io events to watch we need to figure out if a an event is pending again
commit a99badf5ed3b2207a19f5b44c549c5e7584dfd83
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 03:58:05 2013 +0100
sd-event: fix comparison functions
commit 3772995afa7df42c3a332fb085a27cb5d266b893
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 20 03:44:11 2013 +0100
manager: don't do plymouth in a container
Given that plymouth listens on an abstract namespace socket and if
CLONE_NEWNET is not used the abstract namespace is shared with the host
we might actually end up send plymouth data to the host.
commit b51f299ae17ebdedecf8f38d98cb94cfee763fa7
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 21:37:32 2013 +0100
busctl: when no match is specified, add default match
commit f8cfb5f5f341e35bb8c8fc76680a95941cdef927
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 21:35:31 2013 +0100
bus: add color and indentation to bus_message_dump()
commit 718db96199eb307751264e4163555662c9a389fa
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 21:12:59 2013 +0100
core: convert PID 1 to libsystemd-bus
This patch converts PID 1 to libsystemd-bus and thus drops the
dependency on libdbus. The only remaining code using libdbus is a test
case that validates our bus marshalling against libdbus' marshalling,
and this dependency can be turned off.
This patch also adds a couple of things to libsystem-bus, that are
necessary to make the port work:
- Synthesizing of "Disconnected" messages when bus connections are
severed.
- Support for attaching multiple vtables for the same interface on the
same path.
This patch also fixes the SetDefaultTarget() and GetDefaultTarget() bus
calls which used an inappropriate signature.
As a side effect we will now generate PropertiesChanged messages which
carry property contents, rather than just invalidation information.
commit 3febea3a0b0a968ea281e7959c1654cbaf95c9bf
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 21:02:59 2013 +0100
hashmap: be a bit more conservative with pre-allocating hash tables and items
commit e8372f7e3e3a5aba053b1b5b944cb84d6d525877
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 21:02:16 2013 +0100
install: when determining where default.target points to, accept a file instead of a symlink, too
commit a454d241ef8b08e0984c6efbbd6187d70e32145b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 21:01:24 2013 +0100
test: exit early if we would conflict with running user systemd
commit 911121a7c837040454c5d0422e2a225a8d799eef
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:23:08 2013 +0100
bus: add sd_bus_send_to() API call
commit aea93debfa1281a7d5f1523225b043955c1c2472
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:21:27 2013 +0100
bus: bump serial number counter when sending already sealed messages
commit 80c1974018fef49d74736c6893674e8e6eddd1d4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:19:02 2013 +0100
bus: sd_bus_error_setxyz calls should always return the error as errno style negative int
commit 725d7e6cebcafef3bd4adbf76c8fa73a9b18972e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:15:31 2013 +0100
libudev: always return NULL in _unref() APIs
Returning anything else but NULL would suggest the caller's reference
might still be valid, but it isn't, because the caller just invoked
_unref() after all.
This turns the return value into a typesafe shortcut that allows
unreffing and resetting a reference in one line. In contrast to
solutions for this which take a pointer to a pointer to accomplish the
same this solution is just syntactic sugar the developer can make use of
but doesn't have to, and this is particularly useful when immediately
unreffing objects returned by function calls.
commit 994e023433e020e2b3f683d5d1f2c974db580447
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:14:21 2013 +0100
libudev: always return valid negative error codes on API functions
commit 135168183ecb23f642b4f9fb9a50410e6735c628
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:13:42 2013 +0100
calendar: support 'yearly' and 'annually' names the same way as cron
commit 8e64fd110d85de45929cefcbf83aa506d60f8795
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:12:03 2013 +0100
hwclock: modernizations
commit d3cfcae9db39b0cd01bd8c3db1dc57d6a04554a4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:10:40 2013 +0100
macro: add _unlikely_() to assert_return()
As the name indicates assert_return() is really just for assertions,
i.e. where it's a programming error if the assertion does not hold.
Hence it is safe to add _unlikely_() decorators for the expression to
check.
commit 780dbeef9f9d2c9f416da50a07bf0aacf3cc66c7
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:10:22 2013 +0100
macro: change assert_cc() so that it can appear outside of functions
commit fd1b903adb6f7b06d263fcb6a4ae01d734b2c8d4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:09:48 2013 +0100
include: make direct includion of _sd-common.h harder
commit 16ed0233a5b7ae38ed4f544d6fcd5827cde695dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 19 01:09:12 2013 +0100
install: use const where we can
commit 91ffff9621757cb585bfce1cafc98218f89cc466
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Nov 20 17:51:42 2013 +0100
conf-parser: don't leak section names
If we encounter an unknown section, we must free the previous section before
clearing the pointer.
commit 0cc1125ae10a216f2b27cb2828849ac1beb6a1b1
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Nov 20 07:54:24 2013 +0100
event: clear pending-state when re-arming timers
If a timer fires and is marked pending, but an application re-arms it
before it is dispatched, we now clear the pending state.
This fixes a bug where an application arms a timer, which fires and is
marked pending. But before it is dispatched, the application loses
interest in it and disables it. Now if the timer is re-armed and
re-enabled later, it will be immediately dispatched as it is still marked
pending.
This behavior is unexpected, so avoid it by clearing pending state when
re-arming timers. Note that applications have no way to clear pending
state themselves, so there's no current workaround.
commit 6c1508b871965b2eba46d477e81a9c4e85b2bd00
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Wed Nov 20 16:18:37 2013 +0100
bus: fix error-path in bus_map_all_properties()
We shouldn't return positive integers on errors. Fix the typo by removing
the negation.
commit d7726e578a1e4218c769d436c1a23174d1aed92d
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Tue Nov 19 21:12:38 2013 +0100
bus/rtnl: silence clang warnings
commit 0617ffabe86a6d366252477eafbe59a888b149d4
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Nov 18 11:54:09 2013 +0100
networkd: make sure Links and Networks are freed
commit bc9cdba5ddf78d0ecb5c64f55621bb2f474ea280
Author: Jose Ignacio Naranjo <joseignacio.naranjo at gmail.com>
Date: Sun Nov 17 21:11:34 2013 +0100
keymap: Add Toshiba Satellite U940
Signed-off-by: Martin Pitt <martinpitt at gnome.org>
commit 0732ef7acf37473847992888bcb6446726d9d877
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 18 13:42:57 2013 -0500
localed: match converted keymaps before legacy
Before, X11 keymap fr-pc105-oss would be converted to fr,
even though fr-oss exists. Now, if
/usr/lib/kbd/keymaps/xkb/<layout>[-<variant>].map[.gz] exists,
<layout>[-<variant>] will be used as the console keymap,
falling back to the legacy mappings otherwise.
% sudo localectl set-x11-keymap pl pc105
% localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: pl (was pl2 before)
X11 Layout: pl
X11 Model: pc105
% sudo localectl set-x11-keymap fr pc105 oss
% localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: fr-oss (was fr before)
X11 Layout: fr
X11 Model: pc105
X11 Variant: oss
% sudo localectl set-x11-keymap fr pc105
% localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: fr
X11 Layout: fr
X11 Model: pc105
% sudo localectl set-x11-keymap gb
% localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: gb (was uk before)
X11 Layout: gb
commit 98fce79dea6f653dead88638fc17a27280b1f250
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 18 10:19:29 2013 -0500
localed: use _cleanup_
commit 4561be3a64534a911ee405ffb51950a624a0cd3f
Author: Karel Zak <kzak at redhat.com>
Date: Mon Nov 18 14:48:16 2013 +0100
Remove duplicate includes
commit 05d3a176239c1dd67863c70a5b79d9bc14144ef6
Author: Shawn Landden <shawn at churchofgit.com>
Date: Mon Nov 18 07:58:43 2013 -0800
use #pragma once instead of foo*foo define guards
commit d5d217eae1b3ba978c4ddd6a2ef2de4621329662
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Nov 18 22:57:56 2013 +0100
remove unused variables
commit f21326e604fd252600f3b99c277b30981477e4b1
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Nov 18 01:30:57 2013 +0100
bus: TIMESTAMP is optional kdbus metadata now, NAMES are always added
commit f0511bd7e3d591383485a36ddcb764abe74b1939
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sat Nov 16 13:18:13 2013 -0800
core/socket: fix SO_REUSEPORT
commit e55001ebba6f6ad7d63db249f7bf93f25be12acd
Author: Shawn Landden <shawn at churchofgit.com>
Date: Sat Nov 16 13:18:12 2013 -0800
core/socket: use _cleanup_free_
commit f882c247ad59776c3a7753bb963c1f8e2386cb79
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 14 16:22:51 2013 +0100
networkd: make all calls async
commit 8cd11a0f0f4ca05199e1166f6a07472b296f7455
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 17 21:01:20 2013 +0100
networkd: store netmask and mac address explicitly
commit 16be43684f6d9bbd494b157682f5473460fbf98a
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Nov 17 22:35:58 2013 +0100
bus: CREDS and NAMES are optional kdbus metadata now
commit 0571a6b0a956a29820ba40a4073565cc3eedaeb0
Author: Sylvain Plantefeve <sylvain.plantefeve at gmail.com>
Date: Sun Nov 17 11:22:14 2013 -0500
catalog: add French translation
commit 87267de89ddce9b1b812b720e1fc9a6cb554236e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 16 17:29:28 2013 -0500
tmpfiles: adjust excludes for the new per-service private dirs
In d8c9d3a (systemd: use unit name in PrivateTmp directories)
I forgot to update the tmpfiles config.
commit 9cd861842ccb07372fbd665f2e6c054daaedacb4
Author: Olivier Brunel <jjk at jjacky.com>
Date: Thu Nov 14 15:52:54 2013 +0100
Fix RemainAfterExit services keeping a hold on console
When a service exits succesfully and has RemainAfterExit set, its hold
on the console (in m->n_on_console) wasn't released since the unit state
didn't change.
commit ad929fe19673ff7135d570f458edef755ec34410
Author: Sylvain Plantefeve <sylvain.plantefeve at gmail.com>
Date: Sat Nov 16 11:56:14 2013 -0500
po: add French translation
commit 7524c3cf4485bb9afd4ef0bf005a89f0319c19cd
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Nov 15 19:00:01 2013 -0500
bash-completion: journalctl --file
commit 952d97ed2b44f58b973a78c87d09b20c36f61460
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Nov 12 22:05:16 2013 -0500
random-seed: improve debugging messages a bit
commit 4e8da529592b01fee27f48962fe953b777de9b30
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Nov 12 22:01:10 2013 -0500
fstab-generator: use RequiresOverridable for fsck units
This allows the user to disable fsck's by masking.
If fsck fails, emergency target is started, the user might mount the
unit using mount and disable fsck by masking the unit. In this case,
.mount will be active because the mount is detect through
/proc/self/mountinfo, but systemd-fsck at .service will still be in
failed mode. This results in a funny situation where
$ systemctl show -p ActiveState local-fs.target yyy.mount
ActiveState=active
ActiveState=active
$ sudo systemctl start local-fs.target
[sudo] password for test:
Failed to start local-fs.target: Unit systemd-fsck at xxx.service is masked.
commit e48614c4b268d9e7ecbd478d1d2410f9e92095e0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Oct 21 19:54:10 2013 -0400
core: some more _cleanup_free_
commit 94192cdaf652c9717f15274504ed315126c07a93
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Nov 12 00:53:59 2013 -0500
fsck,fstab-generator: be lenient about missing fsck.<type>
If fstab contains 1 for passno, treat this as an error, but only warn
briefly. If fstab doesn't contain this information, don't complain at
all.
Patch is complicated a bit by the fact that we might have the fstype specified
in fstab or on /proc/cmdline, in which case we can check if we have the appropriate
fsck tool, or not specified, or specified as auto, in which case we have to look
and check the type of the filesystem ourselves. It cannot be done before the
device appears, so it is too early in the generator phase, and it must be done
directly in fsck service.
commit e375825da0cbdbf3be755c277f9c0dec35b41a09
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 11 23:32:31 2013 -0500
fsck: modernization
commit 7d74558bb6946be0c3c14a3e37b5161a79111c55
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Nov 15 22:44:15 2013 -0500
ycm_extra_conf: include src/systemd for headers
commit 4e1b76c214704dcec41b43ea218cc42a531a1765
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Nov 15 22:38:12 2013 -0500
build: use printf to generate symbol tests
echo is basically unportable, so use printf instead.
commit b5643a8b1b360e55f1dc40398363cbc077e4d34c
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Nov 15 13:47:12 2013 +0100
build-sys: don't mix dynamic and static libs
commit b4f2a5b19718e63767e9e43db5b048caf4209b3f
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 14 19:23:39 2013 +0100
rtnl: add event loop integration
commit 0927756b8d2d8040e5ac69f3bb05182b69939dc2
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Nov 14 22:19:19 2013 +0100
bus: typo
Fix a couple of 'void' that should have been 'sd_bus'.
commit 81eca919f7cfa88bad8df7d7eac012f367c4c303
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 23:50:07 2013 +0100
loopback-setup: move to rtnl
This should be equivalent to the old behavior.
commit e16bcf986e3e2da2e01afc96f264edfc7bb00d1a
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Nov 13 23:18:20 2013 +0100
rtnl: add call_async and call_async_cancel
They work in the same way as the sd-bus equivalents.
commit 24710f6d2fbe25282fd96a8f869b7e4a9c3b50d8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 14 00:08:36 2013 -0500
Update TODO
commit 5b1869eaa22e365ab6595924fe96549b279b5ebc
Author: Olivier Brunel <jjk at jjacky.com>
Date: Fri Sep 20 22:18:30 2013 +0200
Fix possible lack of status messages on shutdown/reboot
Since 31a7eb86 the output on console can be disabled to avoid colliding with
gettys. However, it could also lead to a lack of messages during
shutdown/reboot.
commit 2f38577f3040eedebfe1ace05d5b5a779a588af1
Author: Olivier Brunel <jjk at jjacky.com>
Date: Fri Sep 20 22:18:29 2013 +0200
Only disable output on console during boot if needed
If there are no more jobs on console, no need/we shouldn't disable output.
commit 8aa5429a4a59abbcf567938fa6ef60bb2c8ae2f1
Author: Olivier Brunel <jjk at jjacky.com>
Date: Fri Sep 20 22:18:28 2013 +0200
Resolve /dev/console to the active tty instead of just "tty0"
When resolving /dev/console one would often get "tty0" meaning the active VT.
Resolving to the actual tty (e.g. "tty1") will notably help on boot when
determining whether or not PID1 can output to the console.
commit 51d0f1c9f6a378f3bf11179e5794dc2c13b49644
Author: Marko Myllynen <myllynen at redhat.com>
Date: Wed Nov 13 23:02:23 2013 -0500
zsh-completion: add bootctl
commit 1bc64d77352010f6951e7cccf77be99301e9664c
Author: Marko Myllynen <myllynen at redhat.com>
Date: Wed Nov 13 11:06:13 2013 +0200
man: add bootctl(8)
https://bugzilla.redhat.com/show_bug.cgi?id=1014303
commit ad79565d6b37bcc93cf773a39b975e5b85d122da
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Wed Nov 13 15:27:19 2013 +0100
journal: timestamp support on console messages
journald mimics the kernel here: timestamps will be printed if
/sys/module/printk/parameters/time contains "Y".
commit 4555ec72d6530fce4c978fd894ac22f7e006b0ee
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Nov 12 22:37:51 2013 +0100
rtnl: start adding support for asynchronous messaging
Similarly to sd-bus, add:
sd_rtnl_wait
sd_rtnl_process
sd_rtnl_send
and adapt sd_rtnl_call accordingly.
commit fe4824e065765f4536c84916694bb050c4a5d0af
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Nov 11 18:55:34 2013 +0100
rtnl: rename rtnl_bus_send_with_reply_and_block() to rtnl_bus_call()
Follow the equivalent rename in sd-bus to stay as similar as possible.
commit 38fdcbedd18e48f32a7ddcf99c7b97424a73b413
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Nov 13 18:06:34 2013 +0100
logind: create the session fifo before saving the session file
If the session fifo is not created the session state written to
the session file is "closing". This caused the lock screen in
gnome-shell to go into a loop trying to find the active session.
The problem was introduced in the sd-bus port in
cc3773810855956bad92337cee8fa193584ab62e
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71525
commit ed6556920c1a6cdfe0bb04e806bc1f54ea191545
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Nov 13 13:36:16 2013 +0200
activate: fix crash when -s is passed
getopt_long() was told to accept -s which was never implemented.
commit df49ccafc0d57c731a3da3014ad55d5bb9ed3e1b
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Nov 13 13:36:17 2013 +0200
activate: mention -E in the help text
commit 6ce774fd8068d291e85b94bc630358ce86491b36
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Nov 13 13:36:18 2013 +0200
systemctl: honor --no-legend in 'list-jobs'
commit 6aad7f2cd75c88f990c7857bb173b3e8d0faee0f
Author: Umut Tezduyar Lindskog <umut.tezduyar at axis.com>
Date: Wed Nov 13 09:47:57 2013 +0100
build: Allow disabling maintainer mode
This allows make rules for generated build files (i.e. configure,
Makefile.in, ... ) to be skipped. This is useful when
the source is stored without timestamps (for example in CVS or GIT).
When the build rules trigger to regenerate the build files, it tries to
use the same autotools version (currently 1.14) as was originally used
for the release. Since many of our build machines run Debian Squeeze,
they only have autotools 1.11 available and the build fails.
Currently, we have to work around this by touching all the generated
files before building to avoid triggering the make rule. With this
patch, we would be able to just run configure with
--disable-maintainer-mode instead. The patch sets the default to enable
to not change the default behavior.
Ref: http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/
?id=f5cc26c77d2f332a9b40f51f0ec72e95711edf1e
commit b26618399ecc9a773dcb384dd1ad66309921e8e0
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Nov 13 03:34:24 2013 +0100
udev: declare some symbols static
commit 64a9e4d76301dbd941a7eb5e9f7fd6e0306cb459
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Nov 13 02:46:28 2013 +0100
libsystemd-id128: statically include sd_listen_fds()
commit 9173a3082f019f78b02efe8c0642a88e36b7bd44
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Nov 12 19:02:28 2013 -0500
build-sys: parallelize 'exported' target
commit a23873387a6e722b711092c89a08ab3f3d19361c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 11 19:53:59 2013 -0500
systemd-python: fix booted() and add two functions to docs
For some reason sphinx doesn't want to show inherited C functions.
commit dc579853d429d15fba611213c4c0e8ab524e831b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 11 19:32:34 2013 -0500
build-sys: make public libraries depend on .sym files
This way modyfing the .sym file causes a rebuild.
commit f1e0c18340acb7df53d5b638846fe5687255dad0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Nov 10 22:17:25 2013 -0500
build-sys: add a link test for exported symbols
I know that this is a pretty big net to catch some small fish,
but we *do* regularly forget to properly export symbols that
were supposed to be exported.
This time sd_bus_get_current and some renamed symbols are caught.
commit 2b70d172a7b2ba741df7d6ca89c915e17d6f3e84
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Nov 12 22:44:18 2013 +0100
build-sys: make networkd man pages conditional
commit 3c9317d2d93248f3f0b0feaaa113485aee415d8a
Author: Colin Walters <walters at verbum.org>
Date: Tue Nov 12 15:43:17 2013 -0500
build-sys: Add --disable-networkd option
For GNOME (Continuous), we are unlikely to require or want
systemd-networkd in the near term future; all of the tools and code
are targeting NetworkManager.
The long term story is still an open question of course, but for now,
there's no reason for gnome-continuous to build or ship this.
commit 735e5d83ee3391f8ab0e18218278302c2e87e5f3
Author: Kristian Høgsberg <krh at bitplanet.net>
Date: Tue Nov 12 18:11:43 2013 +0100
uaccess: Add new DRM render nodes
commit e3dc56a21907d5c028e11bfb750447614e0ed900
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 12 18:09:08 2013 +0100
udev: declare some symbols static
commit d311601f5bee7c0d3f4b0d96099d81625ab284dc
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 12 15:49:36 2013 +0100
bus: test-bus-objects - add missing header
commit 3db0e46b0de5e46922ebbbd77de4d3d1214bcc9a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 12 12:11:24 2013 +0100
bus: add missing dump.[ch]
commit 2b5c5383e48137d748681645ad7176f02b50ba30
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 12 00:12:08 2013 +0100
bus: beautify bus_message_dump() output a bit
commit 7b0b392f7bce4bb1b17fec54d1baf27daa85777f
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 23:45:36 2013 +0100
busctl: show machine name of all registered names
commit 8d162091c0512e0c2bb0e7ac22b927f1f5af95b4
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 23:44:00 2013 +0100
bus: set no_auto_start flag for GetMachineId calls, so that we don't auto-start if we want to know the machine of a bus service
commit a8a07f892c6f64d88a9848deed56a9f3b778301a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 23:42:30 2013 +0100
bus: detect blocking message calls to our own connection and return ELOOP early
commit 1fee9de5096fe9955b89523aedecf8962ab0e8c5
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 23:42:00 2013 +0100
bus: add api to control auto start message flag
commit 9b271c0316e59185f9ab5574c74d22b78bf6701d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 23:40:41 2013 +0100
id128: introduce SD_ID128_STRING_MAX consant for sizing id128 strings
commit 98f91566cc7d43c6b86a711fa1d196ed5876b2f3
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 23:40:00 2013 +0100
bus: export utf8 validator calls as pure functions
commit 76b543756ef69ce69784d571aefe8de65eaeb331
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 22:00:48 2013 +0100
bus: introduce concept of a default bus for each thread and make use of it everywhere
We want to emphasize bus connections as per-thread communication
primitives, hence introduce a concept of a per-thread default bus, and
make use of it everywhere.
commit afc6adb5ec7e73bc13156c43f52fb015cd80cc68
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 19:34:13 2013 +0100
bus: introduce concept of a "default" event loop per-thread and make use of it everywhere
Try to emphasize a bit that there should be a mapping between event
loops and threads, hence introduce a logic that there's one "default"
event loop for each thread, that can be queried via
"sd_event_default()".
commit d5e4ec5b1ee1e3f04a2cb0871490490eb47ef34a
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 19:09:02 2013 +0100
test: fix minor memory leak in test-event
commit c49b30a23583ff39daaa26696bcab478d2fee0bb
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 18:55:34 2013 +0100
bus: rename sd_bus_send_with_reply_and_block() to sd_bus_call()
The call is one of the most important ones we expose, where we place
major emphasis on. We should make sure to give it a short, memorable
name.
commit 1823b86ebf955b737fb87372b211fa45ba799a48
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Nov 11 17:18:51 2013 +0100
systemctl: warning: ârâ may be used uninitialized in this function
commit d1811159295f1c6f3bb10b647c7b084b33e9138e
Author: Dave Reisner <dreisner at archlinux.org>
Date: Mon Nov 11 10:13:36 2013 -0500
shell: add list-timers to systemctl completions
commit ad83b4c47cb5b48cfd0a14537cee0c830eec2b74
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Nov 11 08:06:14 2013 -0500
systemctl: avoid unitialized access when showing 0 timers
commit 938bcbab125298b9c49946ca0bd0b47890e4d140
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 16:26:12 2013 +0100
bus: add APIs for adding iovecs to messages as string or arrays
commit cbb76c29ccd1a639ada00425fa7cc408507f171d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 03:06:14 2013 +0100
systemctl: add new "list-timers" command
commit 966204e010ed432a1d7a0481d41a326d8ec7b0c8
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 03:03:17 2013 +0100
timer: consider (usec_t) -1 an invalid timestamp
commit 1fcf71f562a83a59f853f982306fca7d009bb30d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Nov 11 03:02:52 2013 +0100
timer: properly format relative timestamps in the future
commit 2b51bd3c9bac2a8064e5d4779ab13168a2d5b05a
Author: Dave Reisner <dreisner at archlinux.org>
Date: Mon Nov 11 09:17:08 2013 -0500
udev.xml: add missing </para> tag
commit 22925e1a250625e44c46a72fcdca400ab77a9ef0
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sun Nov 10 16:02:29 2013 -0500
udev.xml: minor fixes to network link configuration
- Refer to net_setup_link, not net-setup-link
- Mention the required file extension earlier
commit 60411ac750ec928114be80b133d9782a1cb2da62
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Nov 10 23:53:55 2013 +0100
bus: we really need to get rid of the :no-sender hack
This is where a hack from PID 1 spilled into the client side. We need
to get rid of this as soon as PID 1 is converted to libsystemd-bus.
commit 369c583b3fb3d672ef469d53141e274ec9d2e8a7
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Nov 10 23:53:49 2013 +0100
bus: actually export sd_utf8_is_valid() and sd_ascii_is_valid()
commit f959af205add314dbe90f588723eabdc177956ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Nov 10 23:52:21 2013 +0100
bus: use ENXIO as error condition when trying to exit a container when we are not in any
So far we used ENXIO whenever the user tried to read something from a
function that didn't carry the right type, and hence use the same error
here to indicate that what the user expected and what was in the message
didn't match up.
commit d23284faa9a4d78410b939d42d20b6da3e475f87
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Nov 10 23:51:22 2013 +0100
build-sys: subtract list of exported symbols from "check-api-unused" list
commit c2e0d600ed76f6767d59715d93cf862808552ea2
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Nov 10 23:21:15 2013 +0100
analyze: plot the time spent setting up security modules
commit 95056b27a05c527f4724b6c52abb2a7a69a3a5d0
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Nov 10 23:05:08 2013 +0100
button: don't exit if we cannot handle a button press
commit 46b0925d4febce47d2d3b4cf83518c330730c3f6
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 10 20:52:53 2013 +0100
man: networkd - add documentation
commit 1f06807cc3df506b2085d43106459106c36a6220
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 10 19:33:18 2013 +0100
man: udev - add documentation for .link files
commit 2bba9a57e795ba873b76d8a63a743807d70b1603
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 9 20:31:12 2013 -0500
bus: fix build with old glibc
commit 0a9776c23010512b9096508ff795d12da0f8fc2d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 9 19:40:46 2013 -0500
systemctl: make sure daemon-reload returns success
Also change sd_bus_message_exit_container to return -ENOENT
when not in a container, to make it easier to distinguish different
errors.
commit 7c99d940c11e4da1863a218b6b70dd16e65b7518
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Nov 10 01:26:24 2013 +0100
network: fix tests
One of the tests were assuming the network configuration dirs exist. We
can't do that, so disable it for now.
commit 852c1b4d297e5c36a47254fed44bf0a967d66a90
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 9 18:32:31 2013 -0500
systemctl: fix printing of individual properties
commit 39da205fbb31851ce67442fc8c7c809a6a9344f5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Nov 9 08:00:33 2013 -0500
build-sys: simplify defined/undefined definition
commit a94042fa9b0733ae0c4e27747ee68d1a7865c8c6
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Nov 8 08:41:13 2013 -0500
systemd: fix memory leak in cgroup code
If the unit already was in the hashmap, path would be leaked.
commit 9cb74bcb23dde8488459ca233bf9caee642b8402
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 7 23:57:19 2013 -0500
man,units: fix installation of systemd-nspawn at .service and add example
commit c0fd7cbd7a3a0aab503393e648b33b6ad49ec485
Author: William Giokas <1007380 at gmail.com>
Date: Thu Nov 7 16:00:51 2013 -0600
zsh-completion: Move machine listing to autoload
Instead of having two different listings of machines, use an autoloaded
function that can be used by other shell completions in the future. It
will also allow editing a single file to change the way machinectl and
systemd-run completion for machines.
commit a02c5fe7cbad3ca0536286ceab0bde5fb1c0ba13
Author: William Giokas <1007380 at gmail.com>
Date: Thu Nov 7 16:00:52 2013 -0600
zsh-completion: Move output modes to autoload
commit f579559b3a14c1f1ef96c372e7626c4733e6ef7d
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Oct 17 03:18:36 2013 +0200
networkd: add a basic network daemon
This daemon listens for and configures network devices tagged with
'systemd-networkd'. By default, no devices are tagged so this daemon
can safely run in parallel with existing network daemons/scripts.
Networks are configured in /etc/systemd/network/*.network. The first .network
file that matches a given link is applied. The matching logic is similar to
the one for .link files, but additionally supports matching on interface name.
The mid-term aim is to provide an alternative to ad-hoc scripts currently used
in initrd's and for wired setups that don't change much (e.g., as seen on
servers/and some embedded systems).
Currently, static addresses and a gateway can be configured.
Example .network file:
[Match]
Name=wlp2s0
[Network]
Description=My Network
Gateway=192.168.1.1
Address=192.168.1.23/24
Address=fe80::9aee:94ff:fe3f:c618/64
commit f52841825ad01e80465aa662358c57dc7addbb9a
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Nov 9 22:19:42 2013 +0100
net-util: add inet address/family parsing
commit b226deba789ba1a0d2cbc742ddc8160b7feb09c4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Nov 9 14:11:56 2013 +0100
bootctl: remove unused options from getopt_long
commit dbb642afae6aa825594fb1c57dff632b013666a3
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Nov 9 00:58:11 2013 +0100
bus: let magic ":no-sender" pass the validation
commit 8159d91a9c92aaee66d450ab0daff88f6e1a42b3
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 19:49:49 2013 +0100
bus: port remaining code over to use bus_error_message()
commit 94676f3e9352cbf1f72e0a512ee0d2ed83ff676d
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 19:48:42 2013 +0100
localectl: port over to bus_log_create_error()
commit 477def8097245a124f8ff51d17415cf78cde691b
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 19:32:45 2013 +0100
shutdown: unify handling of reboot() syscall a bit
commit 6d6d40c910e14de8b09db58833dd1f1d95c03169
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 18:57:26 2013 +0100
systemctl: properly initialize column widths for list-jobs
commit 0d95178e49eaf70fce9882d2a1277a9cd3555f34
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 8 18:50:58 2013 +0100
systemctl: rename 'listen'
src/systemctl/systemctl.c: In function âget_listeningâ:
src/systemctl/systemctl.c:535:25: warning: declaration of âlistenâ shadows a global declaration [-Wshadow]
src/systemctl/systemctl.c: In function âlist_socketsâ:
src/systemctl/systemctl.c:690:44: warning: declaration of âlistenâ shadows a global declaration [-Wshadow]
commit 7a4a210539396ac5c9b9469fb03866ddb6d09fb2
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 18:23:47 2013 +0100
bus: allow queuing more local msgs
When issuing a synchronous "systemctl daemon-reload" requests this will
send out a tonload of UnitRemoved+UnitNew signals, that we will queue
locally. When we wait for the message reply, we should be able to queue
those, hence bump the limits on locally queuing messages.
commit 9588bc32096fc8342bfd8b989689717186d7d86e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 18:11:09 2013 +0100
Remove dead code and unexport some calls
"make check-api-unused" informs us about code that is not used anymore
or that is exported but only used internally. Fix these all over the
place.
commit f842cd74eacc2960ac849766eb786059317415ee
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 18:10:51 2013 +0100
build-sys: fix rule for generating undefined list
commit 4aa2beacb1f9996f0352ec4221f8ef47ae2b7c66
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 8 17:49:59 2013 +0100
systemctl: fix "reboot" call
commit 41dd15e474accdeb643c8319e257e6414c1c498a
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 17:07:07 2013 +0100
systemctl: restore ability to directly connect to PID1 from systemctl
commit 3f41e1e5955552a771748225334b3e8a7eb02b8a
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Fri Nov 8 16:01:22 2013 +0100
manager: configurable StartLimit default values
https://bugzilla.redhat.com/show_bug.cgi?id=821723
commit 1290d0fc5f7ffb433e403068c6c60394033e9ba8
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 16:53:00 2013 +0100
man: update systemctl man page to mentioned --machine=
commit 9070a9c1030c65bc181f1d00e7226167508059c4
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 16:52:42 2013 +0100
build-sys: add make check-api-unused
commit 862e8bf8c63bd74b915798677f1894da11b2be60
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 16:52:24 2013 +0100
build-sys: install busctl
commit 489124365d1d391864898b9869dd668eea5b2e28
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Nov 8 09:38:50 2013 -0500
link-config: Fix typo in log_warning
commit da66338e17f4df04d9d7cc22ec971b416d57761e
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Nov 8 09:17:08 2013 -0500
link-config: match length for kernel commandline option
This prevents enable_name_policy() from invariably returning false when
it matches a zero length string at the end of /proc/cmdline.
commit a9616cd17fb0a57ac92d39e1ad261caa1039d7b1
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Nov 8 15:21:50 2013 +0100
systemctl: initialize variables
commit 7af5a806d12beec2f4e69ef0e69eb02b315916d7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 14:06:46 2013 +0100
systemctl: allow listing cgroups of containers
commit 9d458c0902cdc5d993fd2f78d36fb83a8130c81b
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 13:57:18 2013 +0100
clients: fix some signal handler issues
commit cbc9fbd131b485f529715f13bdb2a82f1562d42c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 13:54:46 2013 +0100
systemctl: various cleanups
commit 97137ecce66197dda9e276575f10ff262c76fda7
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 13:54:18 2013 +0100
install: don't override caller's parameter
commit 8fe12d88a8b4d5beb64e5d4efd205043a01b0c13
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 13:54:00 2013 +0100
clients: add missing command line arguments
commit baabc09191178a1d1a7454cd1b601a98dcb22976
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 13:53:25 2013 +0100
journal: fix minor memory leak
commit 6fd4d0209827e5c3e52fa8c7144852f550f8f95c
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 13:53:09 2013 +0100
update TODO
commit f459b6025f9368116d8c410376546c157314c205
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Thu Nov 7 13:49:04 2013 +0900
systemctl: port to libsystemd-bus
commit a6c616024db23fef34152c1432892824a07799cc
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Nov 8 00:49:44 2013 +0100
machinectl: close bus to container early
commit 8e337e6438e1168d9a3bf8e623a26b2211290c24
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Nov 8 12:14:28 2013 +0100
rtnl: message - initialize all memory
Including the padding, which should not really be needed, but let's keep valgrind happy.
commit 8e1519bddb5eefedac2d9c4bf6f6e6b4d5e8ce81
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Nov 8 11:18:51 2013 +0100
test-rtnl: fix typo
commit c6581cc14f2d36b49c72542220a7ed9d33bb8944
Author: Michal Sekletar <msekleta at redhat.com>
Date: Wed Nov 6 11:18:02 2013 +0100
systemctl: return r instead of always returning 0
commit 0a2c2294265d1d4552af3e7a92df0d4560deb818
Author: Michal Sekletar <msekleta at redhat.com>
Date: Wed Nov 6 11:18:01 2013 +0100
net-util: call ioctl() only if necessary
In case when update of current values is not necessary we still might end up
calling ioctl(), because need_update variable is not explicitly initialized.
commit 47c649b5de480b832bb11e0d52ba58d962d61fb2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 22:17:19 2013 +0100
bus: use new property retrieval calls everywhere
commit 40be0704eb4784ee01f60442396a70f797281744
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 22:08:41 2013 +0100
inhibit: more conversions to use bus_log_parse_error()
commit 988b9df29fa01a305eeb073153e7d5113a5ae537
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 22:06:29 2013 +0100
analyze: make use of new sd_bus_get_property_strv() call
commit 6cc532fdccac8eff638da94fbcce0bb655e4689e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 21:41:06 2013 +0100
update TODO
commit a86a47ce1f63476631635fbcbc10af8877172114
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 21:31:13 2013 +0100
clients: try to follow roughly the same order in --help texts for common options
commit 74c7b1ed052fc42d9841a5d83d310fa96124c47c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 21:28:15 2013 +0100
machinectl: show list headers even if we pipe, since that appears to be the usual way
commit 5b30bef856e89a571df57b7b953e9a1409d9aced
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 21:26:31 2013 +0100
bus: log message parsing errors everywhere with a generalized bus_log_parse_error()
commit 46e65dcc3a522b5e992e165b5e61d14254026859
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 21:06:44 2013 +0100
polkit: don't spawn local client if we access a remote system
commit 0d49cfa264e8afc52526cd0cd73b2309dff498b2
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 21:02:48 2013 +0100
systemctl: we show headers for list-units even when piped these days, hence do the same for list-jobs
commit f8f14b3654bcd8d6c6cfd118e50775f6a2328a35
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Thu Nov 7 08:58:23 2013 +0100
loginctl: convert to sd-bus
NOTE: the show-* subcommands do not print some properties:
this are those with types like (so), a(so), (uo),...
we need to fix this, but I'm not sure how
commit 63be1989c77864c7f9845bee1fbd0a2946b0b1b6
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 19:28:54 2013 +0100
bus: add APIs to easily query string and strv properties
commit 1405bef3f1f204fdee001e1d002a8e91a56ef0d3
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Thu Nov 7 13:49:02 2013 +0900
bus: mark sd_bus_message_at_end public
commit 261afec5ae96297b567c3735dc2cbd8bcf57d0c4
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Thu Nov 7 13:49:00 2013 +0900
bus: fix bus_print_property with strv
commit 405cd3aa0b80706331bb0255b95e3265ba8c264e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 18:46:22 2013 +0100
bus: bus_message_read_strv_extend() should return 1 on success
Like all other message read calls bus_message_read_strv_extend() needs
to return 1 on sucess, and 0 on end of array.
commit 2efa7e1b2514ee6a84d9b5bae84bd16f78461409
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 18:40:14 2013 +0100
bus: fix output of bus_message_dump()
commit 5e86fd7b982e2d87537d4386bd1c9684c1ee7c43
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 18:40:06 2013 +0100
bus: allow reading empty arrays with sd_bus_message_read_array()
commit b8ecc741db537f684ad3f7948ed60947cfc9e723
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 18:07:50 2013 +0100
rtnl: add Makefile symlink
commit fa57130d35dd8fd8c3f2f2126dd7fc6930a08e35
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 17:51:09 2013 +0100
man: add docs for sd_is_special() and some man page symlinks
commit a27e222b58824c08fa0da18106cf28a02b6c5e23
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 17:26:01 2013 +0100
build-sys: add a make target to look for undocumented symbols
With super-pretty output!
commit b3273dafc730e6973045f94a849553a9b5280d2d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 17:11:25 2013 +0100
bus: also check for NULL when appending trivial types
commit 15912917ef8b96124bd2553d5ae851c1b113efd8
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 16:44:33 2013 +0100
bus: message_append_basic() - allow string == NULL
commit e633ea1c9c5249ed5bf708a2ed6385c4823d4706
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:53:14 2013 +0100
socket-proxy: actually properly keep track of connections
commit 2c408cb6276e3b8d18fb4e2a81a1128d8bbaa70d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:52:47 2013 +0100
activate: print a nice message if no fd to listen on was specified
commit 2cd33d82b6b4dd3eec3ccf6b8da36f3f3312ff32
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:44:59 2013 +0100
shutdown: as sd-shutdown.h is a drop-in header it should not include any other headers of ours
commit 0095c45415ad24338342369d76d5635088294eae
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:44:48 2013 +0100
api: replace manual C++ guards by macros
commit 1ec6af16f501a6e281fe5604d4be8380bad38646
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:43:25 2013 +0100
socket-proxyd: no need to redefine sockaddr union
commit 3deadb918f1ac034e4edf03e1ba88468ee76bd62
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:42:54 2013 +0100
util: add circle to special chars we can draw
commit 29d230f6f297e76ea06eb1365f6f6c16a92abf9e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:42:36 2013 +0100
pam: the DECIMAL_STR_MAX macro is awesome, let's use it
commit 49a6199b42b34ac16b03af9eec9b4ee7a31aa9f4
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:36:14 2013 +0100
update TODO
commit aac6ad0d2f3dd295129256b0b8d66bea876b94b6
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 16:35:36 2013 +0100
build-sys: don't install sd-shutdown.h, it is a drop-in header like sd-readahead.h
commit 23c80348e656a4e6fd9ba8f17523a65b6fa349a0
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 15:19:39 2013 +0100
machine: add missing header include
commit 48d7417d3e934696d9944db556c795eb0fd7ac21
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 14:59:16 2013 +0100
build-sys: link most internal libraries statically
Libraries and tools, both use shared symbols wich have global state
and should only exist once in the final image.
commit ab49725fd8587ef2b90dd0a67b2c915bc772d089
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 14:56:31 2013 +0100
machine: move symbols referenced by shared code from main to shared file
With --enable-address-sanitizer we get:
machined-dbus.c:228: undefined reference to 'manager_add_machine'
commit 27e72d6b22890ba4a8cbc05c49667cd1cccf1461
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Thu Nov 7 08:58:22 2013 +0100
bus: make bus_print_all_properties work for non machinectl cases
add a destination parameter and skip properties we can't read
commit 8be28fb1e0aa57b2a6ba7736440c9bba54cb86d1
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 14:14:22 2013 +0100
core: fix require $XDG_RUNTIME_DIR
$ sudo dracut -f
Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.
/usr/lib/dracut/modules.d/98systemd/module-setup.sh: line 10:
((: >= 198 : syntax error: operand expected (error token is ">= 198 ")
commit 86198b2788e56fd05959c2dce670d1646bf99bcd
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Nov 7 01:34:19 2013 -0500
udevadm-settle: add missing brace
commit 3f6da75bcef8293382ce2674322f6c50428eb39f
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Oct 9 14:57:13 2013 +0300
core: require $XDG_RUNTIME_DIR to be set for user instances
It seems that some places use /run otherwise, which isn't going to work.
commit aed2ebfed00acdc5db1542be499f6a0d71a76f08
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Thu Oct 31 10:03:08 2013 +0100
test-strv: add strv_split, strv_split_newline, strv_remove_prefix
commit 0c6f1f4ea4980ff719979d36f10bd6ea3e464c02
Author: Jan Janssen <medhefgo at web.de>
Date: Thu Oct 31 17:22:03 2013 +0100
Make hibernation test work for swap files
Suspend to disk works for swap files too (even if it is located
on an ecrypted file system):
https://www.kernel.org/doc/Documentation/power/swsusp-and-swap-files.txt
commit f49e8bc4722aa581f655f81b87608709b6bcda38
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Thu Oct 31 20:46:29 2013 +0100
zsh-completion: add missing options for systemd-run
commit c5383e7942e5d7323406feec2f35ff25a7771919
Author: Yang Zhiyong <yangzy.fnst at cn.fujitsu.com>
Date: Sun Nov 3 19:50:58 2013 +0800
udevadm-trigger: add parameters checking
commit 4e93793da8919a10adc9c96eb82f47c6b134abf2
Author: Yang Zhiyong <yangzy.fnst at cn.fujitsu.com>
Date: Mon Nov 4 11:26:07 2013 +0800
udevadm-settle: add parameters checking
commit a1074881b43416018aef2fb8f62ef62f92f0bae7
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Mon Nov 4 23:01:17 2013 +0200
systemctl: make LOAD column width dynamic
Otherwise 'not-found' overflows into the ACTIVE column.
commit 8ff8ee837357c54bb8845df2c7a30ec05da02367
Author: Richard Marko <rmarko at fedoraproject.org>
Date: Tue Nov 5 15:41:20 2013 +0100
systemd-python: convert keyword value to string
Allows using journal.send('msg', PRIORITY=journal.LOG_CRIT)
Before this commit this results in
TypeError: cannot concatenate 'str' and 'int' objects
and requires passing PRIORITY value as string to work.
commit 889a90422dd47284dffa32b9234a6e58991b000c
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Tue Nov 5 23:32:56 2013 +0100
test: remove duplicated code
commit 37185ec80ad372907a2a9388735655a7334babb6
Author: WaLyong Cho <walyong.cho at samsung.com>
Date: Wed Nov 6 17:02:41 2013 +0900
Support additional argument in reboot
reboot syscall can be performed with an additional argument. In some
systems this functionality can be useful to modify the mode of the
next boot performed by the bootloader.
commit 3f09ee19690730cd69e4986d72da2d9bb7c04a6a
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu Nov 7 01:17:49 2013 +0100
man: add rationale into systemd-halt(8)
The explanation is from
http://people.debian.org/~stapelberg/docs/systemd-dependencies.html
commit 63ba209d8bc64137ff1585d5878328c93cb81b61
Author: Jan Engelhardt <jengelh at inai.de>
Date: Thu Nov 7 01:17:48 2013 +0100
man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted: comma setting, missing words/preposition choice.
commit f576cd2092bc40f9998415cdc3caf10035d4743a
Author: Pavel Holica <conscript89 at gmail.com>
Date: Wed Nov 6 23:24:16 2013 +0100
acpi-fpdt: break on zero or negative length read
https://bugzilla.redhat.com/show_bug.cgi?id=1027478
commit fd201fda7d70f37c77db715562242afc7f8e0fdd
Author: David Strauss <david at davidstrauss.net>
Date: Thu Nov 7 14:46:31 2013 +1000
socket-proxyd: The proxy can now accept multiple sockets (but only to one remote host).
commit 28f86262b9c77b8034dd9b6fd5dfb9398839362f
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:54:13 2013 +0100
bus: indicate in .pc file that we need libsystemd-id128 definitions
commit 6695ed7a841faad68df3d5cb466f5e0e01f57536
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:47:42 2013 +0100
api: add C++ guards
commit 0a0a68282c3f9d3148dd924e1378c448a9a92028
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:40:43 2013 +0100
rtnl: headers in src/systemd/ may not use #pragma once
commit a33dece5f8cce7f1946263bec76068ef84abc07b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:39:32 2013 +0100
rtnl: headers in src/systemd/ may not include internal headers
Hence including "util.h" from sd-rtnl.h is not OK. Let's minimize our
headers we pull in a bit.
commit a2cdd907d1ffd314d1f15d83851610231f69eb61
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:38:08 2013 +0100
rtnl: internal headers must include pragma once protection
commit c3b8df24a9eee82b1414ad345d2e181382d2a62a
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:27:58 2013 +0100
build-sys: add .pc file for libsystemd-bus
commit c8a8806e7705cb2e465b6727415c955fd5ef194b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:20:40 2013 +0100
build-sys: merge sd-event into sd-bus
The sd-event APIs should be available only as part of libsystemd-bus so
that the utility calls are not linked into each independently and we can
minimize the number of libraries we have.
commit bc801363855527cae97e9251aa17741bcd85e33e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:09:59 2013 +0100
build-sys: add Makefile symlink for src/activate/
commit faaa5728d956b7f0d24f27f3341d0b9fff30af00
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:07:37 2013 +0100
utf8: export utf8 validation functions as part of sd-bus
To write useful bus code clients need to validate utf8 frequently since
the bus reacts allergic to it. Since glibc does not provide any calls
for this, let's provide it as part of libsystemd-bus.
commit 23c62e05b3954350495bf63b45fb5d846c2030a0
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 03:06:37 2013 +0100
utf8: ascii_filter() is unused, let's remove it
commit 102d8f8169427cb68cdebf5ee0f0e07788e9c2b2
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 02:03:10 2013 +0100
consistently use "int" when retrieving "bool" from bus messages
commit ba341e7c3c18e81a6faa58883e178a60af317a40
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 6 19:14:35 2013 -0500
bus: add forgotten _public_
commit 5a330cda0ce47bd333a4cf2c559031788a26e62a
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 6 17:24:16 2013 -0500
pam_systemd: dup the fd received from logind
Otherwise sd_bus_message cleanup would close it.
commit 7b147982869e300940be16d08fae8b2460c5857c
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 01:36:08 2013 +0100
build-sys: distribute libsystemd-*.sym
commit 7c693da9df433375c3d7796ff211a56488563f15
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 01:33:07 2013 +0100
build-sys: remove no longer needed DBUS_CFLAGS
commit 8bdbb8d9cbe1d35708385573d70984ab4533812d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 00:53:19 2013 +0100
machinectl: we need glibc's socket.h, not our own
commit d1529c9ea012d37a595417af98804d5d0b5f00d9
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 00:20:11 2013 +0100
pam: externally our booleans are ints, not unsigneds
commit 30374ebe5e9f0b37e99dcbdc965c00fcf542f89d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 00:13:31 2013 +0100
activate: port to use new getpeername_pretty()/getsockname_pretty() calls
commit 4d49b48c60a4ac66fa764fd7a6ae6d0bd0bd9c37
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Nov 7 00:03:54 2013 +0100
socket: rework things to have only one sockaddr formatter
commit b7484e2a58038c57591457c1439505607bdcd833
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 23:59:07 2013 +0100
event: make sure we keep a reference to all events we dispatch while we do so.
commit 5b84559a76f30755019d6a0e6b2ccc9bbe0b3c56
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 23:58:43 2013 +0100
activate: fix uninitialized memory
commit 5a0d49a47cbfd1d50bbb03118972d0212cbd30f0
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Nov 7 00:05:03 2013 +0100
pam_systemd: pass 'unsigned' instead of 'bool' to sd_bus_message_read()
commit fdd6816f7d35011352354956b269de67912feeea
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Nov 6 23:23:33 2013 +0100
build-sys: add sd-event to socket-proxyd
commit f4ef809c7e58814cc18fe0712bf4face2d10eef8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 22:59:23 2013 +0100
mkdir: modernize header ifdefs
commit 8569a77629949b7818d00eba8eea1d05e2d1fc32
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 22:40:54 2013 +0100
socket-proxyd: rework to support multiple sockets and splice()-based zero-copy network IO
This also drops --ignore-env, which can't really work anymore if we
allow multiple fds. Also adds support for pretty printing of peer
identities for debug purposes, and abstract namespace UNIX sockets. Also
ensures that we never take more connections than a certain limit.
commit 175a3d25d0e8596d4ba0759aea3f89ee228e7d6d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 22:30:35 2013 +0100
active: rework make_socket_fd() to be based on socket_address_listen()
Among other things this makes sure we set SO_REUSEADDR which is
immensely useful.
commit eceb8483e5a02e8e337486b89719a3b99cfcb7ce
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 22:27:42 2013 +0100
activate: reduce log settings to normal
commit 29a5ca9baa58e55c4d9e1d008cdd014aa9c3c3e1
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 22:27:20 2013 +0100
activate: get rid of redundant definiton of fd_cloexec()
commit ffcfcb6b2c068a5869cffad8a59d72b888bcb940
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Nov 5 00:01:12 2013 -0500
pam_systemd: port to libsystemd-bus
commit 05a049cc44d1c7eadfab104eea15b13f0207ab40
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Oct 31 00:58:25 2013 -0400
systemd_pam: treat debug as debug=1 and parse all params
systemd_pam would ignore all params after the first invalid one.
Instead ignore just this one, and parse the rest. There's just
one now, but as a matter of principle ;)
Also, allow debug as an alias for debug=1, and don't treat
invalid debug= options as fatal.
commit f7262a9f282fb3bea713458638cad7e79119c1e2
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 6 02:47:39 2013 -0500
bus: add public libsystemd-event
commit d9f644e2cdc81089f76314ee1a264895ca391371
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Nov 6 02:33:42 2013 -0500
bus: export libsystemd-bus as a public library
Old static libsystemd-bus.la becomes libsystemd-bus-internal.la.
memfd functions are also exported in the same library.
(Best viewed with --color-words -U0).
commit 34a6778fb9d1065f3fbb8e2243b9f0f25d1d18f1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Oct 30 23:32:27 2013 -0400
machinectl: use initialization instead of zeroing
commit 97123e532d87fab09e301c8106e878482911c6f1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Oct 30 23:03:28 2013 -0400
efi-boot-generator: simplify
commit 5f7e83e8ad6f83095569c452bff2d0702ac02987
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 18:29:24 2013 +0100
socket-proxy: clean-up indenting
commit eb9da376d76b48585b3b63b4f91903b54f7abd36
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 18:28:39 2013 +0100
clients: unify how we invoke getopt_long()
Among other things this makes sure we always expose a --version command
and show it in the help texts.
commit 4087cb9e8fb90957d90d577e62e8ba056c2258cf
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 17:34:54 2013 +0100
path-util: paths_check_timestamp() opimizations
commit 45a7c6b5d373170eda2fa7bdb8fa81b49865f316
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 17:33:44 2013 +0100
inhibit: don't return error code on --help
commit d75edbd619b87337717d80496f15e59cbbd6c793
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 17:33:24 2013 +0100
busctl: port over to use bus_open_transport()
commit 84f6181c2ac99a0514ca5e0c8fc8c8e284caf789
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 17:32:51 2013 +0100
clients: various simplifications
commit 66b1e746055b9c56fd72c0451a4cfb2b06cf3f20
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 17:31:20 2013 +0100
run: support --system to match other commands, even if redundant
commit 3cd26e7cb24bf1408902c352ab9d2b9a27d4c74f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 17:30:39 2013 +0100
analyze: port over to use bus_open_transport()
commit d3eba116d14b8775eed02e433f7ec5f62cde4957
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 16:38:21 2013 +0100
analyze: simplify things
commit 07d0eaa0171d6e30b85a4b84b3287509406f9451
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 16:38:08 2013 +0100
analyze: fix indentation
commit 6c8ea34fd945103e2f998403fea68bb0006e8057
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Nov 6 13:38:28 2013 +0100
Revert "hostnamed: prevent it from crashing if the chassis is unknown"
This reverts commit 95b015de3849d8d8d03d9441ae1682a04c38833b.
"bus: handle serialization of NULL strings" (cd6f997f71c3aba16aa08226d423d14cbc787f82)
should fix this issue.
commit f3669545238702f8ffee7b743ca4347b785b558a
Author: David Strauss <david at davidstrauss.net>
Date: Wed Nov 6 20:03:18 2013 +1000
Comment spelling fixes.
commit 74df0fca09b3c31ed19e14ba80f996fdff772417
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 03:15:16 2013 +0100
util: unify reading of /proc/cmdline
Instead of individually checking for containers in each user do this
once in a new call proc_cmdline() that read the file only if we are not
in a container.
commit 1f0cd86b3dc0f938ce179cdddc62fc0f584e599d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 02:05:06 2013 +0100
nspawn: explicitly terminate machines when we exit nspawn
https://bugs.freedesktop.org/show_bug.cgi?id=68370
https://bugzilla.redhat.com/show_bug.cgi?id=988883
commit d3e84ddb885e9d5f0ae9930eb905910e3a81f157
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 02:03:04 2013 +0100
machined: keep track of the initial leader PID of a machine
This way we can without races always determine the machine for a leader
PID. This allows machine managers to query the machine for a forked off
container/VM without a race where the child might already have died
before we could read the cgroup information from /proc/$PID/cgroup.
commit cd6f997f71c3aba16aa08226d423d14cbc787f82
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Nov 6 02:01:43 2013 +0100
bus: handle serialization of NULL strings
Instead of simply crashing be somewhat nicer and serialize a NULL string
into the empty string and generate an error on signature and object path
strings.
commit 41f85451d36f14bfc2f78e687167eba9a2d4d67c
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 22:17:03 2013 +0100
shutdown: trim the cgroup tree on loop iteration
This way we leave the cgroup empty before exiting in a container which
makes sure the container manager will get cgroup notification event
https://bugs.freedesktop.org/show_bug.cgi?id=68370
https://bugzilla.redhat.com/show_bug.cgi?id=988883
commit 15c60e99a974782351ca8a5ed438dc3729eb5fe7
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 22:14:52 2013 +0100
cgroup: run PID 1 in the root cgroup
This way cleaning up the cgroup tree on shutdown is a lot easier since
we are in the root dir. Also PID 1 was previously artificially placed in
system.slice, even though our rule actually was not to have processes in
slices. The root slice otoh is magic anyway, so having PID 1 in there
sounds less surprising.
Of course, this means that PID is scheduled against the three top-level
slices.
commit 2270309471213a3c960543e523130627e9cb10e2
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Nov 6 02:03:05 2013 +0100
bus: test-bus-marshal - make dbus-1 optional
commit 95b015de3849d8d8d03d9441ae1682a04c38833b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Nov 6 00:30:29 2013 +0100
hostnamed: prevent it from crashing if the chassis is unknown
When fallback_chassis would return null it led to a crash and an
empty result in hostnamectl. Only seen after the sd-port.
commit 82de16f92ca5259e9ddb4f328f086cb6a9f043b0
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Nov 6 00:29:49 2013 +0100
bootctl: typo fix in help message
commit d91ed6423b738e4707defff7284fc65088368bfd
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 5 21:35:20 2013 +0100
build-sys: remove CFLAGS default assignment
commit 97169d6cad5d999a788274034d8696a58ea1b248
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 5 21:34:50 2013 +0100
man: do not use <term> in <para>
Element term in namespace '' encountered in para, but no template matches.
commit 997d4ae7f2d59c2f624f0856e70d448c4f98bc96
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 5 20:58:18 2013 +0100
login: port test-inhibit to libsystemd-bus
commit 5d66866d96ca7b85b36df99651991b2a1acd2b2e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 21:24:33 2013 +0100
bus: never report nodes as children that do not have the right prefix
commit ce6d4630c1e52ab4f08fbf96b82ffdfa3c6e24ee
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 20:55:14 2013 +0100
update TODO
commit 927b1649448b812a7620ad013f4752d597b12407
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 20:52:39 2013 +0100
logind: add virtual object paths that always can be used to refer to the callers session, user, seat or machine object
This way clients can skip invoking GetSessionByPID() for their own PID
or a similar call to access these objects.
commit d16bd0556127962e0dc19f2b049edb09f354bedb
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 20:52:20 2013 +0100
update TODO
commit affff0b6f2b267254fee981a010e06cd55d9756a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 20:51:49 2013 +0100
bus: add sd_bus_get_current() bus call to determine message that is currently being dispatched
commit 4e724d9c5ab76c3f8327945317463ef706011082
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 20:44:27 2013 +0100
logind: automatically determine client side PID if GetSessionByPID() is called with a PID == 0
commit 2614202b517790d1d11319dce830a9bdcca37f00
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Sun Nov 3 15:07:31 2013 +0100
man: fix typo
commit 1f19a534ea84458670ec011f6d1ba96f76e3f783
Author: Oleksii Shevchuk <alxchk at gmail.com>
Date: Mon Nov 4 18:47:43 2013 +0200
Configurable Timeouts/Restarts default values
https://bugs.freedesktop.org/show_bug.cgi?id=71132
Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec
configuration options to manager configuration file.
commit 7b05894275bc1158d752098581295377f13e7c60
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 19:36:05 2013 +0100
bus: add new bus API call sd_bus_message_at_end()
This may be used to determine whether we are at the end of a container
ot the entire message.
commit 9d6c7c821cbf6655ecde62d2e283a6c94021f781
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 19:14:58 2013 +0100
bus: make use of assert_return() in all API calls that don't use it yet
commit 4686d1b6ee73f1e0cea25f621561b668aa2d6651
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Tue Nov 5 21:42:25 2013 +0900
bus: add sd_bus_message_read_strv()
It will be useful to have that in the public API.
commit b3451bed41453304735b68726571d49fb676d466
Author: Djalal Harouni <tixxdz at opendz.org>
Date: Tue Nov 5 15:26:37 2013 +0100
nspawn: log out of memory errors
commit dd9f052591e482c57c57a92e2c7cc4b0470fe275
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 17:59:55 2013 +0100
logind: fix serialization for PrepareForSleep boolean
commit dbfa3fbbe423bfaa6b5e864cce51724f8ddfb64f
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 17:47:15 2013 +0100
logind: fix serialization of ListInhibitors() request
commit 313333b403439360c0396a50d77d0a1ee2bca4df
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 17:45:46 2013 +0100
bus: fix deserialization of polkit response
commit ced4d06784dbb19666688947901961f949f2aa6d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 03:06:33 2013 +0100
update TODO
commit b8b7e4060f06941ec55da421c5800437ba28c79a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 03:06:05 2013 +0100
bus: delete some now used dbus1 code
commit 275b39fe4bf19f244114dbefa58e0d77047eff4a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 02:54:08 2013 +0100
bus: support entering containers without specifying the type
On request om Tom Gundersen...
commit 9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Nov 5 02:57:49 2013 +0100
bus: update bus_map_all_properties()
commit 9b07511d658fa367f71de9f55fb60c37f0f596ad
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 02:25:24 2013 +0100
bus: add sd_bus_message_skip() to skip over multiple fields
commit 0dcd14b940e4a6c9904e11952c8a98e9152938f3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 02:24:53 2013 +0100
bus: allow that if the destination pointer in sd_bus_message_read_basic() is NULL we skip over a field
commit b3e013148603aa670bc2c060ac63d48e54d76fc2
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Nov 5 01:35:26 2013 +0100
net-util: don't use libudev
Should fix linking with old toolchain.
commit 3a9f7a30ce89b44097731310221802f6d72ea752
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 01:27:27 2013 +0100
logind: expose linger state on User object
commit b8358bce140f0e99d9603a7f09a96f24d3b47f74
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 01:20:52 2013 +0100
logind: fix serialization of ListSeats() bus call
commit cc3773810855956bad92337cee8fa193584ab62e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 01:10:21 2013 +0100
logind: port logind to libsystemd-bus
commit 6d1bd3b2bbae29dbd3862fdb9af2b472b01c480e
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:53:46 2013 +0100
localed: mark bus properties as change emitting
Otherwise sd_bus_emit_properties_changed() will refuse sending out
change signals
commit fe5af61253ab8531c6d683da77546fe97be69b38
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:53:19 2013 +0100
user-sessions: modernizations
commit a658cafa98ab55ea948c29bc87eb3945d515fb41
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:52:46 2013 +0100
machined: simplifications
commit 6ee69bab116f6691dbd04debba5d47dc97d2a6cc
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:51:14 2013 +0100
event: add some well-defined priority values of event sources
commit e65040306900e36aaa84b52428be3490bf107850
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:50:34 2013 +0100
bus: make it easy to serialize C99 bools and uids/gids/pids via vtable properties
commit c13c7de3bf419db3ae93a9acd2d95a5a19e408ed
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:49:50 2013 +0100
bus: support implicit serialization of strv string arrays within vtables
commit c9b6cb28c35e18649575b82466d7d6eb29aa5196
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:49:19 2013 +0100
bus: dbus-daemons' access messages are a bit too verbose
commit 90e071d1d59be05fcba66561439c3ca67c80ee20
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Nov 5 00:48:47 2013 +0100
update TODO
commit 03d7e632c0435f21373c12cf72a2cc3f12f21112
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Nov 4 02:42:23 2013 +0100
rtnl: add support for routes
commit be32eb9b7fbcb22e4b648086d644135e38279633
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Nov 2 02:13:48 2013 +0100
net-config: start split out matching and parsing logic
Move this to src/share/net-util.c, so it can be used elsewhere.
commit fc7689bc9ccf9b94f9a9f666f84c79b8f5b84791
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Nov 4 17:32:50 2013 +0100
hostnamectl: H requires an argument, P is no longer used
commit 5c11fbe3a75e8015f2c26736787d4279c091f091
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Nov 4 15:53:27 2013 +0100
udev: udevd - rules can be NULL when reloading
commit b151ca99332f08a6b9909baf94bc5667a589538b
Author: Martin Pitt <martinpitt at gnome.org>
Date: Mon Nov 4 07:25:45 2013 +0100
udev-builtin-keyboard: Fix large scan codes on 32 bit architectures
Use strtoul(), as scan codes are always positive. On 32 bit architectures
strtol gives wrong results:
strtol("fffffff0", &endptr, 16)
returns 2147483647 instead of 4294967280.
https://launchpad.net/bugs/1247676
commit e9718c12a4ca7f88324b636b36a4375aae64a1cc
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sun Nov 3 16:17:14 2013 +0100
rules: simply 60-drm.rules
We don't need any GOTO, if we merge all matches into a single line.
commit 0a8da8305a41b28ec2c5b7c0720d30ba80e3437a
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Sun Nov 3 13:01:20 2013 +0100
rules: load path_id on DRM devices
The path_id-builtin provides useful unique aliases for DRM devices. If we
want to configure DRM render-nodes for compositors, we want to avoid
storing the whole sys-path in configuration files. Hence, allow users to
store the short PATH_ID instead.
Load path_id-builtin unconditionally on DRM devices now to always provide
this alias.
commit 5f34246c751504d505fbbe57d49148beea74edbe
Author: Bastien Nocera <hadess at hadess.net>
Date: Fri Nov 1 00:24:52 2013 +0100
sd-login: Fix typo
s/sessio,/session,/
commit 164ddcfae8bf33b8308928f01597882da2a86977
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Nov 2 02:35:23 2013 +0100
bus: make bus_map_all_properties() call idempotent
commit b028f3e410a7b9ba6b6291a79164d3de2638eb0b
Author: Simon Peeters <peeters.simon at gmail.com>
Date: Wed Oct 30 06:55:31 2013 +0100
hostnamectl: port to sd-bus
Kay:
- rebase to new transport logic
- replaced iteration macro with property map
commit ffc06c3513d9a0693c7f810d03b20705127ba55a
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Nov 2 00:10:12 2013 +0100
bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables
commit 98e6c5e62ffcec33bd5255ebaafeafdc5a3f1ada
Author: Kay Sievers <kay at vrfy.org>
Date: Sat Nov 2 00:01:32 2013 +0100
detect_virtualization() returns NULL; pass empty string to dbus
commit cc27380c1e09bd51380fbeb168d8315cc806e0ab
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Nov 1 23:11:37 2013 +0100
analyze: rename variables
commit 95168f7d55181475946ad93db30255c4d709df03
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Nov 1 22:57:47 2013 +0100
analyze: plot: place the text on the side with most space
Set the width of the svg to always fit the longest string
while taking its starting position into consideration.
Place the text on the right while the starting point is
in the first half of the screen. After that we put it on
the left to save the svg from being wider that it has to.
commit f69157a66ffe413b4cf8bd79057487fc8921e78b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Nov 1 20:54:29 2013 +0100
machinectl: fix warning when compiling with -Og
src/machine/machinectl.c: In function âopenpt_in_namespaceâ:
src/machine/machinectl.c:623:44: warning: âmasterâ may be used uninitialized in this function [-Wmaybe-uninitialized]
close_nointr_nofail(master);
^
commit 76fdc9669a639db042d0e8bf57f525f008495535
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Nov 1 20:46:49 2013 +0100
systemctl: fix typo in help text
commit a42431ca6a66c5aaa80cf41dbd8220b0778688c0
Author: David Strauss <david at davidstrauss.net>
Date: Thu Oct 31 15:30:49 2013 -0700
socket-proxyd: Actually, some of those sizes are unsigned.
commit 0885468d80e77758bd4c125d3686b68484ef77c4
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Thu Oct 31 19:26:32 2013 +0100
fix compiler warnings
multiple warnings like
src/socket-proxy/socket-proxyd.c: In function âtransfer_data_cbâ:
src/socket-proxy/socket-proxyd.c:237:25: warning: format â%ldâ expects argument of type âlong intâ, but argument 6 has type âsize_tâ [-Wformat=]
log_debug("Buffer now has %ld bytes full.", c->buffer_filled_len);
commit 6e6ca4a5cca704da63ccf7ffa7d7e8a9e6e934f0
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Oct 31 23:11:39 2013 +0100
analyze: share code to read a string array from sd-bus
commit a936124f7ac441b7b32ea9f04fae02a573dbd954
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Oct 31 23:08:16 2013 +0100
analyze: use sd_bus_get_propery_trivial and indentation
commit 0068027e86d2c35f79a700a6ef5c06c56c528baa
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Thu Oct 31 22:02:29 2013 +0100
timedatectl: remove unused variable
commit 0fb533a53359cb8d034ec926638896b93f4fa839
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 31 16:23:06 2013 +0100
virt: move caching of virtualization check results into detect_vm() and detect_container()
After all, we ended up calling detect_container() more often than
detect_virtualization(), hence the former one should cache the results,
since the latter is only a wrapper around the former.
commit c9197a76ae552991b99673d104019e0940d6ad84
Author: Václav PavlÃn <vpavlin at redhat.com>
Date: Thu Oct 31 14:36:41 2013 +0100
man: explain NAME in systemctl man page
commit ebd495b0a190f51dc5ed90f58134054fadfbff1d
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 31 11:20:33 2013 +0100
Revert "timedated: support --enable-split-usr"
This reverts commit 36f9f99556b2fd90705a9eda2e8f182b1e63a15e.
The ntp unit information is only needed by timedated which runs in late
boot only, where all disks are around. Hence there's no point in
allowing them to be located in the rootprefix.
commit d74ab852161d2dc4093d369495ddfa18460cfd76
Author: Ronny Chevalier <chevalier.ronny at gmail.com>
Date: Wed Oct 30 21:57:44 2013 +0100
zsh-completion: add systemd-run
commit e1636421f46db6d06fbd028ef20a3113fa3e11f8
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 31 03:12:37 2013 +0100
localectl: always print error message when an operation fails
commit 7f35b7bc4a241e9aa3b1512fd345cbf5b2e5a782
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Oct 31 03:04:07 2013 +0100
timedatectl: do not print the time zone for the rtc time
commit e5609878d8802e2469c433be418bcbcf55fbe63b
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 31 03:02:49 2013 +0100
timedatectl: assorted simplifications
commit 2f6a59070559786428d9eaf199ae3d61772b2225
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Oct 31 02:26:07 2013 +0100
timedatectl: get time values from the service instead of the client
This allow querying the RTC time from the unprivileged timedatectl.
commit 04d39279245834494baccfdb9349db8bf80abd13
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 31 01:25:44 2013 +0100
machinectl: add new command to spawn a getty inside a container
commit f85fc8454137a5cfba99b3a24aaa6dc38f6e2768
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 20:19:22 2013 +0100
getty-generator: modernizations
commit 4ba93280223ceb5de1bcedb196c38252f334521a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 18:58:59 2013 +0100
nspawn: split out pty forwaring logic into ptyfwd.c
commit 07d978b0d4a8faa2290ac3ed00d7d25f2da17f3a
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Oct 30 23:21:46 2013 +0100
bus-util: avoid infinite loop
commit 4b4bec19582c3ad2b7d25116f3c22c783274fead
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Oct 30 23:13:25 2013 +0100
localectl: remove unused 'P' arg
commit 4d7859d173282e16bb75254c2b4ec14a915ef30b
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 30 22:50:09 2013 +0100
localectl: port to libsystemd-bus
commit a281d9c7851b16c4c9195d042901540ee9ced799
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Wed Oct 30 21:13:46 2013 +0100
timedatectl: port to sd-bus
commit 88212f7bd19e30d73874aa160e789e300a643860
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 18:40:21 2013 +0100
nspawn: only pass in slice setting if it is set
commit 8201ad81a033aff8526e489300e16c0011451330
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 18:15:38 2013 +0100
util: when we use path_strv_canonicalize() we must allocate the strv from the heap
commit d21ed1ead18d16d35c30299a69d3366847f8a039
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 16:44:55 2013 +0100
run: add support for executing commands remotely via SSH or in a container
Also, unify the transport logic a bit, since we reuse the same scheme in
many of our client tools.
commit 5220a6f3a1f5a7324898ecfe7649af254cf561a6
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 16:13:21 2013 +0100
general: various cleanups
commit 36f9f99556b2fd90705a9eda2e8f182b1e63a15e
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 30 11:06:43 2013 -0400
timedated: support --enable-split-usr
commit c50e28a38ccbdd1e1d1f082dd67bb3e74be4d459
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 30 11:00:46 2013 -0400
link-config: support --enable-split-usr
commit 75716dd8eafafbc8605e18d605a091696502a4d0
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 30 15:49:46 2013 +0100
udev: rules - move parsing error to log_error()
commit 98a375f6d5cac24eb80d6d4e00699851324afdec
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Oct 30 15:46:22 2013 +0100
udev: config-link - one less log_info
commit 53755121e1c8ebd3db0330bc82965ecf9a986449
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 15:42:06 2013 +0100
machinectl: we don't really just show information, we execute operations
commit a7893c6b28772edbc7e1fea3c209caa54d465648
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 15:34:50 2013 +0100
bus: add API call to create bus connection to the system bus of local containers
Also, add support for this to machinectl, so that we can enumerate the
machines that run inside a container. We must go deeper!
commit 0f8bd8debb0ff7f5bff7738841931f6c41e40bc1
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 13:52:40 2013 +0100
bus: move ssh support into public API of libsystem-bus
commit 2004d23a0fcaa6e74631057a2ff75594a038d86e
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Oct 30 15:09:01 2013 +0100
libudev: default log_priority to INFO
This brings it in sync with the default config file.
commit f61942250a43a123580d7bbe5d7873dc5118ed97
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Oct 30 14:40:10 2013 +0100
udev: link-config - less verbose logging
Also reinstate print to kmsg when renaming netif.
commit 3e137a1b9a0eac2bf43d493d3302c3c959b6ccdb
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Oct 30 04:10:19 2013 +0100
udev: link-config - let udevd set the ifname
commit 415e7f65dbc66089f0d1b9de6785026596df88e7
Author: Marc-Antoine Perennou <Marc-Antoine at Perennou.com>
Date: Wed Oct 30 12:33:11 2013 +0900
machinectl: privileged option is gone
commit 1cb8df46cb958daa5305c16e7b42ac22524ccd4d
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 30 14:34:58 2013 +0100
udev: ata_id: log faling ioctls as "debug"
commit a1da85830bfaa77b9eb9c54693e5573559c97e50
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Aug 12 14:19:22 2013 +0200
machinectl: port to sd-bus
commit 77632684f3222e60aa1e02c49670dbf73f0fc828
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 30 02:26:29 2013 +0100
build-sys: remove default CFLAGS assignment
commit 38911893c55adfe0ec2c01785dfa49059b409d69
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 02:38:52 2013 +0100
bus: fix build
commit e834047795417b003dbca5a355e8ccdd3148f795
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 02:25:38 2013 +0100
git: indicate that tabs are never OK in the systemd tree
commit c335068380fe8c9d843cdb2cf8a00f822cfabed3
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 02:06:55 2013 +0100
machined: port over to libsystemd-bus
commit 07459db69f3c48ef4d69308faa14f457bd903bcf
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 02:05:49 2013 +0100
update TODO
commit ae7bed3f2d1823e82984e757872b3b753d5c869b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 02:05:38 2013 +0100
bus: make sure we can match well-known names
commit 0fc6e1ed00ee1af4282e46d40ceb07b3afedebef
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 30 02:04:17 2013 +0100
autogen: use -O0 for "autogen.sh c" after all
-Og actually breaks gdb still, so let's stick to -O0 for now, but
introduce "autogen.sh g" for those who don't need gdb.
commit d36679f72eeb96d974d7b012a68e94f55c268068
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 21:38:47 2013 +0100
bus: it is OK to have signals with multiple parameters
commit bd037038840501916aaf8b65a0c3a6e7357d3c74
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 21:38:31 2013 +0100
bus: don't fail if GetAll() is used to get properties of the built-in interfaces
commit 3fc047f43cd4e4a7cc6e7e49e12f1e2fd858b815
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 21:37:32 2013 +0100
bus: make bus message dump output a bit smaller
commit dd8243a3bad284e47714a407d7d9cfac7133f7a3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 21:37:07 2013 +0100
bus: don't include the introspected object in list of subobjects
commit 0aa5b4d1f7247e9e5ff2bd59f287196e20c03296
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 30 01:57:47 2013 +0100
udev: do not allow to change the DEVPATH of a device
commit e0221a35c8a967b2c772f26fcb6ef2300216d0b0
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 23:32:00 2013 +0100
udev: link-config - reset ctx on exit
commit d8921c6d5c7f1047762c2929908fa6c9b506d59d
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 21:52:22 2013 +0100
rtnl-util: add missing files
commit 16d26d559df69ad394d406fce679e45960eb15ef
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 20:03:26 2013 +0100
udev-event: use rtnl to set ifname
commit 3aeb37bc4f32b5edc334f2ac7c5d3c7b0a121328
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 19:55:54 2013 +0100
rtnl: move set_link_properties to rtnl-utils
commit d4bbdb77aff9abb1aaf13f1f92fb5f9513688ce1
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 21:20:25 2013 +0100
rtnl: fix sockaddr confusion
commit 897e7561a0f2b0e502fe57081b5d834876c49d7a
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 20:09:16 2013 +0100
strv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string arrays nicely on the fly
commit 80ba3b84ddf40fccbc21184c2da41d97fe85633d
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 19:55:37 2013 +0100
bus: add extra validity checks
commit 250a918dc4c8a15d927deecc3b3f6a0604657ae4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 19:53:43 2013 +0100
strv: introduce new strv_from_stdarg_alloca() macro to generate a string array from stdarg function parameters
This allows us to turn lists of strings passed in easily into string
arrays without having to allocate memory.
commit 7b1132f60d2a447c31556c23ea90ea31447ac557
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 19:34:11 2013 +0100
rc-local: use access(X_OK) to check if files are executable
... and other modernizations.
commit 88e262b667df1cd9873c45f0062ae79735f41ae6
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 19:31:41 2013 +0100
timedate: handle more nicely if something or somebody keeps open /dev/rtc and thus blocks out everybody else
chrony is appears to keep the RTC open continuously these days which is
a bad idea, and /dev/rtc is a single-user device, which is a bad idea
too. Together both bad ideas mean that nobody else can access the RTC
anymore. That's something to fix, but in the meantime we should handle
this more gracefully.
commit 29f8d1f21ab5341361adcc2533fcda24a7fcf490
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 19:31:25 2013 +0100
bus: add a macro to simplify reading of UUIDs
commit c430fee6ffda0e3736e4e2b617bef0a4c0882849
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 29 19:30:55 2013 +0100
bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls
commit 276fc0668fdfd22ec3b38533e311e14969d42293
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 17:52:25 2013 +0100
rtnl: cleanup socket_read_message
commit 977085794d2996320e345433403de75f662b0622
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 17:48:58 2013 +0100
udev: link-config - split connection to sockets from loading of configs
We want to load the config in _init, but not connect to the sockets before we are forked.
commit adf412b9ec7292e0c83aaf9ab93e08c2c8bd524a
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 17:38:31 2013 +0100
rtnl: complain if used after fork
commit 98dd77e86e0cc339543cc8711ff908e6929f0636
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 16:35:37 2013 +0100
rtnl: introduce default timeout
We set it to 10 secs (as we are only communicating with the kernel,
it seems we should be able to bail out sooner than sd-bus, which
uses 25).
When passing timout 0, the default is used, use this in link-config.
commit f1ac700248f231b7bdac2aafe8c35650efddb89f
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 16:20:22 2013 +0100
udev: link-config - use safe_atou instead of strtoul
commit 2a7e74e002d0df6d7021240d3310220bd19aa3fe
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 16:10:54 2013 +0100
udev: link-config - use zero instead of memset
commit 55428d84f31b52da1c50b7469f14e15740547f20
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 16:05:27 2013 +0100
udev: link-config - use proper return values
Not sure if -ENOENT is the correct return value for when no persistent network
name is set, but couldn't think of anything better.
commit a12fa4204d7da3256537222294d02c8d340f2650
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 15:59:45 2013 +0100
udev: link-config - use new0 instead of calloc
commit dc7d8997aa731cf68a078d901dafb809c90bd21a
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 15:57:54 2013 +0100
rtnl: use malloc0 instead of calloc
commit fe5c4e493e19f5b7979235783170c231dd7d008c
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 15:56:28 2013 +0100
rtnl: use _cleanup_ macro more
commit 5b9d4dc05560ddda89e48b6b39365824b15e1300
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 15:36:26 2013 +0100
udev: link-config - use _cleanup_ macro locally
commit 97f2d76d4f4dfab8b0629c09926a05a1e5621125
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 15:15:53 2013 +0100
path_check_timestamp: only keep the most recent timestamp
There is no point in keeping one timestamp for each directory, as we only
ever care about the most recent one.
commit dabfa9d1efd0d1a7e0507d69f9789bc6404ff786
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 15:03:27 2013 +0100
sd-rtnl: minor fixes
commit 5fde13d748749f0e06e2e6cdd15f0980a79ea82c
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 28 20:59:56 2013 +0100
udev: link-config - add proper parsing
commit 916484f54d084e11a11458716b2e0bbdf4822d40
Author: Tom Gundersen <teg at jklm.no>
Date: Tue Oct 29 13:03:13 2013 +0100
conf-parser: add macro for ENUMV
Parses a whitespace separated list of strings into a vector of enums.
commit 0b99c9f8f0cbfe9ab3de443cb6f94ecd7d21eae3
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 28 20:20:59 2013 +0100
udev: builtin - rename net_link to net_setup_link
Also add shell completions.
commit 9dc670ea766c711741f462b29572f2e5f8f3f6bc
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 28 20:11:10 2013 +0100
network: move configuration to /etc/systemd/network
This is private configuraiton, so let's not pollute the namespace (and hence make Debian happy :) ).
commit f11880744c27209a42f502c690db86b38d2db14b
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Oct 28 23:43:57 2013 -0400
journalctl: add --list-boots to show boot IDs and times
Suggested by David Wilkins <dwilkins at maths.tcd.ie> in
https://bugzilla.redhat.com/show_bug.cgi?id=967521:
> [Specific boot ID is a] bit of a palaver to obtain. I consulted the
> verbose dump of the journal to discover the _BOOT_ID for the
> timestamp, and then generated the journal dump for that boot using
> journalctl _BOOT_ID=foo -o short-monotonic.
commit c20fd707a2b8c75166096544ee6f1538505e40a9
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 28 21:11:51 2013 +0100
update TODO
commit a427c13d26d08195f96679bde6753796f0e0b54a
Author: David Strauss <david at davidstrauss.net>
Date: Mon Oct 28 12:48:39 2013 -0700
Update socket proxy name in TODO. Reformat to list.
commit 3716e8c99c25e7f65d7eff3a131cc459f66ec4eb
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 28 18:54:41 2013 +0100
udev: don't mix static and dynamic libs
commit 16b9b87aeee9353b5b8dae6089a69752422a5b09
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 28 00:19:59 2013 +0100
udev: link-config - add mac address policy
This introduces a new key MACAddressPolicy.
The possible policies are 'persistent' and 'random'.
'persistent' will do nothing if the current address is the hardware address,
but if the hardware does not have an address (or another address is set for
whatever reason), we will generate an address which will be random, but
persistent between boots (based on machineid and persistent netif name).
'random' will do nothing if the kernel already set a random address, otherwise
it will generate a random one and use that instead.
This patch sets MACAddressPolicy=persistent in the default .link file.
commit a7792fecc36fa3e9dae4a5a00aaacdf1da9a661b
Author: Martin Pitt <martinpitt at gnome.org>
Date: Mon Oct 28 12:32:12 2013 +0100
keymap: Fix stuck keys on Lenovo IdeaPad Z370
https://launchpad.net/bugs/1245189
commit df7daa9a689277126b9eb36508abcc2510fa5594
Author: Martin Pitt <martinpitt at gnome.org>
Date: Mon Oct 28 12:30:47 2013 +0100
keymap: Reorder IdeaPad rules
So that they are together in the file.
commit daeb71a36a98834664e4d95773a3629b746f4db8
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 28 00:19:59 2013 +0100
udev: link-config - move naming policy from udev rules
This introduces a new key NamePolicy, which takes an ordered list of naming
policies. The first successful one is applide. If all fail the value of Name
(if any) is used.
The possible policies are 'onboard', 'slot', 'path' and 'mac'.
This patch introduces a default link file, which replaces the equivalent udev
rule.
commit 2a73e0d39a9bec82c3800071e375d27164727e71
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Oct 27 23:09:05 2013 +0100
udev: link-config - sanity check the ifname and mac address
commit eab97a4666453ab905932260d59ab4a0aed081e7
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Oct 27 22:45:14 2013 +0100
rtnl: relax the tests a bit
It is a bit too optimisitc that this stuff is the same on different hosts.
commit 43b3a5ef61859f06cdbaf26765cab8e1adac4296
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 18:54:16 2013 +0200
udev: link-config: add rtnl support
This adds support for setting the mac address, name and mtu.
Example:
[Link]
MTU=1450
MACAddress=98:76:54:32:10:ab
Name=wireless0
commit 65f568bbeb9b8c70200e44c19a797df3a0bfd485
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Oct 21 19:12:52 2013 +0100
libsystemd-rtnl: add a rtnetlink library
This is intentionally as similar to sd-bus as possible. While it
would be simple to export it, the intentions is to keep this
internal (at least for the forseeable future).
Currently only synchronous communication is implemented
commit 02f19706a9fd96e05c9ed16aa55ba3d03d008167
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sun Oct 27 12:45:53 2013 +0100
test-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDS
commit fb15be839500c39f6c2f006f45306d439e1a7add
Author: Daniel Buch <boogiewasthere at gmail.com>
Date: Sun Oct 27 12:45:52 2013 +0100
path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h
commit a501033335ed402c8f7e86fe41a15531ba69abd7
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 18:54:16 2013 +0200
udev: link-config: add ethtool support
This adds support for setting the link speed, duplex and WakeOnLan
settings.
Example:
[Link]
SpeedMBytes=100
Duplex=half
WakeOnLan=magic
commit af6f0d422c521374ee6a2dd92df5935a5a476ae5
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 00:34:01 2013 +0200
udev: add network link configuration tool
This tool applies hardware specific settings to network devices before they
are announced via libudev.
Settings that will probably eventually be supported are MTU, Speed,
DuplexMode, WakeOnLan, MACAddress, MACAddressPolicy (e.g., 'hardware',
'synthetic' or 'random'), Name and NamePolicy (replacing our current
interface naming logic). This patch only introduces support for
Description, as a proof of concept.
Some of these settings may later be overriden by a network management
daemon/script. However, these tools should always listen and wait on libudev
before touching a device (listening on netlink is not enough). This is no
different from how things used to be, as we always supported changing the
network interface name from udev rules, which does not work if someone
has already started using it.
The tool is configured by .link files in /etc/net/links/ (with the usual
overriding logic in /run and /lib). The first (in lexicographical order)
matching .link file is applied to a given device, and all others are ignored.
The .link files contain a [Match] section with (currently) the keys
MACAddress, Driver, Type (see DEVTYPE in udevadm info) and Path (this
matches on the stable device path as exposed as ID_PATH, and not the
unstable DEVPATH). A .link file matches a given device if all of the
specified keys do. Currently the keys are treated as plain strings,
but some limited globbing may later be added to the keys where it
makes sense.
Example:
/etc/net/links/50-wireless.link
[Match]
MACAddress=98:f2:e4:42:c6:92
Path=pci-0000:02:00.0-bcma-0
Type=wlan
[Link]
Description=The wireless link
commit ca5c4105733ea439f89b0199cd3f92bc2f2a0b38
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 16:41:22 2013 +0200
STRV_FOREACH_BACKWARDS: improve readability a bit
The indentation was wrong, also put the semicolon on a separate line to make it clear it is a for-loop
with an epmyt body.
commit 51271a3060e884bbf8bd83ea9689d5176cc9728b
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 23 14:10:02 2013 -0400
update gitignore
commit 89f17d4f807f2fbd9918b513296e25ee2be108c3
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 12:22:04 2013 +0200
udev-builtin: path_id - add support for bcma bus
This matches the bcma support in the network device naming.
Eventually wa want to make sure ID_PATH is equivalent to ID_NET_NAME_PATH,
so we never need to match on the latter.
commit 8e18485284a8718d4a9111b7c1ed91cb2f9634b0
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 00:36:49 2013 +0200
udev: move udev_rules_check_timestamp to shared
I want to use this from a bulitin in a subsequent patch.
commit 5ecb28f69ef670c7e194b656b57fda6f8850f0ba
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 26 13:41:31 2013 +0200
STRV_FOREACH_BACWARDS: start at the tail of the list
Otherwise, the user would have to manually initialize the pointer. Nobody currently uses this code,
so the change in behaviour sohuld be fine.
commit 7d9cb4229cd5a47ab7dd50512fec018320294192
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Oct 26 22:38:41 2013 +0200
typo fix in comment
commit 048ecf5b843eea928cb3a2edc15ee528153403ce
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Oct 25 22:56:19 2013 +0200
analyze: port to sd-bus
commit 77b421d0503f6654fec9760ca159d8815b457f9b
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Oct 25 07:27:18 2013 +0200
bus: disable debug output in test-bus-kernel-benchmark
commit 254ffe5d478dce68911e589f163fd390fced092d
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Oct 24 00:45:10 2013 -0400
catalog: remove links to non-existent wiki pages
AFAIK, we don't have even one page with message explanations.
If/when we add them, we can add links.
https://bugzilla.redhat.com/show_bug.cgi?id=1017161
commit d8c9d3a468e61ee2a2b2c3454e662398b0885411
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Tue Oct 22 20:39:18 2013 -0400
systemd: use unit name in PrivateTmp directories
Unit name is used whole in the directory name, so that the unit name
can be easily extracted from it, e.g. "/tmp/systemd-abcd.service-DEDBIF1".
https://bugzilla.redhat.com/show_bug.cgi?id=957439
commit 0fb0c56f5283a8a94560f595768a801c8240a9bd
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Aug 14 02:54:25 2013 +0200
inhibit: port to sd-bus
commit b0770377ab844f92f336837d63f158b954300d2e
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Oct 22 13:50:23 2013 +0200
analyze: systemd-analyze.c -> analyze.c
commit 28d6633ae11fa0747a4bfa09effe839a91b6d5e4
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 22 12:40:54 2013 +0100
bus: NULL signatures are OK too
commit 430fb8fab261e9661ccf3109b0a92cc9a34801b3
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 22 12:40:39 2013 +0100
bus: only if the user tries to read over the end of an array we should handle this as EOF
commit 8d451309667578d3a03cdfc91d6e339fb9fe64a7
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Oct 22 13:19:56 2013 +0200
localed: port from libdbus to libsystemd-bus
commit f4bd42aa3c9bfbb0fa7a597b715fc3ee8f336764
Author: David Strauss <david at davidstrauss.net>
Date: Mon Oct 21 18:41:35 2013 -0700
socket-proxyd: Fix-up from previous change to avoid looping on errors.
commit 9bcbce4201afada1c0ad8ada0cbfbbf58a52a6a7
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Oct 22 03:27:38 2013 +0200
bus: avoid 'bool' storage when retrieving 'b' from the message
Just use an unsigned int as a bool type to avoid issues in the public
message reading API; sizeof(bool) == 1, but the code copies 4 bytes at
the pointers destination.
commit 40976028c6f24b9934e6c797ef6f5e123ac520d5
Author: David Strauss <david at davidstrauss.net>
Date: Mon Oct 21 18:32:08 2013 -0700
socket-proxyd: Use ONESHOT to behave properly with multiple accept() processes.
commit 202e6abb3d0959d8051d514ae48a140934a30f47
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Oct 22 01:50:49 2013 +0200
man: avoid the use of sudo in examples
sudo is not the first-class tool on all distros. Just require any
superuser shell.
commit 19aadacf92ad86967ffb678e37b2ff9e83cb9480
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Oct 22 01:50:48 2013 +0200
man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted.
commit 9ec9694ce3dbc137735b2992dfa305d0e5948815
Author: David Strauss <david at davidstrauss.net>
Date: Mon Oct 21 16:39:13 2013 -0700
sd-event: EPOLLONESHOT only disables event reporting after an event. The fd is still registered.
commit 299c397c127cda34facbe7d089f944a708ec95e9
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Oct 21 18:53:57 2013 -0400
shell-completion: dump has moved to systemd-analyze
Rename NO_OPTION to STANDALONE for consistency with other files.
commit 418e37506e6a419a808a82081ca1616caa03a206
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Mon Oct 21 21:29:23 2013 +0200
analyze: set white backgound
In programs like eog and gimp the transparant background did not
look very good.
https://bugs.freedesktop.org/show_bug.cgi?id=70720
commit 3a82ac4cfdbcade1f5d2bdbe5f96209bd3d14bef
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 19:52:45 2013 +0200
build-sys: sync printed defaults with "c" option
commit 7759ecb21e2057eacf2dbd111d2f13ea10bff844
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 18:40:33 2013 +0200
silent a few more gcc warnings
commit 03a170c03cd4a09721369ece48affb70d66c6b90
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 18:28:23 2013 +0200
build-sys: disable _FORTIFY_SOURCE for -Og builds for now
Older gcc versions throw things like:
In file included from /usr/include/fcntl.h:302:0,
from ../src/core/execute.c:25:
In function 'open',
inlined from 'open_null_as' at ../src/core/execute.c:196:12:
/usr/include/bits/fcntl2.h:50:24: error: call to '__open_missing_mode'
declared with attribute error: open with O_CREAT in second argument needs 3 arguments
__open_missing_mode ();
commit df28bc0836ad6a79cb537ad0b463819738088f3e
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 15:24:18 2013 +0200
build-sys: use -Og instead of -O0 to catch warnings
$ touch src/core/dbus.c; make CFLAGS=-O0
make --no-print-directory all-recursive
Making all in .
CC src/core/libsystemd_core_la-dbus.lo
CCLD libsystemd-core.la
$ touch src/core/dbus.c; make CFLAGS=-Og
make --no-print-directory all-recursive
Making all in .
CC src/core/libsystemd_core_la-dbus.lo
src/core/dbus.c: In function 'init_registered_system_bus':
src/core/dbus.c:798:18: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]
dbus_free(id);
^
CCLD libsystemd-core.la
-Og Optimize debugging experience. -Og enables optimizations that do
not interfere with debugging. It should be the optimization level of
choice for the standard edit-compile-debug cycle, offering a
reasonable level of optimization while maintaining fast compilation
and a good debugging experience.
commit d1f0e886e1407ab50834127ce52710e1aff13938
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 03:49:03 2013 +0200
rules: remove pointless MODE= settings
Changing the default MODE= for the group accessi, but not specifying
a GROUP= does not provide anything.
It disables the default logic that the mode switches to 0660 as soon
as a GROUP= is specifed, which make custom rules uneccesarily complicated.
https://bugs.freedesktop.org/show_bug.cgi?id=70665
commit 464b3d64419808b7334563e907d172337cc9d718
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sat Oct 19 20:58:59 2013 -0400
socket-proxyd(1): fix references to non-existant files
socket.target -> sockets.target
/usr/bin/systemd-socket-proxyd -> /usr/lib/systemd/systemd-socket-proxyd
commit bd4b5df2cb253f130ecdac604e865e3f832c316a
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 00:56:47 2013 +0200
bus: initialize variable, now that we might skip debug logging
commit ca2871d9b027018c108e0cf7bbc4e5a919e300c3
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 00:38:19 2013 +0200
bus: remove static introspection file export
commit af8601fa8b035426bba7916ebe08e4568d2e2cbd
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Oct 21 00:18:00 2013 +0200
bus: allow to specify NULL as an empty string to add
commit f24e86530ce0645e88022497af7d238f9c366946
Author: Colin Walters <walters at verbum.org>
Date: Sun Oct 20 16:02:26 2013 -0400
log: Fix previous commit to use correct level
commit 87ff6b1c2a607c47b2374c5be41ac01302714979
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 21:17:55 2013 +0200
log: avoid calling the logging functions for log levels above the current maximum
Messages with log levels above the current maximum log level will be dropped
inside log_meta(). But to be able to call the function, all parameters for
the function need to be provided. This can easily get expensive, if values
need to be calculated or functions are used in parameters.
Avoid all useless work by checking inside the macro, before we look
at any parameters passed to the logging functions.
commit 145d22584ff3a64cfd4798ad4fde5ed6e2428183
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 16:58:04 2013 +0200
build-sys: unify foo_CFLAGS = usage and add explaining comments
Always add the default AM_CFLAGS first.
If variables are used in conditionals, the default assignment
of AM variables is disabled, even when the conditional is not
in use; foo_CFLAGS = $(AM_CFLAGS) is needed, even when it looks
like a no-op.
commit a54156a297a01931f6bade76376eb7a9cb776ccc
Author: Colin Walters <walters at verbum.org>
Date: Sun Oct 20 09:53:05 2013 -0400
Revert "build-sys: move journalctl CFLAGS= to one line"
This reverts commit e5d5aa1d0f4e143f12f5e00ca072547369d37e53; it
breaks if !HAVE_QRENCODE since then we aren't using $(AM_CFLAGS) for
journalctl.
commit 3396c37f91a1a62d65b9dc5251246678a5cd381f
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 04:27:30 2013 +0200
vimrc: disable -fdiagnostics-color output
commit 6298945d5c4b9a8116f2b1d1f9c7f6c0ff644a05
Author: David Strauss <david at davidstrauss.net>
Date: Sat Oct 19 17:11:36 2013 -0700
socket-proxyd: Remove datagram research TODO. This proxy will not work with them.
commit 20c7c931a96a51db2d7759525d3ce4e949cf2b17
Author: David Strauss <david at davidstrauss.net>
Date: Sat Oct 19 17:05:42 2013 -0700
socket-proxyd: Comment and log text cleanup.
* Standardize on "nonblocking" spelling, per Linux man pages.
* Clarify that the nonblocking sockets are never in a "blocking"
or "unblocked" state, just a "would block" or "ready" state.
commit 8100106762430b48d5a945552fa5e20851b26717
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 01:16:32 2013 +0200
man: systemd-fstab-generator - remove <term>
Element term in namespace '' encountered in para, but no template matches.
commit 743bc3c979fd0c73f69bdefb0d6352d698a03f39
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 01:12:29 2013 +0200
hwdb: update
commit b6818c7d10659495de6424bad8e019be1001979f
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 01:10:49 2013 +0200
socket-proxyd: initialize variable used in error code path
commit e5d5aa1d0f4e143f12f5e00ca072547369d37e53
Author: Kay Sievers <kay at vrfy.org>
Date: Sun Oct 20 00:59:53 2013 +0200
build-sys: move journalctl CFLAGS= to one line
commit a7f9b27596b683a6e1f543c22236302d652cd6a0
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 19 19:28:21 2013 +0200
trivial: rfkill - don't include util.h twice
commit e6a5e5be830032641fa2b99be64913aca72e965a
Author: Colin Walters <walters at verbum.org>
Date: Sat Oct 19 09:02:01 2013 -0400
trivial: rfkill: It's util.h, not utils.h
How about we actually run make locally before pushing, eh?
commit 255ee79bf33ba97b054c895cbb2af024453eee99
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 19 12:33:47 2013 +0200
man: fix typos in backlight/rfkill page
/me must learn to also test manpage changes
commit 182ae347697e9511294ec49009bcd208cce1ee4c
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 19 12:23:41 2013 +0200
TODO: update
commit 06f06393313e125123ea50ac79fef10e5e7ecef1
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 19 12:13:25 2013 +0200
udev-builtin: uaccess - inherit logging form udev
Not that it makes a difference in this builtin, but otherwise /etc/udev/udev.conf is not respected.
commit a7623afb7a48ab1d7b5b24fbd5f1033acfb2301c
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 19 11:38:42 2013 +0200
fsck-root: only run when requested in fstab
fsck-root is redundant in case an initrd is used, or in case the rootfs
is never remounted 'rw', so the new default is the correct behavior for
most users. For the rest, they should enable it in fstab.
commit d09ee17da21b7ca2259067ac4e54f8a1cc3c0fc0
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 5 17:32:21 2013 +0200
efi-boot-generator: hookup to fsck
commit accdd018ede77ef1c057775396c18c73406cbcb4
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 5 17:28:09 2013 +0200
mount/service: drop FsckPassNo support
We now treat passno as boleans in the generators, and don't need this any more. fsck itself
is able to sequentialize checks on the same local media, so in the common case the ordering
is redundant.
It is still possible to force an order by using .d fragments, in case that is desired.
commit 4952a9beff339b75641a7a84c226c11d6bd680c4
Author: Thomas Bächler <thomas at archlinux.org>
Date: Mon Sep 30 01:34:46 2013 +0200
Remove FsckPassNo from systemd-fsck-root.service
commit 4c8bda2442bfc6d84a5deb241dc29efcb81bf3af
Author: Thomas Bächler <thomas at archlinux.org>
Date: Mon Sep 30 01:34:45 2013 +0200
gpt-auto-generator: Generate explicit dependencies on systemd-fsck at .service instead of using FsckPassNo
[tomegun: check for OOM]
commit 64e70e4b86d3f732d3513189312f6220d1d5cfbc
Author: Thomas Bächler <thomas at archlinux.org>
Date: Mon Sep 30 01:34:44 2013 +0200
fstab-generator: Generate explicit dependencies on systemd-fsck at .service instead of using FsckPassNo
[tomegun:
* order all fsck instances after fsck-root
* check for OOM
* added notes in the manpages]
commit 7f5806d7095a197e4788a7803642831beec295bf
Author: Thomas Bächler <thomas at archlinux.org>
Date: Mon Sep 30 00:32:33 2013 +0200
fstab-generator: When parsing the root= cmdline option, set FsckPassNo to 1
[tomegun: without this we would never fsck the rootfs if it was directly
mounted 'rw' from the initrd. We now risk fsck'ing it twice in the case it
is mounted 'ro', so that should be addressed in a separate patch.]
commit 295edddf5a2d884222a26935b40a4e99b924543d
Author: Tom Gundersen <teg at jklm.no>
Date: Sat Oct 19 00:46:07 2013 +0200
kerne-command-line: introduce option 'systemd.restore_state'
When set to 0 this will stop tools like the backlight and rfkill tools to
restore state from previous boot. This is useful in case the stored state
is bogus to the extent that it is preventing you from resetting it (e.g.,
the backlight settings cause the screen to be off on boot on a system where
the backlight can not be adjusted directly from the keyboard).
commit efc815a13d4b4cae59045c6a120a6c6f7dac2d7b
Author: Tom Gundersen <teg at jklm.no>
Date: Fri Oct 18 21:17:50 2013 +0200
TODO: add some fsck items
commit 4ca302b967415107bf7c8f3deb0e3837ac2e2b9f
Author: Colin Walters <walters at verbum.org>
Date: Fri Oct 18 10:13:52 2013 -0400
build-sys: Honor CFLAGS for journalctl again
Regression from e905a456814eadfb904c49241e3841c1e4a1d119.
commit 58c5d4215a22b2d619eec0432798532c85328345
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 14:21:36 2013 +0200
build-sys: fix += vs = in Makefile
commit 1daf8121524246932b18be8dd7d63e792dee5de2
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 14:06:56 2013 +0200
bus: if we hit the end of an array container return 0 as EOF indicator when reading it
commit 89456fcee469882bad8566aa0947c7aadadfde91
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Aug 12 02:51:56 2013 +0200
update-utmp: port to sd-bus
Change from GetUnit to LoadUnit to make sure we can detect the current legacy
runlevel, even if nothing loaded the legacy target files yet.
commit 96c374d0a536286e18cad64d1b5ebb8f07c90334
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 02:40:26 2013 +0200
socket-proxyd: rename from saproxy
The thing is a daemon, hence needs a "d" prefix. Also, we tend to not
abbreviate names of background components unnecessarily, since they are
not primary commands people type. Then, the fact that this thing does
socket actviation is mostly in implementationd detail for the proxy.
Also, do some minor indenting clean-ups and other code updates.
commit e905a456814eadfb904c49241e3841c1e4a1d119
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 02:37:38 2013 +0200
build-sys: drop a number CFLAGS assignments in Makefile that are pointless
commit abc5fe72503fcc30998334e73c5d8e58f9a9d85e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 01:43:11 2013 +0200
bus: automatically flush bus queue when we exit the event loop
This way, we do not have to call it manually
commit b75b4db0af92514fce3955a1350b77c3c42e7f77
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Aug 12 01:50:03 2013 +0200
initctl: port to sd-bus
commit d05f1cae2f2ff2828f482f943f86125dbada3f25
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Aug 12 00:57:16 2013 +0200
cgroup-agent: port to sd-bus
commit 0c842e0ac0293ca395724fa3aefcc2e65390c8b7
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Aug 12 00:35:49 2013 +0200
fsck: port to sd-bus
commit 7e9cf16c20cd1bca2ba6afb072ef84090cbf5283
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 00:48:00 2013 +0200
timedated: disable debug logging
commit 66a4c743c070761ee8696aa6302445fecf358441
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 18 00:47:41 2013 +0200
hostnamed: port over from libdbus to libsystemd-bus
commit fe8245eb3c4bc4c492168b861ce3b631479a9046
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 16 20:24:11 2013 -0400
sd-event: initialize return value
src/libsystemd-bus/sd-event.c:1597:13: warning: 'r' may be used
uninitialized in this function [-Wmaybe-uninitialized]
commit 70d8320978dcbce022d9acbb953a10a7aca049ab
Author: David Strauss <david at davidstrauss.net>
Date: Thu Oct 17 13:19:29 2013 -0700
Fix kmod error message to have correct version requirement
commit a18535d9e138c525d0443ec9f30a90b3e2184686
Author: Tom Gundersen <teg at jklm.no>
Date: Thu Oct 17 19:49:19 2013 +0200
static-nodes: don't call mkdir
This is no longer necessary with kmod-15. Bump the requirement.
commit ca2f4176fee7dd5f5664429988e7059163fddb2d
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Oct 17 03:20:46 2013 +0200
tmpfiles: log unaccessible FUSE mount points only as debug message
commit 03cc26dda4cb59207fea3dd4fd1fa4608746739c
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 17 01:03:39 2013 +0200
timedated: expose time and NTP sync flag via the bus
This way, timedatectl can be run over the network and determine all
properties correctly from the server rather than the client.
commit aacf3b483b70b9a9ff16217f6376d143cbfe4636
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 17:00:13 2013 +0200
api: unify some common bits used by public systemd APIs
commit 6fc60278a9de47f40a31acf4d0acb08d2500382d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 16:57:49 2013 +0200
timedate: expose RTC time
Since access to the RTC is privileged expose the current RTC time as bus
property so that unprivileged clients can read it.
commit d16dd6d42a28a5d7c335ede979c3d426cd4656f5
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 16:55:01 2013 +0200
bus: fix default exit on idle timeout
commit 3f0b55366b027aa7b6d1944cd64a3d756a5d6b3d
Author: David Strauss <david at davidstrauss.net>
Date: Wed Oct 16 05:12:16 2013 -0700
sabridge: Makefile should be a symlink
commit c452c7cfced2b40bd12b20196009eff781229c2c
Author: David Strauss <david at davidstrauss.net>
Date: Wed Oct 16 04:04:43 2013 -0700
saproxy: man page formatting and terminology fixes
commit 40ca29a1370379d43e44c0ed425eecc7218dcbca
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 06:10:04 2013 +0200
timedated: use libsystemd-bus instead of libdbus for bus communication
Among other things this also adds a few things necessary for the change:
- Considerably more powerful error returning APIs in libsystemd-bus
- Adapter for connecting an sd_bus to an sd_event
- As I reworked the PolicyKit logic to the new library I also made it
asynchronous, so that PolicyKit requests of one user cannot block out
another user anymore.
- We always use the macro names for common bus error. That way it is
harder to mistype them since the compiler will notice
commit 7a37d62501c97eb3b48a418ef764d0308e0c3fb9
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 06:04:20 2013 +0200
bus: return 1 on all calls that send messages
This way they are nicer to use from method dispatch callbacks as last
call, since method dispatch callbacks expect > 0 return if the message
got handled.
commit 8efd6381798d0cfcba6f98c5a81f9b296ad49733
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 06:01:46 2013 +0200
bus: make sure sd_bus_get_timeout() returns a 0 timeout of there are already read but not dispatched messages
commit 6014597dd60a708213cf50d28278877c00843a02
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 05:59:21 2013 +0200
bus: fix generate introspection XML
commit 75297aba8130cb1c1af2ae394039cbb9127161df
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 05:58:28 2013 +0200
bus: extend bus protocol definitions a bit
commit d09d5ecda2172ba539f1b08da9f3e9787be37229
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 05:57:41 2013 +0200
event: handle arbitrary signals received during epoll gracefully
commit 72aedc1e80c7370e3413300c5d2ec04ac1713e0b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 05:57:05 2013 +0200
event: properly disarm timers when we don't need them anymore
commit e471512768bc0c5c3809178ff42c67e10da25f34
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 05:56:37 2013 +0200
event: fix sd_event_source_set_io_events()
commit 44b601bc79e46722bc0f0862ee0ce34a2284ef11
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 03:17:09 2013 +0200
macro: clean up usage of gcc attributes
Always use our own macros, and name all our own macros the same style.
commit e0d856dd48d640f3d95efe7b769edec02373cc74
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 02:51:24 2013 +0200
rules: don't limit some of the rules to the "add" action
Devices should show up in systemd regardless whether the user invoked
"udevadm trigger" or not. Before this change some devices might have
suddenly disappeared due issuing that command.
commit da999068475a8c62113de45fe10103bef0b6016a
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 16 02:49:54 2013 +0200
rules: expose loop block devices to systemd
Since the kernel no longer exposes a large number of "dead" loop devices
it is OK to expose them now in systemd, so let's do that. This has the
benefit that mount dependencies on loop devices start to work.
commit 32d3c80969c28a8b00c31912e58a5f13c268f01e
Author: David Strauss <david at davidstrauss.net>
Date: Tue Oct 15 18:55:25 2013 -0700
saproxy: Fix for systemd's event library not deduping fds.
commit 075376d59646593d6d5d0b900a0e8d5218ca5e52
Author: David Strauss <david at davidstrauss.net>
Date: Tue Oct 15 17:29:51 2013 -0700
Bump up the saproxy buffer to 16kB.
commit d1b38fac57d82f0249b9e581eb0d18175f6aa74a
Author: David Strauss <david at davidstrauss.net>
Date: Tue Oct 15 17:00:18 2013 -0700
Rename sabridge to saproxy to be less cryptic
commit ae25936d0f92472bd3365627b1d87fec9d322a98
Author: David Strauss <david at davidstrauss.net>
Date: Tue Oct 15 16:25:45 2013 -0700
Update TODOs with follow-up sabridge work.
commit 912b54ad47e1597c1744ccd936368b0eb1468b16
Author: David Strauss <david at davidstrauss.net>
Date: Mon Oct 14 16:41:47 2013 -0700
Add sabridge for socket activation of traditional daemons
commit d7d1c8f983599dca6ee30229375215978657c072
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Tue Oct 15 21:13:39 2013 +0200
logind: allow unprivileged session-device access
The session-device/control API was introduced for unprivileged device
access from within a session. Add the required dbus policy to the default
logind policies.
Note: logind validates that only root and the user of a session can
use the API. Furthermore, only a single API user gets access at a time.
commit 775657712d0f6d14b70a0fe947a95a9ecc212440
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Oct 15 08:58:50 2013 +0200
man: document the -b special boot option
commit 306e6650221d88b29831bcdcef94447afb65df5c
Author: Igor Zhbanov <i.zhbanov at samsung.com>
Date: Tue Oct 15 14:35:13 2013 +0400
Fix for SIGSEGV in systemd-bootchart on short-living processes
The function svg_ps_bars() dereferencess NULL pointer in the line
endtime = ps->last->sampledata->sampletime;
because of partially initialized ps_struct (ps->last == NULL).
If some process terminates between scaning /proc directory in the log_sample()
function and reading additional information from /proc/PID/... files,
the files couldn't be read, the loop will be continued and partially
initialized structure returned.
commit 72f4d9669c253d5bd7c126bf2e7a0db0198cf2eb
Author: Jan Engelhardt <jengelh at inai.de>
Date: Tue Oct 15 08:58:51 2013 +0200
man: wording and grammar updates
This is a recurring submission and includes corrections to various
issue spotted. I guess I can just skip over reporting ubiquitous comma
placement fixesâ¦
commit 0c7225549d539c77620e15c850c60e4dc124a131
Author: Anatol Pomozov <anatol.pomozov at gmail.com>
Date: Mon Oct 14 16:12:29 2013 -0700
Fix misspellings with codespell tool
commit b0130bf6083e419b4673f300ab243aa5869cff87
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Oct 15 02:26:37 2013 +0200
build-sys: libsystemd-id128 - get rid of the needless selinux linking (again)
$ ldd libsystemd-id128.so
linux-vdso.so.1 => (0x00007fffce377000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f4de1fc1000)
librt.so.1 => /lib64/librt.so.1 (0x00007f4de1db9000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f4de1bb4000)
libc.so.6 => /lib64/libc.so.6 (0x00007f4de17f5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4de2406000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f4de158f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4de1371000)
$ ldd libsystemd-id128.so
linux-vdso.so.1 => (0x00007fff25187000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f41a3964000)
libc.so.6 => /lib64/libc.so.6 (0x00007f41a35a5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f41a3d89000)
commit 9cada1952a371e1b74b5e4bcae020ca1e88fdec8
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Oct 15 02:11:56 2013 +0200
build-sys: libudev - get rid of the needless selinux linking (again)
commit a0551d26ab5c6e0d5089b42a6319baef0e28ad92
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Oct 14 19:15:24 2013 -0400
Fix bad assert in show_pid_array
This function should get the same treatment as other qsort uses
did in 7ff7394 "Never call qsort on potentially NULL arrays".
Reported-by: Oleksii Shevchuk <alxchk at gmail.com>
commit 68313d3dfa2082dae8a06643d639e0200afc19fc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 21:58:06 2013 +0200
bus: properly handle if new objects are installed in the node tree while we are dispatching to one
commit 8ce2afd6347dcf01e33fe1ff257e2b0fffa8edfe
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 19:53:56 2013 +0200
bus: make sure that we always keep a ref to the bus when we dispatch callbacks
Otherwise the callback might unref the bus we are processing and destroy
the object while we are processing it.
commit d68888227d2e1093f8e18753ba2e10a1cab7c6ad
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 19:40:37 2013 +0200
bus: use assert_return() for more API calls
commit 690018ab40dc9435d609f92c5eca9b1b847668c6
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 19:02:11 2013 +0200
git: add test-ellipsize to files to ignore by git
commit be3f52f4ed02a9256b1577719677b32a17b525ac
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 19:01:09 2013 +0200
backlight: include ID_PATH in file names for backlight settings
Much like for rfkill devices we should provide some stability regarding
enumeration order, hence include the stable bits of the device path in
the file name we store settings under.
commit f6f738db7273f8a2092ac372852f37f2a34cea17
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 18:52:07 2013 +0200
rfkill: use ID_PATH as identifier for rfkill state files
Let's include the stable device path for the rfkill devices in the name
of the file we store the rfkill state in, so that we have some stability
regarding enumeration order.
commit a8ccacf5344c4434b1d5ff3837307acb8fcf93d2
Author: Bastien Nocera <hadess at hadess.net>
Date: Mon Oct 14 08:15:51 2013 +0200
shared/util: Fix glob_extend() argument
glob_extend() would completely fail to work, or return incorrect
data if it wasn't being passed the current getopt "optarg" variable
as it used the global variable, instead of the passed parameters.
commit 71fda00f320379f5cbee8e118848de98caaa229d
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 06:10:14 2013 +0200
list: make our list macros a bit easier to use by not requring type spec on each invocation
We can determine the list entry type via the typeof() gcc construct, and
so we should to make the macros much shorter to use.
commit 14bf2c9d375db6a4670bc0ef0e521e35a939a498
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 04:59:26 2013 +0200
util: allow trailing semicolons on define_trivial_cleanup_func lines
Emacs C indenting really gets confused by these lines if they carry no
trailing semicolon, hence let's make this nicer for good old emacs. The
other macros which define functions already do this too, so let's copy
the scheme here.
Also, let's use an uppercase name for the macro. So far our rough rule
was that macros that are totally not function-like (like this ones,
which define a function) are uppercase. (Well, admittedly it is a rough
rule only, for example function and variable decorators are all
lower-case SINCE THE CONSTANT YELLING IN THE SOURCES WOULD SUCK, and
also they at least got underscore prefixes.) Also, the macros that
define functions that we already have are all uppercase, so let's do the
same here...
commit 416446221d905b6815175dc4d525d27f8ae43d1b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 04:52:51 2013 +0200
update TODO
commit a0a6408e31fef4618e27fafba416b9858f66a8e3
Author: Mantas MikulÄnas <grawity at gmail.com>
Date: Wed Oct 9 14:57:12 2013 +0300
manager: connect to private bus even if $DBUS_SESSION_BUS_ADDRESS is not set
Because that's exactly the kind of situation where the private bus is
necessary.
commit 3990f247652c3bd41e4ea074e6302277eb9c7aa3
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 04:31:49 2013 +0200
rfkill: add new rfkill tool to save/restore rfkill state across reboots
This works analogous to the existing backlight and random seed services
commit 0f4ba83c397e807939a4eb0b2cbd04ad4ab548cc
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Oct 14 02:12:52 2013 +0200
backlight: always prefer "firmware"/"platform" backlights over "raw" backlights if we have both for the same device
commit 124b48b00d0c59fbbc2a8c3e27dba2cd6877aaa8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Oct 13 19:43:19 2013 -0400
man: add more markup to udevadm(8)
commit 0eb2e0e3403f03d0dd47c5043057edae3bc2c9a3
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Oct 13 17:41:24 2013 -0400
event: avoid derefencing null pointer
commit 23c6f770cc214a9c9fe29dc964b64400987faa62
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Oct 13 17:40:34 2013 -0400
bus: make sure we don't try to malloc 0 bytes
commit 1ca208fb4f93e5869704af1812cbff7130a2fc03
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 12 20:28:21 2013 -0400
Introduce udev object cleanup functions
commit b506291ff195e03ce793ac925cc2d158f0b452b5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 12 19:50:54 2013 -0400
gitignore: ignore clang --analyze output
commit f6d2d421470a566cca05ceede788d61a0773e276
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 12 13:43:07 2013 -0400
Make sure that we don't dereference NULL
The code was actually safe, because b should
never be null, because if rvalue is empty, a different
branch is taken. But we *do* check for NULL in the
loop above, so it's better to also check here for symmetry.
commit 97fec53e5e91222f43fc89d0ad45fa197742a363
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:34:21 2013 -0400
udev: use initialization instead of zeroing in one place
commit 872c8faaf2009422a91d227ae0b5c6f04c9d2c69
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:34:17 2013 -0400
Fix write-only use of a few variables
Since the invention of read-only memory, write-only memory has been
considered deprecated. Where appropriate, either make use of the
value, or avoid writing it, to make it clear that it is not used.
commit 51d122af23533b0b8318911c4fc8b128ad8eafb7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:33:48 2013 -0400
Introduce _cleanup_fdset_free_
commit a3e7f417d72ba3251fd6b3a228a2721a4b725a03
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:33:43 2013 -0400
bus: fix access to unitialized variable in error path
src/machine/machined-dbus.c:237:13: warning: Branch condition evaluates to a garbage value
if (m)
^
commit 6891529fe1176c046ece579807ff48e3191692f3
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:33:36 2013 -0400
drop-ins: check return value
If the function failed, nothing serious would happen
because unlink would probably return EFAULT, but this
would obscure the real error and is a bit sloppy.
commit 7ca9dffae1988a885e2e79c4bdca68169f4ca5ff
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:33:30 2013 -0400
journald: use greedy_realloc in one place
commit 74dcc2df7b2a340c3e1fe9e61e5c8deb324c83d7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:33:20 2013 -0400
dbus-common: avoid leak in error path
src/shared/dbus-common.c:968:33: warning: Potential leak of memory pointed to by 'l'
return -EINVAL;
^~~~~~
commit b47d419c25ecc735615a1088060c1ec8bef1e41f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 12 12:15:49 2013 -0400
Modernization
Fixes minor leak in error path in device.c.
commit 7ff7394d9e4e9189c30fd018235e6b1728c6f2d0
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Fri Oct 11 19:33:13 2013 -0400
Never call qsort on potentially NULL arrays
This extends 62678ded 'efi: never call qsort on potentially
NULL arrays' to all other places where qsort is used and it
is not obvious that the count is non-zero.
commit fb1316462952d17d6ebf19c3f093b730c13016a7
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 5 21:44:31 2013 -0400
unicode: treat cute symbol block as fullwidth
UNICODE standards only talk about fullwidth characters for East
Asian scripts. But it seems that all those symbols are fullwidth
too.
commit 35d811f521ac5da19786ff64cf1d8a2ee13f1374
Author: Shawn Landden <shawn at churchofgit.com>
Date: Fri Sep 20 18:37:34 2013 -0700
test: test for ellipsize
commit f405e86de361ec305dc2b8634efeaa23dc144053
Author: Shawn Landden <shawn at churchofgit.com>
Date: Fri Sep 20 18:37:33 2013 -0700
util, utf8: make ellipsize take multi-byte characters into account
rename old versions to ascii_*
Do not take into account zerowidth characters, but do consider double-wide characters.
Import needed utf8 helper code from glib.
v3: rebase ontop of utf8 restructuring work
[zj: tweak the algorithm a bit, move new code to separate file]
commit 14a9283eb38a93ec384c322ccbe06352c86a25f8
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sun Oct 13 17:42:51 2013 -0400
udevadm.xml: document --resolve-names option for test
And remove documentation of the --subsystem flag which doesn't actually
exist.
commit 4be391639f47b71ce021d8b5cb0f97c105a80156
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 23:22:29 2013 +0200
bus: properly implement logic for generating InterfacesAdded/InterfacesRemoved signals of ObjectManager
commit 92db139e34fcd3102054574f8f11f404a751dbb0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 23:21:22 2013 +0200
bus: in GetManagedObjects() only return each object once.
commit 92e189e57297b110a1a12703aa17557e3600cf4f
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 23:20:54 2013 +0200
bus: unify code to find parents of an object path with
commit 8e4e652b92c8c2f640f8ac1c839dd4a0fd11f3c4
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 23:19:40 2013 +0200
bus: properly generate GetAll reply
commit 55736ed0c7ead8c93f2156f751399326a4656055
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 23:02:47 2013 +0200
bus: add sd_bus_message_append_strv() to easily add a NULL terminated string array to a message
commit f11ca85a897c770c10bf5aef79b31e955bcb3c13
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 23:01:35 2013 +0200
bus: make sure introspection can be generated correctly with NULL method signatures
commit dfa927250e4d72f2aaf0cecfb0691eebb18dadaa
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 21:27:59 2013 +0200
bus: beef up parameter checking in vtable handling
commit f69dc9a3d1e48fbb91a68c1dd85de9a7c3fcbbe0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 20:49:19 2013 +0200
bus: beef up parameter checking of convenience calls
commit 77a874a3fb6f65d2308c20827f005c43bb075752
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 20:32:16 2013 +0200
bus: don't rely on gccisms/c11 in public header files.
One day sd-bus.h should become a public header file. We generally try to
be conservative in language features we use in public headers (much
unlike in private code), hence don't make use of anonymous unions in
structs for the vtable definitions.
commit 992c052c34d180dd9fe6bd4f89fff3a481a729dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 20:18:10 2013 +0200
bus: split up overly long sd-bus.c into three files
commit 9db76355212de5eb7985829d352183d3bdfb56d5
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 20:02:16 2013 +0200
bus: if a a Set() vtable callback of a writable is left NULL, try to do the right thing automatically
commit 43a43f5016eb9404afdd6719b18f604a484535ec
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 19:33:39 2013 +0200
bus: automatically do a NOP reply when a NULL callback is specified for a method in a vtable
Also, allow specifiying NULL as signature in vtables equivalent to ""
for empty parameter lists.
commit 1a0464230c08506c3fd715ff7cc56660df3a85ca
Author: Bastien Nocera <hadess at hadess.net>
Date: Fri Oct 11 09:45:32 2013 +0200
Add support for saving/restoring keyboard backlights
Piggy-backing on the display backlight code, this saves and restores
keyboard backlights on supported devices.
The detection code matches that of UPower:
http://cgit.freedesktop.org/upower/tree/src/up-kbd-backlight.c#n173
https://bugs.freedesktop.org/show_bug.cgi?id=70367
[tomegun: also work for devices named "{smc,samsung,asus}::kbd_backlight"]
commit f6f2ad9b9c2a2659256a2bce83016ecff0ca9451
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Oct 11 11:23:34 2013 +0200
udev: usb_id - remove obsoleted bInterfaceSubClass == 5 match
bInterfaceSubClass == 5 is not a "floppy"; just identify the obsolete
QIC-157 interface as "generic".
commit 9a4e038c1519d836d217fac5df3722e6a02ea78d
Author: Kay Sievers <kay at vrfy.org>
Date: Fri Oct 11 09:47:31 2013 +0200
smack: minimize ifdef use, and move all labeling to smack-util.c
commit adcdb3747609962881301ed19636002dd34c05a0
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 06:10:15 2013 +0200
bus: when NULL is specified as property callback, automatically handle serialization on Get()
commit 62b5c2aec12e6a3d305445ee1a88bc18ca0a1548
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 05:22:00 2013 +0200
bus: make PropertiesChanged emission work
commit 90d184b234fbb72cb06636571655f30ba9858887
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 05:21:08 2013 +0200
bus: decorate API calls with gcc attributes where appropriate
commit 5a037827f61a2e78f3863bc5a08f1535882d7f6a
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 05:20:24 2013 +0200
bus: allow specifying NULL as type string when we want to construct messages with no payload
commit 5d12cc3e286c8515f18c8417d67e26e4e2b2e7cb
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 04:52:38 2013 +0200
bus: make GetManagedObjects() work
commit 46e8c8257f5dd0bcf964eb1f5cbb9ce43aac5201
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 04:36:02 2013 +0200
event: add apis to query the timestamp of the event currently processed
commit 305f78bff3904add317847c4a27483b993dec99b
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 02:11:30 2013 +0200
event: move all library calls over to new assert_return() macro
commit 4bee801296daef257c64647353a1815d46fe2a34
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 01:33:25 2013 +0200
event: add sd_event_source_get_child_pid() call to query the PID of a child event source
commit baf762833224267ef5380fb83b22f294628695a8
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 01:08:15 2013 +0200
event: rename the "mute" field of event sources to "enabled"
In addition, the states "UNMUTED" and "MUTED" become "ON" and "OFF".
This has the benefit that a possible value of this field is not
identical to its name, thus minimizing confusion.
commit da7e457c5b9339721454ae8401a03ffdd781e6a9
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 00:49:11 2013 +0200
event: implement quit handlers
Quit handlers are executed when an event loop is terminated via
sd_event_request_quit(). They are in a way atexit() handlers that are
executed in a well-defined environment, time and thread: from the event
loop thread when the event loop finishes.
commit 18387b5983150181dd9dee8edf1573285eecbaa4
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 11 00:45:47 2013 +0200
macro: add new assert_return() macro for early parameter checking in functions
For the library functions we expose we currently repeatedly use checks
like the following:
if (!value_is_ok(parameter1))
return -EINVAL;
if (!value_is_ok(parameter2))
return -EINVAL;
And so on. Let's turn this into a macro:
assert_return(value_is_ok(parameter1), -EINVAL);
assert_return(value_is_ok(paramater2), -EINVAL);
This makes our code a bit shorter and simpler, and also allows us to add
a _unlikely_() around the check.
commit eaa3cbef3b8c214cd5c2d75b04e70ad477187e17
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 10 21:37:50 2013 +0200
event: refuse operation if the caller tries to reuse an event loop after a fork()
commit c2ba3ad6604ef2e189d7e0a36d6911116e84d3ab
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 10 21:16:21 2013 +0200
event: add timer accuracy/coalescing logic
In order to improve energy consumption we should minimize our wake-ups
when handling timers. Hence, for each timer take an accuracy value and
schedule the actual wake-up time somewhere between the specified time
and the specified timer plus the accuracy.
The specified time of timer event sources hence becomes the time the
handler is called the *earliest*, and the specified time plus the accuracy
the time by which it is called the *latest*, leaving the library the
freedom to schedule the wake-up somewhere inbetween.
If the accuracy is specified as 0 the default of 250ms will be used.
When scheduling timeouts we will now try to elapse them at the same
point within each second, across the entire system. We do this by using
a fixed perturbation value keyed off the boot id. If this point within a
second is not in the acceptable range, we try again with a fixed time
within each 250ms time step. If that doesn't work either, we wake up at
the last possible time.
commit 5a045dad1c5adf17d9198b15d085c9425c1dae8e
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 10 21:13:31 2013 +0200
security: missing header inclusions
commit dfcd88f6347886f93973f810ee77a90685dda777
Author: Tero Roponen <tero.roponen at gmail.com>
Date: Thu Oct 10 08:14:24 2013 +0300
bus: fix duplicate comparisons
Testing for y > x is the same as testing for x < y.
commit d682b3a7e7c7c2941a4d3e193f1e330dbc9fae89
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 10 16:35:44 2013 +0200
security: rework selinux, smack, ima, apparmor detection logic
Always cache the results, and bypass low-level security calls when the
respective subsystem is not enabled.
commit 0581dac2c146cef0f55841a4c136dc48409c8eaa
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Oct 10 13:11:27 2013 +0200
login: make sd_session_get_vt() actually work
We use VTNR, not VTNr as key. Until now sd_session_get_vt() just returns
an error.
commit 3f4fee033bf0f623de74f3e8a14c42b8ff81c36e
Author: David Herrmann <dh.herrmann at gmail.com>
Date: Thu Oct 10 13:09:37 2013 +0200
login: fix invalid free() in sd_session_get_vt()
We need to clear variables markes as _cleanup_free_. Otherwise, our
error-paths might corrupt random memory.
commit fd38203a2a7bfbdc6cb5fd4dc54378e70f7d6778
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Oct 10 04:40:28 2013 +0200
bus: add minimal event loop API
So far we tried to use epoll directly wherever we needed an event loop.
However, that has various shortcomings, such as the inability to handle
larger amounts of timers (since each timerfd costs one fd, which is a
very limited resource, usually bounded to 1024), and inability to do
priorisation between multiple queued events.
Let's add a minimal event loop API around epoll that is suitable for
implementation of our own daemons and maybe one day can become public
API for those who desire it.
This loop is part of libsystemd-bus, but may be used independently of
it.
commit 2b98f75a63e6022bf74a7d678c47faa5208c794f
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Oct 9 22:13:13 2013 -0400
journald: remove rotated file from hashmap when rotation fails
Before, when the user journal file was rotated, journal_file_rotate
could close the old file and fail to open the new file. In that
case, we would leave the old (deallocated) file in the hashmap.
On subsequent accesses, we could retrieve this stale entry, leading
to a segfault.
When journal_file_rotate fails with the file pointer set to 0,
old file is certainly gone, and cannot be used anymore.
https://bugzilla.redhat.com/show_bug.cgi?id=890463
commit 57535f4703b5de5d03ad6e35bd06247d378f46fe
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Oct 9 22:13:04 2013 -0400
journald: replace new+snprintf with asprintf
commit 6c7980093c4e39d07bf06484f96f489e236c7c29
Author: Kay Sievers <kay at vrfy.org>
Date: Thu Oct 10 01:38:11 2013 +0200
do not accept "garbage" from acpi firmware performance data (FPDT)
00000000 46 42 50 54 38 00 00 00 02 00 30 02 00 00 00 00 |FBPT8.....0.....|
00000010 23 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |#E..............|
00000020 f5 6a 51 00 00 00 00 00 00 00 00 00 00 00 00 00 |.jQ.............|
00000030 00 00 00 00 00 00 00 00 70 74 61 6c 58 00 00 00 |........ptalX...|
commit 8552b17660033812080a11533bd0edce74401039
Author: Auke Kok <auke-jan.h.kok at intel.com>
Date: Wed Oct 9 10:52:15 2013 -0700
Smack: Test if smack is enabled before mounting
Since on most systems with xattr systemd will compile with Smack
support enabled, we still attempt to mount various fs's with
Smack-only options.
Before mounting any of these Smack-related filesystems with
Smack specific mount options, check if Smack is functionally
active on the running kernel.
If Smack is really enabled in the kernel, all these Smack mounts
are now *fatal*, as they should be.
We no longer mount smackfs if systemd was compiled without
Smack support. This makes it easier to make smackfs mount
failures a critical error when Smack is enabled.
We no longer mount these filesystems with their Smack specific
options inside containers. There these filesystems will be
mounted with there non-mount smack options for now.
commit 463b5dbb0d10227230468ee3adc3b50fce7d0707
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 9 17:31:00 2013 +0200
udev: add SECLABEL{selinux}= support
commit 35bffce819222e18dd363027d7a6ad4fc245b05f
Author: Martin Pitt <martinpitt at gnome.org>
Date: Wed Oct 9 16:05:15 2013 +0200
keymap: Fix Samsung 900X[34]C
It appears that it's not really the 900 vs. 940 or the X3 vs X4, but the
A/B/C/D suffix after that which makes the difference between the keymaps. On a
NP900X3C-A04RU you get
MODALIAS=dmi:bvn*:bvr*:bd*:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X4C/900X4D:*
So change the matches to use AB vs. CDG as the differentiator.
Thanks to Anatoly Markov for reporting and testing!
commit b7e2b7641e2b7242fd1df717bccf5908f731eeab
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 9 04:17:39 2013 +0200
udev: reset Linux Security Module labels if no custom rules are given
commit 753eff037ee99d2c5ecbf3c3228c78d616cbb310
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 04:04:10 2013 +0200
bus: fix missing initialization
commit 510b857f7d1e7e8d38912890536342dd5dd647dd
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 04:04:04 2013 +0200
tests: fix some memory leaks in tests
commit 2ee0591d12b9e725c4585502285fd91cde682d9b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 04:03:45 2013 +0200
journald: fix minor memory leak
commit cac914e643a50c72893c5478f6886e0978f8fa18
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 04:02:54 2013 +0200
build-sys: add a makefile target to run all tests through valgrind
commit 87b20a8118ffec0c4d22fa90b70055b640812504
Author: Kay Sievers <kay at vrfy.org>
Date: Wed Oct 9 03:39:57 2013 +0200
build-sys: add sd-bus-vtable.h header
commit bb874efc38624cab70b7abecb044a87ea66d049f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 03:28:59 2013 +0200
bus: fix GetAll() userdata passing
commit 486e950bd91092a3b1be73f54c901c6c28cab0a2
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 03:27:22 2013 +0200
bus: don't require that if a child object node exists its parent node must too
commit 3a7d4f1ba42bddd0cbaa5e0d9482dc5bd30d803f
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 03:26:34 2013 +0200
bus: fix synthetic error messages
commit 29ddb38fea134c6132e4f2dd608e9da3871eaebe
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 02:37:10 2013 +0200
libsystemd-bus: add lightweight object vtable implementation for exposing objects on the bus
This adds a lightweight scheme how to define interfaces in static fixed
arrays which then can be easily registered on a bus connection. This
makes it much easier to write bus services.
This automatically handles implementation of the Properties,
ObjectManager, and Introspection bus interfaces.
commit 8d1a28020409ee4afea6ef8c1c4d3522a209284e
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 9 00:13:55 2013 +0200
core: unify the way we denote serialization attributes
commit 6aca9a587d4ad40b1c044f99e3714022201b9fd4
Author: Sylvia Else <sylviabz1 at cryogenic.net>
Date: Sun Oct 6 23:06:35 2013 -0400
systemd: serialize/deserialize forbid_restart value
The Service type's forbid_restart field was not preserved by
serialization/deserialization, so the fact that the service should not
be restarted after stopping was lost.
If a systemctl stop foo command has been given, but the foo service
has not yet stopped, and then the systemctl --system daemon-reload was
given, then when the foo service eventually stopped, systemd would
restart it.
https://bugs.freedesktop.org/show_bug.cgi?id=69800
commit 2b8f6883a17b9386299b7690869ccd8e20fe0347
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sun Oct 6 21:55:18 2013 -0400
journalctl: flip to --full by default
We already shew lines in full when using a pager or not on a
tty. The commit disables ellipsization in the sole remaining case,
namely when --follow is used.
This has been a popular request for a long time, and indeed, full
output seems much more useful. Old behaviour can still be requested by
using --no-full. Old options retain their behaviour for compatiblity,
but aren't advertised as much. This change applies only to jornalctl,
not to systemctl, when ellipsization is useful to keep the layout.
https://bugzilla.redhat.com/show_bug.cgi?id=984758
commit c26547d612733371494330e26c7d3604a5dba3d9
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Oct 8 01:59:10 2013 +0200
udev: support custom Linux Security Module labels for device nodes
commit 8b197c3a8a57c3f7c231b39e5660856fd9580c80
Author: Auke Kok <auke-jan.h.kok at intel.com>
Date: Wed Sep 25 15:49:42 2013 -0700
Run with a custom SMACK domain (label).
Allows the systemd --system process to change its current
SMACK label to a predefined custom label (usually "system")
at boot time.
This is needed to have a few system-generated folders and
sockets automatically be created with the right SMACK
label. Without that, processes either cannot communicate with
systemd or systemd fails to perform some actions.
commit d407c9402064d8b9d1b12dca6ca1ddb2688e5454
Author: Auke Kok <auke-jan.h.kok at intel.com>
Date: Thu Sep 26 14:41:09 2013 -0700
Mount /run, /dev/shm usable to tasks when using SMACK.
Once systemd itself is running in a security domain for SMACK,
it will fail to start countless tasks due to missing privileges
for mounted and created directory structures. For /run and shm
specifically, we grant all tasks access.
These 2 mounts are allowed to fail, which will happen if the
system is not running a SMACK enabled kernel or security=none is
passed to the kernel.
commit 1d5989fd803d2019de0f6aaaf3cfb1cb2bbc3cdb
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sun Oct 6 18:26:23 2013 -0400
shared/util: fix off-by-one error in tag_to_udev_node
Triggered false negatives when encoding a string which needed every
character to be escaped, e.g. "LABEL=/".
commit a7176505e0083a073d03760f7b5435017a47c7c8
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 5 22:47:52 2013 -0400
utf8: fix utf8_is_printable
commit fc676b00a7545743429e0c9b12a0f0707b1059aa
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Sat Oct 5 13:09:43 2013 -0400
core: do not add "what" to RequiresMountsFor for network mounts
For cifs mount like //server/share, we would get
RequiresMountsFor=/server/share, which probably isn't
harmful, but quite confusing.
Unfortunately a bunch of static functions had to be moved
up, but patch is really one line.
commit 9c03872bc8fb2a381eafe7301ef9811b641686dd
Author: Dave Reisner <dreisner at archlinux.org>
Date: Fri Oct 4 18:22:40 2013 -0400
mount: check for NULL before reading pm->what
Since a57f7e2c828b85, a mount unit with garbage in it would cause
systemd to crash on loading it.
ref: https://bugs.freedesktop.org/show_bug.cgi?id=70148
commit 660ea9620f7b8f99d08a2770d4e81acfd8aea02e
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 4 21:16:40 2013 +0200
logind: fix bus introspection data for TakeControl()
commit a316932f5a627c1ef78f568fd5dfa579f12e76b2
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 4 17:01:37 2013 +0200
manager: when verifying whether clients may change environment using selinux check for "reload" rather "reboot"
This appears to be a copy/paste error.
commit 7f79cd7109a60810140a045cc725291fc5515264
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Oct 4 17:01:32 2013 +0200
update TODO
commit 77009452cfd25208509b14ea985e81fdf9f7d40e
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Oct 3 22:15:08 2013 -0400
systemd: order remote mounts from mountinfo before remote-fs.target
Usually the network is stopped before filesystems are umounted.
Ordering network filesystems before remote-fs.target means that their
unmounting will be performed earlier, and can terminate sucessfully.
https://bugs.freedesktop.org/show_bug.cgi?id=70002
commit 5862d652ba14178cff46b8a8fc6c6d8392bf32b1
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Oct 3 22:13:55 2013 -0400
Introduce _cleanup_endmntent_
commit 9a5cb1371b6d8b0a04bd08665bcf9b06cb40c64c
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Thu Oct 3 22:13:01 2013 -0400
gpt-auto-generator: exit immediately if in container
Otherwise we get an ugly warning when running systemd in
a container.
commit 970edce6efcd3a0cf284aa0f43e0b27ecbd415f5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Aug 28 08:01:30 2013 -0400
execute: more debugging messages
commit e776c8cfcdd65d243ba3f156ded905c589cab24f
Author: Václav PavlÃn <vpavlin at redhat.com>
Date: Thu Oct 3 15:47:26 2013 +0200
man: Improve the description of parameter X in tmpfiles.d page
commit 59fccd82117cf9a84454f41867a882f872916dc5
Author: Zbigniew JÄdrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Wed Oct 2 13:23:10 2013 +0200
execute.c: always set $SHELL
In e6dca81 $SHELL was added to user at .service. Let's
instead provide it to all units which have a user.
commit 7074fecf6747c9a6ad872cc87701481e8bece8b0
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 2 15:35:16 2013 -0400
tmpfiles.d: include setgid perms for /run/log/journal
4608af4333d0f7f5 set permissions for journal storage on persistent disk
but not the volatile storage.
ref: https://bugs.archlinux.org/task/37170
commit 51045322c4c19638ba5588c722238220d096ca43
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:40:43 2013 +0200
nspawn: always copy /etc/resolv.conf rather than bind mount
We were already creating the file if it was missing, and this way
containers can reconfigure the file without running into problems.
This also makes resolv.conf handling more alike to handling of
/etc/localtime, which is also not a bind mount.
commit 69c2b6be8fc607412a13cd0ea03a629b4965c816
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:38:52 2013 +0200
mkdir: pass a proper function pointer to mkdir_safe_internal
commit 5b4fb02d890d5c9777e9a6e798e0b8922a8a9fd8
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:38:28 2013 +0200
strv: don't access potentially NULL string arrays
commit 62678deda2dcd43954bf02f783da01e48c7f8fce
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:38:09 2013 +0200
efi: never call qsort on potentially NULL arrays
commit b857193b1def5172e3641ca1d5bc9e08ae81aac4
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:37:44 2013 +0200
modules-load: fix error handling
commit 2e8d788c2f90d062f208f8c57a97e7b33cb29f7d
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:37:30 2013 +0200
dbus: fix return value of dispatch_rqueue()
commit f5f6e41a9ee008e1632f79ab3fa20beef7c2b613
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:37:11 2013 +0200
bus: fix potentially uninitialized memory access
commit 8c92d4bbc7a538ada11d7e85016cce141beb0e6c
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:36:43 2013 +0200
journald: add missing error check
commit 4b93637fd7dddb0a1518f35171998b2c7cd5c5bd
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 19:36:28 2013 +0200
cryptsetup: fix OOM handling when parsing mount options
commit cbb13b2a538ece1c7ec3b210e2b36b47df2a13ea
Author: Václav PavlÃn <vpavlin at redhat.com>
Date: Wed Oct 2 16:42:42 2013 +0200
systemctl: fix name mangling for sysv units
commit 2c64a8d0caf84254e38f2e76528f2034d37da520
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Oct 2 14:03:56 2013 +0200
acpi: make sure we never free an uninitialized pointer
commit 6c8c92fef72cf6a7ef7109a424ef82dbdc4f6952
Author: Dave Reisner <dreisner at archlinux.org>
Date: Wed Oct 2 07:46:24 2013 -0400
fix lingering references to /var/lib/{backlight,random-seed}
This should have been part of ef5bfcf668e6029faa78534dfe.
commit 7e326fb5b2c1a839bbe7f879c7efa2af2ed33420
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Wed Oct 2 13:39:49 2013 +0200
acpi-fptd: fix memory leak in acpi_get_boot_usec
More information about the systemd-commits
mailing list