Zbigniew Jędrzejewski-Szmek [Mon, 25 Jan 2016 22:56:42 +0000 (17:56 -0500)]
man: fix references to a few external man pages
Noticed in pull request #2067.
Zbigniew Jędrzejewski-Szmek [Mon, 25 Jan 2016 23:54:31 +0000 (18:54 -0500)]
build-sys: provide fallback value for xsltproc
Commit
ab6f56debf made the change to allow building man pages even when disabled
with ./configure --disable-manpages. This works fine, as long as xsltproc is
present. If xsltproc is not present, the command to build a man page (obviously)
fails. Unfortnately it fails with a cryptic message '-o not found', because
$(XSLTPROC) is empty. Add a fallback, to use 'xsltproc' is $(XSLTPROC) is not
defined. This way we get a nice message:
make: xsltproc: Command not found
Tom Gundersen [Mon, 25 Jan 2016 19:28:38 +0000 (20:28 +0100)]
Merge pull request #2392 from poettering/dnssec18
eightteenth dnssec patch
Lennart Poettering [Mon, 25 Jan 2016 18:34:52 +0000 (19:34 +0100)]
Merge pull request #2240 from hgwalles/coredump-delete-bug
coredump: fix bug that loses core dump files when core dumps are compressed and disk space is low.
Hayden Walles [Wed, 23 Dec 2015 18:59:31 +0000 (13:59 -0500)]
coredump: fix bug that loses core dump files when core dumps are compressed and disk space is low.
Previously the save_external_coredump function returned a file
descriptor corresponding to the dumped file. This descriptor was used
for two different purposes by calling code: a) access to the raw core
dump data; b) testing candidate files (via inode comparisons) while
vacuuming to protect the current core dump from vacuuming.
The descriptor returned always corresponded to a file containing the raw
core dump data. However if compresson was used and the core dump was
compressed then the descriptor returned did not correspond to the file
that would eventually be left on disk (ie the compressed file). Thus
the file was never protected by vacuuming. When disk space was low all
core dumps including the current one would be vacuumed and the
corresponding log message referred to a file that no longer existed.
This resulted in the following error message from coredumpctl if the
missing core dump was requested:
Cannot retrieve coredump from journal nor disk.
Failed to retrieve core: No such file or directory
save_external_coredump now returns two descriptors, one to be used for
inode comparisons to prevent overzealous vacuuming and one to be used
for raw data access. When compression is not used the returned inode
comparison descriptor will be invalid, indicating that the raw data
access descriptor should be used for inode comparisons as well.
Corresponding use of save_external_coredump and the returned
descriptors also updated.
Zbigniew Jędrzejewski-Szmek [Mon, 25 Jan 2016 16:52:22 +0000 (11:52 -0500)]
Merge pull request #2430 from lnykryn/is-active-failed
systemctl: is-active/failed should return 0 if at least one unit is in given state
Previously:
[lnykryn@notas lnykryn-systemd(is-active-failed)]$ systemctl is-failed fail cups; echo $?
failed
active
1
now:
[lnykryn@notas lnykryn-systemd(is-active-failed)]$ ./systemctl is-failed fail cups; echo $?
failed
active
0
Lennart Poettering [Mon, 25 Jan 2016 16:16:27 +0000 (17:16 +0100)]
udev: filter out non-sensically high onboard indexes reported by the kernel
Let's not accept onboard interface indexes, that are so high that they are obviously non-sensical.
Fixes: #2407
Lennart Poettering [Mon, 25 Jan 2016 14:48:36 +0000 (15:48 +0100)]
resolved: don't consider NSEC/NSEC3 RRs as "pimary" for transactions
So far, abritrary NSEC and NSEC3 RRs were implicitly consider "primary" for any transaction, meaning we'd abort the
transaction immediately if we couldn't validate it. With this patch this logic is removed, and the NSEC/NSEC3 RRs will
not be considered primary anymore. This has the effect that they will be dropped from the message if they don't
validate, but processing continues. This is safe to do, as they are required anyway to validate positive wildcard and
negative responses, and if they are missing then, then message will be considered unsigned, which hence means the
outcome is effectively the same.
This is benefical in case the server sends us NSEC/NSEC3 RRs that are not directly related to the lookup we did, but
simply auxiliary information. Previously, if we couldn't authenticate those RRs we'd fail the entire lookup while with
this change we'll simply drop the auxiliary information and proceed without it.
Lennart Poettering [Fri, 22 Jan 2016 17:43:41 +0000 (18:43 +0100)]
resolved: don't insist in RRSIG metadata for NSEC3 RRs that have not been authenticated
In some cases we get NSEC3 RRs that have not been authenticated (because the chain of trust to the root is somewhere
broken). We can use these for checking negative replies, as long as we don't claim they were ultimately authenticated.
This means we need to be able to deal with NSEC3 RRs that lack RRSIG metadata.
Lennart Poettering [Fri, 22 Jan 2016 16:34:10 +0000 (17:34 +0100)]
resolved: use dns_query_reset_answer() where we can
Lennart Poettering [Fri, 22 Jan 2016 16:25:28 +0000 (17:25 +0100)]
update DNSSEC TODO
Lennart Poettering [Fri, 22 Jan 2016 16:24:05 +0000 (17:24 +0100)]
resolved: properly propagate query candidate error
We already properly propagate errors from transactions to queries. Make sure that errors that happened during handling
of query candidates are propagated to the query, too.
Lennart Poettering [Fri, 22 Jan 2016 16:22:23 +0000 (17:22 +0100)]
resolved: replace DNS_TRANSACTION_RESOURCES by DNS_TRANSACTION_ERRNO
Whenever we encounter an OS error we did not expect, we so far put the transaction into DNS_TRANSACTION_RESOURCES
state. Rename this state to DNS_TRANSACTION_ERRNO, and save + propagate the actual system error to the caller. This
should make error messages triggered by system errors much more readable by the user.
Lennart Poettering [Fri, 22 Jan 2016 15:20:25 +0000 (16:20 +0100)]
catalog: add DNSSEC log messages to message catalog
Lennart Poettering [Fri, 22 Jan 2016 15:16:33 +0000 (16:16 +0100)]
catalog: fix line width to 79 chars
Line breaks default to 119 characters for systemd sources now, configured through the .vimrc and .dir-local.el files.
However, for the catalog files we really should stick to 79 chars, as they are regularly shown on terminal screens.
Lennart Poettering [Fri, 22 Jan 2016 12:39:31 +0000 (13:39 +0100)]
resolved: log recognizably about DNSSEC downgrades
If we downgrade from DNSSEC to non-DNSSEC mode, let's log about this in a recognizable way (i.e. with a message ID),
after all, this is of major importance.
Lennart Poettering [Fri, 22 Jan 2016 11:24:20 +0000 (12:24 +0100)]
resolved: synthesize RRs for data from /etc/hosts
This way the difference between lookups via NSS and our native bus API should become minimal.
Lennart Poettering [Fri, 22 Jan 2016 11:22:05 +0000 (12:22 +0100)]
resolved: when synthesizing RR responses, own the name fully
When we synthesize A/AAAA for domains like "localhost", then make sure we generate ENODATA if the user asks for RR
types such a RP to be solved on the name. Previously, we'd pass the error back in that case that was generated from the
usual lookup procedure.
Lennart Poettering [Fri, 22 Jan 2016 11:09:38 +0000 (12:09 +0100)]
resolved: properly handle LLMNR/TCP connection errors
The LLMNR spec suggests to do do reverse address lookups by doing direct LLMNR/TCP connections to the indicated
address, instead of doing any LLMNR multicast queries. When we do this and the peer doesn't actually implement LLMNR
this will result in a TCP connection error, which we need to handle. In contrast to most LLMNR lookups this will give
us a quick response on whether we can find a suitable name. Report this as new transaction state, since this should
mostly be treated like an NXDOMAIN rcode, except that it's not one.
Lennart Poettering [Fri, 22 Jan 2016 11:06:39 +0000 (12:06 +0100)]
core: normalize error handling a bit, in setup_pam()
Assign errno-style errors to a variable called "r" when they happen, the same way we do this in most other calls. It's
bad enough that the error handling part of the function deals with two different error variables (pam_code and r) now,
but before this fix it was even three!
Lennart Poettering [Fri, 22 Jan 2016 11:04:36 +0000 (12:04 +0100)]
resolved: fix rcode formatting string length
Since we honour the edns rcode extension we need more than 4 bits to format it. To avoid further confusion, derive the
right length from the type.
Lennart Poettering [Fri, 22 Jan 2016 11:03:35 +0000 (12:03 +0100)]
github: extend README.md a bit
Link up more stuff on the GitHub landing page.
Lennart Poettering [Fri, 22 Jan 2016 11:02:03 +0000 (12:02 +0100)]
github: add a CONTRIBUTING.md file that github shows when a PR or issue is filed
github links up CONTRIBUTING.md if it exists from the issue/PR filing form. Let's add one, in the hope that people have
a look before filing a PR.
Lennart Poettering [Fri, 22 Jan 2016 11:01:04 +0000 (12:01 +0100)]
README: drop link to systemd-commits ML
Since we moved to github the commits ML is basically dead, hence don't advertise it anymore.
Lennart Poettering [Fri, 22 Jan 2016 10:57:59 +0000 (11:57 +0100)]
CODING_STYLE: make sure line break recommendation matches edit configuration
In the .vimrc and .dir-locals.el we suggest a line width of 119. We should recommend the same in CODING_STYLE.
Lennart Poettering [Thu, 21 Jan 2016 01:27:44 +0000 (02:27 +0100)]
resolve: fix wording in resolver statistics output
Now that we count both negative and positive validation results, we shouldn't claim we just counted RRsets.
Lennart Poettering [Thu, 21 Jan 2016 01:21:58 +0000 (02:21 +0100)]
resolved: log each time we increase the DNSSEC verdict counters
Also, don't consider RRs that aren't primary to the lookups we do as relevant to the lookups.
Lennart Poettering [Thu, 21 Jan 2016 00:24:30 +0000 (01:24 +0100)]
resolved: never store NSEC/NSEC3 RRs from the upper zone of a zone cut in cache
When using NSEC/NSEC3 RRs from the cache to derive existance of arbitrary RRs, we should not get confused by the fact
that NSEC/NSEC3 RRs exist twice at zone cuts: once in the parent zone, and once in the child zone. For most RR types we
should only consult the latter since that's where the beef is. However, for DS lookups we have to check the former.
This change makes sure we never cache NSEC/NSEC3 RRs from any parent zone of a zone-cut. It also makes sure that when
we look for a DS RR in the cache we never consider any cached NSEC RR, as those are now always from the child zone.
Lennart Poettering [Thu, 21 Jan 2016 00:07:56 +0000 (01:07 +0100)]
resolved: if we detect a message with incomplete DNSSEC data, consider this an invalid packet event
Lennart Poettering [Thu, 21 Jan 2016 00:06:28 +0000 (01:06 +0100)]
resolved: also collect statistics about negative DNSSEC proofs
We already maintain statistics about positive DNSSEC proofs, and count them up by 1 for each validated RRset. Now,
update the same counters each time we validated a negative query, so that the statistics are the combined result of all
validation checks, both positive and negative.
Lennart Poettering [Wed, 20 Jan 2016 23:58:49 +0000 (00:58 +0100)]
resolve: use different bitmap checking rules when we find an exact NSEC3 match, or just a covering enclosure
If we are looking for a DS RR we need to check the NSEC3 bitmap of the parent zone's NSEC3 RR, not the one from the
child. For any other RR we need to look at the child's however, hence enforce this with the bitmaps.
Note that not coverign checks only the lower zone's NSEC3 bitmaps matter, hence the existing check is fine.
Lennart Poettering [Wed, 20 Jan 2016 23:05:37 +0000 (00:05 +0100)]
resolve: minor strings improvements
Lennart Poettering [Wed, 20 Jan 2016 23:04:19 +0000 (00:04 +0100)]
man: document systemd-resolve(8)
This also links up the new manpage from systemd-resolved.service(8), and makes a couple of unrelated additions.
Lennart Poettering [Wed, 20 Jan 2016 23:03:08 +0000 (00:03 +0100)]
emacs: also configure nxml parameters in .dir-locals.el
We configure the parameters we use for the docbook XML.
Lennart Poettering [Wed, 20 Jan 2016 21:10:00 +0000 (22:10 +0100)]
resolve: rename "systemd-resolve-host" tool to simply "systemd-resolve"
The tool resolves way more than just hosts, hence give it a more generic name. This should be safe, as the tool is
currently undocumented. Before we add documentation for it, let's get the name right.
This also moves the C source into src/resolve/ (from src/resolve-host/), since the old name is a misnomer now. Also,
since it links directly to many of the C files of resolved it really belongs into resolved's directory anyway.
Lennart Poettering [Wed, 20 Jan 2016 21:07:48 +0000 (22:07 +0100)]
resolved: get rid of unnecessary if check
DNS_ANSWER_FOREACH() can deal with NULL answers anyway, let's simplify our code here.
Lennart Poettering [Wed, 20 Jan 2016 21:06:26 +0000 (22:06 +0100)]
resolved: split out RR synthesis logic into its own C file
Also, while we are at it, set the "authenticated" bit for everything we synthesize
Lennart Poettering [Wed, 20 Jan 2016 20:30:59 +0000 (21:30 +0100)]
resolved: move dns_type_to_af() to dns-type.c
Lennart Poettering [Wed, 20 Jan 2016 20:28:22 +0000 (21:28 +0100)]
resolve: generate a nice clean error when clients try to resolve a name when the network is down
Lennart Poettering [Wed, 20 Jan 2016 20:22:26 +0000 (21:22 +0100)]
resolved: when checking whether a link is relevant, check kernel operstate
This mimics what networkd is doing to detect a carrier.
Lennart Poettering [Wed, 20 Jan 2016 19:30:50 +0000 (20:30 +0100)]
resolved: fix typo
Noticed by @vcaputo
Lennart Poettering [Wed, 20 Jan 2016 19:30:03 +0000 (20:30 +0100)]
resolved: fix RR key reduction logic
Fixes #2380.
Lennart Poettering [Wed, 20 Jan 2016 19:27:21 +0000 (20:27 +0100)]
logind,machined: bump TasksMax=
Issue #2388 suggests the current TasksMax= setting for user processes is to low. Bump it to 12K. Also, bump the
container TasksMax= from 8K to 16K, so that it remains higher than the one for user processes.
(Compare: the kernel default limit for processes system-wide is 32K).
Fixes #2388
Lukas Nykryn [Mon, 25 Jan 2016 14:21:28 +0000 (15:21 +0100)]
systemctl: is-active/failed should return 0 if at least one unit is in given state
Previously we have return the not-found code, in the case that we found a
unit which does not belong to set active (resp. failed), which is the
opposite than what is written in man page.
Lennart Poettering [Mon, 25 Jan 2016 12:46:23 +0000 (13:46 +0100)]
Merge pull request #2428 from msekletar/nspawn-alloca-fix
nspawn: fix memory leak
Michal Sekletar [Mon, 25 Jan 2016 11:06:38 +0000 (12:06 +0100)]
nspawn: fix memory leak
Zbigniew Jędrzejewski-Szmek [Sun, 24 Jan 2016 16:47:19 +0000 (11:47 -0500)]
Merge pull request #2425 from yuwata/journal-remote-v4
ZJS: remove unnecessary oom check after strdupa().
Daniel Mack [Sun, 24 Jan 2016 14:09:33 +0000 (15:09 +0100)]
Merge pull request #2423 from keszybz/udevd-crash-in-cleanup
udevd: do not clean up fds in main
Yu Watanabe [Sun, 24 Jan 2016 06:55:07 +0000 (15:55 +0900)]
journal-remote: fix broken --getter option
This commit fixes the following broken --getter option:
when systemd-journal-remote is called with --getter option,
it causes the error meesage "Zero sources specified" and
the getter command will not be called.
Yu Watanabe [Sun, 24 Jan 2016 06:54:05 +0000 (15:54 +0900)]
journal-remote: add an example to man
Yu Watanabe [Sun, 24 Jan 2016 06:49:04 +0000 (15:49 +0900)]
journal-remote: output file name is determined by the remote hostname
When --url option is specified, e.g. --url='http://some.host:19531/entries'
retrieved remote journal entries will be stored to
/var/log/journal/remote/remote-some.host.journal
Yu Watanabe [Sun, 24 Jan 2016 06:45:47 +0000 (15:45 +0900)]
journal-remote: make --url option support arbitrary url
Currently, --url option supports the only form like http(s)://some.host:19531.
This commit adds support to call systemd-journal-remote as follwos:
systemd-journal-remote --url='http://some.host:19531'
systemd-journal-remote --url='http://some.host:19531/'
systemd-journal-remote --url='http://some.host:19531/entries'
systemd-journal-remote --url='http://some.host:19531/entries?boot&follow'
The first three example result the same and retrieve all entries.
The last example retrieves only current boot entries and wait new events.
Zbigniew Jędrzejewski-Szmek [Sun, 24 Jan 2016 03:09:51 +0000 (22:09 -0500)]
Merge pull request #2318 from vcaputo/coalesce-ftruncates-redux
journal: coalesce ftruncate()s in 250ms windows
Zbigniew Jędrzejewski-Szmek [Sat, 23 Jan 2016 16:45:22 +0000 (11:45 -0500)]
udevd: do not clean up fds in main
fds will also be closed during manager cleanup in run, leading
to an error when we try to close them again. It is now possible
to "leak" the fds on error, but it's an unlikely event and we
will exit immediately anyway.
Fixes #2418.
Lennart Poettering [Fri, 22 Jan 2016 16:28:59 +0000 (17:28 +0100)]
Merge pull request #2410 from dobyrch/master
systemctl: Allow 'edit' and 'cat' on unloaded units
Lennart Poettering [Fri, 22 Jan 2016 16:28:05 +0000 (17:28 +0100)]
Merge pull request #2412 from fbuihuu/device-fixes
Device fixes
Franck Bui [Fri, 22 Jan 2016 06:18:19 +0000 (07:18 +0100)]
device: make sure to not ignore re-plugged device
systemd automatically mounts device unless 'noauto' is part of the
mount options. This can happen during boot if the device is plugged at
that time or later when the system is already running (the latter case
is not documented AFAICS).
After the systemd booted, I plugged my USB device which had an entry
in /etc/fstab with the default options and systemd automatically
mounted it.
However I noticed that if I unplugged and re-plugged the device the
automatic mounting of the device didn't work anymore: systemd didn't
notice that the device was re-plugged.
This was due to the device unit which was not recycled by the GC
during the unplug event because in the case of automounting, the mount
unit still referenced it. When the device was re-plugged, the old
device unit was reused but it still had the old sysfs path (amongst
other useful information).
Systemd was confused by the stalled sysfs path and decided to ignore
the plug event.
This patch fixes this issue by simply not doing the sanity checking on
the sysfs path if the device is in unplugged state.
Lennart Poettering [Fri, 22 Jan 2016 10:53:58 +0000 (11:53 +0100)]
Merge pull request #2413 from msekletar/update-todo-reload
Remove TODO entry
Michal Sekletar [Fri, 22 Jan 2016 09:10:45 +0000 (10:10 +0100)]
Remove TODO entry
Feature was introduced by 06af2a0
Daniel Mack [Fri, 22 Jan 2016 08:59:23 +0000 (09:59 +0100)]
Merge pull request #2405 from zonque/sysusers
sysusers: use GID_FMT and UID_FMT instead of %d
Daniel Mack [Fri, 22 Jan 2016 08:56:54 +0000 (09:56 +0100)]
Merge pull request #2331 from yuwata/journal-remote-unit-v2
journal-remote: add SupplementaryGroups to systemd-journal-upload.service
Daniel Mack [Fri, 22 Jan 2016 08:51:43 +0000 (09:51 +0100)]
Merge pull request #2332 from yuwata/journal-remote-tmpfiles-v2
journal-remote: tmpfiles.d/journal-remote.conf (v2)
Daniel Mack [Fri, 22 Jan 2016 08:47:59 +0000 (09:47 +0100)]
Merge pull request #2080 from chaloulo/split-mode-host-remove-port-from-journal-filename
journal-remote: split-mode=host, remove port from journal filename
Daniel Mack [Fri, 22 Jan 2016 08:10:13 +0000 (09:10 +0100)]
Merge pull request #2409 from snakeroot/dropin-doc-2
man: describe precedence of drop-in .conf files over unit files
Daniel Mack [Fri, 22 Jan 2016 08:06:20 +0000 (09:06 +0100)]
Merge pull request #2411 from ssahani/activate4
systemd-activate: Add support for datagram socket
Susant Sahani [Fri, 22 Jan 2016 04:12:54 +0000 (09:42 +0530)]
man: add man for systemd-activate datagram syntax
Susant Sahani [Fri, 22 Jan 2016 04:11:44 +0000 (09:41 +0530)]
systemd-activate: Add support for datagram sockets
core: Add flexible way to provide socket type
the socket type should be a diffrent argumet
in make_socket_fd . In this way we can set the socket
type like SOCK_STREAM SOCK_DGRAM in the address.
journal-remote: modify make_socket_fd
Douglas Christman [Thu, 21 Jan 2016 23:22:55 +0000 (18:22 -0500)]
systemctl: Allow 'edit' and 'cat' on unloaded units
Don't fail if the unit has a LoadError; otherwise `systemctl edit` cannot be
used to correct the error (e.g. multiple "ExecStart=" lines).
Remove file changed warning so cat output isn't interspersed with log messages.
Fixes #829
Chris Atkinson [Fri, 18 Dec 2015 03:41:59 +0000 (22:41 -0500)]
man: describe precedence of drop-in .conf files over unit files
Daniel Mack [Thu, 21 Jan 2016 15:35:19 +0000 (16:35 +0100)]
sysusers: use GID_FMT and UID_FMT instead of %d
Daniel Mack [Thu, 21 Jan 2016 15:28:19 +0000 (16:28 +0100)]
Merge pull request #1359 from jengelh/ue
sysusers: help useless error message
Daniel Mack [Thu, 21 Jan 2016 15:23:46 +0000 (16:23 +0100)]
Merge pull request #2071 from chaloulo/journal-upload-miss-logs
journal-upload : Ignore journal event when already in uploading state.
Lennart Poettering [Thu, 21 Jan 2016 12:16:47 +0000 (13:16 +0100)]
Merge pull request #2401 from lnykryn/sysv-split-deps-v4
v4: sysv-generator: do not join dependencies on one line, split them
Lukas Nykryn [Wed, 20 Jan 2016 14:16:32 +0000 (15:16 +0100)]
sysv-generator: do not join dependencies on one line, split them
If there is a lot of initscripts and dependencies between them we might
end generating After= (and similar) lines which are longer then LINE_MAX
and thus rejected by parser in systemd.
Fixes #2099
Daniel Mack [Thu, 21 Jan 2016 10:52:01 +0000 (11:52 +0100)]
Merge pull request #2393 from evverx/ignore-test-dnssec-complex
.gitignore: add test-dnssec-complex
Daniel Mack [Thu, 21 Jan 2016 10:51:37 +0000 (11:51 +0100)]
Merge pull request #2371 from evverx/add-valgrind-helper-for-daemon-reexec
core: add valgrind helper for daemon-reexec
Daniel Mack [Thu, 21 Jan 2016 10:50:08 +0000 (11:50 +0100)]
Merge pull request #2391 from keszybz/coverity
Coverity inspired fixes
Harald Hoyer [Thu, 21 Jan 2016 10:39:31 +0000 (11:39 +0100)]
Merge pull request #2341 from nmartensen/fstab-generator-fixes
Fstab-generator fixes
Evgeny Vereshchagin [Thu, 21 Jan 2016 02:10:55 +0000 (02:10 +0000)]
.gitignore: add test-dnssec-complex
This is a follow-up for 412577e
Evgeny Vereshchagin [Tue, 19 Jan 2016 15:48:45 +0000 (15:48 +0000)]
core: add valgrind helper for daemon-reexec
Inspired by https://github.com/systemd/systemd/issues/2187#issuecomment-
165587140
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 02:41:00 +0000 (21:41 -0500)]
systemd: remove dead code
We only go to fail label if pam_pid <= 0.
CID #1306746.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 02:29:59 +0000 (21:29 -0500)]
Add assert in barrier code
This function is not supposed to fail, it only returns a boolean.
So add an assert in case anyone calls it without proper initialization
of *b.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 01:25:26 +0000 (20:25 -0500)]
timesyncd: use (void) to mark ignored value
CID #1325772.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 01:23:25 +0000 (20:23 -0500)]
test-date: check return value
CID #1327432.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 01:20:02 +0000 (20:20 -0500)]
test-cgroup-mask: check return value
CID #1339830.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 00:50:17 +0000 (19:50 -0500)]
libsystemd-network: avoid double free on error
This could happen if the remote sent us a badly formatted
option.
CID #1317206.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 00:45:58 +0000 (19:45 -0500)]
libsystemd-network: use assert_se
It cannot fail.
CID #1320623.
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 00:25:45 +0000 (19:25 -0500)]
networkd: use (void) to mark ignored values
Null link or netdev are handled fine.
CID #1338084.
Tom Gundersen [Wed, 20 Jan 2016 23:54:35 +0000 (00:54 +0100)]
Merge pull request #2389 from bengal/dhcp-api-cleanup-v3
Improve libsystemd-networkd DHCP API (v3)
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jan 2016 00:17:01 +0000 (19:17 -0500)]
test-tmpfiles: actually test that the file is temporary
CID #1341451.
Tom Gundersen [Wed, 20 Jan 2016 17:09:54 +0000 (18:09 +0100)]
Merge pull request #2329 from ssahani/tunnel
networkd: tunnel add support to configure address "any"
Tom Gundersen [Wed, 20 Jan 2016 16:45:42 +0000 (17:45 +0100)]
Merge pull request #2337 from dhxgit/patch-1
Fix IPv6PrivacyExtension (networkd-ndisc.c)
Lennart Poettering [Wed, 20 Jan 2016 16:39:07 +0000 (17:39 +0100)]
Merge pull request #2054 from keszybz/nss-link-less-2
Nss link less 2
Tom Gundersen [Wed, 20 Jan 2016 16:33:59 +0000 (17:33 +0100)]
Merge pull request #2267 from gdamjan/dont-drop-critical
networkd: link - do not drop config for critical interfaces
Beniamino Galvani [Wed, 20 Jan 2016 13:44:28 +0000 (14:44 +0100)]
dhcp: make DHCP6_OPTION_* enum public
libsystemd-network provides the public function
sd_dhcp6_client_set_request_option() to enable the request of a given
DHCP option. However the enum defining such options is defined in the
internal header dhcp6-protocol.h. Move the enum definition to the
public header sd-dhcp6-client.h and properly namespace values.
Beniamino Galvani [Wed, 20 Jan 2016 13:44:24 +0000 (14:44 +0100)]
dhcp: make DHCP_OPTION_* enum public
libsystemd-network provides the public function
sd_dhcp_client_set_request_option() to enable the request of a given
DHCP option. However the enum defining such options is defined in the
internal header dhcp-protocol.h. Move the enum definition to the
public header sd-dhcp-client.h and properly namespace values.
Beniamino Galvani [Wed, 20 Jan 2016 13:44:14 +0000 (14:44 +0100)]
dhcp: export routes as opaque objects
At the moment sd_dhcp_lease_get_routes() returns an array of structs
which are not defined in public headers. Instead, change the function
to return an array of pointers to opaque sd_dhcp_route objects.
Lennart Poettering [Wed, 20 Jan 2016 16:24:59 +0000 (17:24 +0100)]
Merge pull request #1607 from keszybz/lz4-remove-v1
Remove the old version of the lz4 stream compressor
Lennart Poettering [Wed, 20 Jan 2016 16:18:44 +0000 (17:18 +0100)]
Merge pull request #2085 from fbuihuu/more-use-of-check-load-state
core: use bus_unit_check_load_state() in transaction_add_job_and_depe…
Daniel Mack [Wed, 20 Jan 2016 16:06:56 +0000 (17:06 +0100)]
Merge pull request #2222 from snakeroot/eventsplat
hwdb: remove references to udevadm info /dev/input/event*