]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
8 years agoMerge pull request #1569 from mustrumr/date-parse-additions
Lennart Poettering [Thu, 15 Oct 2015 11:09:26 +0000 (13:09 +0200)] 
Merge pull request #1569 from mustrumr/date-parse-additions

Date parse additions

8 years agoMerge pull request #1574 from evverx/run-timer-slack-nsec
Lennart Poettering [Thu, 15 Oct 2015 10:58:17 +0000 (12:58 +0200)] 
Merge pull request #1574 from evverx/run-timer-slack-nsec

systemd-run can launch units with TimerSlackNSec

8 years agoshell-completion: systemd-run: add TimerSlackNSec property 1574/head
Evgeny Vereshchagin [Thu, 15 Oct 2015 10:01:09 +0000 (10:01 +0000)] 
shell-completion: systemd-run: add TimerSlackNSec property

8 years agorun: can launch units with TimerSlackNSec
Evgeny Vereshchagin [Thu, 15 Oct 2015 09:57:28 +0000 (09:57 +0000)] 
run: can launch units with TimerSlackNSec

8 years agoman: mention UTC support for calendar events 1569/head
Hristo Venev [Wed, 14 Oct 2015 23:58:02 +0000 (02:58 +0300)] 
man: mention UTC support for calendar events

8 years agotest: add calendarspec UTC tests
Hristo Venev [Wed, 14 Oct 2015 23:58:00 +0000 (02:58 +0300)] 
test: add calendarspec UTC tests

8 years agobasic: calendarspec UTC support
Hristo Venev [Wed, 14 Oct 2015 23:57:59 +0000 (02:57 +0300)] 
basic: calendarspec UTC support

Just add " UTC" to the end of the event expression. Works for the
special expressions.

8 years agoman: mention UTC support for timestamps
Hristo Venev [Wed, 14 Oct 2015 23:57:58 +0000 (02:57 +0300)] 
man: mention UTC support for timestamps

8 years agotest: parse_timestamp UTC and fractional seconds tests
Hristo Venev [Wed, 14 Oct 2015 23:56:57 +0000 (02:56 +0300)] 
test: parse_timestamp UTC and fractional seconds tests

8 years agobasic: parse_timestamp UTC and fractional seconds support
Hristo Venev [Wed, 14 Oct 2015 23:57:57 +0000 (02:57 +0300)] 
basic: parse_timestamp UTC and fractional seconds support

8 years agobasic: add mktime_or_timegm and localtime_or_gmtime_r
Hristo Venev [Tue, 13 Oct 2015 19:14:33 +0000 (22:14 +0300)] 
basic: add mktime_or_timegm and localtime_or_gmtime_r

to time-util.h. They take an extra argument `bool utc`.

8 years agoMerge pull request #1567 from teg/logind-suspend-logging
Lennart Poettering [Wed, 14 Oct 2015 20:34:20 +0000 (22:34 +0200)] 
Merge pull request #1567 from teg/logind-suspend-logging

login: suspend - be a bit more explicit when logging

8 years agologin: suspend - be a bit more explicit when logging 1567/head
Tom Gundersen [Wed, 14 Oct 2015 20:22:17 +0000 (22:22 +0200)] 
login: suspend - be a bit more explicit when logging

When the Suspend method is called, the only log message we write
(unless debugging is enabled) is "Operation finished.". This is
not very helpful when trying to figure out what is going on, so
add what operation we are talking about to the message:
"Operation 'sleep' finished.".

Hat tip to Daniel Aleksandersen for pointing this out.

8 years agoMerge pull request #1528 from evverx/systemd-run-syslog-pri-fac
Lennart Poettering [Wed, 14 Oct 2015 17:39:28 +0000 (19:39 +0200)] 
Merge pull request #1528 from evverx/systemd-run-syslog-pri-fac

systemd-run can launch units with SyslogLevel and SyslogFacility

