Lennart Poettering
15ef11449b
systemctl: reorder verbs
2014-03-13 04:17:37 +01:00
Lennart Poettering
3df538da67
systemctl: make sure status -a doesn't terminate too soon
2014-03-13 04:17:37 +01:00
Lennart Poettering
b0d14c69b2
systemctl: show a colored red dot in "status" output indicating the state of a unit
2014-03-13 04:17:37 +01:00
Zbigniew Jędrzejewski-Szmek
a878789268
build-sys: make sure we rebuild manpages when doing releases
...
https://bugs.freedesktop.org/show_bug.cgi?id=76056
2014-03-12 21:39:35 -04:00
Lennart Poettering
bddabb5770
update TODO
2014-03-13 01:39:09 +01:00
Lennart Poettering
727fd4fda5
nspawn: honour GPT partition flags when mounting file systems following the discoverable partitions spec
2014-03-13 01:33:33 +01:00
Lennart Poettering
8d0cfd6c88
gpt-auto-generator: there's no point in looking for a superblock on raw disk, we only care for a partition table
2014-03-13 01:06:41 +01:00
Lennart Poettering
fa041593fe
gpt-auto-generator: print debug messages when we ignore a block device
2014-03-13 01:06:19 +01:00
Lennart Poettering
cca1dfddd4
gpt-auto-generator: honour read-only and no-auto flag from GPT data
...
Similar to the read-only and no-automount flags of Microsoft Basic Data
Partitions, introduce our own flags. We map them to the same flag bits
as Microsoft's, to keep things simple.
2014-03-13 01:01:56 +01:00
Lennart Poettering
f75cac3746
cryptsetup: call static variables parsed from command line arg_XYZ like in all other tools
2014-03-13 00:46:58 +01:00
Tomasz Torcz
9c4495ca56
gpt-auto-generator: don't return OOM on parentless devices
2014-03-12 23:36:21 +01:00
Daniel Buch
9d16d0c7d0
socket.c: make use of union sockaddr_union
2014-03-12 23:35:44 +01:00
Lennart Poettering
8fcf784dff
systemctl: when "systemctl status" is called without arguments show a short overall system state
...
Previously "systemctl status" without argument would print the status of
all loaded units. This has now been moved to "systemctl status -a".
2014-03-12 23:33:46 +01:00
Lennart Poettering
0851062751
manager: use system state enum where appropriate
2014-03-12 22:27:13 +01:00
Lennart Poettering
dc36d78e11
macro: make sure we can use IN_SET() also with complex function calls as first argument
2014-03-12 22:26:22 +01:00
Lennart Poettering
0d292f5e75
systemctl: add new "list-machines" command
...
"systemctl list-machines" shows one line per local container which
includes the current system state of the container, the number of failed
units as well as the number of currently queued jobs.
2014-03-12 21:16:45 +01:00
Lennart Poettering
f755e3b74b
core: introduce system state enum
...
The system state knows the states starting →
running/degraded/maintenance → stopping, where:
starting = system startup
running = normal operation
degraded = at least one unit is currently in failed state
maintenance = rescue/emergency mode is active or queued
stopping = system shutdown
2014-03-12 20:55:13 +01:00
Lennart Poettering
0325941fff
sd-login: add sd_machine_get_class() call
2014-03-12 20:54:29 +01:00
Josh Triplett
01f83c1c76
util: Make in_charset a static inline in util.h
...
With in_charset now reduced to a one-liner (plus asserts), make it a
static inline.
2014-03-12 17:02:09 +01:00
Josh Triplett
e0333c7314
util: Rewrite in_charset to use strspn
...
This simplifies in_charset down to a one-liner, and allows for possible
optimizations of strspn in libc.
2014-03-12 17:02:06 +01:00
Josh Triplett
7b909d7407
backlight: Avoid restoring brightness to an unreadably dim level
...
Some systems turn the backlight all the way off at the lowest levels.
Clamp saved brightness to at least 1 or 5% of max_brightness. This
avoids preserving an unreadably dim screen, which would otherwise force
the user to disable state restoration.
2014-03-12 16:43:51 +01:00
Josh Triplett
cddc35f75e
backlight: Fix copy/paste error printing an unrelated error code
...
udev_device_get_sysattr_value returns NULL on failure, but doesn't
provide an error code; thus, when printing an error from it, don't print
an unrelated error code from a previous call.
2014-03-12 16:41:45 +01:00
Lennart Poettering
13b28d8224
NEWS: 211 was actually released past midnight, so let's use the correct date
2014-03-12 16:39:31 +01:00
Lennart Poettering
769918ecd3
update TODO
2014-03-12 16:39:31 +01:00
Kay Sievers
f937d3d662
test-dhcp-client: remove pointless initializer, wrongly committed earlier
2014-03-12 01:26:34 +01:00
Mike Gilbert
0ce91e4e3b
build-sys: Fix move-to-rootlibdir
...
Since we now use ln -s --relative, using this sed statement is redundant
and causes broken symlinks to be installed.
2014-03-11 23:58:00 +01:00
Kay Sievers
b5d3e16881
logind: move lid switch handling from logind-main to logind-core
...
../src/login/logind-dbus.c:1352: error: undefined reference to 'manager_set_lid_switch_ignore'
collect2: error: ld returned 1 exit status
make[2]: *** [test-login-tables]
2014-03-11 22:43:11 +01:00
Kay Sievers
4ef0809c22
build-sys: add libsystemd-label to network/dhcp users
2014-03-11 22:11:39 +01:00
Lennart Poettering
223763f580
build-sys: we still want to rebuild the tarball though on upload
2014-03-11 20:57:17 +01:00
David Herrmann
22e7062d74
NEWS: fix typo
...
sittings -> settings
2014-03-11 20:47:40 +01:00
Lennart Poettering
9f19a44770
build-sys: when I upload the tarball, don't run the whole distcheck thing again
...
I run this anyway, and given how slow it is now due to -flto, let's make
my workflow a bit faster...
2014-03-11 20:45:47 +01:00
Kay Sievers
4ef6e535e3
NEWS: update
2014-03-11 20:41:12 +01:00
Lennart Poettering
6bf6f402b6
build-sys: prepare release 211
2014-03-11 20:25:00 +01:00
Lennart Poettering
1810e3dc62
man: improve nspawn's --user= documentation
2014-03-11 20:20:54 +01:00
Lennart Poettering
699b6b3491
NEWS: prepare for release 211
2014-03-11 20:18:06 +01:00
Lennart Poettering
f8791e820b
update TODO
2014-03-11 19:10:53 +01:00
Lennart Poettering
a6278b8830
bus: replace sd_bus_label_{escape,unescape}() by new sd_bus_path_{encode,decode}()
...
The new calls work similarly, but enforce a that a common, fixed bus
path prefix is used.
This follows discussions with Simon McVittie on IRC that it should be a
good idea to make sure that people don't use the escaping applied here
too wildly as anything other than the last label of a bus path.
2014-03-11 19:03:50 +01:00
Lennart Poettering
2be56ff1e4
update TODO
2014-03-11 18:02:27 +01:00
Lennart Poettering
689aede8c6
fstab-generator: when running in a container, ignore fstab entries referring to device nodes
...
Since these device nodes will never appear in the container anyway
there's no point in waiting for them.
This makes it easier to boot images generated with general purpose
installers like Anaconda which unconditionally populate /etc/fstab to
boot in containers.
2014-03-11 18:02:27 +01:00
Zbigniew Jędrzejewski-Szmek
7a249d0c1b
build-sys: sign releases
2014-03-11 12:55:17 -04:00
Djalal Harouni
3448456bb2
hostnamectl: read OS pretty_name and cpe_name from remote
2014-03-11 17:48:45 +01:00
Djalal Harouni
44c3298855
hostnamed: expose OperatingSystemPrettyName and OperatingSystemCPEName on the bus
2014-03-11 17:48:43 +01:00
Djalal Harouni
f200e8bb34
hostnamed: minor improvements in context_write_data_other()
...
Prepare context_write_data_other() and rename it to
context_write_data_machine_info()
2014-03-11 17:48:41 +01:00
Mantas Mikulėnas
94036de887
logind: Do not fail display count if a device has no parent
...
udev_device_get_parent() may return NULL when the device doesn't have a
parent, as is the case with (for example) /sys/devices/virtual/drm/ttm.
Also, log an actual error message instead of "-12 displays connected".
2014-03-11 17:45:24 +01:00
Mantas Mikulėnas
4de8292689
nspawn: fix argv[0] for getent
2014-03-11 17:45:20 +01:00
Lennart Poettering
a07f961e98
nspawn: allow using kdbus from nspawn containers
2014-03-11 17:43:41 +01:00
Lennart Poettering
e41969e3d1
core: support globbing matches in DeviceAllow= when checking for device groups
2014-03-11 17:43:41 +01:00
Lennart Poettering
98b2f766b2
gpt-auto-generator: rename root device node symlink to /dev/gpt-auto-root
...
Before it was placed in /dev/disk/by-id, which makes it a bit too much
API. However, it's mostly an implementation detail for now, hence move
it out of the stable block device dir.
2014-03-11 17:43:41 +01:00
Marcel Holtmann
f401e2b24b
hwdb: Update database of Bluetooth company identifiers
2014-03-11 09:33:41 -07:00
Lukas Nykryn
66390abefa
udev: properly detect reference to unexisting part of PROGRAM's result
2014-03-11 13:18:13 +01:00