summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-09sd-bus: add async convenience method call APIUmut Tezduyar Lindskog
2015-06-05Merge pull request #79 from zonque/fdo-87475Kay Sievers
kmod-setup: don't warn when ipv6 can't be loaded (FDO bug #87475)
2015-06-05Merge pull request #82 from gmacario/bootchart-fix-typoDaniel Mack
systemd-bootchart: Trivial typo fix in warning
2015-06-05systemd-bootchart: Trivial typo fix in warningGianpaolo Macario
Signed-off-by: Gianpaolo Macario <gmacario@gmail.com>
2015-06-05Merge pull request #80 from zonque/README.mdHarald Hoyer
Add README.md
2015-06-05Add README.mdDaniel Mack
A README.md allows us to include a badge for the current build status of Semaphore CI. Keep other information in this file minimal, and avoid information duplication but point readers to the official README.
2015-06-05bus: don't force send-masks on kdbus busesDavid Herrmann
Right now we always pass KDBUS_ITEM_ATTACH_FLAGS_RECV to KDBUS_CMD_BUS_MAKE, effectively forcing every bus connection to do the same during KDBUS_CMD_HELLO. This used to be a workaround to make sure all metadata is always present. However, we refrained from that approach and intend to make all metadata collection solely rely on /proc access restrictions. Therefore, there is no need to force the send-flags mask on newly created buses.
2015-06-05kmod-setup: don't warn when ipv6 can't be loadedDaniel Mack
Not having IPv6 is a valid setup. Let's not print a warning in that case. Addresses: https://bugs.freedesktop.org/show_bug.cgi?id=87475
2015-06-05logind: Fix user_elect_display() to be more stablePhilip Withnall
The previous implementation of user_elect_display() could easily end up overwriting the user’s valid graphical session with a new TTY session. For example, consider the situation where there is one session: c1, type = SESSION_X11, !stopping, class = SESSION_USER it is initially elected as the user’s display (i.e. u->display = c1). If another session is started, on a different VT, the sessions_by_user list becomes: c1, type = SESSION_X11, !stopping, class = SESSION_USER c2, type = SESSION_TTY, !stopping, class = SESSION_USER In the previous code, graphical = c1 and text = c2, as expected. However, neither graphical nor text fulfil the conditions for setting u->display = graphical (because neither is better than u->display), so the code falls through to check the text variable. The conditions for this match, as u->display->type != SESSION_TTY (it’s actually SESSION_X11). Hence u->display is set to c2, which is incorrect, because session c1 is still valid. Refactor user_elect_display() to use a more explicit filter and pre-order comparison over the sessions. This can be demonstrated to be stable and only ever ‘upgrade’ the session to a more graphical one. https://bugs.freedesktop.org/show_bug.cgi?id=90769
2015-06-05Merge pull request #63 from arvidjaar/issue/50Daniel Mack
fstab-generator: cescape device name in root-fsck service
2015-06-05Merge pull request #76 from crrodriguez/masterDaniel Mack
core: Remove "old kernel" warning if PR_SET_CHILD_SUBREAPER fails
2015-06-05core: Remove "old kernel" warning if PR_SET_CHILD_SUBREAPER failsCristian Rodríguez
This made sense when systemd ran on older kernels, nowdays not so much.
2015-06-05Merge pull request #74 from ↵Daniel Mack
systemd-mailing-devs/1432753344-31461-1-git-send-email-jonathan.boulle@coreos.com fix extraneous space in equality check
2015-06-04bus: update kdbus.hDavid Herrmann
Sync with upstream.
2015-06-04Merge pull request #72 from teg/event-fork-unrefDavid Herrmann
sd-event: don't touch fd's accross forks
2015-06-04Merge pull request #73 from zonque/mountinfoDavid Herrmann
core/mount: skip incomplete mountinfo entries
2015-06-04sd-event: don't touch fd's accross forksTom Gundersen
We protect most of the API from use accross forks, but we still allow both sd_event and sd_event_source objects to be unref'ed. This would cause problems as it would unregister sources from the underlying eventfd, hence also affecting the original instance in the parent process. This fixes the issue by not touching the fds on unref when done accross a fork, but still free the memory. This fixes a regression introduced by "udevd: move main-loop to sd-event": 693d371d30fee where the worker processes were disabling the inotify event source in the main daemon.
2015-06-04core/mount: skip incomplete mountinfo entriesDaniel Mack
Skip /proc/mountinfo entries for which libmount returns a NULL pointer for 'source' or 'target'. This happened on Semaphore CI's build servers when the test suite is run.
2015-06-04Merge pull request #71 from kloun/patch-1Martin Pitt
small fix ru translation
2015-06-04Merge pull request #58 from pwithnall/wip/pwithnall/user-active-on-vt-switchDavid Herrmann
logind: Save the user’s state when a session enters SESSION_ACTIVE
2015-06-04small fix ru translationkloun
2015-06-04Merge pull request #57 from pwithnall/wip/pwithnall/udev-virtualbox-rulesDavid Herrmann
logind: Add a udev rule to tag all DRM cards with master-of-seat
2015-06-04Partially revert "ma-setup: simplify"Zbigniew Jędrzejewski-Szmek
copy_bytes() tries to do the write in chunks, but ima kernel code needs every rule to be written in one write. Writing the whole file at once avoids the issue. http://lists.freedesktop.org/archives/systemd-devel/2015-June/032623.html http://sourceforge.net/p/linux-ima/mailman/message/34145236/ https://bugzilla.redhat.com/show_bug.cgi?id=1226948
2015-06-04Merge pull request #68 from whot/hwdb-updatesMartin Pitt
hwdb: add Apple MagicMouse entry
2015-06-04hwdb: add Apple MagicMouse entryPeter Hutterer
2015-06-03Merge pull request #59 from eswierk/masterKay Sievers
Add /dev/xvd* to 60-persistent-storage whitelist
2015-06-03Merge pull request #65 from teg/enumerate-accept-nullKay Sievers
libudev: enumerate - accept NULL parameters in add_match()
2015-06-03Merge pull request #52 from mbiebl/systemctl-edit-default-editorTom Gundersen
systemctl: Use /usr/bin/editor if available
2015-06-03kdbus: remove attach_flags_mask module parameter settingKay Sievers
2015-06-03libudev: enumerate - accept NULL parameters in add_match()Tom Gundersen
This was a regression introduced when moving to sd-device.
2015-06-03fstab-generator: cescape device name in root-fsck serviceAndrei Borzenkov
We unescape ExecStart line when parsing it, so escape device name before adding it to unit file. fixes #50
2015-06-03test-util: fix a memleakThomas Hindoe Paaboel Andersen
2015-06-03Merge pull request #60 from Keruspe/masterDaniel Mack
build-sys: drop references to gobject-introspection
2015-06-03Merge pull request #55 from filbranden/rootprefix_empty1Daniel Mack
Fix --with-rootprefix= (empty) with a workaround for now.
2015-06-03build-sys: disable gc-sections if optimization is disabledKay Sievers
This way, development builds will not rely on gc-sections to paper over cyclic link dependencies. Newly introduced broken link requirements will immediatley fail.
2015-06-03build-sys: drop references to gobject-introspectionMarc-Antoine Perennou
It has been removed alongside gudev
2015-06-03Add /dev/xvd* to 60-persistent-storage whitelistEd Swierk
Without this, systemd-udevd does not create persistent storage symlinks for xen block devices.
2015-06-03test-unit-file.c: fixup the test for commit 3b51f8ddd5Harald Hoyer
2015-06-03build-sys: Work around --with-rootprefix= (empty) not producing /Filipe Brandenburger
Since we introduced AX_NORMALIZE_PATH, using --with-rootprefix=/ does produce an empty string, but using --with-rootprefix= (empty) now produces "." instead which is wrong. Work around it until we can find a better solution for AX_NORMALIZE_PATH upstream at autoconf-archive. Bug: https://github.com/systemd/systemd/issues/54
2015-06-03build-sys: Recommend --with-rootprefix=/ for split-usrFilipe Brandenburger
Since we started using AX_NORMALIZE_PATH, that is a valid supported setup and is more explicit than --with-rootprefix= (empty) which is actually currently broken. Let's advocate for it in the ./configure suggestion from autogen.sh.
2015-06-03Merge pull request #51 from zonque/unquoteHarald Hoyer
util: fix another cunescape() regression compiled and test-util exited with 0
2015-06-03configure.ac: add missing kommaKay Sievers
2015-06-03point to github issues instead of freedesktop bugzillaKay Sievers
2015-06-03build-sys: split off libsystemd-machine convenience libKay Sievers
Break the link order cycle by splitting off the machine parts which use sd-bus but live in shared/.
2015-06-03build-sys: merge libsystemd-label convenience libKay Sievers
Stop to pretend that we can split selinux related code from other. We have too many cross-references and it breaks all the time and I am no longer willing to maintain that mess for no real benefit. We currently have cyclic dependencies which are only resolved on machines with gc-sections toolchains. We need a simpler and at the same time more strict model to manage our convenienc libraries and linking. The first thing to give up is the "optimization" of not linking libselinux for a very few tools. If that is an issue, please fix the mess that libselinux creates in selinux itself, and do not ask consumers to work around it.
2015-06-03systemctl: Use /usr/bin/editor if availableMichael Biebl
If the EDITOR environment variable is not set, the Debian policy recommends to use the /usr/bin/editor program as default editor. This file is managed via the dpkg alternatives mechanism and typically used in Debian/Ubuntu and derivatives to configure the default editor. See section 11.4 of the Debian policy [1]. Therefor prefer /usr/bin/editor over specific editors if available. [1] https://www.debian.org/doc/debian-policy/ch-customized-programs.html
2015-06-03util: fix another cunescape() regressionDaniel Mack
Fix a regression caused by 4034a06d ("util: rework word parsing and c unescaping code") which broke octal escape sequences. The reason for this breakage is that cunescape_one() expects 4 characters in an octal encoding, which is a stray left-over from the old code which operated on different variables to make the length check. While at it, add a test case to prevent the same thing from happening again.
2015-06-03build-sys: disable gc-sections for distcheckKay Sievers
We cannot rely on gc-sections to fix dependency cycles in our linking setup. Disable it for distcheck to let it fail and find these bugs earlier.
2015-06-03Merge pull request #43 from teg/udev-forking-reworkKay Sievers
udev forking/socket-passing rework
2015-06-03build-sys: remove left-over gtk-docKay Sievers