8 years agocore: execute: validate syslog level and facility 1528/head
Evgeny Vereshchagin [Wed, 14 Oct 2015 16:30:35 +0000 (16:30 +0000)] 
core: execute: validate syslog level and facility

8 years agoutil: add functions for validating syslog level and facility
Evgeny Vereshchagin [Wed, 14 Oct 2015 16:28:40 +0000 (16:28 +0000)] 
util: add functions for validating syslog level and facility

8 years agoMerge pull request #1562 from michich/overlinking
Lennart Poettering [Wed, 14 Oct 2015 15:29:24 +0000 (17:29 +0200)] 
Merge pull request #1562 from michich/overlinking

build: fix overlinking

8 years agoMerge pull request #1563 from poettering/exciting-fixes
Zbigniew Jędrzejewski-Szmek [Wed, 14 Oct 2015 15:22:14 +0000 (11:22 -0400)] 
Merge pull request #1563 from poettering/exciting-fixes

A variety of fixes

8 years agoshell-completion: systemd-run: add SyslogFacility property
Evgeny Vereshchagin [Sun, 11 Oct 2015 03:57:07 +0000 (03:57 +0000)] 
shell-completion: systemd-run: add SyslogFacility property

8 years agosystemd-run: can launch units with SyslogFacility
Evgeny Vereshchagin [Sun, 11 Oct 2015 03:55:41 +0000 (03:55 +0000)] 
systemd-run: can launch units with SyslogFacility

8 years agoshell-completion: systemd-run: add SyslogLevel property
Evgeny Vereshchagin [Sun, 11 Oct 2015 03:39:46 +0000 (03:39 +0000)] 
shell-completion: systemd-run: add SyslogLevel property

8 years agosystemd-run: can launch units with SyslogLevel
Evgeny Vereshchagin [Sun, 11 Oct 2015 03:37:50 +0000 (03:37 +0000)] 
systemd-run: can launch units with SyslogLevel

8 years agounit: remove [Install] section from the user exit.target unit 1563/head
Lennart Poettering [Wed, 14 Oct 2015 14:25:23 +0000 (16:25 +0200)] 
unit: remove [Install] section from the user exit.target unit

There's no concept of ctrl-alt-del for user systemd instances, hence
don't suggest it woud make sense to symlink the unit to it.

Fixes #1525.

8 years agotty-ask-password-agent: don't warn if we cannot disable wall messages on the calling tty
Lennart Poettering [Wed, 14 Oct 2015 14:24:25 +0000 (16:24 +0200)] 
tty-ask-password-agent: don't warn if we cannot disable wall messages on the calling tty

For example, due to perm issues.

THis simply downgrades the message about it, since this is purely
cosmetical anyway.

Fixes #1543.

8 years agocore: log if the service to activate vanished before we activate it
Lennart Poettering [Wed, 14 Oct 2015 14:22:22 +0000 (16:22 +0200)] 
core: log if the service to activate vanished before we activate it

Normally this shouldn't happen unless the daemon is reloaded.

A similar check is already in place in socket.c for the socket
activation case.

This hopefully makes #1526 non-fatal, though it will not fix this, and
there's something else to fix.

8 years agobuild: libdl is needed only for libnss_resolve 1562/head
Michal Schmidt [Tue, 13 Oct 2015 18:06:04 +0000 (20:06 +0200)] 
build: libdl is needed only for libnss_resolve

Not everything needs to link to libdl. dlopen+dlsym are used only by
libnss_resolve.

8 years agobuild: don't link everything to libcap
Michal Schmidt [Tue, 13 Oct 2015 17:52:06 +0000 (19:52 +0200)] 
build: don't link everything to libcap

The intent of the assignments around the check for libcap was obviously
to avoid polluting LIBS. To work properly, LIBS must be restored from
the save_LIBS variable.

The practical effect is small though, because pretty much everything
links with libbasic, which links with CAP_LIBS.

