]> git.proxmox.com Git - systemd.git/log
systemd.git
11 years agoshare/log: skip file/line/func info if empty
Zbigniew Jędrzejewski-Szmek [Mon, 26 Nov 2012 15:39:46 +0000 (16:39 +0100)]
share/log: skip file/line/func info if empty

The new microhttpd logger doesn't know this information. It is
better to log nothing than fake values.

11 years agoshare/log: unify two code paths
Zbigniew Jędrzejewski-Szmek [Mon, 26 Nov 2012 15:39:46 +0000 (16:39 +0100)]
share/log: unify two code paths

Explicit zeroing is replaced with initialization to {0}.

No functional change.

11 years agojournal-gatewayd: redirect microhttpd messages to journal
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 22:54:31 +0000 (23:54 +0100)]
journal-gatewayd: redirect microhttpd messages to journal

A prefix ("microhttpd: ") is added to the log lines to make it easy to
distinguish the source.

11 years agojournal-gatewayd: SSL support
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 22:26:15 +0000 (23:26 +0100)]
journal-gatewayd: SSL support

For now the certificates are passed around as options to the
program. This might not be the most convenient under "production",
but makes for fairly easy testing.

11 years agojournal-gatewayd: unify two code paths
Zbigniew Jędrzejewski-Szmek [Sun, 25 Nov 2012 22:21:22 +0000 (23:21 +0100)]
journal-gatewayd: unify two code paths

In preparation for adding more options, split out the option
handling code.

11 years agobuild-sys: keep noninstallable tests in noinst_tests
Zbigniew Jędrzejewski-Szmek [Fri, 18 Jan 2013 04:49:05 +0000 (23:49 -0500)]
build-sys: keep noninstallable tests in noinst_tests

Repeating all tests in noinst_PROGRAMS and TESTS is pointless.
This way it is also clearer which noinst_PROGRAMs are not
part of the test suite.

11 years agoupdate TODO
Lennart Poettering [Fri, 18 Jan 2013 00:48:46 +0000 (01:48 +0100)]
update TODO

11 years agosystemctl: add new "get-cgroup-attr" to query current cgroup attribute value
Lennart Poettering [Fri, 18 Jan 2013 00:44:41 +0000 (01:44 +0100)]
systemctl: add new "get-cgroup-attr" to query current cgroup attribute value

Also adds a pair of bus calls for this to the daemon.

11 years agosystemctl: it's probably a good idea not to alter return parameters if we fail
Lennart Poettering [Thu, 17 Jan 2013 23:53:06 +0000 (00:53 +0100)]
systemctl: it's probably a good idea not to alter return parameters if we fail

We generally follow the rule not to touch return values unless we
succeed, so for the sake of uniformity do the same here.

11 years agosystemctl: no need to check this explicitly, we already checked it a few lines up...
Lennart Poettering [Thu, 17 Jan 2013 23:52:45 +0000 (00:52 +0100)]
systemctl: no need to check this explicitly, we already checked it a few lines up anyway, so let's just assert

11 years agosystemctl: we can make this faster and shorten it a bit with strv_extend()
Lennart Poettering [Thu, 17 Jan 2013 23:51:46 +0000 (00:51 +0100)]
systemctl: we can make this faster and shorten it a bit with strv_extend()

Now that strv_extend() is not so slow anymore, we can make use of it, to
shorten our code a bit.

11 years agostrv: make strv_extend() smarter
Lennart Poettering [Thu, 17 Jan 2013 23:47:19 +0000 (00:47 +0100)]
strv: make strv_extend() smarter

11 years agosystemctl: make list-dependencies default to default.target
Lennart Poettering [Thu, 17 Jan 2013 23:36:12 +0000 (00:36 +0100)]
systemctl: make list-dependencies default to default.target

11 years agosystemctl: we can use nulstr_contains() for this lookup
Lennart Poettering [Thu, 17 Jan 2013 23:29:47 +0000 (00:29 +0100)]
systemctl: we can use nulstr_contains() for this lookup

It's a bit easier to read...

11 years agohwdb: update
Kay Sievers [Thu, 17 Jan 2013 23:15:25 +0000 (00:15 +0100)]
hwdb: update

11 years agosystemctl add command list-dependencies
Lukas Nykryn [Thu, 17 Jan 2013 20:34:11 +0000 (21:34 +0100)]
systemctl add command list-dependencies

systemctl list-dependencies lists all unit's dependecies and
recursively expands all subsidiary target units into a tree.

