platform/upstream/systemd.git
9 years agosd-netlink: add sd_rtnl_message_route_{s,g}et_flags()
Tom Gundersen [Tue, 3 Nov 2015 14:11:38 +0000 (15:11 +0100)]
sd-netlink: add sd_rtnl_message_route_{s,g}et_flags()

9 years agosd-dhcp6-client: add is_running() method
Tom Gundersen [Tue, 10 Nov 2015 14:41:30 +0000 (15:41 +0100)]
sd-dhcp6-client: add is_running() method

9 years agonetworkd: address - drop the 'added' flag
Tom Gundersen [Tue, 10 Nov 2015 12:52:34 +0000 (13:52 +0100)]
networkd: address - drop the 'added' flag

Instead instantiate the kernel flags to TENTATIVE until the kernel
updates us with the real value.

9 years agonetworkd: dhcp4 - style fixes
Tom Gundersen [Tue, 3 Nov 2015 12:01:43 +0000 (13:01 +0100)]
networkd: dhcp4 - style fixes

9 years agoMerge pull request #1848 from poettering/journal-sync
Tom Gundersen [Wed, 11 Nov 2015 13:54:58 +0000 (14:54 +0100)]
Merge pull request #1848 from poettering/journal-sync

add journalctl --sync command and other stuff

9 years agosystemctl: make sure list-jobs doesn't return failure on success
Lennart Poettering [Wed, 11 Nov 2015 13:35:37 +0000 (14:35 +0100)]
systemctl: make sure list-jobs doesn't return failure on success

9 years agoupdate TODO
Lennart Poettering [Wed, 11 Nov 2015 13:32:26 +0000 (14:32 +0100)]
update TODO

9 years agojournalctl: make --rotate synchronous, too
Lennart Poettering [Wed, 11 Nov 2015 12:56:54 +0000 (13:56 +0100)]
journalctl: make --rotate synchronous, too

Of course, ideally we'd just use normal synchronous bus calls, but this
is out of the question as long as we rely on dbus-daemon (which logs to
journald, and thus cannot use to avoid cyclic sync loops). Hence,
instead, reuse the wait logic already implemented for --sync, and use a
signal in one direction, and a mtime watch file for the reply.

9 years agojournalctl: add new --sync switch for syncing the journal to disk
Lennart Poettering [Wed, 11 Nov 2015 11:59:09 +0000 (12:59 +0100)]
journalctl: add new --sync switch for syncing the journal to disk

With this new "--sync" switch we add a synchronous way to sync
everything queued to disk, and return only after that's complete. This
command gives the guarantee that anything queued before has hit the disk
before the command returns.

While we are at it, also improve the man pages and help text for
journalctl a bit.

9 years agosystemctl: add a comment that clarifies why we do "return r" at the end of main()
Lennart Poettering [Wed, 11 Nov 2015 11:57:40 +0000 (12:57 +0100)]
systemctl: add a comment that clarifies why we do "return r" at the end of main()

To avoid confusion as outlined in #1845.

9 years agosd-bus: don't try to acquire connection selinux label unless selinux is actually...
Lennart Poettering [Wed, 11 Nov 2015 11:55:32 +0000 (12:55 +0100)]
sd-bus: don't try to acquire connection selinux label unless selinux is actually enabled

Otherwise we might end up mistaking a SMACK label for an selinux label.

Also, fixes unexpect debug messages:

http://lists.freedesktop.org/archives/systemd-devel/2015-November/034913.html

9 years agoMerge pull request #1846 from marcosfrm/journalctl-shell-completion
Daniel Mack [Wed, 11 Nov 2015 11:12:33 +0000 (12:12 +0100)]
Merge pull request #1846 from marcosfrm/journalctl-shell-completion

shell-completion: journalctl: add -S and -U options

9 years agoMerge pull request #1845 from poettering/revert-EXIT_SUCCESS
Tom Gundersen [Wed, 11 Nov 2015 11:10:19 +0000 (12:10 +0100)]
Merge pull request #1845 from poettering/revert-EXIT_SUCCESS

Revert "systemctl: return EXIT_SUCCESS on success"