8 years agobuild: fix overlinking to libdw
Michal Schmidt [Tue, 13 Oct 2015 14:52:53 +0000 (16:52 +0200)] 
build: fix overlinking to libdw

We have two AC_CHECK_LIB checks for libdw. The first one has an empty
action-if-found, so it defaults to adding "-ldw" to LIBS. LIBS are
applied to everything we build. But only systemd-coredump needs libdw.
It already links to ELFUTILS_LIBS correctly in Makefile.am.

Drop the first AC_CHECK_LIB check. The second check is sufficient.

Q: Don't we already use "-Wl,--as-needed" to eliminate overlinking?
A: We do, but it is effective only for executables, not for shared
   libraries. This is due to a libtool bug:
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650

8 years agoMerge pull request #1530 from teg/network-fixes-2
Lennart Poettering [Wed, 14 Oct 2015 10:15:09 +0000 (12:15 +0200)] 
Merge pull request #1530 from teg/network-fixes-2

networkd/libsystemd-network: collection of trivial patches v2

8 years agoMerge pull request #1529 from evverx/dbus-props-syslog-fac-pri
Lennart Poettering [Wed, 14 Oct 2015 10:05:24 +0000 (12:05 +0200)] 
Merge pull request #1529 from evverx/dbus-props-syslog-fac-pri

core: expose `SyslogFacility` and `SyslogLevel` as properties on dbus

8 years agocore: expose SyslogLevel and SyslogFacility as properties on dbus 1529/head
Evgeny Vereshchagin [Sun, 11 Oct 2015 04:57:17 +0000 (04:57 +0000)] 
core: expose SyslogLevel and SyslogFacility as properties on dbus

8 years agoMerge pull request #1560 from evverx/fix-default-chopping
Lennart Poettering [Wed, 14 Oct 2015 07:54:13 +0000 (09:54 +0200)] 
Merge pull request #1560 from evverx/fix-default-chopping

bus-util: change `Default`-chopping to `Limit`-searching

8 years agoMerge pull request #1558 from martinpitt/master
Lennart Poettering [Wed, 14 Oct 2015 07:53:39 +0000 (09:53 +0200)] 
Merge pull request #1558 from martinpitt/master

Fix keymap aliases and add support for Lenovo Thinkpad Yoga S1

8 years agoMerge pull request #1561 from phomes/unused-function
Lennart Poettering [Wed, 14 Oct 2015 07:47:52 +0000 (09:47 +0200)] 
Merge pull request #1561 from phomes/unused-function

manager: remove unused function

8 years agokeymap: Drop keyboard-keys-to-name.h 1558/head
Martin Pitt [Wed, 14 Oct 2015 04:52:41 +0000 (06:52 +0200)] 
keymap: Drop keyboard-keys-to-name.h

We don't use that anywhere any more. With the introduction of alias names it
also is not a proper mapping any more as several keys (e. g. KEY_COFFEE and
KEY_SCREENLOCK) have the same numerical mapping.

8 years agokeymap: Drop ThinkPad Yoga
Martin Pitt [Tue, 13 Oct 2015 16:24:47 +0000 (18:24 +0200)] 
keymap: Drop ThinkPad Yoga

The Yoga's firmware sends key events whenever it's being folded or unfolded.
These are thus *not* a button for requesting a screen orientation change, just
an indication that this already happened. Thus they should not be assigned to
"direction", but be ignored. Assigning them to "reserved" does not silence the
"unknown key pressed" kernel warning, so there's no point in maintaining a
mapping here.

Fixes #1440

8 years agokeymap: Recognize KEY_* aliases
Martin Pitt [Tue, 13 Oct 2015 16:20:34 +0000 (18:20 +0200)] 
keymap: Recognize KEY_* aliases

linux/input.h contains alias definitions like

  #define KEY_COFFEE              152
  #define KEY_SCREENLOCK          KEY_COFFEE
  #define KEY_ROTATE_DISPLAY      153
  #define KEY_DIRECTION           KEY_ROTATE_DISPLAY

