Lennart Poettering
aa96c6cb44
id128: when taking user input for a 128bit ID, validate syntax
...
Also, always accept both our simple hexdump syntax and UUID syntax.
2013-04-30 08:36:01 -03:00
Lennart Poettering
4b73a0c061
machine-id: fix missing initialization
2013-04-08 22:46:56 +02:00
Lennart Poettering
5c0d398dfc
util: add a bit of syntactic sugar to run short code fragments with a different umask
2013-04-04 03:39:39 +02:00
Lennart Poettering
574d5f2dfc
util: rename write_one_line_file() to write_string_file()
...
You can write much more than just one line with this call (and we
frequently do), so let's correct the naming.
2013-04-03 20:12:56 +02:00
Zbigniew Jędrzejewski-Szmek
10d18763ec
nspawn, machine-id-setup: warn if read-only mount call fails
...
They are not crucial, but they shouldn't fail.
2013-03-31 14:32:48 -04:00
Harald Hoyer
a5c32cff1f
honor SELinux labels, when creating and writing config files
...
Also split out some fileio functions to fileio.c and provide a SELinux
aware pendant in fileio-label.c
see https://bugzilla.redhat.com/show_bug.cgi?id=881577
2013-02-14 16:19:38 +01:00
Lennart Poettering
aed5a52577
machine-id: properly mount transient machine ID read-only
2012-08-13 16:24:30 +02:00
Lennart Poettering
8e47b1d2eb
machine-id: fix spelling
2012-04-22 15:07:35 +02:00
Lennart Poettering
ab94af9201
util: unify getenv() logic for other PID
2012-04-22 15:00:42 +02:00
Lennart Poettering
08e1fb68d7
build-sys: move *-setup out of shared to avoid selinux being pulled in
2012-04-12 18:19:34 +02:00