]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
10 years agoutil: allow unbalanced double quote in EXTRACT_QUOTES|EXTRACT_RELAX mode 1642/head
Evgeny Vereshchagin [Thu, 22 Oct 2015 00:37:32 +0000 (00:37 +0000)] 
util: allow unbalanced double quote in EXTRACT_QUOTES|EXTRACT_RELAX mode

extract_first_word understands "\'string" but doesn't understand "\"string"
fixed this inconsistency.

10 years agoMerge pull request #1639 from alkino/master
Lennart Poettering [Wed, 21 Oct 2015 19:01:21 +0000 (21:01 +0200)] 
Merge pull request #1639 from alkino/master

core dbus: Check that flush works with memstream

10 years agocore dbus: Check that flush works with memstream 1639/head
Nicolas Cornu [Wed, 21 Oct 2015 16:17:12 +0000 (18:17 +0200)] 
core dbus: Check that flush works with memstream

10 years agoMerge pull request #1637 from alkino/master
Lennart Poettering [Wed, 21 Oct 2015 14:38:35 +0000 (16:38 +0200)] 
Merge pull request #1637 from alkino/master

shell-completion: systemd-run: add new property EnvironmentFile

10 years agoshell-completion: systemd-run: add new property EnvironmentFile 1637/head
Nicolas Cornu [Wed, 21 Oct 2015 14:18:59 +0000 (16:18 +0200)] 
shell-completion: systemd-run: add new property EnvironmentFile

10 years agoMerge pull request #1632 from evverx/fix-namespace-parsing
Lennart Poettering [Wed, 21 Oct 2015 13:56:48 +0000 (15:56 +0200)] 
Merge pull request #1632 from evverx/fix-namespace-parsing

core: fix namespace parsing

10 years agoMerge pull request #1636 from alkino/master
Lennart Poettering [Wed, 21 Oct 2015 13:55:31 +0000 (15:55 +0200)] 
Merge pull request #1636 from alkino/master

Add zsh completion on systemd-run's properties

10 years agoAdd zsh completion on systemd-run's properties 1636/head
Nicolas Cornu [Wed, 21 Oct 2015 13:51:09 +0000 (15:51 +0200)] 
Add zsh completion on systemd-run's properties

10 years agocore: fix namespace parsing 1632/head
Evgeny Vereshchagin [Wed, 21 Oct 2015 11:49:36 +0000 (11:49 +0000)] 
core: fix namespace parsing

ReadOnlyDirectories=-/ works fine

10 years agoMerge pull request #1623 from evverx/run-rw-ro-ia-dirs
Lennart Poettering [Wed, 21 Oct 2015 10:08:44 +0000 (12:08 +0200)] 
Merge pull request #1623 from evverx/run-rw-ro-ia-dirs

systemd-run can launch units with ReadWriteDirectories, ReadOnlyDirectories, InaccessibleDirectories

10 years agoMerge pull request #1626 from teg/networkd
Lennart Poettering [Wed, 21 Oct 2015 10:07:08 +0000 (12:07 +0200)] 
Merge pull request #1626 from teg/networkd

networkd: assorted fixes

10 years agonetworkd: manager/link - only serialize once per event-loop iteration 1626/head
Tom Gundersen [Wed, 30 Sep 2015 16:17:43 +0000 (18:17 +0200)] 
networkd: manager/link - only serialize once per event-loop iteration

Every time the state is written out we may trigger third-party apps, so
let's be a bit more careful about writing this out unnecessarily.

10 years agonetworkd: link - serialize addresses
Tom Gundersen [Wed, 30 Sep 2015 13:32:16 +0000 (15:32 +0200)] 
networkd: link - serialize addresses

10 years agonetworkd: route - add hash_ops
Tom Gundersen [Sat, 3 Oct 2015 16:40:28 +0000 (18:40 +0200)] 
networkd: route - add hash_ops

10 years agonetworkd: route - simplify route_new()
Tom Gundersen [Fri, 9 Oct 2015 21:43:52 +0000 (23:43 +0200)] 
networkd: route - simplify route_new()

10 years agonetworkd: address - distinguish between addresses added by us and by others
Tom Gundersen [Wed, 30 Sep 2015 12:01:44 +0000 (14:01 +0200)] 
networkd: address - distinguish between addresses added by us and by others