But we ignored these when building keyboard-keys-list.txt. Also allow the value
to start with "K" now (for KEY_*), and drop the hardcoded COFFEE →  SCREENLOCK
aliasing.

This fixes assignments to key "direction".

Fixes #1151

8 years agomanager: remove unused function 1561/head
Thomas Hindoe Paaboel Andersen [Mon, 12 Oct 2015 20:10:15 +0000 (22:10 +0200)] 
manager: remove unused function

8 years agobus-util: change `Default`-chopping to `Limit`-searching 1560/head
Evgeny Vereshchagin [Tue, 13 Oct 2015 18:45:11 +0000 (18:45 +0000)] 
bus-util: change `Default`-chopping to `Limit`-searching

See https://github.com/systemd/systemd/pull/1534#commitcomment-13744013

Actually, thinking about this, maybe it would be nicer to actually look
for "Limit" in the string rather than chopping off a "Default"....
Sounds more generic...

8 years agoman: /dev/kmsg is not a socket
Zbigniew Jędrzejewski-Szmek [Tue, 13 Oct 2015 18:22:12 +0000 (14:22 -0400)] 
man: /dev/kmsg is not a socket

Fixup for #1542.

8 years agoMerge pull request #1548 from evverx/journalctl-catalog-ops-fixes
Lennart Poettering [Tue, 13 Oct 2015 17:23:54 +0000 (19:23 +0200)] 
Merge pull request #1548 from evverx/journalctl-catalog-ops-fixes

Fix journalctl --dump-catalog, journalctl --list-catalog

8 years agoMerge pull request #1534 from evverx/expose-rlimits-on-dbus
Lennart Poettering [Tue, 13 Oct 2015 15:28:29 +0000 (17:28 +0200)] 
Merge pull request #1534 from evverx/expose-rlimits-on-dbus

Expose `DefaultLimit*` as properties on dbus

8 years agoMerge pull request #1542 from keszybz/journal-audit-optional
Lennart Poettering [Tue, 13 Oct 2015 15:23:33 +0000 (17:23 +0200)] 
Merge pull request #1542 from keszybz/journal-audit-optional

Make journald audit socket maskable

8 years agoMerge pull request #1544 from keszybz/man-IPv6AcceptRouterAdvertisements
Daniel Mack [Tue, 13 Oct 2015 11:46:39 +0000 (13:46 +0200)] 
Merge pull request #1544 from keszybz/man-IPv6AcceptRouterAdvertisements

man: describe IPv6AcceptRouterAdvertisements= better

8 years agoMerge pull request #1545 from keszybz/check-for-xsltproc
Daniel Mack [Tue, 13 Oct 2015 11:46:01 +0000 (13:46 +0200)] 
Merge pull request #1545 from keszybz/check-for-xsltproc

build-sys: check for xsltproc when building manpages

8 years agoMerge pull request #1552 from jsynacek/short-flags-since-until
Lennart Poettering [Tue, 13 Oct 2015 10:41:13 +0000 (12:41 +0200)] 
Merge pull request #1552 from jsynacek/short-flags-since-until

journalctl: introduce short options for --since and --until

8 years agojournalctl: introduce short options for --since and --until 1552/head
Jan Synacek [Tue, 13 Oct 2015 08:50:49 +0000 (10:50 +0200)] 
journalctl: introduce short options for --since and --until

Fixes #1514.

8 years agojournalctl: enable args for --dump-catalog and --list-catalog 1548/head
Evgeny Vereshchagin [Tue, 13 Oct 2015 06:04:11 +0000 (09:04 +0300)] 
journalctl: enable args for --dump-catalog and --list-catalog

`journalctl --dump-catalog ID1 ID2 ...` works fine.

8 years agojournalctl: open pager for --dump-catalog and --list-catalog
Evgeny Vereshchagin [Tue, 13 Oct 2015 06:01:37 +0000 (09:01 +0300)] 
journalctl: open pager for --dump-catalog and --list-catalog