Primary purpose for this command is to show all units which are
enabled in specified target.

11 years agoutil: fix bad memory access
Lennart Poettering [Thu, 17 Jan 2013 16:38:00 +0000 (17:38 +0100)]
util: fix bad memory access

11 years agoTODO: remove vconsole items
Kay Sievers [Thu, 17 Jan 2013 16:00:50 +0000 (17:00 +0100)]
TODO: remove vconsole items

We should not pimp up the kernel's VC stuff, it's too linited and
fragile.

At the moment not even the font uploaded early during bootup does
survive the KMS driver taking over the framebuffer driver. We
surely don't want to make promises about colors or resolution.

The future is fullscreen KMS/kmscon/wayland/... based terminals using
X fonts, keymaps, input methods, and not the old school too limited
kernel VC stuff. So leave the kernel VCs as they are, and don't expect
wonders.

11 years agocore: corrects check of strduped controller string
Nestor Ovroy [Thu, 17 Jan 2013 13:55:30 +0000 (05:55 -0800)]
core: corrects check of strduped controller string

In commit 246aa6d (core: add bus API and systemctl commands for altering
cgroup parameters during runtime), when rewriting unit_add_one_default_cgroup
to prefered style, the check of strduped b->controller was incorrectly
changed to check the containing structure. Correct it.

11 years agoservice: properly signal permanent failure of a service to its socket
Lennart Poettering [Thu, 17 Jan 2013 03:52:19 +0000 (04:52 +0100)]
service: properly signal permanent failure of a service to its socket

This makes sure that a service is not indefinitely restarted in a tight
loop if it fails before it is able to process its socket.

This corrects the breakage introduced with
8d1b002a2e389e79a2414491523de549783abf73. Shame on me.

11 years agoTODO: update udev
Kay Sievers [Thu, 17 Jan 2013 02:30:55 +0000 (03:30 +0100)]
TODO: update udev

11 years agoudev: net_id - suppress bcma core == 0
Kay Sievers [Thu, 17 Jan 2013 02:30:07 +0000 (03:30 +0100)]
udev: net_id - suppress bcma core == 0

11 years agoupdate TODO
Lennart Poettering [Thu, 17 Jan 2013 01:49:57 +0000 (02:49 +0100)]
update TODO

11 years agounits: for all unit settings that take lists, allow the empty string for resetting...
Lennart Poettering [Thu, 17 Jan 2013 01:27:06 +0000 (02:27 +0100)]
units: for all unit settings that take lists, allow the empty string for resetting the lists

https://bugzilla.redhat.com/show_bug.cgi?id=756787

11 years agodbus: add Unit's PartOf and ConsistsOf deps to introspection XML
Lennart Poettering [Thu, 17 Jan 2013 01:24:49 +0000 (02:24 +0100)]
dbus: add Unit's PartOf and ConsistsOf deps to introspection XML

11 years agoudev: net_id - handle "bcma" buses
Kay Sievers [Thu, 17 Jan 2013 01:09:49 +0000 (02:09 +0100)]
udev: net_id - handle "bcma" buses

11 years agoupdate TODO
Lennart Poettering [Wed, 16 Jan 2013 23:11:27 +0000 (00:11 +0100)]
update TODO

11 years agoudev: path_id - clarify comment about the kernel ATA naming problem
Kay Sievers [Wed, 16 Jan 2013 23:00:02 +0000 (00:00 +0100)]
udev: path_id - clarify comment about the kernel ATA naming problem

11 years agoservice: ignore dependencies on $syslog and $local_fs in LSB scripts
Lennart Poettering [Wed, 16 Jan 2013 20:09:03 +0000 (21:09 +0100)]
service: ignore dependencies on $syslog and $local_fs in LSB scripts

We no longer allow early-boot init scripts, however in late boot the
syslog socket and local mounts are established anyway, so let's simplify
our dep graph a bit.

If $syslog doesn't resolve to syslog.target anymore there's no reason to
keep syslog.target around anymore. Let's remove it.

Note that many 3rd party service unit files order themselves after
syslog.target. These will be dangling dependencies now, which should be
unproblematic, however.

11 years agoman: typo fixes
Thomas Hindoe Paaboel Andersen [Wed, 16 Jan 2013 20:01:30 +0000 (21:01 +0100)]
man: typo fixes

11 years agosystemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified
Lukas Nykryn [Mon, 14 Jan 2013 17:16:50 +0000 (18:16 +0100)]
systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified

New file output.h with output flags and modes.