9 years agoshell-completion: journalctl: add -S and -U options
Marcos Mello [Wed, 11 Nov 2015 10:29:46 +0000 (08:29 -0200)]
shell-completion: journalctl: add -S and -U options

Added by 66f5292

9 years agoRevert "systemctl: return EXIT_SUCCESS on success"
Lennart Poettering [Wed, 11 Nov 2015 09:59:11 +0000 (10:59 +0100)]
Revert "systemctl: return EXIT_SUCCESS on success"

This reverts commit 6a32563caa883bd11da1b255c38358e481c42ad7.

9 years agoMerge pull request #1844 from martinpitt/master
Daniel Mack [Wed, 11 Nov 2015 09:48:39 +0000 (10:48 +0100)]
Merge pull request #1844 from martinpitt/master

test-parse-util: cover negative numbers, leading spaces, and more range errors

9 years agotest-parse-util: cover negative numbers, leading spaces, and more range errors
Martin Pitt [Wed, 11 Nov 2015 09:05:00 +0000 (10:05 +0100)]
test-parse-util: cover negative numbers, leading spaces, and more range errors

Motivated by https://github.com/systemd/systemd/issues/1829 where negative
numbers were mis-handled on 32 bit platforms by safe_atou*().

9 years agoMerge pull request #1837 from poettering/grabbag2
Tom Gundersen [Wed, 11 Nov 2015 01:31:29 +0000 (02:31 +0100)]
Merge pull request #1837 from poettering/grabbag2

variety of fixes

9 years agoMerge pull request #1839 from evverx/fix-systemctl-cancel
Tom Gundersen [Wed, 11 Nov 2015 01:25:57 +0000 (02:25 +0100)]
Merge pull request #1839 from evverx/fix-systemctl-cancel

systemctl: fix cancel

9 years agoMerge pull request #1841 from keszybz/remove-snapshot
Tom Gundersen [Wed, 11 Nov 2015 01:24:45 +0000 (02:24 +0100)]
Merge pull request #1841 from keszybz/remove-snapshot

Remove snapshot unit type

9 years agoMerge pull request #1655 from ssahani/net
Tom Gundersen [Wed, 11 Nov 2015 01:22:11 +0000 (02:22 +0100)]
Merge pull request #1655 from ssahani/net

network: port to extract_first_word

9 years agoMerge pull request #1838 from keszybz/trivialities
Tom Gundersen [Wed, 11 Nov 2015 01:21:06 +0000 (02:21 +0100)]
Merge pull request #1838 from keszybz/trivialities

Trivialities

9 years agosystemctl: return EXIT_SUCCESS on success
Evgeny Vereshchagin [Wed, 11 Nov 2015 01:17:13 +0000 (01:17 +0000)]
systemctl: return EXIT_SUCCESS on success

9 years agoRemove snapshot unit type
Zbigniew Jędrzejewski-Szmek [Sun, 8 Nov 2015 13:12:54 +0000 (14:12 +0100)]
Remove snapshot unit type

Snapshots were never useful or used for anything. Many systemd
developers that I spoke to at systemd.conf2015, didn't even know they
existed, so it is fairly safe to assume that this type can be deleted
without harm.

The fundamental problem with snapshots is that the state of the system
is dynamic, devices come and go, users log in and out, timers fire...
and restoring all units to some state from the past would "undo"
those changes, which isn't really possible.

Tested by creating a snapshot, running the new binary, and checking
that the transition did not cause errors, and the snapshot is gone,
and snapshots cannot be created anymore.

New systemctl says:
Unknown operation snapshot.
Old systemctl says:
Failed to create snapshot: Support for snapshots has been removed.

IgnoreOnSnaphost settings are warned about and ignored:
Support for option IgnoreOnSnapshot= has been removed and it is ignored

http://lists.freedesktop.org/archives/systemd-devel/2015-November/034872.html

9 years agosystemctl: fix cancel
Evgeny Vereshchagin [Wed, 11 Nov 2015 00:03:24 +0000 (00:03 +0000)]
systemctl: fix cancel