8 years agoDocument journald sockets paths a bit more 1542/head
Zbigniew Jędrzejewski-Szmek [Mon, 12 Oct 2015 03:25:43 +0000 (23:25 -0400)] 
Document journald sockets paths a bit more

Adding them to the documentation makes it easier to find
the right man page for people who are trying to understand
where some socket in the filesystem is coming from.

8 years agobuild-sys: check for xsltproc when building manpages 1545/head
Zbigniew Jędrzejewski-Szmek [Mon, 12 Oct 2015 17:50:03 +0000 (13:50 -0400)] 
build-sys: check for xsltproc when building manpages

Only check for xsltproc if it will be used.
If not found, complain.

https://github.com/systemd/systemd/issues/1521

8 years agoman: describe IPv6AcceptRouterAdvertisements= better 1544/head
Zbigniew Jędrzejewski-Szmek [Wed, 30 Sep 2015 18:59:43 +0000 (14:59 -0400)] 
man: describe IPv6AcceptRouterAdvertisements= better

With the previous description it wasn't clear that the
kernel default is being described.

Add link to kernel docs.

8 years agojournald: make audit socket optional
Zbigniew Jędrzejewski-Szmek [Sun, 2 Aug 2015 17:55:57 +0000 (13:55 -0400)] 
journald: make audit socket optional

If we were given some sockets through socket activation, and audit
socket is not among them, do not try to open it. This way, if the
socket unit is disabled, we will not receive audit events.

https://bugzilla.redhat.com/show_bug.cgi?id=1227379

8 years agoMerge pull request #1536 from jsynacek/master
Daniel Mack [Mon, 12 Oct 2015 13:27:37 +0000 (15:27 +0200)] 
Merge pull request #1536 from jsynacek/master

po/da: use unix line endings

8 years agoMerge pull request #1540 from zonque/cmsg
David Herrmann [Mon, 12 Oct 2015 13:23:51 +0000 (15:23 +0200)] 
Merge pull request #1540 from zonque/cmsg

sd-daemon: wipe out memory before using CMSG_NXTHDR()

8 years agosd-daemon: wipe out memory before using CMSG_NXTHDR() 1540/head
Daniel Mack [Mon, 12 Oct 2015 12:44:26 +0000 (14:44 +0200)] 
sd-daemon: wipe out memory before using CMSG_NXTHDR()

CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer.
While this makes sense for parsing received messages, that's a pitfall
for code crafting messages with this macro.

Wipe out the allocated memory to fix this.

8 years agopo/da: use unix line endings 1536/head
Jan Synacek [Mon, 12 Oct 2015 07:56:24 +0000 (09:56 +0200)] 
po/da: use unix line endings

8 years agoMerge pull request #1532 from phomes/trivial-fixes
Daniel Mack [Mon, 12 Oct 2015 07:45:58 +0000 (09:45 +0200)] 
Merge pull request #1532 from phomes/trivial-fixes

Trivial fixes

8 years agocore: manager: expose DefaultLimit* as properties on dbus 1534/head
Evgeny Vereshchagin [Mon, 12 Oct 2015 06:39:00 +0000 (06:39 +0000)] 
core: manager: expose DefaultLimit* as properties on dbus

8 years agobus-util: add bus_property_get_rlimit (move from core/dbus_execute)
Evgeny Vereshchagin [Mon, 12 Oct 2015 05:16:05 +0000 (05:16 +0000)] 
bus-util: add bus_property_get_rlimit (move from core/dbus_execute)

8 years agoshared: remove an unused variable 1532/head
Thomas Hindoe Paaboel Andersen [Sun, 11 Oct 2015 14:42:22 +0000 (16:42 +0200)] 
shared: remove an unused variable

8 years agorfkill: consistently use = in designator
Thomas Hindoe Paaboel Andersen [Sun, 11 Oct 2015 12:08:28 +0000 (14:08 +0200)] 
rfkill: consistently use = in designator

