Lennart Poettering
f10dc5a725
Merge pull request #1575 from evverx/expose-manager-timerslacknsec
...
core: expose manager's TimerSlackNSec as propery on dbus
2015-10-15 14:11:36 +02:00
Evgeny Vereshchagin
eed67a3041
core: expose manager's TimerSlackNSec as propery on dbus
2015-10-15 12:02:43 +00:00
Lennart Poettering
cb181af9b6
Merge pull request #1527 from keszybz/lz4
...
Using lz4 frame api for coredump files
2015-10-15 13:37:11 +02:00
Lennart Poettering
590a23de52
Merge pull request #1569 from mustrumr/date-parse-additions
...
Date parse additions
2015-10-15 13:09:26 +02:00
Evgeny Vereshchagin
f1db332756
run: can launch units with TimerSlackNSec
2015-10-15 09:57:28 +00:00
Zbigniew Jędrzejewski-Szmek
5146f9f065
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.
2015-10-14 21:24:36 -04:00
Hristo Venev
9d5bd70d9e
test: add calendarspec UTC tests
2015-10-15 02:58:00 +03:00
Hristo Venev
51ffa239e8
basic: calendarspec UTC support
...
Just add " UTC" to the end of the event expression. Works for the
special expressions.
2015-10-15 02:57:59 +03:00
Hristo Venev
063bc36469
test: parse_timestamp UTC and fractional seconds tests
2015-10-15 02:57:57 +03:00
Hristo Venev
e4eaf99a31
basic: parse_timestamp UTC and fractional seconds support
2015-10-15 02:57:57 +03:00
Hristo Venev
7c67c79c9a
basic: add mktime_or_timegm and localtime_or_gmtime_r
...
to time-util.h. They take an extra argument `bool utc`.
2015-10-15 02:34:45 +03:00
Tom Gundersen
af4efb515b
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.
2015-10-14 22:25:58 +02:00
Lennart Poettering
64f283c39b
Merge pull request #1528 from evverx/systemd-run-syslog-pri-fac
...
systemd-run can launch units with SyslogLevel and SyslogFacility
2015-10-14 19:39:28 +02:00
Evgeny Vereshchagin
e0d6e0fa55
core: execute: validate syslog level and facility
2015-10-14 16:35:30 +00:00
Evgeny Vereshchagin
adb8ec96f2
util: add functions for validating syslog level and facility
2015-10-14 16:35:24 +00:00
Evgeny Vereshchagin
460ed929cf
systemd-run: can launch units with SyslogFacility
2015-10-14 15:05:04 +00:00
Evgeny Vereshchagin
a8a1357560
systemd-run: can launch units with SyslogLevel
2015-10-14 14:48:45 +00:00
Lennart Poettering
2ee4e222ff
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 .
2015-10-14 16:24:25 +02:00
Lennart Poettering
995c5e96cd
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.
2015-10-14 16:22:22 +02:00
Zbigniew Jędrzejewski-Szmek
e068517205
compress: fix mmap error handling
2015-10-14 10:15:27 -04:00
Lennart Poettering
9ea79b459e
Merge pull request #1530 from teg/network-fixes-2
...
networkd/libsystemd-network: collection of trivial patches v2
2015-10-14 12:15:09 +02:00
Lennart Poettering
ade37eb98c
Merge pull request #1529 from evverx/dbus-props-syslog-fac-pri
...
core: expose `SyslogFacility` and `SyslogLevel` as properties on dbus
2015-10-14 12:05:24 +02:00
Evgeny Vereshchagin
06f2ccf949
core: expose SyslogLevel and SyslogFacility as properties on dbus
2015-10-14 09:52:58 +00:00
Lennart Poettering
c0ef14cbff
Merge pull request #1560 from evverx/fix-default-chopping
...
bus-util: change `Default`-chopping to `Limit`-searching
2015-10-14 09:54:13 +02:00
Lennart Poettering
1385c4c908
Merge pull request #1558 from martinpitt/master
...
Fix keymap aliases and add support for Lenovo Thinkpad Yoga S1
2015-10-14 09:53:39 +02:00
Martin Pitt
1d3f8fa747
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.
2015-10-14 07:15:58 +02:00
Thomas Hindoe Paaboel Andersen
74165387ee
manager: remove unused function
2015-10-13 22:17:26 +02:00
Evgeny Vereshchagin
f6bcaf4cf6
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...
2015-10-13 18:45:11 +00:00
Lennart Poettering
e88a5a5bde
Merge pull request #1548 from evverx/journalctl-catalog-ops-fixes
...
Fix journalctl --dump-catalog, journalctl --list-catalog
2015-10-13 19:23:54 +02:00
Lennart Poettering
400c32ef24
Merge pull request #1534 from evverx/expose-rlimits-on-dbus
...
Expose `DefaultLimit*` as properties on dbus
2015-10-13 17:28:29 +02:00
Lennart Poettering
18438f262c
Merge pull request #1542 from keszybz/journal-audit-optional
...
Make journald audit socket maskable
2015-10-13 17:23:33 +02:00
Daniel Mack
c7e2496a21
Merge pull request #1544 from keszybz/man-IPv6AcceptRouterAdvertisements
...
man: describe IPv6AcceptRouterAdvertisements= better
2015-10-13 13:46:39 +02:00
Jan Synacek
66f529249a
journalctl: introduce short options for --since and --until
...
Fixes #1514 .
2015-10-13 10:51:28 +02:00
Evgeny Vereshchagin
f98a41c21d
journalctl: enable args for --dump-catalog and --list-catalog
...
`journalctl --dump-catalog ID1 ID2 ...` works fine.
2015-10-13 09:04:11 +03:00
Evgeny Vereshchagin
dd598123a9
journalctl: open pager for --dump-catalog and --list-catalog
2015-10-13 09:01:37 +03:00
Zbigniew Jędrzejewski-Szmek
37b7affefd
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.
2015-10-12 13:58:54 -04:00
Zbigniew Jędrzejewski-Szmek
ebf9808112
man: describe IPv6AcceptRouterAdvertisements= better
...
With the previous description it wasn't clear that the
kernel default is being described.
Add link to kernel docs.
2015-10-12 13:50:29 -04:00
Zbigniew Jędrzejewski-Szmek
7d18d348da
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
2015-10-12 13:12:08 -04:00
David Herrmann
b7d18f23df
Merge pull request #1540 from zonque/cmsg
...
sd-daemon: wipe out memory before using CMSG_NXTHDR()
2015-10-12 15:23:51 +02:00
Daniel Mack
40f4423892
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.
2015-10-12 15:15:25 +02:00
Evgeny Vereshchagin
97eb423157
core: manager: expose DefaultLimit* as properties on dbus
2015-10-12 06:39:00 +00:00
Evgeny Vereshchagin
c9d031c353
bus-util: add bus_property_get_rlimit (move from core/dbus_execute)
2015-10-12 05:16:05 +00:00
Thomas Hindoe Paaboel Andersen
2366ab3026
shared: remove an unused variable
2015-10-11 19:40:54 +02:00
Thomas Hindoe Paaboel Andersen
ac9455efdd
rfkill: consistently use = in designator
2015-10-11 19:40:54 +02:00
Tom Gundersen
ce6c77ebf1
networkd: address - introduce address_is_ready()
...
Checks that a given address is not tentative nor deprecated.
2015-10-11 15:04:16 +02:00
Tom Gundersen
91b5f99731
networkd: make address_{establish,release}() static
...
No need to expose these functions, but rather call them from address_{add,drop}.
2015-10-11 15:04:16 +02:00
Tom Gundersen
054f0db487
networkd: manager - avoid unnecessary memory allocation
...
Don't allocate Address objects only to free them again when processing
rtnl events.
2015-10-11 15:04:16 +02:00
Tom Gundersen
cf1d700da3
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.
2015-10-11 15:04:16 +02:00
Tom Gundersen
200a0868fc
networkd: address - process in manager.c rather than link.c
2015-10-11 15:04:16 +02:00
Tom Gundersen
957325b763
networkd: link - refactor (un)ref
2015-10-11 15:04:16 +02:00