1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 02:57:16 +03:00
Commit Graph

22866 Commits

Author SHA1 Message Date
Martin Pitt
bbea73316f keymap: Add HP ProBook 6555b
Thanks to Olaf Hering!
2015-10-16 16:30:08 +02:00
David Herrmann
7a1e5abbc6 Merge pull request #1581 from teg/netlink-broadcast-leave
sd-netlink: refcount multicast groups
2015-10-16 13:05:39 +02:00
Susant Sahani
44de7fb14f man: add man for IPV6 DAD 2015-10-16 10:53:20 +05:30
Susant Sahani
8749cbcd4f networkd: add support for configure IPv6 DAD
Configures Ipv6 Duplicate Address Detection.

10
2015-10-16 10:53:20 +05:30
Nick Owens
08b62a9a13 build: install journal-remote units and directory regardless of GNUTLS 2015-10-15 16:24:47 -07:00
Tom Gundersen
8ee07361d0 units: .gitignore: units - ignore tmp.mount
This is a follow-up to 409c2a13fd.
2015-10-15 19:28:07 +02:00
Tom Gundersen
9c5a882b7f 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).
2015-10-15 18:59:08 +02:00
Lennart Poettering
3f952f92b9 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.
2015-10-15 18:37:03 +02:00
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
2ac3f19a51 Merge pull request #1572 from again4you/devel/tmp-smack
units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled
2015-10-15 13:09:57 +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
Lennart Poettering
e18992ad4f Merge pull request #1574 from evverx/run-timer-slack-nsec
systemd-run can launch units with TimerSlackNSec
2015-10-15 12:58:17 +02:00
Evgeny Vereshchagin
8d2bc8e5fd shell-completion: systemd-run: add TimerSlackNSec property 2015-10-15 10:01:09 +00:00
Evgeny Vereshchagin
f1db332756 run: can launch units with TimerSlackNSec 2015-10-15 09:57:28 +00:00
Sangjung Woo
409c2a13fd 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.
2015-10-15 14:02:44 +09:00
Zbigniew Jędrzejewski-Szmek
1a2a0ac53b 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.
2015-10-14 23:16:50 -04: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
2e50eb552a man: mention UTC support for calendar events 2015-10-15 02:58:02 +03: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
d08a6b02b5 man: mention UTC support for timestamps 2015-10-15 02:57:58 +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
Lennart Poettering
19833db683 Merge pull request #1567 from teg/logind-suspend-logging
login: suspend - be a bit more explicit when logging
2015-10-14 22:34:20 +02: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
Lennart Poettering
6777e2ad72 Merge pull request #1562 from michich/overlinking
build: fix overlinking
2015-10-14 17:29:24 +02:00
Zbigniew Jędrzejewski-Szmek
340a1d6fea Merge pull request #1563 from poettering/exciting-fixes
A variety of fixes
2015-10-14 11:22:14 -04:00
Evgeny Vereshchagin
75d73dc9d0 shell-completion: systemd-run: add SyslogFacility property 2015-10-14 15:05:14 +00:00
Evgeny Vereshchagin
460ed929cf systemd-run: can launch units with SyslogFacility 2015-10-14 15:05:04 +00:00
Evgeny Vereshchagin
7135129e0a shell-completion: systemd-run: add SyslogLevel property 2015-10-14 14:48:55 +00:00
Evgeny Vereshchagin
a8a1357560 systemd-run: can launch units with SyslogLevel 2015-10-14 14:48:45 +00:00
Lennart Poettering
be3270ebd3 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.
2015-10-14 16:25:23 +02: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
Michal Schmidt
e97379dea2 build: libdl is needed only for libnss_resolve
Not everything needs to link to libdl. dlopen+dlsym are used only by
libnss_resolve.
2015-10-14 14:49:18 +02:00
Michal Schmidt
5fd2e22843 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.
2015-10-14 14:49:18 +02:00
Michal Schmidt
7f7bfcf3cf 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
2015-10-14 14:43:38 +02: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
Lennart Poettering
aff2e16bfd Merge pull request #1561 from phomes/unused-function
manager: remove unused function
2015-10-14 09:47:52 +02:00