8 years agonetworkd: address - introduce address_is_ready() 1530/head
Tom Gundersen [Mon, 28 Sep 2015 11:30:10 +0000 (13:30 +0200)] 
networkd: address - introduce address_is_ready()

Checks that a given address is not tentative nor deprecated.

8 years agonetworkd: make address_{establish,release}() static
Tom Gundersen [Thu, 24 Sep 2015 13:25:20 +0000 (15:25 +0200)] 
networkd: make address_{establish,release}() static

No need to expose these functions, but rather call them from address_{add,drop}.

8 years agonetworkd: manager - avoid unnecessary memory allocation
Tom Gundersen [Wed, 23 Sep 2015 23:22:05 +0000 (01:22 +0200)] 
networkd: manager - avoid unnecessary memory allocation

Don't allocate Address objects only to free them again when processing
rtnl events.

8 years agonetworkd: address - store active addresses in a Set rather than a List
Tom Gundersen [Tue, 22 Sep 2015 23:53:29 +0000 (01:53 +0200)] 
networkd: address - store active addresses in a Set rather than a List

We need to be able to look these things up quickly as we will be updating them
continuously and there can in principle be many of them.

8 years agonetworkd: address - process in manager.c rather than link.c
Tom Gundersen [Tue, 22 Sep 2015 15:18:20 +0000 (17:18 +0200)] 
networkd: address - process in manager.c rather than link.c

8 years agonetworkd: link - refactor (un)ref
Tom Gundersen [Fri, 9 Oct 2015 18:47:34 +0000 (20:47 +0200)] 
networkd: link - refactor (un)ref

8 years agonetworkd: link - fix error handling in link_add()
Tom Gundersen [Fri, 9 Oct 2015 15:21:15 +0000 (17:21 +0200)] 
networkd: link - fix error handling in link_add()

8 years agosd-netlink: add support for subscribing to ROUTE messages
Tom Gundersen [Fri, 9 Oct 2015 19:37:04 +0000 (21:37 +0200)] 
sd-netlink: add support for subscribing to ROUTE messages

Also, explicitly don't support subscribing to GET or SET messages, as these will
never be emitted by the kernel.

8 years agosd-netlink: rtnl - add route_get_{scope,tos,table,protocol}()
Tom Gundersen [Fri, 9 Oct 2015 16:52:35 +0000 (18:52 +0200)] 
sd-netlink: rtnl - add route_get_{scope,tos,table,protocol}()

8 years agosd-ipv4ll: allow initial address to be set explicitly
Tom Gundersen [Thu, 1 Oct 2015 19:51:49 +0000 (21:51 +0200)] 
sd-ipv4ll: allow initial address to be set explicitly

This is useful in case the daemon is restarted and the state of the IPv4LL client should
be serialized/deserialized.

8 years agonetworkd: link/network - correctly align log messages
Tom Gundersen [Wed, 30 Sep 2015 17:37:52 +0000 (19:37 +0200)] 
networkd: link/network - correctly align log messages

8 years agolibsystemd-network: limit accuracy of timestamps in logging
Tom Gundersen [Fri, 25 Sep 2015 15:41:09 +0000 (17:41 +0200)] 
libsystemd-network: limit accuracy of timestamps in logging

We don't care about timestamps down to the last usec, round to the closest sec
as that will be plenty for debugging purposes.

8 years agonetworkd: address - add hash helpers for Address objects
Tom Gundersen [Tue, 22 Sep 2015 15:54:27 +0000 (17:54 +0200)] 
networkd: address - add hash helpers for Address objects

Add compare_func and hash_func for the Address object. The notion of
address equality is the same as in the kernel, and hashing preserves
preserves equality.

Two addresses are considered equal if:
   - they have the same address family, and
     - they are neither IPv4 nor IPv6 addresses, or
     - the local addresses are identical, and
       - they are IPv6 addresses, or
         - they have the same prefixlength, and
         - their peer prefixes are identical