We only keep the addresses that we added ourselves in link->addresses, and
introduce a new set link->addresses_foreign to keep addresses of unknown
origin.

Only functional change is that "foreign" addresses no longer prevent a link
from entering "configured" state.

10 years agonetworkd: address - rework firewall rules lifetime
Tom Gundersen [Wed, 30 Sep 2015 12:07:12 +0000 (14:07 +0200)] 
networkd: address - rework firewall rules lifetime

Establish the firewall rule before creating the address, and do not create the address
if the firewall rule could not be created. Also, only drop the firewall rule once
the address has been removed from the kernel.

10 years agonetworkd: address - merge _change() into _configure()
Tom Gundersen [Thu, 1 Oct 2015 15:31:14 +0000 (17:31 +0200)] 
networkd: address - merge _change() into _configure()

These functions are almost entirely the same, so avoid duplication.

10 years agonetworkd: address - factor out address_update()
Tom Gundersen [Mon, 28 Sep 2015 15:16:12 +0000 (17:16 +0200)] 
networkd: address - factor out address_update()

Call back into link_check_ready() whenever an address state change may have
made a link ready.

10 years agonetworkd: link - only consider configured when all addresses are ready
Tom Gundersen [Mon, 28 Sep 2015 11:38:43 +0000 (13:38 +0200)] 
networkd: link - only consider configured when all addresses are ready

We were considering a link configured whilst its IPv6 addresses were still
tentative.

Fixes issue #650.

10 years agoshell-completion: systemd-run: add new properties 1623/head
Evgeny Vereshchagin [Tue, 20 Oct 2015 19:59:43 +0000 (19:59 +0000)] 
shell-completion: systemd-run: add new properties

"ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories"

10 years agorun: can launch units with ReadWriteDirectories, ReadOnlyDirectories, InaccessibleDir...
Evgeny Vereshchagin [Tue, 20 Oct 2015 19:57:04 +0000 (19:57 +0000)] 
run: can launch units with ReadWriteDirectories, ReadOnlyDirectories, InaccessibleDirectories

10 years agoMerge pull request #1622 from phomes/unused-variable
Ronny Chevalier [Tue, 20 Oct 2015 17:48:27 +0000 (19:48 +0200)] 
Merge pull request #1622 from phomes/unused-variable

dbus-execute: remove unused variable

10 years agodbus-execute: remove unused variable 1622/head
Thomas Hindoe Paaboel Andersen [Tue, 20 Oct 2015 17:36:54 +0000 (19:36 +0200)] 
dbus-execute: remove unused variable

from ceb728cf

10 years agoMerge pull request #1616 from evverx/run-fix-environment-parsing
Lennart Poettering [Tue, 20 Oct 2015 13:26:19 +0000 (15:26 +0200)] 
Merge pull request #1616 from evverx/run-fix-environment-parsing

run: fix Environment parsing

10 years agoMerge pull request #1538 from ssahani/ipv62
Tom Gundersen [Tue, 20 Oct 2015 12:59:27 +0000 (14:59 +0200)] 
Merge pull request #1538 from ssahani/ipv62

networkd: add support to configure IPv6 DAD

10 years agorun: fix Environment parsing 1616/head
Evgeny Vereshchagin [Tue, 20 Oct 2015 02:04:10 +0000 (02:04 +0000)] 
run: fix Environment parsing

* `Environment=` resets previous assignments
* `Environment='a=1 b=2'` sets `a` to `1` and `b` to `2`
* `Environment='"a=1 2" b=2"'` sets `a` to `1 2` and `b` to `2`

10 years agoMerge pull request #1619 from iaguis/nspawn-sysfs-netns-3
Lennart Poettering [Tue, 20 Oct 2015 10:22:32 +0000 (12:22 +0200)] 
Merge pull request #1619 from iaguis/nspawn-sysfs-netns-3

nspawn: skip /sys-as-tmpfs if we don't use private-network

10 years agoMerge pull request #1568 from poettering/netclass
Daniel Mack [Tue, 20 Oct 2015 08:31:38 +0000 (10:31 +0200)] 
Merge pull request #1568 from poettering/netclass

