Tom Gundersen
46b0925d4f
man: networkd - add documentation
2013-11-10 21:30:18 +01:00
Tom Gundersen
1f06807cc3
man: udev - add documentation for .link files
2013-11-10 21:27:25 +01:00
Zbigniew Jędrzejewski-Szmek
2bba9a57e7
bus: fix build with old glibc
2013-11-09 20:31:12 -05:00
Zbigniew Jędrzejewski-Szmek
0a9776c230
systemctl: make sure daemon-reload returns success
...
Also change sd_bus_message_exit_container to return -ENOENT
when not in a container, to make it easier to distinguish different
errors.
2013-11-09 19:41:00 -05:00
Tom Gundersen
7c99d940c1
network: fix tests
...
One of the tests were assuming the network configuration dirs exist. We
can't do that, so disable it for now.
2013-11-10 01:26:49 +01:00
Zbigniew Jędrzejewski-Szmek
852c1b4d29
systemctl: fix printing of individual properties
2013-11-09 19:02:53 -05:00
Zbigniew Jędrzejewski-Szmek
39da205fbb
build-sys: simplify defined/undefined definition
2013-11-09 19:02:53 -05:00
Zbigniew Jędrzejewski-Szmek
a94042fa9b
systemd: fix memory leak in cgroup code
...
If the unit already was in the hashmap, path would be leaked.
2013-11-09 19:02:53 -05:00
Zbigniew Jędrzejewski-Szmek
9cb74bcb23
man,units: fix installation of systemd-nspawn@.service and add example
2013-11-09 19:02:53 -05:00
William Giokas
c0fd7cbd7a
zsh-completion: Move machine listing to autoload
...
Instead of having two different listings of machines, use an autoloaded
function that can be used by other shell completions in the future. It
will also allow editing a single file to change the way machinectl and
systemd-run completion for machines.
2013-11-09 19:02:53 -05:00
William Giokas
a02c5fe7cb
zsh-completion: Move output modes to autoload
2013-11-09 19:02:53 -05:00
Tom Gundersen
f579559b3a
networkd: add a basic network daemon
...
This daemon listens for and configures network devices tagged with
'systemd-networkd'. By default, no devices are tagged so this daemon
can safely run in parallel with existing network daemons/scripts.
Networks are configured in /etc/systemd/network/*.network. The first .network
file that matches a given link is applied. The matching logic is similar to
the one for .link files, but additionally supports matching on interface name.
The mid-term aim is to provide an alternative to ad-hoc scripts currently used
in initrd's and for wired setups that don't change much (e.g., as seen on
servers/and some embedded systems).
Currently, static addresses and a gateway can be configured.
Example .network file:
[Match]
Name=wlp2s0
[Network]
Description=My Network
Gateway=192.168.1.1
Address=192.168.1.23/24
Address=fe80::9aee:94ff:fe3f:c618/64
2013-11-09 23:41:17 +01:00
Tom Gundersen
f52841825a
net-util: add inet address/family parsing
2013-11-09 23:41:17 +01:00
Thomas Hindoe Paaboel Andersen
b226deba78
bootctl: remove unused options from getopt_long
2013-11-09 14:11:56 +01:00
Kay Sievers
dbb642afae
bus: let magic ":no-sender" pass the validation
2013-11-09 00:58:11 +01:00
Lennart Poettering
8159d91a9c
bus: port remaining code over to use bus_error_message()
2013-11-08 19:49:49 +01:00
Lennart Poettering
94676f3e93
localectl: port over to bus_log_create_error()
2013-11-08 19:48:42 +01:00
Lennart Poettering
477def8097
shutdown: unify handling of reboot() syscall a bit
2013-11-08 19:32:45 +01:00
Lennart Poettering
6d6d40c910
systemctl: properly initialize column widths for list-jobs
2013-11-08 18:57:43 +01:00
Kay Sievers
0d95178e49
systemctl: rename 'listen'
...
src/systemctl/systemctl.c: In function ‘get_listening’:
src/systemctl/systemctl.c:535:25: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow]
src/systemctl/systemctl.c: In function ‘list_sockets’:
src/systemctl/systemctl.c:690:44: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow]
2013-11-08 18:52:09 +01:00
Lennart Poettering
7a4a210539
bus: allow queuing more local msgs
...
When issuing a synchronous "systemctl daemon-reload" requests this will
send out a tonload of UnitRemoved+UnitNew signals, that we will queue
locally. When we wait for the message reply, we should be able to queue
those, hence bump the limits on locally queuing messages.
2013-11-08 18:23:47 +01:00
Lennart Poettering
9588bc3209
Remove dead code and unexport some calls
...
"make check-api-unused" informs us about code that is not used anymore
or that is exported but only used internally. Fix these all over the
place.
2013-11-08 18:12:45 +01:00
Lennart Poettering
f842cd74ea
build-sys: fix rule for generating undefined list
2013-11-08 18:12:45 +01:00
Kay Sievers
4aa2beacb1
systemctl: fix "reboot" call
2013-11-08 17:49:59 +01:00
Lennart Poettering
41dd15e474
systemctl: restore ability to directly connect to PID1 from systemctl
2013-11-08 17:07:42 +01:00
Lukas Nykryn
3f41e1e595
manager: configurable StartLimit default values
...
https://bugzilla.redhat.com/show_bug.cgi?id=821723
2013-11-08 17:00:01 +01:00
Lennart Poettering
1290d0fc5f
man: update systemctl man page to mentioned --machine=
2013-11-08 16:53:29 +01:00
Lennart Poettering
9070a9c103
build-sys: add make check-api-unused
2013-11-08 16:53:29 +01:00
Lennart Poettering
862e8bf8c6
build-sys: install busctl
2013-11-08 16:53:28 +01:00
Dave Reisner
489124365d
link-config: Fix typo in log_warning
2013-11-08 09:38:50 -05:00
Dave Reisner
da66338e17
link-config: match length for kernel commandline option
...
This prevents enable_name_policy() from invariably returning false when
it matches a zero length string at the end of /proc/cmdline.
2013-11-08 09:25:19 -05:00
Kay Sievers
a9616cd17f
systemctl: initialize variables
2013-11-08 15:21:50 +01:00
Lennart Poettering
7af5a806d1
systemctl: allow listing cgroups of containers
2013-11-08 14:07:27 +01:00
Lennart Poettering
9d458c0902
clients: fix some signal handler issues
2013-11-08 14:07:27 +01:00
Lennart Poettering
cbc9fbd131
systemctl: various cleanups
2013-11-08 14:07:27 +01:00
Lennart Poettering
97137ecce6
install: don't override caller's parameter
2013-11-08 14:07:27 +01:00
Lennart Poettering
8fe12d88a8
clients: add missing command line arguments
2013-11-08 14:07:27 +01:00
Lennart Poettering
baabc09191
journal: fix minor memory leak
2013-11-08 14:07:27 +01:00
Lennart Poettering
6fd4d02098
update TODO
2013-11-08 14:07:27 +01:00
Marc-Antoine Perennou
f459b6025f
systemctl: port to libsystemd-bus
2013-11-08 14:07:27 +01:00
Lennart Poettering
a6c616024d
machinectl: close bus to container early
2013-11-08 14:07:26 +01:00
Tom Gundersen
8e337e6438
rtnl: message - initialize all memory
...
Including the padding, which should not really be needed, but let's keep valgrind happy.
2013-11-08 12:16:08 +01:00
Tom Gundersen
8e1519bddb
test-rtnl: fix typo
2013-11-08 12:15:07 +01:00
Michal Sekletar
c6581cc14f
systemctl: return r instead of always returning 0
2013-11-08 00:20:09 +01:00
Michal Sekletar
0a2c229426
net-util: call ioctl() only if necessary
...
In case when update of current values is not necessary we still might end up
calling ioctl(), because need_update variable is not explicitly initialized.
2013-11-07 22:25:42 +01:00
Lennart Poettering
47c649b5de
bus: use new property retrieval calls everywhere
2013-11-07 22:17:19 +01:00
Lennart Poettering
40be0704eb
inhibit: more conversions to use bus_log_parse_error()
2013-11-07 22:08:41 +01:00
Lennart Poettering
988b9df29f
analyze: make use of new sd_bus_get_property_strv() call
2013-11-07 22:06:29 +01:00
Lennart Poettering
6cc532fdcc
update TODO
2013-11-07 21:41:06 +01:00
Lennart Poettering
a86a47ce1f
clients: try to follow roughly the same order in --help texts for common options
2013-11-07 21:31:13 +01:00