This fixes a bug in the old equality check, which got the local address
and the peer prefix mixed up.

8 years agonetworkd: manager - free bus after own objects
Tom Gundersen [Fri, 9 Oct 2015 19:36:04 +0000 (21:36 +0200)] 
networkd: manager - free bus after own objects

Freeing links/addresses may trigger sending signals over the bus, so let's make sure
the bus stays around until our own objects have been freed.

8 years agonetworkd: route/address - simplify and unify creators
Tom Gundersen [Mon, 21 Sep 2015 13:53:40 +0000 (15:53 +0200)] 
networkd: route/address - simplify and unify creators

Rename new_dynamic() to simply _new() and reuse that from new_static().

8 years agoMerge pull request #1524 from Danielmachon/catalog-danish-translation
Daniel Mack [Sat, 10 Oct 2015 17:15:28 +0000 (19:15 +0200)] 
Merge pull request #1524 from Danielmachon/catalog-danish-translation

catalog: added systemd.da.catalog

8 years agocatalog: added systemd.da.catalog 1524/head
Danielmachon [Sat, 10 Oct 2015 16:35:44 +0000 (18:35 +0200)] 
catalog: added systemd.da.catalog

8 years agoMerge pull request #1510 from mirco/fix-nspawn
Lennart Poettering [Fri, 9 Oct 2015 15:45:42 +0000 (18:45 +0300)] 
Merge pull request #1510 from mirco/fix-nspawn

nspawn: create /sys/fs/cgroup for unified hierarchy as well

8 years agoMerge pull request #1516 from poettering/dontisolaterootslice
Martin Pitt [Fri, 9 Oct 2015 15:32:30 +0000 (17:32 +0200)] 
Merge pull request #1516 from poettering/dontisolaterootslice

Don't isolate `-.slice`

8 years agocore: ignore -.slice and init.scope when isolating 1516/head
Lennart Poettering [Fri, 9 Oct 2015 15:18:18 +0000 (17:18 +0200)] 
core: ignore -.slice and init.scope when isolating

Otherwise, we might end up trying to isolate it away when starting user
instances.

While we are at it, also prohibit manual start/stop of these two units.

Fixes: #1507
8 years agosd-daemon: simply code simplification
Lennart Poettering [Fri, 9 Oct 2015 15:17:28 +0000 (17:17 +0200)] 
sd-daemon: simply code simplification

No change in behaviour, just make the code more obvious.

8 years agocore: remove taint flag about /etc/mtab not being a symlink.
Lennart Poettering [Fri, 9 Oct 2015 15:16:12 +0000 (17:16 +0200)] 
core: remove taint flag about /etc/mtab not being a symlink.

We already stop boot if /etc/mtab is not a symlink right now, and most
likely we'll stop referecing it at all in the future, either way there's
no point in keeping it around as taint flag.

8 years agozsh: don't mention /etc/mtab
Lennart Poettering [Fri, 9 Oct 2015 15:15:24 +0000 (17:15 +0200)] 
zsh: don't mention /etc/mtab

The file is obsolete, use /proc/self/mounts instead.

Also, yuck, the code is so awful...

8 years agoMerge pull request #1512 from evverx/systemd-run-syslog-properties
Lennart Poettering [Fri, 9 Oct 2015 14:06:22 +0000 (17:06 +0300)] 
Merge pull request #1512 from evverx/systemd-run-syslog-properties

systemd-run can launch units with SyslogIdentifier and SyslogLevelPrefix

8 years agoMerge pull request #1501 from fbuihuu/fix-requires-mounts-for-directives
Lennart Poettering [Fri, 9 Oct 2015 14:04:36 +0000 (17:04 +0300)] 
Merge pull request #1501 from fbuihuu/fix-requires-mounts-for-directives

Make sure the mount units pulled by 'RequiresMountsFor=' are loaded, if they exist