various fixes, for various things

10 years agonspawn: skip /sys-as-tmpfs if we don't use private-network 1619/head
Iago López Galeiras [Thu, 15 Oct 2015 10:13:13 +0000 (12:13 +0200)] 
nspawn: skip /sys-as-tmpfs if we don't use private-network

Since v3.11/7dc5dbc ("sysfs: Restrict mounting sysfs"), the kernel
doesn't allow mounting sysfs if you don't have CAP_SYS_ADMIN rights over
the network namespace.

So the mounting /sys as a tmpfs code introduced in
d8fc6a000fe21b0c1ba27fbfed8b42d00b349a4b doesn't work with user
namespaces if we don't use private-net. The reason is that we mount
sysfs inside the container and we're in the network namespace of the host
but we don't have CAP_SYS_ADMIN over that namespace.

To fix that, we mount /sys as a sysfs (instead of tmpfs) if we don't use
private network and ignore the /sys-as-a-tmpfs code if we find that /sys
is already mounted as sysfs.

Fixes #1555

10 years agodbus-execute: some cleanups when parsing EnvironmentFiles= for transient units 1568/head
Lennart Poettering [Mon, 19 Oct 2015 21:43:19 +0000 (23:43 +0200)] 
dbus-execute: some cleanups when parsing EnvironmentFiles= for transient units

10 years agostrv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_
Zbigniew Jędrzejewski-Szmek [Thu, 15 Oct 2015 14:02:35 +0000 (10:02 -0400)] 
strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_

10 years agotree-wide: whenever we deal with passwords, erase them from memory after use
Lennart Poettering [Wed, 14 Oct 2015 20:40:23 +0000 (22:40 +0200)] 
tree-wide: whenever we deal with passwords, erase them from memory after use

A bit snake-oilish, but can't hurt.

10 years agocore: actually set pids_max field after parsing it
Lennart Poettering [Wed, 14 Oct 2015 20:41:25 +0000 (22:41 +0200)] 
core: actually set pids_max field after parsing it

Fixes one of the issues pointed out in #1522.

10 years agojournald: make sure r is always initialized
Lennart Poettering [Wed, 14 Oct 2015 17:33:20 +0000 (19:33 +0200)] 
journald: make sure r is always initialized

10 years agojournal: fix bad memory freeing
Lennart Poettering [Wed, 14 Oct 2015 17:33:01 +0000 (19:33 +0200)] 
journal: fix bad memory freeing

10 years agotree-wide: add more void casts for various syscall invocations
Lennart Poettering [Wed, 14 Oct 2015 17:32:46 +0000 (19:32 +0200)] 
tree-wide: add more void casts for various syscall invocations

10 years agocore: fix type of NetClass dbus property
Lennart Poettering [Wed, 14 Oct 2015 17:31:42 +0000 (19:31 +0200)] 
core: fix type of NetClass dbus property

it's exposed as uint32_t and it is internally an uint32_t, hence no need
to treat it as an unsigned.

10 years agoman: move documentation about NetClass from systemd.unit(5) to systemd.resource-contr...
Lennart Poettering [Wed, 14 Oct 2015 17:30:40 +0000 (19:30 +0200)] 
man: move documentation about NetClass from systemd.unit(5) to systemd.resource-control(5)

This is after all where we expose all the other cgroup props, especially
those that can be adjusted dynamically.

10 years agoupdate CODING_STYLE
Lennart Poettering [Mon, 19 Oct 2015 20:31:58 +0000 (22:31 +0200)] 
update CODING_STYLE

10 years agoupdate TODO
Lennart Poettering [Mon, 19 Oct 2015 20:30:11 +0000 (22:30 +0200)] 
update TODO

10 years agoMerge pull request #1614 from alkino/master
Lennart Poettering [Mon, 19 Oct 2015 20:09:10 +0000 (22:09 +0200)] 
Merge pull request #1614 from alkino/master

Hook more properties for transient units

10 years agoMerge pull request #1613 from phomes/unused-functions-2
Lennart Poettering [Mon, 19 Oct 2015 20:06:06 +0000 (22:06 +0200)] 
Merge pull request #1613 from phomes/unused-functions-2

tree-wide: remove unused functions