http://www.freedesktop.org/software/systemd/man/systemctl.html#cancel%20JOB...
> If no job ID is specified, cancel all pending jobs

9 years agoTODO: remove SYSTEMD_PAGER
Zbigniew Jędrzejewski-Szmek [Tue, 10 Nov 2015 16:36:11 +0000 (11:36 -0500)]
TODO: remove SYSTEMD_PAGER

This is already done in Fedora rawhide.

9 years agoman: normalize indentation in sd-detect-virt(1)
Zbigniew Jędrzejewski-Szmek [Tue, 10 Nov 2015 23:48:59 +0000 (18:48 -0500)]
man: normalize indentation in sd-detect-virt(1)

9 years agotmpfiles: don't consider it a problem if quota is not enabled on btrfs
Lennart Poettering [Tue, 10 Nov 2015 20:39:52 +0000 (21:39 +0100)]
tmpfiles: don't consider it a problem if quota is not enabled on btrfs

If quota is not enabled on a btrfs file system, accept that, and only
log a debug message, but do not consider this a reason for failure.

Fixes: #1809

9 years agobtrfs: when querying quota, make sure we don't choke if quota is disabled
Lennart Poettering [Tue, 10 Nov 2015 20:37:49 +0000 (21:37 +0100)]
btrfs: when querying quota, make sure we don't choke if quota is disabled

When quota is disabled there's no quota tree on the fs, which results in
the SEARCH ioctl to return ENOENT. Handle this nicely: treat this the
same way as the case where the quota tree is around but doesn't carry
the searched for fields.

9 years agojournald: be less picky when receiving epoll events
Lennart Poettering [Tue, 10 Nov 2015 20:04:39 +0000 (21:04 +0100)]
journald: be less picky when receiving epoll events

The event might be flagged with stuff we don't expect, hence don't
be needlessly picky, just rely on the kernel passing us sensible events.

9 years agocore: change type of distribute_fds() prototype to return void
Lennart Poettering [Tue, 10 Nov 2015 19:42:58 +0000 (20:42 +0100)]
core: change type of distribute_fds() prototype to return void

We can't handle errors of thisc all sanely anyway, and we never actually
return any errors from the unit type that implements the call.  Hence,
let's make this void, in order to simplify things.

9 years agocore: try to continue if coldplugging of a unit fails
Lennart Poettering [Tue, 10 Nov 2015 19:38:30 +0000 (20:38 +0100)]
core: try to continue if coldplugging of a unit fails

9 years agocore: change return value of the unit's enumerate() call to void
Lennart Poettering [Tue, 10 Nov 2015 19:36:37 +0000 (20:36 +0100)]
core: change return value of the unit's enumerate() call to void

We cannot handle enumeration failures in a sensible way, hence let's try
hard to continue without making such failures fatal, and log about it
with precise error messages.

9 years agojournald: never accept fds from file systems with mandatory locking enabled
Lennart Poettering [Tue, 10 Nov 2015 19:08:04 +0000 (20:08 +0100)]
journald: never accept fds from file systems with mandatory locking enabled

This is pretty much a work-around for a security vulnerability in
kernels that allow unprivileged user namespaces.

Fixes #1822.

9 years agoMerge pull request #1835 from poettering/grabbag-of-stuff
Daniel Mack [Tue, 10 Nov 2015 20:01:35 +0000 (21:01 +0100)]
Merge pull request #1835 from poettering/grabbag-of-stuff

Lots of small fixes

9 years agoMerge pull request #1785 from ssahani/word
Lennart Poettering [Tue, 10 Nov 2015 18:55:30 +0000 (19:55 +0100)]
Merge pull request #1785 from ssahani/word

core: unit deps port to extract_first_word

9 years agoMerge pull request #1834 from filbranden/testexecute2
Lennart Poettering [Tue, 10 Nov 2015 18:49:51 +0000 (19:49 +0100)]
Merge pull request #1834 from filbranden/testexecute2

test-execute: Fix systemd escaping and shell issues (v2)

9 years agoMerge pull request #1793 from filbranden/extract1
Lennart Poettering [Tue, 10 Nov 2015 18:43:09 +0000 (19:43 +0100)]
Merge pull request #1793 from filbranden/extract1