8 years agoshell-completion: systemd-run: add new properties 1512/head
Evgeny Vereshchagin [Fri, 9 Oct 2015 12:42:34 +0000 (12:42 +0000)] 
shell-completion: systemd-run: add new properties

8 years agosystemd-run can now launch units with SyslogIdentifier
Evgeny Vereshchagin [Fri, 9 Oct 2015 12:37:50 +0000 (12:37 +0000)] 
systemd-run can now launch units with SyslogIdentifier

8 years agosystemd-run can now launch units with SyslogLevelPrefix
Evgeny Vereshchagin [Fri, 9 Oct 2015 12:17:41 +0000 (12:17 +0000)] 
systemd-run can now launch units with SyslogLevelPrefix

8 years agonspawn: create /sys/fs/cgroup for unified hierarchy as well 1510/head
Mirco Tischler [Fri, 9 Oct 2015 11:12:08 +0000 (13:12 +0200)] 
nspawn: create /sys/fs/cgroup for unified hierarchy as well

8 years agoMerge pull request #1504 from evverx/systemd-run-new-properties
Daniel Mack [Fri, 9 Oct 2015 06:52:55 +0000 (08:52 +0200)] 
Merge pull request #1504 from evverx/systemd-run-new-properties

shell-completion: systemd-run: add new properties

8 years agoshell-completion: systemd-run: add new properties 1504/head
Evgeny Vereshchagin [Fri, 9 Oct 2015 03:48:31 +0000 (06:48 +0300)] 
shell-completion: systemd-run: add new properties

See:
602b83559a7cfcd3eee05
b9c50073fcc1460ca1ff3

8 years agoMake sure the mount units pulled by 'RequiresMountsFor=' are loaded (if they exist) 1501/head
Franck Bui [Thu, 8 Oct 2015 17:06:06 +0000 (19:06 +0200)] 
Make sure the mount units pulled by 'RequiresMountsFor=' are loaded (if they exist)

We should make sure that mount units involved by 'RequiresMountsFor='
directives are really loaded if not required by any others units so
that Requires= dependencies on the mount units are applied and thus
the mount unit dependencies are started.

8 years agoMerge pull request #1499 from evverx/system-conf-update
Lennart Poettering [Thu, 8 Oct 2015 16:57:36 +0000 (19:57 +0300)] 
Merge pull request #1499 from evverx/system-conf-update

core: system.conf: add DefaultTasksAccounting

8 years agocore: system.conf: add DefaultTasksAccounting 1499/head
Evgeny Vereshchagin [Thu, 8 Oct 2015 14:48:45 +0000 (17:48 +0300)] 
core: system.conf: add DefaultTasksAccounting

8 years agoMerge pull request #1496 from poettering/stdin-fd
Daniel Mack [Thu, 8 Oct 2015 14:09:09 +0000 (16:09 +0200)] 
Merge pull request #1496 from poettering/stdin-fd

allow passing in fds for stdin/stdout/stderr for transient services

8 years agoMerge pull request #1497 from bengal/lldp-rename-struct
Tom Gundersen [Thu, 8 Oct 2015 13:57:23 +0000 (15:57 +0200)] 
Merge pull request #1497 from bengal/lldp-rename-struct

lldp: rename publicly visible structure

8 years agolldp: rename publicly visible structure 1497/head
Beniamino Galvani [Thu, 8 Oct 2015 13:26:43 +0000 (15:26 +0200)] 
lldp: rename publicly visible structure

Rename struct 'tlv_packet' to 'sd_lldp_packet' and struct
'tlv_section' to 'sd_lldp_section' since the former is referenced in
public header sd-lldp.h.

Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
8 years agoshell-completion: add pseudo machine ".host" to shell completion 1496/head
Lennart Poettering [Thu, 8 Oct 2015 13:14:27 +0000 (15:14 +0200)] 
shell-completion: add pseudo machine ".host" to shell completion