10 years agoHook more properties for transient units 1614/head
Nicolas Cornu [Mon, 19 Oct 2015 19:57:01 +0000 (21:57 +0200)] 
Hook more properties for transient units

systemd-run can now launch units with EnvironmentFile set.

10 years agotree-wide: remove unused functions 1613/head
Thomas Hindoe Paaboel Andersen [Mon, 19 Oct 2015 19:45:00 +0000 (21:45 +0200)] 
tree-wide: remove unused functions

10 years agoMerge pull request #1612 from evverx/man-systemd-tmpfiles
Lennart Poettering [Mon, 19 Oct 2015 18:39:00 +0000 (20:39 +0200)] 
Merge pull request #1612 from evverx/man-systemd-tmpfiles

man: systemd-tmpfiles requires absolute filenames

10 years agoman: systemd-tmpfiles requires absolute filenames 1612/head
Evgeny Vereshchagin [Mon, 19 Oct 2015 18:30:16 +0000 (18:30 +0000)] 
man: systemd-tmpfiles requires absolute filenames

`systemd-tmpfiles --clean ./some.conf` doesn't work:
Failed to open './some.conf', ignoring: No such file or directory

`systemd-tmpfiles --clean $(realpath ./some.conf)` works fine.

10 years agoMerge pull request #1584 from mischief/journal-remote-no-gnutls
Lennart Poettering [Mon, 19 Oct 2015 17:16:15 +0000 (19:16 +0200)] 
Merge pull request #1584 from mischief/journal-remote-no-gnutls

build: install journal-remote units and directory regardless of GNUTLS

10 years agoMerge pull request #1610 from evverx/man-tmpfiles-d
Lennart Poettering [Mon, 19 Oct 2015 17:03:16 +0000 (19:03 +0200)] 
Merge pull request #1610 from evverx/man-tmpfiles-d

man: tmpfiles.d: add info about age field

10 years agoMerge pull request #1598 from evverx/run-oomscoreadjust
Lennart Poettering [Mon, 19 Oct 2015 17:02:47 +0000 (19:02 +0200)] 
Merge pull request #1598 from evverx/run-oomscoreadjust

systemd-run can launch units with OOMScoreAdjust

10 years agoman: tmpfiles.d: add info about age field 1610/head
Evgeny Vereshchagin [Mon, 19 Oct 2015 13:27:43 +0000 (13:27 +0000)] 
man: tmpfiles.d: add info about age field

The age field applies to lines starting with `v`, `C`, `X` too.
See the function `clean_item` in the file `src/tmpfiles/tmpfiles.c`

10 years agoMerge pull request #1601 from grawity/patch-1
Martin Pitt [Sun, 18 Oct 2015 11:34:14 +0000 (13:34 +0200)] 
Merge pull request #1601 from grawity/patch-1

hwdb: fix a syntax error in 60-keyboard

10 years agohwdb: fix a syntax error in 60-keyboard 1601/head
Mantas Mikulėnas [Sun, 18 Oct 2015 11:09:20 +0000 (14:09 +0300)] 
hwdb: fix a syntax error in 60-keyboard

10 years agoRevert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled"
Kay Sievers [Sun, 18 Oct 2015 10:19:08 +0000 (12:19 +0200)] 
Revert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled"

This reverts commit 409c2a13fd65692c611b7bcaba12e908ef7cf1e5.

It breaks the bootup of systems which enable smack at compile time, but have no
smack enabled in the kernel. This needs a different solution.

10 years agoMerge pull request #1595 from poettering/proxy-fixes
David Herrmann [Sun, 18 Oct 2015 10:15:10 +0000 (12:15 +0200)] 
Merge pull request #1595 from poettering/proxy-fixes

bus proxy fixes, and more

10 years agoshell-completion: systemd-run: add property OOMScoreAdjust 1598/head
Evgeny Vereshchagin [Sat, 17 Oct 2015 20:02:56 +0000 (20:02 +0000)] 
shell-completion: systemd-run: add property OOMScoreAdjust

10 years agorun: can launch units with OOMScoreAdjust
Evgeny Vereshchagin [Sat, 17 Oct 2015 19:58:29 +0000 (19:58 +0000)] 
run: can launch units with OOMScoreAdjust

