summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-27shell-completion: systemd-run: add the property RuntimeDirectoryEvgeny Vereshchagin
2015-10-27run: can launch units with RuntimeDirectoryEvgeny Vereshchagin
2015-10-26Merge pull request #1679 from evverx/refuse-manual-start-by-reload-or-restartLennart Poettering
core: don't allow manual start with reload-or-restart too
2015-10-26Merge pull request #1686 from medhefgo/remount-ro-fixLennart Poettering
unmount: Pass in mount options when remounting read-only
2015-10-26unmount: Pass in mount options when remounting read-onlyJan Janssen
man 2 mount says that the mountflags and data parameteres should match the original values except for the desired changes. We only bother with the mount options since the only flags we can change are MS_RDONLY, MS_SYNCHRONOUS and MS_MANDLOCK; which shouldn't matter too much. Fixes: #351
2015-10-26Merge pull request #1676 from poettering/util-lib-2Tom Gundersen
split up util.[ch] into more pieces, and other stuff
2015-10-26journal: add missing includeTom Gundersen
2015-10-26Merge pull request #1681 from ssahani/journalLennart Poettering
journald-server: port to extract_first_word
2015-10-26journald-server: port to extract_first_wordSusant Sahani
2015-10-26core: don't allow manual start with reload-or-restart tooEvgeny Vereshchagin
fix bug: systemctl reload-or-restart starts a service with RefuseManualStart=yes
2015-10-26Merge pull request #1675 from evverx/run-protect-homeLennart Poettering
systemd-run can launch units with ProtectHome
2015-10-26process-util: move more process related calls to process-util.[ch]Lennart Poettering
2015-10-26socket-util: move remaining socket-related calls from util.[ch] to ↵Lennart Poettering
socket-util.[ch]
2015-10-26build-sys: add missing makefile symlinkLennart Poettering
2015-10-26util-lib: move ether_addr_to_string() into ether-addr-util.cLennart Poettering
2015-10-26path-util: minor coding style fixLennart Poettering
We usually avoid relying on C's degrade-to-boolean functionality when comparing numerical variables with 0. We use it only for pointers and actual booleans.
2015-10-26core: rename SmackFileSystemRoot= to SmackFileSystemRootLabel=Lennart Poettering
That way it's in sync with the other SMACK label settings. https://github.com/systemd/systemd/pull/1664#issuecomment-150891270
2015-10-26user-util: never hand out or accept invalid UIDsLennart Poettering
libc isn't that strict, but it's a good idea if we are, to not create confusion around invalid user ids.
2015-10-26util: remove lookup_uid(), replace by uid_to_name()Lennart Poettering
So far we had two pretty much identical calls in user-util.[ch]: lookup_uid() and uid_to_name(). Get rid of the former, in favour of the latter, and while we are at it, rewrite it, to use getpwuid_r() correctly, inside an allocation loop, as POSIX intended.
2015-10-26user-util: simplify uid parsing a bitLennart Poettering
2015-10-26util-lib: split out user/group/uid/gid calls into user-util.[ch]Lennart Poettering
2015-10-26util-lib: split out IO related calls to io-util.[ch]Lennart Poettering
2015-10-26shell-completion: systemd-run: add the property ProtectHomeEvgeny Vereshchagin
2015-10-26run: can launch units with ProtectHomeEvgeny Vereshchagin
2015-10-26Merge pull request #1674 from evverx/run-fix-couldnot-find-executableLennart Poettering
run: fix "couldn't find executable" for the existing executables
2015-10-25Merge pull request #1673 from mustrumr/date-fixesLennart Poettering
Date fixes
2015-10-25run: fix "couldn't find executable" for the existing executablesEvgeny Vereshchagin
Fixes: #1672
2015-10-25man: fix systemd.time RAS syndrome and line lengthHristo Venev
"UTC time" is a RAP phrase (redundant acronym phrase phrase).
2015-10-25test: "today UTC" is not always "today UTC"Hristo Venev
On Oct 25 2015 in EET/EEST there is a UTC+3->UTC+2 transition. This means that the representation of "today UTC" as local time is ambiguous.
2015-10-25basic: use the return value of endswithHristo Venev
It returns the position where the suffix begins, which can be used for strndup to extract the prefix without calling strlen.
2015-10-25Merge pull request #1671 from keszybz/zsh-journalctl-identifierRonny Chevalier
zsh-completion: journalctl --identifier
2015-10-25zsh-completion: journalctl --identifierZbigniew Jędrzejewski-Szmek
Fixes #1549.
2015-10-25Merge pull request #1668 from ssahani/net1Tom Gundersen
networkd: fix asserts
2015-10-25Merge pull request #1654 from poettering/util-libTom Gundersen
Various changes to src/basic/
2015-10-25Merge pull request #1667 from evverx/run-protect-systemLennart Poettering
systemd-run can launch units with ProtectSystem
2015-10-25util-lib: move formats-util.h from shared/ to basic/Lennart Poettering
It's only a header file, definining format strings for basic system types, hence it should be in src/basic/, not src/shared/.
2015-10-25util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering
There are more than enough to deserve their own .c file, hence move them over.
2015-10-25Merge pull request #1663 from poettering/journal-compress-fixZbigniew Jędrzejewski-Szmek
journal: fix error handling when compressing journal objects
2015-10-25vxlan: fix assertSusant Sahani
2015-10-25veth: fix assertSusant Sahani
2015-10-25ipvlan: fix assertSusant Sahani
2015-10-25bond: fix assertSusant Sahani
2015-10-25vlan: fix assertSusant Sahani
2015-10-24shell-completion: systemd-run: add the property ProtectSystemEvgeny Vereshchagin
2015-10-24run: can launch units with ProtectSystemEvgeny Vereshchagin
2015-10-24Merge pull request #1665 from evverx/unit-printf-fixesLennart Poettering
core: various small fixes to unit-printf
2015-10-24sd-*.h: clean up exported (or to-be-exported) header filesLennart Poettering
Exported header files should not include internal headers. Fix that. Exported header files should not use the bool type. So far we opted to stick to C89 for exported headers, and hence use "int" for bools in them. Continue to do so. Exported header files should have #include lines for everything they use including inttypes.h and sys/types.h, so that they may be included in any order. Exported header files should have C++ guards, hence add them. Exported header files should not use gcc extensions like #pragma once, get rid of it.
2015-10-24util: move logind_running() to login-util.[ch]Lennart Poettering
2015-10-24core: various small fixes to unit-printfEvgeny Vereshchagin
* check memory allocation errors in specifier_cgroup_slice * %I doesn't fail for non-instantiated units (%i doesn't fail too) * EOPNOTSUPP for consistency
2015-10-24man: let's enclose * in shell examples in ''Lennart Poettering
Technically, it's safer that way, since dnf is supposed to parse the "*", not the shell. It doesn't really matter too much in real life (as the expression is too complex), but let's better be safe than sorry, and make sure people won't file bugs about this...