Lennart Poettering
dd078a1ef8
namespace: properly label device nodes we create
...
https://bugzilla.redhat.com/show_bug.cgi?id=1081429
2014-06-18 00:09:46 +02:00
Lennart Poettering
1554afae54
tmpfiles: add "+" modifier support to b, c, p lines in addition to L
2014-06-18 00:09:46 +02:00
Zbigniew Jędrzejewski-Szmek
0a498f163a
man: fix typo
2014-06-17 17:29:47 -04:00
Ronny Chevalier
fe582db94b
build-sys: add missing backslash
2014-06-17 17:29:47 -04:00
Tom Gundersen
5a1045a556
networkd: veth - fix parsing verification
2014-06-17 23:21:31 +02:00
Tom Gundersen
ee6b50892e
networkd: vxlan - fix parsing verification
2014-06-17 23:21:31 +02:00
Tom Gundersen
5a3f198964
networkd: veth - fix memleak
2014-06-17 23:21:31 +02:00
Thomas Hindoe Paaboel Andersen
de228aabc8
install: remove unused variable
2014-06-17 21:22:01 +02:00
Lennart Poettering
7613d0aec9
tmpfiles: remove line for automatic clean-ups for /var/cache/man/
...
Management of /var/cache/man should move to the distribution package
owning the directory (for example, man-db). As man pages are a
non-essential part of the system and unnecessary for minimal setups,
there's no point in having systemd ship these lines.
Distribution packages should make sure the appropriate package for their
distribution adopts this line. Ideally, the line is adopted by the
upstream package.
For Fedora I have filed this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1110274
2014-06-17 13:00:39 +02:00
Frederic Crozat
a7997073ac
bootchart: set white background
...
In programs like eog and gimp the transparant background did not
look very good.
Similar fix from the one done in systemd-analyze (418e3750
)
2014-06-17 11:34:31 +02:00
Tom Gundersen
bf0308cbd5
networkd: link - fix carrier check on new link
...
We were comparing against our own internal enum rather than the kernel exposed one.
Found by Thomas Ritter.
2014-06-17 09:17:07 +02:00
Tom Gundersen
0bbc2c1f3b
sd-dhcp: checksum - make endianess-neutral
...
For efficiency, we group bytes together before adding them up. This
is guaranteed to always work (regardless of the byte order) as long
as the i-th byte in each group lign up with the i-th byte in each
other group.
On big-endian machines this broke when handling the trailing few bytes
which did not make up a full group of 4 bytes. This patch fixes the
problem by explicitly creating a 4 byte zero-padded group out of the
trailing bytes.
Reported and tested by Thomas Ritter <th.ritter@gmx.at>.
2014-06-17 09:17:07 +02:00
Dave Reisner
735a1a2ea5
systemctl: reverse order of args when verbosely creating symlinks
...
This was backwards. The symlink itself points to the source unit, not
the other way around.
2014-06-16 23:30:30 -04:00
Kay Sievers
01b85ba3ad
timesyncd: do not start in virtualized environments
2014-06-17 03:34:09 +02:00
Lennart Poettering
75183a9be0
update TODO
2014-06-17 03:30:11 +02:00
Lennart Poettering
5f5c2f3855
core: populate unit file set with preset data if we boot with empty /etc
2014-06-17 03:29:23 +02:00
Lennart Poettering
489388fbc0
machine-id-setup: allow passing NULL as function argument, for simplicity
2014-06-17 03:26:40 +02:00
Lennart Poettering
c47fc1f025
kmod: conditionalize kmod setup on CAP_SYS_MODULE, not whether we run in a container
...
It's generally preferrable to conditionalize on the actual ability to do
something then the context we run in.
2014-06-17 03:26:40 +02:00
Lennart Poettering
a1259e0a14
build-sys: touch /usr on "make install"
...
this way, the "make install" will be detected as offline update on next
boot.
2014-06-17 03:09:27 +02:00
Lennart Poettering
689d781b87
units: minor cleanups
2014-06-17 02:43:44 +02:00
Lennart Poettering
ac78d81a35
install: improve paths we show the user when enabling/disabling
2014-06-17 02:43:44 +02:00
Lennart Poettering
324d7a53b9
networkd: don't pull in systemd-networkd-wait-online service from systemd-networkd when enabling
...
networkd-wait-online should never exist in the default transaction,
unless explicitly enable or pulled in via things like NFS. However, just
enabling networkd shouldn't enable networkd-wait-online, since it's
common to use the former without the latter.
2014-06-17 02:43:44 +02:00
Lennart Poettering
cebed5005b
conf-files: fix when for --root= logic
...
This is based on parts of similar patches from Michael Marineau and
Lukas Nykrin, but simply uses strappenda3().
2014-06-17 02:43:44 +02:00
Lennart Poettering
749ebb2da4
systemctl: output human readable strings in "systemctl enable" and "systemctl disable"
2014-06-17 02:43:44 +02:00
Lennart Poettering
278fa5758c
install: simplify symlink --root= logic
2014-06-17 02:43:44 +02:00
Lennart Poettering
0a327d753f
install: "systemctl enable" should be a nop for template units lacking a DefaultInstance= setting
2014-06-17 02:43:44 +02:00
Lennart Poettering
1713703c96
preset: ship a minimal preset file upstream
...
This is useful so that distros have something to base their own policy
of. It also useful to make sure that minimal installs always get useful
configuration in place.
2014-06-17 02:43:44 +02:00
Lennart Poettering
d7b15e0a01
log: don't downgrade log level in non-PID 1 if "quiet" is passed on kernel cmdline
...
"debug" should apply to all tools, but "quiet" only to PID1.
2014-06-17 02:43:44 +02:00
Lennart Poettering
8f294b45cb
install: make sure that --root= mode doesn't make us consider all units outside of search path
2014-06-17 02:43:43 +02:00
Lennart Poettering
559367add5
install: make sure "systemctl disable foobar@.service" actually removes all instances
2014-06-17 02:43:43 +02:00
Lennart Poettering
d54c499369
install: introduce new DefaultInstance= field for [Install] sections
...
The DefaultInstance= name is used when enabling template units when only
specifying the template name, but no instance.
Add DefaultInstance=tty1 to getty@.service, so that when the template
itself is enabled an instance for tty1 is created.
This is useful so that we "systemctl preset-all" can work properly,
because we can operate on getty@.service after finding it, and the right
instance is created.
2014-06-17 02:43:43 +02:00
Lennart Poettering
e50bd77516
install: when looking for a unit file for enabling, search for templates only after traversing all search directories
...
Let's always make sure to look in all search directories for the full
unit names first, before looking for templates for them.
2014-06-17 02:43:43 +02:00
Lennart Poettering
1f8c46040e
install: use symlink_atomic() instead of unlink()+symlink() when force creating a symlink
2014-06-17 02:43:43 +02:00
Lennart Poettering
1dacfd2ad6
install: various modernizations
2014-06-17 02:43:43 +02:00
Lennart Poettering
c2a8d7b05c
install: teach preset query logic --root= support
2014-06-17 02:43:43 +02:00
Lennart Poettering
d309c1c364
install: beef up preset logic to limit to only enable or only disable, and do all-unit preset operations
...
The new "systemctl preset-all" command may now be used to put all
installed units back into the enable/disable state the vendor/admin
encoded in preset files.
Also, introduce "systemctl --preset-mode=enable-only" and "systemctl
--preset-mode=disable-only" to only apply the enable or only the disable
operations of a "systemctl preset" or "systemctl preset-all" operation.
"systemctl preset-all" implements this RFE:
https://bugzilla.redhat.com/show_bug.cgi?id=630174
2014-06-17 02:43:17 +02:00
Lennart Poettering
bcafe923a7
install: simplify and clarify disabling logic for instanced units
2014-06-17 01:24:04 +02:00
Lennart Poettering
da39f6a63e
install: various modernizations
2014-06-17 01:24:04 +02:00
Lennart Poettering
e7b4d43ec3
update TODO
2014-06-17 01:24:03 +02:00
Lennart Poettering
b9a3302630
unit-name: various modernizations
2014-06-17 01:24:03 +02:00
Lennart Poettering
6ef9eeed61
unit-name: fix detection of unit templates/instances
...
We need to check for the last dot, not the first one in a unit name, for
the suffix. Correct that.
2014-06-17 01:24:03 +02:00
Thomas Hindoe Paaboel Andersen
e94b5a7bc2
journal-remote: fix memleak
2014-06-16 23:51:34 +02:00
Ronny Chevalier
40edd23670
tests: unlink temp file used in test
2014-06-16 20:38:23 +02:00
Ronny Chevalier
d06b3a9d70
tests: add tests to test-hashmap
...
add tests for:
- hashmap_remove_and_put
- hashmap_first_key
- hashmap_last
- hashmap_steal_first_key
- hashmap_clear_free_free
2014-06-16 20:38:22 +02:00
Ronny Chevalier
106ecd769d
tests: add test-fdset
2014-06-16 20:38:22 +02:00
Ronny Chevalier
c182135d3a
tests: add test-socket-util
2014-06-16 20:38:22 +02:00
Susant Sahani
889a044ddc
networkd: unref tunnel
...
Unref tunnel while shutting down
2014-06-16 20:38:22 +02:00
Susant Sahani
326cb4061a
networkd: introduce vxlan
...
This patch enables netwokd to create vxlan
Changes:
Added:
1. File networkd networkd-vxlan.c
2. to netdev
bool learning
struct in_addr group
uint64_t vxlanid;
3. VXLAN subsection and config
parameters
2014-06-16 20:38:22 +02:00
Susant Sahani
1324e3ae51
networkd: rename netdev variables
...
Rename the netdev variables. Remove tunnel_
so that it can be reused .
2014-06-16 20:38:22 +02:00
Susant Sahani
6ef8147700
sd-rtnl: add support for vxlan rtnl attributes
...
This patch adds vxlan rtnl attributes to sd-rtnl
2014-06-16 20:38:22 +02:00