1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00
Commit Graph

12697 Commits

Author SHA1 Message Date
Lennart Poettering
88212f7bd1 nspawn: only pass in slice setting if it is set 2013-10-30 18:40:21 +01:00
Lennart Poettering
8201ad81a0 util: when we use path_strv_canonicalize() we must allocate the strv from the heap 2013-10-30 18:15:38 +01:00
Lennart Poettering
d21ed1ead1 run: add support for executing commands remotely via SSH or in a container
Also, unify the transport logic a bit, since we reuse the same scheme in
many of our client tools.
2013-10-30 16:44:55 +01:00
Lennart Poettering
5220a6f3a1 general: various cleanups 2013-10-30 16:13:43 +01:00
Dave Reisner
36f9f99556 timedated: support --enable-split-usr 2013-10-30 11:06:43 -04:00
Dave Reisner
c50e28a38c link-config: support --enable-split-usr 2013-10-30 11:00:46 -04:00
Kay Sievers
75716dd8ea udev: rules - move parsing error to log_error() 2013-10-30 15:49:46 +01:00
Tom Gundersen
98a375f6d5 udev: config-link - one less log_info 2013-10-30 15:47:29 +01:00
Lennart Poettering
53755121e1 machinectl: we don't really just show information, we execute operations 2013-10-30 15:42:06 +01:00
Lennart Poettering
a7893c6b28 bus: add API call to create bus connection to the system bus of local containers
Also, add support for this to machinectl, so that we can enumerate the
machines that run inside a container. We must go deeper!
2013-10-30 15:37:02 +01:00
Lennart Poettering
0f8bd8debb bus: move ssh support into public API of libsystem-bus 2013-10-30 15:35:49 +01:00
Tom Gundersen
2004d23a0f libudev: default log_priority to INFO
This brings it in sync with the default config file.
2013-10-30 15:36:04 +01:00
Tom Gundersen
f61942250a udev: link-config - less verbose logging
Also reinstate print to kmsg when renaming netif.
2013-10-30 15:36:04 +01:00
Tom Gundersen
3e137a1b9a udev: link-config - let udevd set the ifname 2013-10-30 15:36:04 +01:00
Marc-Antoine Perennou
415e7f65db machinectl: privileged option is gone 2013-10-30 15:35:59 +01:00
Kay Sievers
1cb8df46cb udev: ata_id: log faling ioctls as "debug" 2013-10-30 14:50:04 +01:00
Tom Gundersen
a1da85830b machinectl: port to sd-bus 2013-10-30 03:40:23 +01:00
Kay Sievers
77632684f3 build-sys: remove default CFLAGS assignment 2013-10-30 02:39:32 +01:00
Lennart Poettering
38911893c5 bus: fix build 2013-10-30 02:38:52 +01:00
Lennart Poettering
e834047795 git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
Lennart Poettering
c335068380 machined: port over to libsystemd-bus 2013-10-30 02:08:57 +01:00
Lennart Poettering
07459db69f update TODO 2013-10-30 02:08:57 +01:00
Lennart Poettering
ae7bed3f2d bus: make sure we can match well-known names 2013-10-30 02:08:57 +01:00
Lennart Poettering
0fc6e1ed00 autogen: use -O0 for "autogen.sh c" after all
-Og actually breaks gdb still, so let's stick to -O0 for now, but
introduce "autogen.sh g" for those who don't need gdb.
2013-10-30 02:08:57 +01:00
Lennart Poettering
d36679f72e bus: it is OK to have signals with multiple parameters 2013-10-30 02:08:57 +01:00
Lennart Poettering
bd03703884 bus: don't fail if GetAll() is used to get properties of the built-in interfaces 2013-10-30 02:08:57 +01:00
Lennart Poettering
3fc047f43c bus: make bus message dump output a bit smaller 2013-10-30 02:08:57 +01:00
Lennart Poettering
dd8243a3ba bus: don't include the introspected object in list of subobjects 2013-10-30 02:08:57 +01:00
Kay Sievers
0aa5b4d1f7 udev: do not allow to change the DEVPATH of a device 2013-10-30 01:58:26 +01:00
Tom Gundersen
e0221a35c8 udev: link-config - reset ctx on exit 2013-10-29 23:36:18 +01:00
Tom Gundersen
d8921c6d5c rtnl-util: add missing files 2013-10-29 21:52:22 +01:00
Tom Gundersen
16d26d559d udev-event: use rtnl to set ifname 2013-10-29 21:26:22 +01:00
Tom Gundersen
3aeb37bc4f rtnl: move set_link_properties to rtnl-utils 2013-10-29 21:26:22 +01:00
Tom Gundersen
d4bbdb77af rtnl: fix sockaddr confusion 2013-10-29 21:26:22 +01:00
Lennart Poettering
897e7561a0 strv: introduce new STRV_MAKE and STRV_MAKE_EMPTY macros to create string arrays nicely on the fly 2013-10-29 20:09:16 +01:00
Lennart Poettering
80ba3b84dd bus: add extra validity checks 2013-10-29 19:55:37 +01:00
Lennart Poettering
250a918dc4 strv: introduce new strv_from_stdarg_alloca() macro to generate a string array from stdarg function parameters
This allows us to turn lists of strings passed in easily into string
arrays without having to allocate memory.
2013-10-29 19:53:43 +01:00
Lennart Poettering
7b1132f60d rc-local: use access(X_OK) to check if files are executable
... and other modernizations.
2013-10-29 19:34:59 +01:00
Lennart Poettering
88e262b667 timedate: handle more nicely if something or somebody keeps open /dev/rtc and thus blocks out everybody else
chrony is appears to keep the RTC open continuously these days which is
a bad idea, and /dev/rtc is a single-user device, which is a bad idea
too. Together both bad ideas mean that nobody else can access the RTC
anymore. That's something to fix, but in the meantime we should handle
this more gracefully.
2013-10-29 19:34:59 +01:00
Lennart Poettering
29f8d1f21a bus: add a macro to simplify reading of UUIDs 2013-10-29 19:34:59 +01:00
Lennart Poettering
c430fee6ff bus: add new sd_bus_message_verify_type() and sd_bus_message_copy() API calls 2013-10-29 19:34:59 +01:00
Tom Gundersen
276fc0668f rtnl: cleanup socket_read_message 2013-10-29 17:57:21 +01:00
Tom Gundersen
977085794d udev: link-config - split connection to sockets from loading of configs
We want to load the config in _init, but not connect to the sockets before we are forked.
2013-10-29 17:57:21 +01:00
Tom Gundersen
adf412b9ec rtnl: complain if used after fork 2013-10-29 17:56:09 +01:00
Tom Gundersen
98dd77e86e rtnl: introduce default timeout
We set it to 10 secs (as we are only communicating with the kernel,
it seems we should be able to bail out sooner than sd-bus, which
uses 25).

When passing timout 0, the default is used, use this in link-config.
2013-10-29 16:37:30 +01:00
Tom Gundersen
f1ac700248 udev: link-config - use safe_atou instead of strtoul 2013-10-29 16:21:57 +01:00
Tom Gundersen
2a7e74e002 udev: link-config - use zero instead of memset 2013-10-29 16:12:12 +01:00
Tom Gundersen
55428d84f3 udev: link-config - use proper return values
Not sure if -ENOENT is the correct return value for when no persistent network
name is set, but couldn't think of anything better.
2013-10-29 16:12:12 +01:00
Tom Gundersen
a12fa4204d udev: link-config - use new0 instead of calloc 2013-10-29 16:12:12 +01:00
Tom Gundersen
dc7d8997aa rtnl: use malloc0 instead of calloc 2013-10-29 16:12:11 +01:00