10 years agoutil: add func for checking OOMScoreAdjust
Evgeny Vereshchagin [Sat, 17 Oct 2015 20:01:41 +0000 (20:01 +0000)] 
util: add func for checking OOMScoreAdjust

10 years agounit: allocate bus name match string on the stack 1595/head
Lennart Poettering [Sat, 17 Oct 2015 14:25:10 +0000 (16:25 +0200)] 
unit: allocate bus name match string on the stack

Let's use strjoina() rather than strjoin() for construct dbus match
strings.

Also, while we are at it, fix parameter ordering, so that our functions
always put the object first, like it is customary for OO-like
programming.

10 years agosd-bus: fix error handling of pthread API calls
Lennart Poettering [Sat, 17 Oct 2015 14:23:45 +0000 (16:23 +0200)] 
sd-bus: fix error handling of pthread API calls

pthread APIs (unlike the rest of libc) return their errors as positive
error codes directly from the functions, rather than using errno. Let's
make sure we always handle things that way.

10 years agobus-proxy: don't close local bus fds twice
Lennart Poettering [Sat, 17 Oct 2015 14:20:38 +0000 (16:20 +0200)] 
bus-proxy: don't close local bus fds twice

Clear up how we pass fd owner ship to proxy and bus objects. Document
that ownership is passed of the fds in question even in case of failing
constructors, and that callers should forget about fds pass into the
proxy object.

The alternative would be to duplicate the fds, but given that fds are a
relatively scarce and heavy resource let's better avoid that.

Fixes #1591.

10 years agoMerge pull request #1508 from msekletar/update-TODO-NPROC
Zbigniew Jędrzejewski-Szmek [Sat, 17 Oct 2015 02:14:32 +0000 (22:14 -0400)] 
Merge pull request #1508 from msekletar/update-TODO-NPROC

update TODO

10 years agoMerge pull request #1588 from mhalano/logitech-m560-mouse
Zbigniew Jędrzejewski-Szmek [Sat, 17 Oct 2015 00:53:26 +0000 (20:53 -0400)] 
Merge pull request #1588 from mhalano/logitech-m560-mouse

[zj: rearrange into the sort order]

10 years agoAdded support to the wireless mouse Logitech M560. 1588/head
Marcos Alano [Fri, 16 Oct 2015 22:12:51 +0000 (19:12 -0300)] 
Added support to the wireless mouse Logitech M560.

10 years agoMerge pull request #1582 from evverx/dump-runtime-dir-mode
Ronny Chevalier [Fri, 16 Oct 2015 19:33:17 +0000 (21:33 +0200)] 
Merge pull request #1582 from evverx/dump-runtime-dir-mode

core: dump RuntimeDirectories and RuntimeDirectoryMode too

10 years agocore: dump RuntimeDirectories and RuntimeDirectoryMode too 1582/head
Evgeny Vereshchagin [Thu, 15 Oct 2015 19:15:11 +0000 (19:15 +0000)] 
core: dump RuntimeDirectories and RuntimeDirectoryMode too

10 years agoMerge pull request #1586 from martinpitt/master
Kay Sievers [Fri, 16 Oct 2015 14:40:55 +0000 (16:40 +0200)] 
Merge pull request #1586 from martinpitt/master

keymap: Add HP ProBook 6555b

10 years agokeymap: Add HP ProBook 6555b 1586/head
Martin Pitt [Fri, 16 Oct 2015 14:30:08 +0000 (16:30 +0200)] 
keymap: Add HP ProBook 6555b

Thanks to Olaf Hering!

10 years agoMerge pull request #1581 from teg/netlink-broadcast-leave
David Herrmann [Fri, 16 Oct 2015 11:05:39 +0000 (13:05 +0200)] 
Merge pull request #1581 from teg/netlink-broadcast-leave

sd-netlink: refcount multicast groups

10 years agoman: add man for IPV6 DAD 1538/head
Susant Sahani [Mon, 12 Oct 2015 09:02:12 +0000 (14:32 +0530)] 
man: add man for IPV6 DAD

10 years agonetworkd: add support for configure IPv6 DAD
Susant Sahani [Mon, 12 Oct 2015 09:01:10 +0000 (14:31 +0530)] 
networkd: add support for configure IPv6 DAD