More refactorings in extract_first_word

9 years agoMerge pull request #1783 from vcaputo/still_make_progress_when_throttling
Lennart Poettering [Tue, 10 Nov 2015 18:33:27 +0000 (19:33 +0100)]
Merge pull request #1783 from vcaputo/still_make_progress_when_throttling

core: still make progress when throttling the manager loop

9 years agoMerge pull request #1812 from evverx/test-fixes
Lennart Poettering [Tue, 10 Nov 2015 18:31:22 +0000 (19:31 +0100)]
Merge pull request #1812 from evverx/test-fixes

tests: various fixes

9 years agotests: various fixes
Evgeny Vereshchagin [Sun, 8 Nov 2015 22:00:34 +0000 (22:00 +0000)]
tests: various fixes

* remove journal flushing (systemd-journal-flush.service runs journalctl --flush on boot)
* use sh -c and PATH instead of @SYSTEMCTL@ expansion
* remove unnecessary semicolons etc

9 years agocore: unit deps port to extract_first_word
Susant Sahani [Thu, 5 Nov 2015 05:26:13 +0000 (10:56 +0530)]
core: unit deps port to extract_first_word

9 years agonetworkctl: lldp port to extract_first_word
Susant Sahani [Mon, 26 Oct 2015 04:27:38 +0000 (09:57 +0530)]
networkctl: lldp port to extract_first_word

9 years agobond: port to extract_first_word
Susant Sahani [Fri, 23 Oct 2015 16:36:42 +0000 (22:06 +0530)]
bond: port to extract_first_word

9 years agoMerge pull request #1823 from whot/hwdb-updates
Lennart Poettering [Tue, 10 Nov 2015 16:46:28 +0000 (17:46 +0100)]
Merge pull request #1823 from whot/hwdb-updates

Updated axis ranges/resolutions for Lenovo T510 and Dell Inspiron N5040

9 years agoupdate TODO
Lennart Poettering [Tue, 10 Nov 2015 16:36:10 +0000 (17:36 +0100)]
update TODO

9 years agoparse-util: really refuse parsing negative values as positive ones, even on x86-32
Lennart Poettering [Tue, 10 Nov 2015 16:27:16 +0000 (17:27 +0100)]
parse-util: really refuse parsing negative values as positive ones, even on x86-32

strtoull() doesn't make it particularly easy to detect passed-in
negative numbers, as it silently converts them to positive ones without
generating any error. Since we are not interested in negative values we
should hence explicitly filter them out by looking at the string
directly and returning ERANGE if we see a leading "-".

Fixes: #1829

9 years agojournald: dispatch SIGTERM/SIGINT with a low priority
Lennart Poettering [Tue, 10 Nov 2015 15:53:00 +0000 (16:53 +0100)]
journald: dispatch SIGTERM/SIGINT with a low priority

Let's make sure to process all queued log data before exiting, so that
we don't unnecessary lose messages when shutting down.

https://github.com/systemd/systemd/pull/1812#issuecomment-155149871

9 years agocore: accept time units for time-based resource limits
Lennart Poettering [Tue, 10 Nov 2015 15:52:52 +0000 (16:52 +0100)]
core: accept time units for time-based resource limits

Let's make sure "LimitCPU=30min" can be parsed properly, following the
usual logic how we parse time values. Similar for LimitRTTIME=.

While we are at it, extend a bit on the man page section about resource
limits.

Fixes: #1772

9 years agocore: when parsing resource limits, be more careful with types and corner cases
Lennart Poettering [Tue, 10 Nov 2015 15:10:24 +0000 (16:10 +0100)]
core: when parsing resource limits, be more careful with types and corner cases

Let's not convert RLIM_INFINITY to "unsigned long long" and then back to
rlim_t, but let's leave it in the right type right-away.

Parse resource limits as 64 bit in all cases, as according to the man
page that's what libc does anyway.

Make sure setting a resource limit to (uint64_t) -1 results in a parsing
error, and isn't implicitly converted to RLIM_INFINITY.

