summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-18Merge pull request #1595 from poettering/proxy-fixesDavid Herrmann
bus proxy fixes, and more
2015-10-17unit: allocate bus name match string on the stackLennart Poettering
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.
2015-10-17sd-bus: fix error handling of pthread API callsLennart Poettering
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.
2015-10-17bus-proxy: don't close local bus fds twiceLennart Poettering
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.
2015-10-16Merge pull request #1508 from msekletar/update-TODO-NPROCZbigniew Jędrzejewski-Szmek
update TODO
2015-10-16Merge pull request #1588 from mhalano/logitech-m560-mouseZbigniew Jędrzejewski-Szmek
[zj: rearrange into the sort order]
2015-10-16Added support to the wireless mouse Logitech M560.Marcos Alano
2015-10-16Merge pull request #1582 from evverx/dump-runtime-dir-modeRonny Chevalier
core: dump RuntimeDirectories and RuntimeDirectoryMode too
2015-10-16core: dump RuntimeDirectories and RuntimeDirectoryMode tooEvgeny Vereshchagin
2015-10-16Merge pull request #1586 from martinpitt/masterKay Sievers
keymap: Add HP ProBook 6555b
2015-10-16keymap: Add HP ProBook 6555bMartin Pitt
Thanks to Olaf Hering!
2015-10-16Merge pull request #1581 from teg/netlink-broadcast-leaveDavid Herrmann
sd-netlink: refcount multicast groups
2015-10-15units: .gitignore: units - ignore tmp.mountTom Gundersen
This is a follow-up to 409c2a13fd656.
2015-10-15sd-netlink: refcount multicast groupsTom Gundersen
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-15btrfs: always remove the per-subvol qgroup when removing a subvolLennart Poettering
btrfs doesn't do that automatically, hence let's do that explicitly each time.
2015-10-15Merge pull request #1575 from evverx/expose-manager-timerslacknsecLennart Poettering
core: expose manager's TimerSlackNSec as propery on dbus
2015-10-15core: expose manager's TimerSlackNSec as propery on dbusEvgeny Vereshchagin
2015-10-15Merge pull request #1527 from keszybz/lz4Lennart Poettering
Using lz4 frame api for coredump files
2015-10-15Merge pull request #1572 from again4you/devel/tmp-smackLennart Poettering
units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled
2015-10-15Merge pull request #1569 from mustrumr/date-parse-additionsLennart Poettering
Date parse additions
2015-10-15Merge pull request #1574 from evverx/run-timer-slack-nsecLennart Poettering
systemd-run can launch units with TimerSlackNSec
2015-10-15shell-completion: systemd-run: add TimerSlackNSec propertyEvgeny Vereshchagin
2015-10-15run: can launch units with TimerSlackNSecEvgeny Vereshchagin
2015-10-15units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabledSangjung Woo
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-14build-sys: enable lz4 by default if availableZbigniew Jędrzejewski-Szmek
--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-14compress: return errors without logging, do not fake errnoZbigniew Jędrzejewski-Szmek
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-15man: mention UTC support for calendar eventsHristo Venev
2015-10-15test: add calendarspec UTC testsHristo Venev
2015-10-15basic: calendarspec UTC supportHristo Venev
Just add " UTC" to the end of the event expression. Works for the special expressions.
2015-10-15man: mention UTC support for timestampsHristo Venev
2015-10-15test: parse_timestamp UTC and fractional seconds testsHristo Venev
2015-10-15basic: parse_timestamp UTC and fractional seconds supportHristo Venev
2015-10-15basic: add mktime_or_timegm and localtime_or_gmtime_rHristo Venev
to time-util.h. They take an extra argument `bool utc`.
2015-10-14Merge pull request #1567 from teg/logind-suspend-loggingLennart Poettering
login: suspend - be a bit more explicit when logging
2015-10-14login: suspend - be a bit more explicit when loggingTom Gundersen
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-14Merge pull request #1528 from evverx/systemd-run-syslog-pri-facLennart Poettering
systemd-run can launch units with SyslogLevel and SyslogFacility
2015-10-14core: execute: validate syslog level and facilityEvgeny Vereshchagin
2015-10-14util: add functions for validating syslog level and facilityEvgeny Vereshchagin
2015-10-14Merge pull request #1562 from michich/overlinkingLennart Poettering
build: fix overlinking
2015-10-14Merge pull request #1563 from poettering/exciting-fixesZbigniew Jędrzejewski-Szmek
A variety of fixes
2015-10-14shell-completion: systemd-run: add SyslogFacility propertyEvgeny Vereshchagin
2015-10-14systemd-run: can launch units with SyslogFacilityEvgeny Vereshchagin
2015-10-14shell-completion: systemd-run: add SyslogLevel propertyEvgeny Vereshchagin
2015-10-14systemd-run: can launch units with SyslogLevelEvgeny Vereshchagin
2015-10-14unit: remove [Install] section from the user exit.target unitLennart Poettering
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-14tty-ask-password-agent: don't warn if we cannot disable wall messages on the ↵Lennart Poettering
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-14core: log if the service to activate vanished before we activate itLennart Poettering
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-14compress: fix mmap error handlingZbigniew Jędrzejewski-Szmek
2015-10-14build: libdl is needed only for libnss_resolveMichal Schmidt
Not everything needs to link to libdl. dlopen+dlsym are used only by libnss_resolve.
2015-10-14build: don't link everything to libcapMichal Schmidt
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.