Evgeny Vereshchagin
64a713d94d
shell-completion: systemd-run: add new properties
...
"ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories"
2015-10-20 22:03:49 +00:00
Evgeny Vereshchagin
08596068d7
run: can launch units with ReadWriteDirectories, ReadOnlyDirectories, InaccessibleDirectories
2015-10-20 22:03:43 +00:00
Lennart Poettering
f73e8b9caf
Merge pull request #1616 from evverx/run-fix-environment-parsing
...
run: fix Environment parsing
2015-10-20 15:26:19 +02:00
Tom Gundersen
14a081a0ff
Merge pull request #1538 from ssahani/ipv62
...
networkd: add support to configure IPv6 DAD
2015-10-20 14:59:27 +02:00
Evgeny Vereshchagin
e9876fc9c5
run: fix Environment parsing
...
* `Environment=` resets previous assignments
* `Environment='a=1 b=2'` sets `a` to `1` and `b` to `2`
* `Environment='"a=1 2" b=2"'` sets `a` to `1 2` and `b` to `2`
2015-10-20 12:55:07 +00:00
Lennart Poettering
c91960c5a0
Merge pull request #1619 from iaguis/nspawn-sysfs-netns-3
...
nspawn: skip /sys-as-tmpfs if we don't use private-network
2015-10-20 12:22:32 +02:00
Daniel Mack
824b35c385
Merge pull request #1568 from poettering/netclass
...
various fixes, for various things
2015-10-20 10:31:38 +02:00
Iago López Galeiras
d167824896
nspawn: skip /sys-as-tmpfs if we don't use private-network
...
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
d8fc6a000f 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-20 10:19:23 +02:00
Lennart Poettering
2229f65667
dbus-execute: some cleanups when parsing EnvironmentFiles= for transient units
2015-10-19 23:43:19 +02:00
Zbigniew Jędrzejewski-Szmek
ab84f5b95e
strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_
2015-10-19 23:13:07 +02:00
Lennart Poettering
1602b00853
tree-wide: whenever we deal with passwords, erase them from memory after use
...
A bit snake-oilish, but can't hurt.
2015-10-19 23:13:07 +02:00
Lennart Poettering
0245cf8167
core: actually set pids_max field after parsing it
...
Fixes one of the issues pointed out in #1522 .
2015-10-19 23:13:06 +02:00
Lennart Poettering
09eba4d46b
journald: make sure r is always initialized
2015-10-19 23:07:18 +02:00
Lennart Poettering
3741b696f4
journal: fix bad memory freeing
2015-10-19 23:07:18 +02:00
Lennart Poettering
ac5b0c13d8
tree-wide: add more void casts for various syscall invocations
2015-10-19 23:07:18 +02:00
Lennart Poettering
4b4cb0a1ff
core: fix type of NetClass dbus property
...
it's exposed as uint32_t and it is internally an uint32_t, hence no need
to treat it as an unsigned.
2015-10-19 23:07:18 +02:00
Lennart Poettering
d817000dea
man: move documentation about NetClass from systemd.unit(5) to systemd.resource-control(5)
...
This is after all where we expose all the other cgroup props, especially
those that can be adjusted dynamically.
2015-10-19 23:07:18 +02:00
Lennart Poettering
ec566e4c7c
update CODING_STYLE
2015-10-19 22:31:58 +02:00
Lennart Poettering
3efc8c72f0
update TODO
2015-10-19 22:30:11 +02:00
Lennart Poettering
d89093334b
Merge pull request #1614 from alkino/master
...
Hook more properties for transient units
2015-10-19 22:09:10 +02:00
Lennart Poettering
c6777a8f7f
Merge pull request #1613 from phomes/unused-functions-2
...
tree-wide: remove unused functions
2015-10-19 22:06:06 +02:00
Nicolas Cornu
ceb728cf0f
Hook more properties for transient units
...
systemd-run can now launch units with EnvironmentFile set.
2015-10-19 21:58:01 +02:00
Thomas Hindoe Paaboel Andersen
b250ea2fd6
tree-wide: remove unused functions
2015-10-19 21:46:01 +02:00
Lennart Poettering
c8115977bf
Merge pull request #1612 from evverx/man-systemd-tmpfiles
...
man: systemd-tmpfiles requires absolute filenames
2015-10-19 20:39:00 +02:00
Evgeny Vereshchagin
f17fd65514
man: systemd-tmpfiles requires absolute filenames
...
`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-19 18:32:35 +00:00