--full parameter also for cgls and loginctl.

Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup,
show_cgroup_and_extra, show_cgroup_and_extra_by_spec).

get_process_cmdline with max_length == 0 will not ellipsize output.

Replace LINE_MAX with 0 in some calls of get_process_cmdline.

[zj: Default to --full when under pager for clgs.
     Drop '-f' since it wasn't documented and didn't actually work.
     Reindent a bit.
]

11 years agologs-show: automatic cleanup
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 20:02:00 +0000 (15:02 -0500)]
logs-show: automatic cleanup

11 years agoman: document logind's IdleAction= and IdleActionSec=
Lennart Poettering [Wed, 16 Jan 2013 16:57:08 +0000 (17:57 +0100)]
man: document logind's IdleAction= and IdleActionSec=

11 years agoTODO: Fedora 19 - /var/log/journal/
Kay Sievers [Wed, 16 Jan 2013 04:02:53 +0000 (05:02 +0100)]
TODO: Fedora 19 - /var/log/journal/

11 years agoTODO: add autofs expire details
Kay Sievers [Wed, 16 Jan 2013 04:01:04 +0000 (05:01 +0100)]
TODO: add autofs expire details

11 years agoshutdown: ignore loop devices without a backing file
Kay Sievers [Wed, 16 Jan 2013 03:35:54 +0000 (04:35 +0100)]
shutdown: ignore loop devices without a backing file

11 years agoTODO: update
Kay Sievers [Wed, 16 Jan 2013 03:22:46 +0000 (04:22 +0100)]
TODO: update

11 years agodoc: disable "make check" for gtk-doc
Kay Sievers [Wed, 16 Jan 2013 03:20:14 +0000 (04:20 +0100)]
doc: disable "make check" for gtk-doc

11 years agoservice: sysv - remove distribution specific targets
Kay Sievers [Wed, 16 Jan 2013 02:46:38 +0000 (03:46 +0100)]
service: sysv - remove distribution specific targets

Systemd should not introduce any new facilities. Distributions which still
need to support their non-standard/legacy facilities should add them as
patches to their packaging.

The following facilities are no longer recognized:
  $x-display-manager
  $mail-transfer-agent
  $mail-transport-agent
  $mail-transfer-agent
  $smtp
  $null

This target is no longer available:
  mail-transfer-agent.target

11 years agoshutdown: in the final umount loop don't use MNT_FORCE
Lennart Poettering [Wed, 16 Jan 2013 02:51:56 +0000 (03:51 +0100)]
shutdown: in the final umount loop don't use MNT_FORCE

MNT_FORCE is honoured by NFS and FUSE and allows unmounting of the FS
even if consumers still use it. For our brute-force loop we rely on
EBUSY being reported as long as a file system is still used by a
loopback device or suchlike. Hence, drop MNT_FORCE to make EBUSY
reliable.

11 years agosystemctl: fix assertion hit by incorrect comparison
Dave Reisner [Tue, 15 Jan 2013 23:49:31 +0000 (18:49 -0500)]
systemctl: fix assertion hit by incorrect comparison

11 years agoload-fragment: fix bad memory access
Lennart Poettering [Tue, 15 Jan 2013 20:45:37 +0000 (21:45 +0100)]
load-fragment: fix bad memory access

11 years agoload-fragment: replace specifiers in path unit's Unit= setting
Lennart Poettering [Tue, 15 Jan 2013 20:37:17 +0000 (21:37 +0100)]
load-fragment: replace specifiers in path unit's Unit= setting

11 years agocore: do not make sockets dependent on lo
Michał Bartoszkiewicz [Sat, 12 Jan 2013 22:05:52 +0000 (23:05 +0100)]
core: do not make sockets dependent on lo

/sys/subsystem/net/devices/lo is never considered active, so sockets
with BindToDevice=lo would never be activated.

11 years agojournalctl: quit on I/O error
David Herrmann [Sun, 13 Jan 2013 11:28:38 +0000 (12:28 +0100)]
journalctl: quit on I/O error

This makes journalctl quit on ferror() conditions on stdout. It fixes an
annoying bug if you pipe its output through 'less' and press 'q'. Without
this fix journalctl will continue reading all journal data until EOF which
can take quite some time. For instance on my machine:

    david-nb ~ # time journalctl | wc -l
    327240

    real    1m13.039s
    user    1m0.217s
    sys     0m10.467s

However, expected behavior is journalctl to quit when its pager closed the
output pipe.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
11 years agoupdate TODO
Lennart Poettering [Tue, 15 Jan 2013 19:50:18 +0000 (20:50 +0100)]
update TODO

