Lennart Poettering
308b571076
update TODO
2014-12-12 20:24:35 +01:00
Lennart Poettering
7d54a03a87
core: retry unmounting until we are done, in case of stacked mounts
2014-12-12 20:12:35 +01:00
Lennart Poettering
b1acce80cd
networkctl: also draw a nice unicode cirlce when "networkctl status" is run without parameters
2014-12-12 19:11:35 +01:00
Lennart Poettering
1693a943ca
networkctl: show interface names next to IP addresses if we dump adresses from all interfaces
2014-12-12 19:07:26 +01:00
Lennart Poettering
69fb1176c4
networkctl: also show gateway address when "networkctl status" without further arguments is passed
2014-12-12 18:57:15 +01:00
Lennart Poettering
888943fc62
networkctl: show MAC address OUI vendor next to MAC addresses
2014-12-12 18:56:35 +01:00
Lennart Poettering
4b7c1d5d6a
test-cap-list: always check libcap comes to the same names as we do, for the names it knows
2014-12-12 18:42:19 +01:00
Lennart Poettering
34a3e4ecad
cap-list: return lower-case capability names, similar to libcap's cap_to_name(), for compat reasons
2014-12-12 18:37:25 +01:00
Lennart Poettering
98cd265198
update TODO
2014-12-12 17:30:25 +01:00
Lennart Poettering
667993e88e
man: fedora 21 has been release, suggest 21 as fedora version in example yum command line
2014-12-12 17:30:25 +01:00
Lennart Poettering
b9ba4dabba
nspawn: when booting in ephemeral mode, append random token to machine name
...
Also, when booting up an ephemeral container of / use the system
hostname as default machine name.
This way specifiyng -M is unnecessary when booting up an ephemeral
container, while allowing any number of ephemeral containers to run from
the same tree.
2014-12-12 17:30:25 +01:00
Lennart Poettering
c4e34a612c
nspawn: allow spawning ephemeral nspawn containers based on the root file system of the OS
...
This works now:
# systemd-nspawn -xb -D / -M foobar
Which boots up an ephemeral container, based on the host's root file
system. Or in other words: you can now run the very same host OS you
booted your system with also in a container, on top of it, without
having it interfere. Great for testing whether the init system you are
hacking on still boots without reboot the system!
2014-12-12 17:30:25 +01:00
Lennart Poettering
df9a75e480
nspawn: don't link journals in ephemeral mode
2014-12-12 17:30:25 +01:00
Lennart Poettering
53e438e301
nspawn: properly unset arg_link_journal_try, when --link-journal= is specified
2014-12-12 17:30:25 +01:00
Lennart Poettering
7430ec6ac0
copy: use btrfs reflinking only whe we know we copy full files
2014-12-12 17:30:25 +01:00
David Herrmann
19ee32dc4d
bus: send attach flags on BUS_MAKE
...
Make sure to set send-attach-flags on BUS_MAKE. These control which
information is revealed about the bus-owner.
2014-12-12 14:02:57 +01:00
David Herrmann
18ee085c15
bus: fix assert() on HELLO error-path
...
Make sure we don't call into any bus_kernel_*() functions before
b->is_kernel is set to true. Hard-code the CMD_FREE just like the other
helpers do.
2014-12-12 14:02:05 +01:00
Lennart Poettering
ec16945ebf
nspawn: beef up nspawn with some btrfs magic
...
This adds --template= to duplicate an OS tree as btrfs snpashot and run
it
This also adds --ephemeral or -x to create a snapshot of an OS tree and
boot that, removing it after exit.
2014-12-12 13:35:32 +01:00
Lennart Poettering
0254b455e9
copy: teach copy_bytes() btrfs reflink magic
2014-12-12 13:35:32 +01:00
Lennart Poettering
f9ac15442e
gpt-auto-generator: make use of new btrfs-util.h APIs
2014-12-12 13:35:32 +01:00
Lennart Poettering
d7c7c334f5
shared: add new btrfs-util.[ch] helpers for doing common btrfs operation
2014-12-12 13:35:32 +01:00
Lennart Poettering
700c6087eb
shared: missing.h should include btrfs.h, before redefining some of its definitions
2014-12-12 13:35:32 +01:00
Lennart Poettering
6ce830fa61
util: minor simplification for loop_write() and loop_read()
2014-12-12 13:35:32 +01:00
Lennart Poettering
0c3c42847d
nspawn: properly validate machine names
2014-12-12 13:35:32 +01:00
Lennart Poettering
a60e9f7fc8
seccomp-util.h: make sure seccomp-util.h can be included alone
2014-12-12 13:35:32 +01:00
Lennart Poettering
db594aef54
path-util: no need to check whether p is absolute twice
2014-12-12 13:35:32 +01:00
Lennart Poettering
a2e22d07c6
udev-builtin-btrfs: properly initialize ioctl struct to zeroes
2014-12-12 13:35:32 +01:00
Lennart Poettering
257224b0cd
util: document why we have alloca_align()
2014-12-12 13:35:32 +01:00
Lennart Poettering
ae6c3cc009
util: when using basename() for creating temporary files, verify the resulting name is actually valid
...
Also, rename filename_is_safe() to filename_is_valid(), since it
actually does a full validation for what the kernel will accept as file
name, it's not just a heuristic.
2014-12-12 13:35:32 +01:00
David Herrmann
8d1c8bd746
journal: fix dangling 'else' ambiguity
...
Rework the sd-journal iterators to avoid dangling 'else' ambiguity. For a
detailed explanation, see:
commit bff686e2a9
Author: David Herrmann <dh.herrmann@gmail.com>
Date: Fri Dec 12 09:43:54 2014 +0100
hwdb: fix dangling 'else' ambuguity
2014-12-12 09:52:06 +01:00
David Herrmann
bff686e2a9
hwdb: fix dangling 'else' ambuguity
...
Imagine the following use of hwdb:
if (condition_A)
SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value)
operation_A(key, value);
else
log_error("...");
This should work just fine, but but definitely does not what you would
expect. Due to how SD_HWDB_FOREACH_PROPERTY is defined, the dangling
'else' is linked to the hidden 'if' statement in the macro instead of the
outer 'if (condition_A)'. This is unexpected and really annoying to debug.
Fix this by never leaving un-finished if-statements in
SD_HWDB_FOREACH_PROPERTY(). We simply inverse the if() statement and
explicitly add an 'else'-branch. This way, the statement is closed and all
ambuguities are resolved.
2014-12-12 09:43:54 +01:00
David Herrmann
0b93157191
hwdb: FOREACH_HWDB_PROPERTY -> SD_HWDB_FOREACH_PROPERTY
...
Lets not pollute the global namespace. Prefix all our exported names and
macros with SD_HWDB_*.
2014-12-12 09:30:50 +01:00
Marcel Holtmann
3853d4cf89
hwdb: Update database of Bluetooth company identifiers
2014-12-11 22:50:50 +01:00
Thomas Hindoe Paaboel Andersen
c4ef05484d
use correct format types
2014-12-11 21:47:06 +01:00
Ronny Chevalier
015df1f78f
test-condition: add more test cases
2014-12-11 18:32:57 +01:00
Ronny Chevalier
e74aa253e9
test-strv: add test for strv_equal
2014-12-11 18:32:57 +01:00
Ronny Chevalier
27c5347c8c
test-execute: add tests for UMask directive
2014-12-11 18:32:57 +01:00
Ronny Chevalier
14b0295f91
test-unit-name: add tests for %f
2014-12-11 18:32:57 +01:00
David Herrmann
d31f486b83
bus: sync with kdbus.git
...
Changes:
* bloom parameters are returned in an offset via HELLO
* FREE now takes items just like any other ioctl
2014-12-11 17:26:03 +01:00
Lennart Poettering
eccaf89933
tree-wide: use our memset() macros instead of memset() itself
2014-12-11 16:58:45 +01:00
Torstein Husebø
f7340ab269
treewide: correct spacing near eol in code comments
2014-12-11 15:10:03 +01:00
Torstein Husebø
ee33e53a70
core: correct spacing near eol in code comments
2014-12-11 15:09:51 +01:00
Torstein Husebø
cc13b32729
shared: correct spacing near eol in code comments
2014-12-11 15:08:35 +01:00
Torstein Husebø
7517e17443
journald: correct spacing near eol code comments
2014-12-11 15:08:26 +01:00
Torstein Husebø
ad67ef274e
sd-bus: correct spacing near eol in code comments
2014-12-11 15:04:56 +01:00
Torstein Husebø
d076c6f9e4
networkd/resolved: correct spacing near eol in code comments
2014-12-11 15:04:43 +01:00
Lennart Poettering
1ed09c4491
build-sys: fix user unit m4 logic
2014-12-11 14:56:49 +01:00
Lennart Poettering
494bf20a2f
update TODO
2014-12-11 14:56:49 +01:00
Tom Gundersen
0411760af1
sd-dhcp-client: log if we fail to set up lease timers
2014-12-11 14:43:09 +01:00
Tom Gundersen
02cd084db7
tests: udev - assume /etc/machine-id rather than /etc/hosts
...
On todays machines /etc/hosts is not mandatory. /etc/machine-id is though, so let's rely on that instead.
This makes the udev tests pass again for me.
2014-12-11 14:17:35 +01:00