summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-20nspawn: skip /sys-as-tmpfs if we don't use private-networkIago López Galeiras
Since v3.11/7dc5dbc ("sysfs: Restrict mounting sysfs"), the kernel doesn't allow mounting sysfs if you don't have CAP_SYS_ADMIN rights over the network namespace. So the mounting /sys as a tmpfs code introduced in d8fc6a000fe21b0c1ba27fbfed8b42d00b349a4b doesn't work with user namespaces if we don't use private-net. The reason is that we mount sysfs inside the container and we're in the network namespace of the host but we don't have CAP_SYS_ADMIN over that namespace. To fix that, we mount /sys as a sysfs (instead of tmpfs) if we don't use private network and ignore the /sys-as-a-tmpfs code if we find that /sys is already mounted as sysfs. Fixes #1555
2015-10-19update CODING_STYLELennart Poettering
2015-10-19update TODOLennart Poettering
2015-10-19Merge pull request #1614 from alkino/masterLennart Poettering
Hook more properties for transient units
2015-10-19Merge pull request #1613 from phomes/unused-functions-2Lennart Poettering
tree-wide: remove unused functions
2015-10-19Hook more properties for transient unitsNicolas Cornu
systemd-run can now launch units with EnvironmentFile set.
2015-10-19tree-wide: remove unused functionsThomas Hindoe Paaboel Andersen
2015-10-19Merge pull request #1612 from evverx/man-systemd-tmpfilesLennart Poettering
man: systemd-tmpfiles requires absolute filenames
2015-10-19man: systemd-tmpfiles requires absolute filenamesEvgeny Vereshchagin
`systemd-tmpfiles --clean ./some.conf` doesn't work: Failed to open './some.conf', ignoring: No such file or directory `systemd-tmpfiles --clean $(realpath ./some.conf)` works fine.
2015-10-19Merge pull request #1584 from mischief/journal-remote-no-gnutlsLennart Poettering
build: install journal-remote units and directory regardless of GNUTLS
2015-10-19Merge pull request #1610 from evverx/man-tmpfiles-dLennart Poettering
man: tmpfiles.d: add info about age field
2015-10-19Merge pull request #1598 from evverx/run-oomscoreadjustLennart Poettering
systemd-run can launch units with OOMScoreAdjust
2015-10-19man: tmpfiles.d: add info about age fieldEvgeny Vereshchagin
The age field applies to lines starting with `v`, `C`, `X` too. See the function `clean_item` in the file `src/tmpfiles/tmpfiles.c`
2015-10-18Merge pull request #1601 from grawity/patch-1Martin Pitt
hwdb: fix a syntax error in 60-keyboard
2015-10-18hwdb: fix a syntax error in 60-keyboardMantas Mikulėnas
2015-10-18Revert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled"Kay Sievers
This reverts commit 409c2a13fd65692c611b7bcaba12e908ef7cf1e5. It breaks the bootup of systems which enable smack at compile time, but have no smack enabled in the kernel. This needs a different solution.
2015-10-18Merge pull request #1595 from poettering/proxy-fixesDavid Herrmann
bus proxy fixes, and more
2015-10-17shell-completion: systemd-run: add property OOMScoreAdjustEvgeny Vereshchagin
2015-10-17run: can launch units with OOMScoreAdjustEvgeny Vereshchagin
2015-10-17util: add func for checking OOMScoreAdjustEvgeny Vereshchagin
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-15build: install journal-remote units and directory regardless of GNUTLSNick Owens
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