11 years agologind: remove unused variable
Michal Sekletar [Fri, 11 Jan 2013 16:06:23 +0000 (17:06 +0100)]
logind: remove unused variable

11 years agocore: use correct argument of type JobResult
Michal Sekletar [Fri, 11 Jan 2013 16:06:22 +0000 (17:06 +0100)]
core: use correct argument of type JobResult

11 years agovconsole: use /dev/vcsa1-15 to check for allocated VTs
Kay Sievers [Tue, 15 Jan 2013 19:32:57 +0000 (20:32 +0100)]
vconsole: use /dev/vcsa1-15 to check for allocated VTs

11 years agoman: add reference to wiki doc from DefaultControllers= setting
Lennart Poettering [Tue, 15 Jan 2013 17:17:53 +0000 (18:17 +0100)]
man: add reference to wiki doc from DefaultControllers= setting

11 years agounits: add reference to new wiki page to all api mount units
Lennart Poettering [Tue, 15 Jan 2013 17:13:34 +0000 (18:13 +0100)]
units: add reference to new wiki page to all api mount units

11 years agoupdate TODO
Lennart Poettering [Tue, 15 Jan 2013 17:13:15 +0000 (18:13 +0100)]
update TODO

11 years agoman: correct order of precedence for fstab units
Lennart Poettering [Tue, 15 Jan 2013 17:10:11 +0000 (18:10 +0100)]
man: correct order of precedence for fstab units

11 years agomake-man-index: work around UnicodeDecodeError
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 15:34:59 +0000 (10:34 -0500)]
make-man-index: work around UnicodeDecodeError

11 years agoman: generate xml not html for index
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 03:17:49 +0000 (22:17 -0500)]
man: generate xml not html for index

This way we also get a man page. The output is not as polished.
I hope that it doesn't matter too much.

index.html is not generated now, the page is called
systemd.index.html. If necessary, an install hook should be added.

11 years agoman: add links to directive index to see-alsos
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 03:08:33 +0000 (22:08 -0500)]
man: add links to directive index to see-alsos

systemd.directives(5) is renamed to systemd.directives(7).
Section 7 is "Miscellaneous".

11 years agomake-directive-index: link to systemd options
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 02:58:22 +0000 (21:58 -0500)]
make-directive-index: link to systemd options

11 years agomake-directive-index: count how many directives and pages are shown
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 02:34:19 +0000 (21:34 -0500)]
make-directive-index: count how many directives and pages are shown

11 years agomake-directive-index: remove duplicated list of sections
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 02:02:49 +0000 (21:02 -0500)]
make-directive-index: remove duplicated list of sections

11 years agoman: add bootchart.conf to directives index
Zbigniew Jędrzejewski-Szmek [Tue, 15 Jan 2013 01:18:36 +0000 (20:18 -0500)]
man: add bootchart.conf to directives index

11 years agolocalectl: fix typo in man page
Lennart Poettering [Tue, 15 Jan 2013 15:27:11 +0000 (16:27 +0100)]
localectl: fix typo in man page

https://bugs.freedesktop.org/show_bug.cgi?id=59247

11 years agovconsole: copy font to tty1-15
Kay Sievers [Tue, 15 Jan 2013 14:57:12 +0000 (15:57 +0100)]
vconsole: copy font to tty1-15

11 years agoTypo fix
Oleksii Shevchuk [Tue, 15 Jan 2013 10:58:42 +0000 (12:58 +0200)]
Typo fix

11 years agoman: link in API FS documentation from the wiki
Lennart Poettering [Tue, 15 Jan 2013 04:10:50 +0000 (05:10 +0100)]
man: link in API FS documentation from the wiki

11 years agoman: link in wiki documentation about network.target
Lennart Poettering [Tue, 15 Jan 2013 03:12:53 +0000 (04:12 +0100)]
man: link in wiki documentation about network.target

11 years agoUpdate TODO
Lennart Poettering [Tue, 15 Jan 2013 01:35:42 +0000 (02:35 +0100)]
Update TODO

11 years agosystemctl: when inhibiting shutdown/suspend also check for other login sessions
Lennart Poettering [Tue, 15 Jan 2013 02:00:43 +0000 (03:00 +0100)]
systemctl: when inhibiting shutdown/suspend also check for other login sessions

11 years agologin: introduce sd_session_get_tty()
Lennart Poettering [Tue, 15 Jan 2013 02:00:33 +0000 (03:00 +0100)]
login: introduce sd_session_get_tty()