Configures Ipv6 Duplicate Address Detection.

10

10 years agobuild: install journal-remote units and directory regardless of GNUTLS 1584/head
Nick Owens [Thu, 15 Oct 2015 23:24:47 +0000 (16:24 -0700)] 
build: install journal-remote units and directory regardless of GNUTLS

10 years agounits: .gitignore: units - ignore tmp.mount
Tom Gundersen [Thu, 15 Oct 2015 17:28:07 +0000 (19:28 +0200)] 
units: .gitignore: units - ignore tmp.mount

This is a follow-up to 409c2a13fd656.

10 years agosd-netlink: refcount multicast groups 1581/head
Tom Gundersen [Thu, 15 Oct 2015 15:59:10 +0000 (17:59 +0200)] 
sd-netlink: refcount multicast groups

Track the number of matches installed for a given multicast group, and leave the
group once no matches depend on it.

In order to handle passed-in sockets that are already members of multicast groups
we initialize the refcount based on the membership once we take over the socket.
This way we will leave the socket in the state we found it once we finish with
it.

On kernels that do not fully support reading out the multicast group membership
we fall back to never leaving any groups (as before).

10 years agobtrfs: always remove the per-subvol qgroup when removing a subvol
Lennart Poettering [Thu, 15 Oct 2015 16:37:03 +0000 (18:37 +0200)] 
btrfs: always remove the per-subvol qgroup when removing a subvol

btrfs doesn't do that automatically, hence let's do that explicitly each
time.

10 years agoMerge pull request #1575 from evverx/expose-manager-timerslacknsec
Lennart Poettering [Thu, 15 Oct 2015 12:11:36 +0000 (14:11 +0200)] 
Merge pull request #1575 from evverx/expose-manager-timerslacknsec

core: expose manager's TimerSlackNSec as propery on dbus

10 years agocore: expose manager's TimerSlackNSec as propery on dbus 1575/head
Evgeny Vereshchagin [Thu, 15 Oct 2015 11:55:04 +0000 (11:55 +0000)] 
core: expose manager's TimerSlackNSec as propery on dbus

10 years agoMerge pull request #1527 from keszybz/lz4
Lennart Poettering [Thu, 15 Oct 2015 11:37:11 +0000 (13:37 +0200)] 
Merge pull request #1527 from keszybz/lz4

Using lz4 frame api for coredump files

10 years agoMerge pull request #1572 from again4you/devel/tmp-smack
Lennart Poettering [Thu, 15 Oct 2015 11:09:57 +0000 (13:09 +0200)] 
Merge pull request #1572 from again4you/devel/tmp-smack

units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled

10 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

10 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

10 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

10 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

10 years agounits: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled 1572/head
Sangjung Woo [Wed, 14 Oct 2015 06:57:47 +0000 (15:57 +0900)] 
units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled

If SMACK is enabled, 'smackfsroot=*' option should be specified in
tmp.mount file since many non-root processes use /tmp for temporary
usage. If not, /tmp is labeled as '_' and smack denial occurs when
writing.

10 years agobuild-sys: enable lz4 by default if available 1527/head
Zbigniew Jędrzejewski-Szmek [Thu, 15 Oct 2015 02:57:55 +0000 (22:57 -0400)] 
build-sys: enable lz4 by default if available

--enable-lz4 can be used to force lz4 requirement,
--disable-lz4 can be used to skip lz4 support even if available.

Also, make surrounding checks for bzip2, xz, and zlib similar in structure.
This fixes the check for requested but missing bzip2.

10 years agocompress: return errors without logging, do not fake errno
Zbigniew Jędrzejewski-Szmek [Wed, 14 Oct 2015 14:42:18 +0000 (10:42 -0400)] 
compress: return errors without logging, do not fake errno

Logging for compression and decompression is assymetrical on purpose:
if compiled without some type of compression, those compression code
paths should never be invoked. OTOH, it is possible to encounter
unsupported format on decompression, so leave those log_debug statements
in, to make it easier to diagnose stuff.

10 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

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

10 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.

10 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

10 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

10 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

10 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`.

10 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

10 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.

10 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

10 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

10 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

10 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

10 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