Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-13 | fileio: quote more shell characters in envfiles | Mantas Mikulėnas | |
Turns out, making strings shell-proof is harder than expected: # machinectl set-hostname "foo|poweroff" && . /etc/machine-info (This could be simplified by quoting *and* escaping all characters, which is harmless in shell but unnecessary.) | |||
2014-07-13 | path-lookup: don't make ~/.local/share/systemd/user a symlink | Tanu Kaskinen | |
We already encourage upstreams to keep the default configuration separate from user customizations for software that is installed in the system location. Let's allow that separation also for software that is installed in the home directory. Some discussion: http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/19627 | |||
2014-07-13 | man: mention XDG_DATA_HOME in systemd.unit | Tanu Kaskinen | |
2014-07-13 | man: sysusers.d correct default user shell | Sjoerd Simons | |
For the non-root user sysusers uses nologin as the default shell, not login. Correct the documentation to match the code. | |||
2014-07-13 | man: add systemd-coredump(8) and a bunch of links | Zbigniew Jędrzejewski-Szmek | |
2014-07-13 | Add function to open temp files in selinux mode | Zbigniew Jędrzejewski-Szmek | |
2014-07-13 | sysusers: preserve label of /etc/{passwd, group} | Colin Walters | |
These files are specially labeled on SELinux systems, and we need to preserve that label. | |||
2014-07-11 | build-sys: Do not distribute generated emergency.service | Jon Severinsson | |
It is already in nodist_systemunit_DATA and if it is shipped, it contains the hardcoded path to systemctl which will cause it to fail to start when rootprefix != prefix and rootbindir != bindir. | |||
2014-07-11 | Revert "build-sys: include PolicyKit files as part of distribution" | Mike Gilbert | |
This reverts commit 0c26bfc3d21fdb3963f1248c237e2f1a33b5566d. src/core/org.freedesktop.systemd1.policy.in.in depends on values which are specified at configure time, so we cannot ship the corresponding policy file in the tarball. Since we need to regenerate one policy file, we might as well generate them all. | |||
2014-07-11 | sd-event: don't require a signal event source to be enabled for the child ↵ | Lennart Poettering | |
event source to work | |||
2014-07-11 | gitignore: ignore .swp files | David Herrmann | |
vim places them in the source-tree while editing files. Ignore them. | |||
2014-07-11 | sd-event: always call epoll_ctl() on mask-updates if edge-triggered | David Herrmann | |
A call to sd_event_source_set_io_events() skipps calling into the kernel if the new event-mask matches the old one. This is safe for level-triggered sources as the kernel moves them onto the ready-list automatically if events change. However, edge-triggered sources might not be on the ready-list even though events are present. A call to sd_event_source_set_io_events() with EPOLLET set might thus be used to just move the io-source onto the ready-list so the next poll will return it again. This is very useful to avoid starvation in priority-based event queues. Imagine a read() loop on an edge-triggered fd. If we cannot read data fast enough to drain the receive queue, we might decide to skip reading for now and schedule it for later. On edge-triggered io-sources we have to make sure it's put on the ready-list so the next dispatch-round will return it again if it's still the highest priority task. We could make sd-event handle edge-triggered sources directly and allow marking them ready again. However, it's much simpler to let the kernel do that for now via EPOLL_CTL_MOD. | |||
2014-07-11 | shared: fix coding-style for ring-buffer implementation | David Herrmann | |
We use "typedef struct Ring Ring" with camel-case for internal objects. So rename "struct ring" to "Ring". | |||
2014-07-11 | shared: add MIN3 macro | David Herrmann | |
This is like MIN but evaluates 3 arguments. We already have MAX3, so add the equivalent for MIN. | |||
2014-07-11 | Fix build without any compression enabled | Zbigniew Jędrzejewski-Szmek | |
2014-07-11 | endian: explicitly include endian.h wherever we want to use __BYTE_ORDER | Lennart Poettering | |
2014-07-11 | always check for __BYTE_ORDER == __BIG_ENDIAN when checking for endianess | Lennart Poettering | |
Let's always stick to glibc's way to determine byte order, and not mix autoconf-specific checks with gcc checks. | |||
2014-07-11 | hostnamed: introduce new location machin-info field, too | Lennart Poettering | |
2014-07-11 | hostnamed: drop nss-myhostname check | Lennart Poettering | |
The check only cares about whether the module is installed, not enabled. But installation we should know anyway, after all we ship the module with systemd these days... | |||
2014-07-11 | hostnamed: make use of in_charset() to verify charset | Lennart Poettering | |
2014-07-11 | nss-myhostname: simplify array building a bit | Lennart Poettering | |
2014-07-11 | hostnamed: minor modernization | Lennart Poettering | |
2014-07-11 | journald: turn ForwardToSyslog= off by default | Lennart Poettering | |
After all, rsyslog and friends nowadays read their data directly from the journal, hence the forwarding is unnecessary in most cases. | |||
2014-07-11 | util: fix has cc check and add test | Zbigniew Jędrzejewski-Szmek | |
2014-07-11 | shell-completion: add hostnamectl set-deployment | Zbigniew Jędrzejewski-Szmek | |
2014-07-11 | Add DEPLOYMENT to hostnamectl | Jóhann B. Guðmundsson | |
[zj: remove the check against a fixed list of environments.] | |||
2014-07-11 | shell-completion,man: beef up chassis completions and description | Zbigniew Jędrzejewski-Szmek | |
Parameters to hostnamectl command are not optional and should not be marked as such in the man page. | |||
2014-07-10 | man: document x-systemd.device-timeout for crypttab | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=54210 | |||
2014-07-10 | man: proper link for dmesg | Zbigniew Jędrzejewski-Szmek | |
2014-07-10 | sysusers: allow overrides in /etc and /run | Zbigniew Jędrzejewski-Szmek | |
An administrator might want to block a certain sysusers config file from being executed, e.g. to block the creation of a certain user. Only a relatively short description is added in the man page, since overrides should be relatively rare. | |||
2014-07-11 | nss-mymachines: add new NSS module for automatically resolving addresses of ↵ | Lennart Poettering | |
all local containers | |||
2014-07-11 | build-sys: export sd_path APIs | Lennart Poettering | |
2014-07-10 | nss-myhostname: move NSS boilerplate to nss-util.h | Lennart Poettering | |
2014-07-10 | machinectl: show network interface name for containers | Lennart Poettering | |
Also, append the if indexes as scope field to the addresses we show. That way they may be used for connecting to the containers directly. | |||
2014-07-10 | nspawn: register external network interface with machined | Lennart Poettering | |
2014-07-10 | machined: allow registering host-side network interfaces for communication ↵ | Lennart Poettering | |
with containers | |||
2014-07-10 | networkd: always prefer dhcp routes over ipv4ll routes | Lennart Poettering | |
2014-07-10 | machined: when querying addresses of a container, use same code as ↵ | Lennart Poettering | |
nss-myhostname uses | |||
2014-07-10 | libsystemd: make use of our common sockaddr_union everywhere | Lennart Poettering | |
2014-07-10 | shared: split out in_addr related calls from socket-util.[ch] into its ↵ | Lennart Poettering | |
private in-addr-util.[ch] These are enough calls for a new file, and they are sufficiently different from the sockaddr-related calls, hence let's split this out. | |||
2014-07-10 | nss-myhostname: move local address listing logic into shared, so that we can ↵ | Lennart Poettering | |
make use of it from machined | |||
2014-07-10 | nss-myhostname: only export the NSS entry point symbols, nothing else | Lennart Poettering | |
2014-07-10 | machined: various modernizations when enumerating container addresses | Lennart Poettering | |
2014-07-10 | nss-myhostname: following the usual naming scheme for .c/.h files | Lennart Poettering | |
2014-07-10 | nss-myhostname: various modernizations | Lennart Poettering | |
2014-07-10 | resolved: properly free network monitor | Lennart Poettering | |
2014-07-10 | event: pull in sd-event.h from event-util.h | Lennart Poettering | |
2014-07-10 | update TODO | Lennart Poettering | |
2014-07-09 | sysusers: don't allow control characters in gecos fields | Lennart Poettering | |
2014-07-09 | sysusers: don't allow user names longer than UT_NAMESIZE | Lennart Poettering | |
As pointed out by Miloslav Trmač it might be a good idea to make sure that usernames stay with in the utmp-defined limits. |