9 years agocore: simplify parsing of capability bounding set settings
Lennart Poettering [Tue, 10 Nov 2015 15:08:03 +0000 (16:08 +0100)]
core: simplify parsing of capability bounding set settings

Let's generate a simple error, and that's it. Let's not try to be smart
and record the last word that failed.

Also, let's make sure we don't compare numeric values with 0 by relying
on C's downgrade-to-bool feature, as suggested in CODING_STYLE.

9 years agotime-util: add parse_time(), which is like parse_sec() but allows specification of...
Lennart Poettering [Tue, 10 Nov 2015 15:04:37 +0000 (16:04 +0100)]
time-util: add parse_time(), which is like parse_sec() but allows specification of default time unit if none is specified

This is useful if we want to parse RLIMIT_RTTIME values where the common
UNIX syntax is without any units but refers to a non-second unit (µs in
this case), but where we want to allow specification of units.

9 years agodefs: rework CONF_DIRS_NULSTR() macro
Lennart Poettering [Tue, 10 Nov 2015 14:57:21 +0000 (15:57 +0100)]
defs: rework CONF_DIRS_NULSTR() macro

The macro is generically useful for putting together search paths, hence
let's make it truly generic, by dropping the implicit ".d" appending it
does, and leave that to the caller. Also rename it from
CONF_DIRS_NULSTR() to CONF_PATHS_NULSTR(), since it's not strictly about
dirs that way, but any kind of file system path.

Also, mark CONF_DIR_SPLIT_USR() as internal macro by renaming it to
_CONF_PATHS_SPLIT_USR() so that the leading underscore indicates that
it's internal.

9 years agocgls: when showing root slice, put -.slice at top of tree
Lennart Poettering [Mon, 9 Nov 2015 23:37:19 +0000 (00:37 +0100)]
cgls: when showing root slice, put -.slice at top of tree

9 years agocgls: suppress output of controller name, if it's the systemd one
Lennart Poettering [Mon, 9 Nov 2015 23:36:57 +0000 (00:36 +0100)]
cgls: suppress output of controller name, if it's the systemd one

9 years agovirt: make sure that we detect unknown container managers as VIRTUALIZATION_CONTAINER...
Lennart Poettering [Mon, 9 Nov 2015 22:47:29 +0000 (23:47 +0100)]
virt: make sure that we detect unknown container managers as VIRTUALIZATION_CONTAINER_OTHER

If we don't know a container manager, we should consider it as "other"
rather than as no container manager at all, to provide a somwhat useful
upgrade path.

9 years agoCODING_STYLE: elaborate on usage of C99 fixed size integer types
Lennart Poettering [Mon, 9 Nov 2015 22:47:16 +0000 (23:47 +0100)]
CODING_STYLE: elaborate on usage of C99 fixed size integer types

9 years agoman: fix reference to description of time span syntax
Lennart Poettering [Mon, 9 Nov 2015 22:46:40 +0000 (23:46 +0100)]
man: fix reference to description of time span syntax

9 years agotest-execute: Fix systemd escaping and shell issues
Filipe Brandenburger [Sun, 8 Nov 2015 18:19:45 +0000 (10:19 -0800)]
test-execute: Fix systemd escaping and shell issues

In most cases, systemd requires escaping $ (for systemd variable
substitution) and % (for specifiers) by doubling them. This was somewhat
of an issue in tests like exec-environment*.service where systemd was
doing the substitutions and we were not really checking that those were
available in the actual environment of the command. Fix that.

Expressions such as `exit $(test ...)` are incorrect. They only work
because $(test ...) will produce no output, so the command will become a
bare "exit" which will exit with the status of the latest executed
command which turns out to be the test... The direct approach is simply
calling "test" as the last command, for which the shell will propagate
the exit status.

One situation where this was breaking tests was on `exit $(test ...) &&
$(test ...) && $(test ...)` where the second and third tests were not
really executing, since the first command is actually `exit` so && was
doing nothing there. Fixed it by just using `test ... && test ... &&
test ...` as it was initially intended.

Pass -x to all shell executions for them to produce useful debugging
output to stderr. Consequently, removed most of the explicit `echo`s
that are no longer needed.