11 years agovconsole: upload font to /dev/tty1 and copy it to all allocated VTs
Kay Sievers [Tue, 15 Jan 2013 01:25:56 +0000 (02:25 +0100)]
vconsole: upload font to /dev/tty1 and copy it to all allocated VTs

11 years agol10n: Updated Polish translation
Piotr Drąg [Sat, 12 Jan 2013 18:34:42 +0000 (19:34 +0100)]
l10n: Updated Polish translation

11 years agoupdate TODO
Lennart Poettering [Mon, 14 Jan 2013 22:30:20 +0000 (23:30 +0100)]
update TODO

11 years agologind: ignore non-tty/non-x11 session when checking if there are other sessions...
Lennart Poettering [Mon, 14 Jan 2013 20:40:38 +0000 (21:40 +0100)]
logind: ignore non-tty/non-x11 session when checking if there are other sessions before shutting down

https://bugzilla.redhat.com/show_bug.cgi?id=890827

11 years agosystemctl: drop compat with really really old systemd versions
Lennart Poettering [Mon, 14 Jan 2013 01:13:26 +0000 (02:13 +0100)]
systemctl: drop compat with really really old systemd versions

11 years agoupdate TODO
Lennart Poettering [Mon, 14 Jan 2013 01:13:07 +0000 (02:13 +0100)]
update TODO

11 years agosystemctl: be smarter when mangling snapshot names
Lennart Poettering [Mon, 14 Jan 2013 01:11:57 +0000 (02:11 +0100)]
systemctl: be smarter when mangling snapshot names

For "systemctl snapshot" it makes no sense to complete an incomplete
name with ".service" as we previously did, use ".snapshot" instead.
Also, don't bother with mount units or suchlike, we know that this must
be a snapshot and hence is the only sane way for completion.

11 years agosystemctl: numerous modernizations
Lennart Poettering [Mon, 14 Jan 2013 01:11:22 +0000 (02:11 +0100)]
systemctl: numerous modernizations

11 years agobootchart: no need for memset here
Lennart Poettering [Mon, 14 Jan 2013 01:08:02 +0000 (02:08 +0100)]
bootchart: no need for memset here

11 years agocore: add bus API and systemctl commands for altering cgroup parameters during runtime
Lennart Poettering [Sat, 12 Jan 2013 03:24:12 +0000 (04:24 +0100)]
core: add bus API and systemctl commands for altering cgroup parameters during runtime

11 years agosystemctl: honour inhibitors only when running unprivileged
Lennart Poettering [Fri, 11 Jan 2013 23:09:22 +0000 (00:09 +0100)]
systemctl: honour inhibitors only when running unprivileged

11 years agosystemctl: don't hit an assert if we try to reboot and dbus is dead
Lennart Poettering [Fri, 11 Jan 2013 23:00:22 +0000 (00:00 +0100)]
systemctl: don't hit an assert if we try to reboot and dbus is dead

https://bugzilla.redhat.com/show_bug.cgi?id=889624

11 years agosystemctl: rework is-active and is-failed code
Lennart Poettering [Fri, 11 Jan 2013 22:59:41 +0000 (23:59 +0100)]
systemctl: rework is-active and is-failed code

11 years agocore: fix double free
Lennart Poettering [Fri, 11 Jan 2013 22:39:23 +0000 (23:39 +0100)]
core: fix double free

11 years agoservice: for Type=forking services, ignore exit status of main process depending...
Lennart Poettering [Mon, 14 Jan 2013 20:05:17 +0000 (21:05 +0100)]
service: for Type=forking services, ignore exit status of main process depending on ExecStart's ignore setting

https://bugzilla.redhat.com/show_bug.cgi?id=860464

11 years agocore: document that JoinControllers= might be ineffective in initrd uses
Lennart Poettering [Mon, 14 Jan 2013 19:37:12 +0000 (20:37 +0100)]
core: document that JoinControllers= might be ineffective in initrd uses

https://bugzilla.redhat.com/show_bug.cgi?id=875531

11 years agoupdate TODO
Lennart Poettering [Mon, 14 Jan 2013 19:34:56 +0000 (20:34 +0100)]
update TODO

11 years agolocale: make sense of "dvorak-alt-intel" X variant in mapping database
Lennart Poettering [Mon, 14 Jan 2013 17:23:18 +0000 (18:23 +0100)]
locale: make sense of "dvorak-alt-intel" X variant in mapping database

