summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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-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
2015-06-03udevd: merge manager_new() and manager_listen() againTom Gundersen
Now that listen_fds() have been split out, we can safely move the allocation of the manager object after doing the forking (the fork is done to notify legcay init-systems that the fds are ready). Subsequently, we can merge manager_listen() back into managre_new(). This entails a minor behaviour change: the application of permissions to static device nodes now happens after the fork (but still before notifying systemd about being ready).
2015-06-03udevd: make sd_notify independent of forknig/notify modeTom Gundersen
This will simply silently fail on non-systemd systems, so there is no reason to make it conditional. Also make it clear that we notify systemd about being ready as the last step before starting the event loop, whereas the forking might need to happen earlier.
2015-06-03udevd: manager - split listen_fds() out of manager_new()Tom Gundersen
This will allow us in a follow-up commit to listen to fds before forking and still allocate the manager only after the fork.
2015-06-03udevd: unify fd handling in forking/notify modesTom Gundersen
Hide the differenec in listen_fds, by simply opening the fds here in case they are not passed in.
2015-06-03libudev: monitor - set nl_pid when reusing fd in ↵Tom Gundersen
udev_monitor_new_from_netlink_fd This allows a fd to be created and configured as part of one monitor, to be passed in to create a second monitor without having to redo any of the configuration.
2015-06-03udevd: make cgroup logic independent of socket passingTom Gundersen
This should have no behavioural change, but it is odd to tie the cgroup cleaning to whether or not we are passed sockets. The point really is if we are guaranteed to be in a dedicated cgroup, so instead check for our parent being PID1 (we already implicitly only do this on systemd systems).
2015-06-03udevd: only bind ctrl and netlink sockets when we open themTom Gundersen
If they are passed from PID1 this is not necessary.
2015-06-03udevd: rename systemd_fds to listen_fdsTom Gundersen
2015-06-03udevd: simplify signal mask handlingTom Gundersen
We used to block all signals, and restore the original signal mask before exec'ing external processes. Now we just block the signals we care about and unconditionally unblock all signals before exec'ing.
2015-06-03Merge pull request #42 from jonboulle/masterTom Gundersen
README: update links to reference new home (GitHub)
2015-06-03Merge pull request #41 from mischief/ipforwardingTom Gundersen
networkd: create "kernel" setting for IPForwarding
2015-06-02README: update links to reference new home (GitHub)Jonathan Boulle
2015-06-02man: document IPForward=kernel optionNick Owens
2015-06-02networkd: create "kernel" setting for IPForwardingNick Owens
In 5a8bcb674f71a20e95df55319b34c556638378ce, IPForwarding was introduced to set forwarding flags on interfaces in .network files. networkd sets forwarding options regardless of the previous setting, even if it was set by e.g. sysctl. This commit creates a new option for IPForwarding, "kernel", that preserves the sysctl settings rather than always setting them. See https://bugs.freedesktop.org/show_bug.cgi?id=89509 for the initial bug report.
2015-06-03udev: input_id - use ABS_MT_SLOT{-1} to exclude non touch screen devicesAndreas Pokorny
Peek at the ABS_MT_SLOT-1 axis. Expect that touch screens only have axes inside the MT range.
2015-06-03udev: input_id - use direct property and mt axis for touch screen detectionAndreas Pokorny
A lot of touch screens use INPUT_PROP_DIRECT to indicate that touch input maps directly to the underlying screen, while the BTN_TOUCH bit might not be set.
2015-06-03udev: input_id - refactor device detectionAndreas Pokorny
This change switches to bools and separates bit flag evaluation from decision making and application of udev properties, while hopefully keeping the same semantics. Apart from using BTN_LEFT instead of BTN_MOUSE for mouse detection.
2015-06-03remove gudev and gtk-docKay Sievers
The library moved to: https://git.gnome.org/browse/libgudev/
2015-06-02fix double semicolon typoThomas Hindoe Paaboel Andersen
2015-06-02hwdb: updateKay Sievers
2015-06-02hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
2015-06-02Merge pull request #12 from ↵Tom Gundersen
systemd-mailing-devs/1433236104-9967-1-git-send-email-m.olbrich@pengutronix.de missing: add more btrfs defines
2015-06-02udev-builtin: path_id - don't pass NULL to udev_device_get_parent()Tom Gundersen
Being explicit about this makes the code easier to follow IMHO.
2015-06-02udev: add some assertsTom Gundersen
Mostly for documentation purposes.
2015-06-02sd-device: get_driver - remember if a device does not have a driverTom Gundersen
Don't try to read it again.
2015-06-02sd-device: get_subsystem - don't complain if a device does not have a subsystemTom Gundersen
2015-06-02Merge pull request #5 from ↵Daniel Mack
systemd-mailing-devs/1432910411-14517-1-git-send-email-llua@gmx.com zsh-completion: a more style/tag aware _systemctl
2015-06-02Merge pull request #4 from ↵Daniel Mack
systemd-mailing-devs/1431989131-25145-1-git-send-email-llua@gmx.com zsh-completion: fix completion of --user services
2015-06-02Merge pull request #34 from ↵Tom Gundersen
systemd-mailing-devs/1432619328-32030-1-git-send-email-m.olbrich@pengutronix.de missing: add more IFLA_VXLAN_* defines
2015-06-02Merge pull request #8 from ↵Martin Pitt
systemd-mailing-devs/1433236059-9824-1-git-send-email-m.olbrich@pengutronix.de random-util: guard including sys/auxv.h with the corresponding ifdef …
2015-06-02Merge pull request #39 from filbranden/manpages_rootprefixDaniel Mack
Manpages rootprefix
2015-06-02build-sys: Normalize paths of configure optionsMichael Biebl
Strip trailing slashes from options such as --with-rootprefix, so that building with rootprefix="/" results in paths like "/lib" instead of "//lib". Also handle paths such as "/usr/" gracefully. Use m4/ax_normalize_path.m4 from the autoconf-archive project, which is now included in our tree as per usual practices in using autoconf-archive macros. Tested with the following configure options: ./configure \ --with-rootprefix=/ \ --with-rootlibdir=/lib64/ \ --prefix=/usr/ \ --libdir=/lib/ \ --with-bashcompletiondir=/bash-completion/completions/ (The "prefix" and "libdir" are already automatically normalized by Autoconf, this command is testing the others.) Compared the config.log and resulting trees (in particular man pages) to confirm double slashes were not present in the latter. Also tested that a configuration using default options is not affected and that `make distcheck` still works as expected.
2015-06-02man: replace hard-coded /usr/libDaniel Mack
Replace some /usr/lib occurences in man/ with &rootprefix;/lib.