Mark all units as Type=oneshot explicitly.

Also made sure all shell variables are properly quoted.

v2: Added an explicit LC_ALL=C to ionice invocations since some locales
(such as French) will add a space before the colon in the output.

Tested by running `sudo ./test-execute` and confirming all tests enabled
on my system (essentially all of them except for the s390 one) passed.
Tweaked the variables or options or expected values and confirmed the
tests do indeed fail when the values are not exactly the expected ones.

v2: Also tested with `LANG=fr_FR.UTF-8 sudo ./test-execute` to confirm
it still works in a different locale.

9 years agoMerge pull request #1825 from ssahani/ipv61-1
Tom Gundersen [Tue, 10 Nov 2015 14:03:37 +0000 (15:03 +0100)]
Merge pull request #1825 from ssahani/ipv61-1

networkd: add support to configure IPv6 hop limit

9 years agoMerge pull request #1827 from davidreynolds/use_extract_first_word
Tom Gundersen [Tue, 10 Nov 2015 13:46:53 +0000 (14:46 +0100)]
Merge pull request #1827 from davidreynolds/use_extract_first_word

conf-parser: use extract_first_word

9 years agoMerge pull request #1830 from jsynacek/journalctl-time
Tom Gundersen [Tue, 10 Nov 2015 13:46:02 +0000 (14:46 +0100)]
Merge pull request #1830 from jsynacek/journalctl-time

man/journalctl: mention systemd.time(7) where appropriate

9 years agoMerge pull request #1831 from keszybz/todo-trimming
Tom Gundersen [Tue, 10 Nov 2015 13:43:42 +0000 (14:43 +0100)]
Merge pull request #1831 from keszybz/todo-trimming

Todo trimming

9 years agoMerge pull request #1735 from thom311/master
Tom Gundersen [Tue, 10 Nov 2015 13:41:35 +0000 (14:41 +0100)]
Merge pull request #1735 from thom311/master

lldp: avoid compiler warnings in lldp_tfl_package_read* functions

9 years agoman: describe the reason why runlevels are obsolete
Zbigniew Jędrzejewski-Szmek [Sun, 8 Nov 2015 14:15:07 +0000 (15:15 +0100)]
man: describe the reason why runlevels are obsolete

Put it at the top of the file, where it's hard to miss.

Also add the mapping of runlevel → target because since it is now
static.

I'm not adding runlevel(7), because we do not want to make obsolete
stuff even more prominent.

9 years agoman: tweak description of machinectl show
Zbigniew Jędrzejewski-Szmek [Sun, 8 Nov 2015 14:13:45 +0000 (15:13 +0100)]
man: tweak description of machinectl show

Also, machinectl status is anything but terse. Remove "terse".

9 years agoTODO: update for lz4/xz stuff
Zbigniew Jędrzejewski-Szmek [Sun, 8 Nov 2015 14:13:24 +0000 (15:13 +0100)]
TODO: update for lz4/xz stuff

No point in fixing xz now that lz4 is the default.

9 years agoman/journalctl: mention systemd.time(7) where appropriate
Jan Synacek [Tue, 10 Nov 2015 12:05:48 +0000 (13:05 +0100)]
man/journalctl: mention systemd.time(7) where appropriate

Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1182661

9 years agoconf-parser: use extract_first_word
David Reynolds [Tue, 10 Nov 2015 07:45:26 +0000 (23:45 -0800)]
conf-parser: use extract_first_word

9 years agohwdb: add axis range corrections for Lenovo T510
Peter Hutterer [Mon, 9 Nov 2015 06:30:54 +0000 (16:30 +1000)]
hwdb: add axis range corrections for Lenovo T510

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

9 years agoman: add man for IPV6 hop limit
Susant Sahani [Tue, 10 Nov 2015 03:59:24 +0000 (09:29 +0530)]
man: add man for IPV6 hop limit

9 years agonetworkd: Add support to configure IPV6 hop limit
Susant Sahani [Tue, 10 Nov 2015 03:56:38 +0000 (09:26 +0530)]
networkd: Add support to configure IPV6 hop limit