https://bugzilla.redhat.com/show_bug.cgi?id=873634

11 years agoman: localectl - s/set-keyboard/set-keymap/
Kay Sievers [Sun, 13 Jan 2013 10:19:37 +0000 (11:19 +0100)]
man: localectl - s/set-keyboard/set-keymap/

11 years agoservice: remove distribution specific comments, the code runs unconditional now
Kay Sievers [Sat, 12 Jan 2013 22:50:56 +0000 (23:50 +0100)]
service: remove distribution specific comments, the code runs unconditional now

11 years agoservice: remove distribution specific comments, the code run unconditional now
Kay Sievers [Sat, 12 Jan 2013 22:31:46 +0000 (23:31 +0100)]
service: remove distribution specific comments, the code run unconditional now

11 years agonspawn: add --version
Zbigniew Jędrzejewski-Szmek [Fri, 11 Jan 2013 21:03:49 +0000 (16:03 -0500)]
nspawn: add --version

11 years agobuild-sys: use _FORTIFY_SOURCE only if optimizing
Zbigniew Jędrzejewski-Szmek [Fri, 11 Jan 2013 15:03:04 +0000 (10:03 -0500)]
build-sys: use _FORTIFY_SOURCE only if optimizing

Rather then force the user to undefine _FORTIFY_SOURCE,
don't define it in the first place if it cannot be used.

I'm assuming that -O* can only be sensibly specified in $CFLAGS.

11 years agosystemctl: honour inhibitors when shutting down or entering sleep state
Lennart Poettering [Fri, 11 Jan 2013 03:24:05 +0000 (04:24 +0100)]
systemctl: honour inhibitors when shutting down or entering sleep state

11 years agoupdate TODO
Lennart Poettering [Fri, 11 Jan 2013 00:10:17 +0000 (01:10 +0100)]
update TODO

11 years agounit: instead of directly loading drop-in configuration snippets use conf_files_list_...
Lennart Poettering [Fri, 11 Jan 2013 00:04:11 +0000 (01:04 +0100)]
unit: instead of directly loading drop-in configuration snippets use conf_files_list_strv()

This has the benefit of allowing the usual overriding/masking knowledge
everybody loves so much.

11 years agounit: allow extension of unit files with .d/*.conf drop-ins
Lennart Poettering [Thu, 10 Jan 2013 23:21:06 +0000 (00:21 +0100)]
unit: allow extension of unit files with .d/*.conf drop-ins

For all unit files foobar.service we will now read
foobar.service.d/*.conf, too. This may be used to override certain unit
settings without having to edit unit files directly.

This makes it really easy to change specific settings for services
without having to edit any unit file:

mkdir /etc/systemd/system/avahi-daemon.service.d/
echo -e '[Service]\nNice=99' > /etc/systemd/system/avahi-daemon.service.d/nice.conf
systemctl daemon-reload

11 years agodbus: duplicate Job.Cancel() as CancelJob() and Snapshot.Remove() as RemoveSnapshot...
Lennart Poettering [Thu, 10 Jan 2013 21:45:45 +0000 (22:45 +0100)]
dbus: duplicate Job.Cancel() as CancelJob() and Snapshot.Remove() as RemoveSnapshot() on the Manager interface

For all other object mehtods there are already counterparts on the
manager object, as they help us reduce round-trips. So let's complete
this, and reduce complexity on the client side a bit.

As a side effect this also makes "systemctl snapshot" without arguments
work again.

11 years agobuild-sys: do not install to / in 'make distcheck'
Zbigniew Jędrzejewski-Szmek [Thu, 10 Jan 2013 20:43:20 +0000 (15:43 -0500)]
build-sys: do not install to / in 'make distcheck'

11 years agobuild-sys: fix 'make distcheck' w/o sysvinit compat
Zbigniew Jędrzejewski-Szmek [Thu, 10 Jan 2013 20:42:31 +0000 (15:42 -0500)]
build-sys: fix 'make distcheck' w/o sysvinit compat

EXTRA_DIST must unconditionally contain all source files.

11 years agobootchart: fix a -Wshadow warning for "now"
Auke Kok [Thu, 10 Jan 2013 19:34:59 +0000 (11:34 -0800)]
bootchart: fix a -Wshadow warning for "now"

11 years agobootchart: Convert malloc/memset to calloc
Auke Kok [Thu, 10 Jan 2013 19:35:00 +0000 (11:35 -0800)]
bootchart: Convert malloc/memset to calloc