This patch adds support to configure IPV6 hop limit.

For example:
/proc/sys/net/ipv6/conf/wlp3s0/hop_limit

9 years agohwdb: add Dell Inspiron N5040 touchpad corrections
Peter Hutterer [Mon, 2 Nov 2015 21:35:43 +0000 (07:35 +1000)]
hwdb: add Dell Inspiron N5040 touchpad corrections

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

9 years agohwdb: sort the brand names alphabetically
Peter Hutterer [Mon, 2 Nov 2015 21:32:35 +0000 (07:32 +1000)]
hwdb: sort the brand names alphabetically

9 years agoMerge pull request #1790 from endocode/kayrus/fix_man_kernel_cl
Lennart Poettering [Tue, 10 Nov 2015 00:01:51 +0000 (01:01 +0100)]
Merge pull request #1790 from endocode/kayrus/fix_man_kernel_cl

Fixed kernel-command-line links

9 years agoMerge pull request #1629 from ssahani/vxlan
Tom Gundersen [Mon, 9 Nov 2015 22:36:59 +0000 (23:36 +0100)]
Merge pull request #1629 from ssahani/vxlan

networkd: vxlan add option to set FDB entries

9 years agoMerge pull request #1821 from darkcircle/ko-catalog-translation
Lennart Poettering [Mon, 9 Nov 2015 22:19:37 +0000 (23:19 +0100)]
Merge pull request #1821 from darkcircle/ko-catalog-translation

l10n: add a new Korean translation for the catalog

9 years agoMerge pull request #1820 from michich/errno-v2
Daniel Mack [Mon, 9 Nov 2015 20:56:49 +0000 (21:56 +0100)]
Merge pull request #1820 from michich/errno-v2

[v2] treewide: treatment of errno and other cleanups

9 years agoadd a new Korean translation for the catalog
Seong-ho Cho [Mon, 9 Nov 2015 20:08:44 +0000 (05:08 +0900)]
add a new Korean translation for the catalog

9 years agoMerge pull request #1762 from endocode/dongsu/l10n-ko-msgs
Lennart Poettering [Mon, 9 Nov 2015 19:09:49 +0000 (20:09 +0100)]
Merge pull request #1762 from endocode/dongsu/l10n-ko-msgs

po: update Korean translation

9 years agotreewide: apply errno.cocci
Michal Schmidt [Thu, 5 Nov 2015 12:44:20 +0000 (13:44 +0100)]
treewide: apply errno.cocci

with small manual cleanups for style.

9 years agococcinelle: additional errno.cocci hunk
Michal Schmidt [Thu, 5 Nov 2015 12:44:18 +0000 (13:44 +0100)]
coccinelle: additional errno.cocci hunk

rewrites:
  log_error_errno(errno, ...);
  return -errno;
into:
  return log_error_errno(errno, ...);

9 years agococcinelle: errno.cocci improvements
Michal Schmidt [Thu, 5 Nov 2015 12:44:17 +0000 (13:44 +0100)]
coccinelle: errno.cocci improvements

Apply to all log_*_errno loglevels.

9 years agoMerge pull request #1798 from evverx/fix-test-udev
Lennart Poettering [Mon, 9 Nov 2015 17:33:22 +0000 (18:33 +0100)]
Merge pull request #1798 from evverx/fix-test-udev

test-udev: small fixes

9 years agoMerge pull request #1799 from jengelh/doc
Lennart Poettering [Mon, 9 Nov 2015 17:16:21 +0000 (18:16 +0100)]
Merge pull request #1799 from jengelh/doc

doc: typo and ortho fixes

9 years agoMerge pull request #1807 from michich/boot-timer
Lennart Poettering [Mon, 9 Nov 2015 16:30:58 +0000 (17:30 +0100)]
Merge pull request #1807 from michich/boot-timer

core/timer: in containers OnBootSec should count from container startup

9 years agoMerge pull request #1794 from karelzak/size_limit
Lennart Poettering [Mon, 9 Nov 2015 16:02:12 +0000 (17:02 +0100)]
Merge pull request #1794 from karelzak/size_limit

core: support IEC suffixes for RLIMIT stuff

9 years agoMerge pull request #1817 from iaguis/nspawn-custom-service-3
Lennart Poettering [Mon, 9 Nov 2015 15:50:57 +0000 (16:50 +0100)]
Merge pull request #1817 from iaguis/nspawn-custom-service-3

nspawn: support custom container service name

9 years agodetect-virt: add rkt app container runtime
Iago López Galeiras [Mon, 9 Nov 2015 13:37:43 +0000 (14:37 +0100)]
detect-virt: add rkt app container runtime

9 years agonspawn: support custom container service name
Iago López Galeiras [Mon, 9 Nov 2015 10:32:34 +0000 (11:32 +0100)]
nspawn: support custom container service name

We were hardcoding "systemd-nspawn" as the value of the $container env
variable and "nspawn" as the service string in machined registration.

This commit allows the user to configure it by setting the
$SYSTEMD_NSPAWN_CONTAINER_SERVICE env variable when calling
systemd-nspawn.

If $SYSTEMD_NSPAWN_CONTAINER_SERVICE is not set, we use the string
"systemd-nspawn" for both, fixing the previous inconsistency.

9 years agoMerge pull request #1796 from michaelolbrich/journal-size
Lennart Poettering [Mon, 9 Nov 2015 13:31:51 +0000 (14:31 +0100)]
Merge pull request #1796 from michaelolbrich/journal-size

journal: reduce minimum journal file size to 512 KiB

9 years agocore/timer: in containers OnBootSec should count from container startup
Michal Schmidt [Sat, 7 Nov 2015 14:09:31 +0000 (15:09 +0100)]
core/timer: in containers OnBootSec should count from container startup

In Fedora dnf-makecache.timer specifies OnBootSec=10min, but it fired
during boot in systemd-nspawn, because the clock ticks since the host's
boot.

Fix it by treating OnBootSec the same as OnStartupSec when running in
a container.

9 years agoMerge pull request #1801 from chuyd/fix-typos
Daniel Mack [Sat, 7 Nov 2015 11:31:34 +0000 (12:31 +0100)]
Merge pull request #1801 from chuyd/fix-typos

test: Fix typo in TEST-03-JOBS/test-jobs.sh

9 years agoMerge pull request #1803 from phomes/unused-var
Daniel Mack [Sat, 7 Nov 2015 11:31:23 +0000 (12:31 +0100)]
Merge pull request #1803 from phomes/unused-var

core: remove unused variable

9 years agocore: remove unused variable
Thomas Hindoe Paaboel Andersen [Sat, 7 Nov 2015 10:03:11 +0000 (11:03 +0100)]
core: remove unused variable

unused since 7b2313f5

9 years agotest: Fix typo in TEST-03-JOBS/test-jobs.sh
Jesus Ornelas Aguayo [Fri, 6 Nov 2015 19:01:21 +0000 (13:01 -0600)]
test: Fix typo in TEST-03-JOBS/test-jobs.sh

Fix typo s/enqueueing/enqueuing/

Signed-off-by: Jesus Ornelas Aguayo <jesus.ornelas.aguayo@intel.com>
9 years agoMerge pull request #1795 from msekletar/networkd-forward
Ronny Chevalier [Fri, 6 Nov 2015 17:14:24 +0000 (18:14 +0100)]
Merge pull request #1795 from msekletar/networkd-forward

networkd: fix option name in log message

9 years agoMerge pull request #1800 from evverx/fix-test-execute
Ronny Chevalier [Fri, 6 Nov 2015 15:59:05 +0000 (16:59 +0100)]
Merge pull request #1800 from evverx/fix-test-execute

test-execute: don't use /usr/bin/uname. use sh and PATH

9 years agotest-execute: don't use /usr/bin/uname. use sh and PATH
Evgeny Vereshchagin [Fri, 6 Nov 2015 15:42:06 +0000 (15:42 +0000)]
test-execute: don't use /usr/bin/uname. use sh and PATH

9 years agoFixed kernel-command-line links
kayrus [Thu, 5 Nov 2015 14:38:19 +0000 (15:38 +0100)]
Fixed kernel-command-line links