chiark / gitweb /
10 years agoudev: docs - it's 'GUdev'
Kay Sievers [Wed, 25 Apr 2012 23:48:24 +0000 (01:48 +0200)]
udev: docs - it's 'GUdev'

10 years agocore: add NOP jobs, job type collapsing
Michal Schmidt [Wed, 25 Apr 2012 09:58:27 +0000 (11:58 +0200)]
core: add NOP jobs, job type collapsing

Two of our current job types are special:

They differ from other job types by being sensitive to the unit active state.
They perform some action when the unit is active and some other action
otherwise. This raises a question: when exactly should the unit state be
checked to make the decision?

Currently the unit state is checked when the job becomes runnable. It's more
sensible to check the state immediately when the job is added by the user.
When the user types "systemctl try-restart foo.service", he really intends
to restart the service if it's running right now. If it isn't running right
now, the restart is pointless.

Consider the example (from Bugzilla[1]):

sleep.service takes some time to start.
hello.service has After=sleep.service.
Both services get started. Two jobs will appear:
 hello.service/start  waiting
 sleep.service/start  running
Then someone runs "systemctl try-restart hello.service".

Currently the try-restart operation will block and wait for
sleep.service/start to complete.

The correct result is to complete the try-restart operation immediately
with success, because hello.service is not running. The two original
jobs must not be disturbed by this.

To fix this we introduce two new concepts:
- a new job type: JOB_NOP
  A JOB_NOP job does not do anything to the unit. It does not pull in any
  dependencies. It is always immediately runnable. When installed to a unit,
  it sits in a special slot (u->nop_job) where it never conflicts with
  the installed job (u->job) of a different type. It never merges with jobs
  of other types, but it can merge into an already installed JOB_NOP job.

- "collapsing" of job types
  When a job of one of the two special types is added, the state of the unit
  is checked immediately and the job type changes:
  Should a job type JOB_RELOAD_OR_START appear later during job merging, it
  collapses immediately afterwards.
  Collapsing actually makes some things simpler, because there are now fewer
  job types that are allowed in the transaction.

[1] Fixes:

10 years agotimedated: introduce which is controlled by timedated...
Lennart Poettering [Wed, 25 Apr 2012 14:49:02 +0000 (16:49 +0200)]
timedated: introduce which is controlled by timedated's NTP setting

We shouldn't hardcode the name of the NTP implementation in the
timedated mechanism, especially since Fedora currently switched from NTP
to chrony.

This patch introduces a new target that is enabled/disabled instead of
the actual NTP implementation. The various NTP implementations should
then add .wants/ symlinks to their services and BindTo back to the
target, so that their implementations are started/stopped jointly with
the target.

10 years agonspawn: add --read-only switch
Lennart Poettering [Wed, 25 Apr 2012 13:11:20 +0000 (15:11 +0200)]
nspawn: add --read-only switch

10 years agonspawn: bind mount /etc/resolv.conf from the host by default
Lennart Poettering [Wed, 25 Apr 2012 13:08:00 +0000 (15:08 +0200)]
nspawn: bind mount /etc/resolv.conf from the host by default

10 years agoshutdown: don't complain if we cannot lock memory, to make container shutdowns clean
Lennart Poettering [Tue, 24 Apr 2012 14:56:06 +0000 (16:56 +0200)]
shutdown: don't complain if we cannot lock memory, to make container shutdowns clean

10 years agoremount: consolidate remount-api-vfs and remount-rootfs into one
Lennart Poettering [Tue, 24 Apr 2012 14:42:42 +0000 (16:42 +0200)]
remount: consolidate remount-api-vfs and remount-rootfs into one

This has the advantage of removing a confusing warning by mount if the
root directory is not listed in fstab.

10 years agoupdate TODO
Lennart Poettering [Tue, 24 Apr 2012 12:59:49 +0000 (14:59 +0200)]
update TODO

10 years agoservice: introduce Type=idle and use it for gettys
Lennart Poettering [Tue, 24 Apr 2012 12:28:00 +0000 (14:28 +0200)]
service: introduce Type=idle and use it for gettys

Type=idle is much like Type=simple, however between the fork() and the
exec() in the child we wait until PID 1 informs us that no jobs are

This is mostly a cosmetic fix to make gettys appear only after all boot
output is finished and complete.

Note that this does not impact the normal job logic as we do not delay
the completion of any jobs. We just delay the invocation of the actual
binary, and only for services that otherwise would be of Type=simple.

10 years agomanager: drop MountAuto= and SwapAuto= options
Lennart Poettering [Tue, 24 Apr 2012 11:53:31 +0000 (13:53 +0200)]
manager: drop MountAuto= and SwapAuto= options

The ability to set MountAuto=no and SwapAuto=no was useful during the
adoption phase of systemd, so that distributions could stick to their
classic mount scripts a bit longer. It is about time to get rid of it

10 years agoman: rework nspawn man page to suggest yum --installroot instead of mock
Lennart Poettering [Tue, 24 Apr 2012 11:14:27 +0000 (13:14 +0200)]
man: rework nspawn man page to suggest yum --installroot instead of mock

10 years agoreadahead: rather than checking for virtualization in the C code, use ConditionVirtua...
Lennart Poettering [Tue, 24 Apr 2012 11:12:29 +0000 (13:12 +0200)]
readahead: rather than checking for virtualization in the C code, use ConditionVirtualization= in the unit

10 years agotransaction: cancel jobs non-recursively on isolate
Michal Schmidt [Tue, 24 Apr 2012 09:21:03 +0000 (11:21 +0200)]
transaction: cancel jobs non-recursively on isolate

Recursive cancellation of jobs would trigger OnFailure actions of
dependent jobs. This is not desirable when isolating.


10 years agojob: serialize jobs properly
Michal Schmidt [Sun, 22 Apr 2012 23:24:04 +0000 (01:24 +0200)]
job: serialize jobs properly

Jobs were not preserved correctly over a daemon-reload operation.
A systemctl process waiting for a job completion received a job removal
signal. The job itself changed its id. The job timeout started ticking all
over again.

This fixes the deficiencies.

10 years agotransaction: abort does not need to use recursive deletion
Michal Schmidt [Sun, 22 Apr 2012 08:54:58 +0000 (10:54 +0200)]
transaction: abort does not need to use recursive deletion

Recursion is unnecessary, because we're deleting all transaction jobs
anyway. And the recursive deletion produces debug messages that are
pointless in transaction abort.

10 years agotransaction: fix detection of cycles involving installed jobs
Michal Schmidt [Sun, 22 Apr 2012 00:09:04 +0000 (02:09 +0200)]
transaction: fix detection of cycles involving installed jobs

A transaction can be acyclic, but when it's added to installed jobs,
a cycle may result.

transaction_verify_order_one() attempts to detect these cases, but it
fails because the installed jobs often have the exact generation number
that makes them look as if they were walked already.

Fix it by resetting the generation numbers of all installed jobs before
detecting cycles.

An alternative fix could be to add the generation counter to the
Manager and use it instead of starting always from 1 in
transaction_activate(). But I prefer not having to worry about it
wrapping around.

10 years agotransaction: improve readability
Michal Schmidt [Sat, 21 Apr 2012 19:40:40 +0000 (21:40 +0200)]
transaction: improve readability

The functions looked complicated with the nested loops with breaks,
continues, and "while (again)".
Here using goto actually makes them easier to understand.

Also correcting the comment about redundant jobs.

10 years agoshutdown: don't try to shut down DM devices in a container
Lennart Poettering [Sun, 22 Apr 2012 13:50:52 +0000 (15:50 +0200)]
shutdown: don't try to shut down DM devices in a container

10 years agohostname: if there's already a hostname set when PID 1 is invoked, don't complain
Lennart Poettering [Sun, 22 Apr 2012 13:47:38 +0000 (15:47 +0200)]
hostname: if there's already a hostname set when PID 1 is invoked, don't complain

10 years agojob: the status messages are proper sentences, hence end them with a full stop
Lennart Poettering [Sun, 22 Apr 2012 13:39:26 +0000 (15:39 +0200)]
job: the status messages are proper sentences, hence end them with a full stop

10 years agounits: remount file systems only if /etc/fstab actually exists
Lennart Poettering [Sun, 22 Apr 2012 13:35:35 +0000 (15:35 +0200)]
units: remount file systems only if /etc/fstab actually exists

10 years agomount: don't fail if fstab doesn't exist
Lennart Poettering [Sun, 22 Apr 2012 13:33:43 +0000 (15:33 +0200)]
mount: don't fail if fstab doesn't exist

10 years agotransaction: downgrade warnings about masked units
Lennart Poettering [Sun, 22 Apr 2012 13:22:52 +0000 (15:22 +0200)]
transaction: downgrade warnings about masked units

10 years agotransaction: add missing emacs and license headers
Lennart Poettering [Sun, 22 Apr 2012 13:22:27 +0000 (15:22 +0200)]
transaction: add missing emacs and license headers

10 years agomachine-id: fix spelling
Lennart Poettering [Sun, 22 Apr 2012 13:07:35 +0000 (15:07 +0200)]
machine-id: fix spelling

10 years agoutil: unify getenv() logic for other PID
Lennart Poettering [Sun, 22 Apr 2012 12:48:46 +0000 (14:48 +0200)]
util: unify getenv() logic for other PID

10 years agonspawn: add --uuid= switch to allow setting the machine id for the container
Lennart Poettering [Sun, 22 Apr 2012 12:48:21 +0000 (14:48 +0200)]
nspawn: add --uuid= switch to allow setting the machine id for the container

10 years agounits: don't try to load kernel modules if CAP_SYS_MODULE is missing
Lennart Poettering [Sun, 22 Apr 2012 11:39:18 +0000 (13:39 +0200)]
units: don't try to load kernel modules if CAP_SYS_MODULE is missing

10 years agounits: skip root fsck if the root directory is writable
Lennart Poettering [Sun, 22 Apr 2012 11:38:46 +0000 (13:38 +0200)]
units: skip root fsck if the root directory is writable

10 years agonspawn: add -b switch to automatically look for an init binary
Lennart Poettering [Sun, 22 Apr 2012 11:37:24 +0000 (13:37 +0200)]
nspawn: add -b switch to automatically look for an init binary

10 years agodefault to v102 everywhere, instead of vt100, to synchronize with agetty
Lennart Poettering [Sun, 22 Apr 2012 00:45:39 +0000 (02:45 +0200)]
default to v102 everywhere, instead of vt100, to synchronize with agetty

10 years agologin: assing /dev/console logins to seat0
Lennart Poettering [Sun, 22 Apr 2012 00:30:13 +0000 (02:30 +0200)]
login: assing /dev/console logins to seat0

10 years agocontainer: spawn a getty instead of a sulogin in a container
Lennart Poettering [Sun, 22 Apr 2012 00:15:22 +0000 (02:15 +0200)]
container: spawn a getty instead of a sulogin in a container

10 years agologinctl: avoid segfault for kill-session and kill-user commands
Lennart Poettering [Sun, 22 Apr 2012 00:03:08 +0000 (02:03 +0200)]
loginctl: avoid segfault for kill-session and kill-user commands

As reported by Mantas Mikulėnas.

10 years agoutil: fix tty_is_vc_resolve() in a container where /sys/class/tty/console/active...
Lennart Poettering [Sat, 21 Apr 2012 23:59:11 +0000 (01:59 +0200)]
util: fix tty_is_vc_resolve() in a container where /sys/class/tty/console/active is misleading

10 years agolog: include syslog identifier in default log properties, to avoid comm truncation
Lennart Poettering [Sat, 21 Apr 2012 23:01:54 +0000 (01:01 +0200)]
log: include syslog identifier in default log properties, to avoid comm truncation

10 years agonspawn: be more careful when initializing the hostname from the directory name
Lennart Poettering [Sat, 21 Apr 2012 23:01:22 +0000 (01:01 +0200)]
nspawn: be more careful when initializing the hostname from the directory name

10 years agomount-setup: ignore common container bind mounts
Lennart Poettering [Sat, 21 Apr 2012 23:00:57 +0000 (01:00 +0200)]
mount-setup: ignore common container bind mounts

10 years agoupdate TODO
Lennart Poettering [Sat, 21 Apr 2012 22:32:27 +0000 (00:32 +0200)]
update TODO

10 years agonspawn: make /dev/kmsg unavailable in the container, but allow access to /proc/kmsg
Lennart Poettering [Sat, 21 Apr 2012 22:32:13 +0000 (00:32 +0200)]
nspawn: make /dev/kmsg unavailable in the container, but allow access to /proc/kmsg

10 years agowatchdog: fix default configuration fragment for watchdog
Lennart Poettering [Sat, 21 Apr 2012 13:47:38 +0000 (15:47 +0200)]
watchdog: fix default configuration fragment for watchdog

10 years agoman: doc-sync - properly delete no longer existing stuff on remote server
Kay Sievers [Fri, 20 Apr 2012 22:28:02 +0000 (00:28 +0200)]
man: doc-sync - properly delete no longer existing stuff on remote server

10 years agotransaction: add starting requirements for JOB_RESTART
Michal Schmidt [Fri, 20 Apr 2012 12:44:00 +0000 (14:44 +0200)]
transaction: add starting requirements for JOB_RESTART

While having a Requires= dependency between units, the dependency is started
automatically on "systemctl start", but it's not started on "systemctl

JOB_RESTART jobs did not pull the dependencies for starting into the

Note that the other bug noted in comment #2 has been fixed already by avoiding
the deletion of anchor jobs.

10 years agodbus-job: allow multiple bus clients
Michal Schmidt [Fri, 20 Apr 2012 10:28:31 +0000 (12:28 +0200)]
dbus-job: allow multiple bus clients

Merging of jobs can result in more than one client being interested in a job.

10 years agotransaction: remove checks for installed
Michal Schmidt [Fri, 20 Apr 2012 08:02:05 +0000 (10:02 +0200)]
transaction: remove checks for installed

Transactions cannot contain installed jobs anymore. Remove the now pointless

10 years agotransaction: rework merging with installed jobs
Michal Schmidt [Fri, 20 Apr 2012 07:38:43 +0000 (09:38 +0200)]
transaction: rework merging with installed jobs

Previously transactions could reference installed jobs. It made some issues
difficult to fix.

This sets new rules for jobs:
A job cannot be both a member of a transaction and installed. When jobs are
created, they are linked to a transaction. The whole transaction is constructed
(with merging of jobs within, etc.). When it's complete, all the jobs are
unlinked from it one by one and let to install themselves. It is during the
installation when merging with previously installed jobs (from older
transactions) is contemplated.

Merging with installed jobs has different rules than merging within a
 - An installed conflicting job gets cancelled. It cannot be simply deleted,
   because someone might be waiting for its completion on DBus.
 - An installed, but still waiting, job can be safely merged into.
 - An installed and running job can be tricky. For some job types it is safe to
   just merge. For the other types we merge anyway, but put the job back into
   JOB_WAITING to allow it to run again. This may be suboptimal, but it is not
   currently possible to have more than one installed job for a unit.

Note this also fixes a bug where the anchor job could be deleted during merging
within the transaction.

10 years agojob: separate job_install()
Michal Schmidt [Fri, 20 Apr 2012 00:04:01 +0000 (02:04 +0200)]
job: separate job_install()

Let the jobs install themselves.

10 years agotransaction: remove a couple of asserts
Michal Schmidt [Thu, 19 Apr 2012 21:56:26 +0000 (23:56 +0200)]
transaction: remove a couple of asserts

We already asserted these facts in the previous loop.

10 years agotransaction: remove the anchor link
Michal Schmidt [Fri, 20 Apr 2012 00:11:14 +0000 (02:11 +0200)]
transaction: remove the anchor link

tr->anchor_job is sufficient.

10 years agotransaction: avoid garbage collecting the anchor job
Michal Schmidt [Fri, 20 Apr 2012 00:48:24 +0000 (02:48 +0200)]
transaction: avoid garbage collecting the anchor job

Make sure the anchor job is never considered garbage, even if it has no links
leading to it (this will be allowed in the next patch).

10 years agotransaction: simplify transaction_find_jobs_that_matter_to_anchor()
Michal Schmidt [Thu, 19 Apr 2012 23:20:14 +0000 (01:20 +0200)]
transaction: simplify transaction_find_jobs_that_matter_to_anchor()

10 years agotransaction: change the linking of isolate jobs to the anchor
Michal Schmidt [Fri, 20 Apr 2012 08:33:37 +0000 (10:33 +0200)]
transaction: change the linking of isolate jobs to the anchor

When isolating, the JOB_STOP jobs have no parent job, so they are all peers
of the real anchor job. This is a bit odd.

Link them from the anchor job.

10 years agotransaction: maintain anchor_job
Michal Schmidt [Thu, 19 Apr 2012 22:33:26 +0000 (00:33 +0200)]
transaction: maintain anchor_job

Track which job is the anchor in the transaction.

10 years agotransaction: do not add installed jobs to the transaction
Michal Schmidt [Wed, 18 Apr 2012 16:15:49 +0000 (18:15 +0200)]
transaction: do not add installed jobs to the transaction

Do not attempt to optimize away the job creation by refering to installed jobs.
We do not want to disturb installed jobs until commiting the transaction.

(A later patch to job merging will make the separation of transaction jobs and
installed jobs complete.)

10 years agojob: jobs shouldn't need to know about transaction anchors
Michal Schmidt [Wed, 18 Apr 2012 13:21:24 +0000 (15:21 +0200)]
job: jobs shouldn't need to know about transaction anchors

Let the transactions maintain their own anchor links.

10 years agojob: job_new() can find the manager from the unit
Michal Schmidt [Tue, 17 Apr 2012 23:39:20 +0000 (01:39 +0200)]
job: job_new() can find the manager from the unit

10 years agomanager: split transaction.[ch]
Michal Schmidt [Thu, 19 Apr 2012 21:54:11 +0000 (23:54 +0200)]
manager: split transaction.[ch]

manager.c takes care of the main loop, unit management, signal handling, ...
transaction.c computes transactions.

After split:
manager.c:     65 KB
transaction.c: 40 KB

10 years agomanager: Transaction as an object
Michal Schmidt [Fri, 20 Apr 2012 08:22:07 +0000 (10:22 +0200)]
manager: Transaction as an object

This makes it obvious that transactions are short-lived. They are created in
manager_add_job() and destroyed after the application of jobs.
It also prepares for a split of the transaction code to a new source.

10 years agojob: job_uninstall()
Michal Schmidt [Fri, 20 Apr 2012 08:21:37 +0000 (10:21 +0200)]
job: job_uninstall()

Split the uninstallation of the job from job_free() into a separate function.
Adjust the callers.

job_free() now only works on unlinked and uninstalled jobs. This enforces clear
thinking about job lifetimes.

10 years agomanager: simplify transaction_abort()
Michal Schmidt [Thu, 19 Apr 2012 21:23:04 +0000 (23:23 +0200)]
manager: simplify transaction_abort()

This is equivalent.

10 years agojob: allow job_free() only on already unlinked jobs
Michal Schmidt [Thu, 19 Apr 2012 21:20:34 +0000 (23:20 +0200)]
job: allow job_free() only on already unlinked jobs

job_free() is IMO too helpful when it unlinks the job from the transaction.
The callers should ensure the job is already unlinked before freeing.
The added assertions check if anyone gets it wrong.

10 years agomanager: fix comment
Michal Schmidt [Tue, 17 Apr 2012 20:54:23 +0000 (22:54 +0200)]
manager: fix comment

10 years agotmpfiles: fix error message
Michal Schmidt [Tue, 17 Apr 2012 20:53:35 +0000 (22:53 +0200)]
tmpfiles: fix error message

10 years agodocs: remove duplicated install hook
Kay Sievers [Fri, 20 Apr 2012 06:22:18 +0000 (08:22 +0200)]
docs: remove duplicated install hook

10 years agolog: fix LOG_TARGET_JOURNAL_OR_KMSG
Lennart Poettering [Fri, 20 Apr 2012 10:39:36 +0000 (12:39 +0200)]

10 years agomount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails
Lennart Poettering [Fri, 20 Apr 2012 10:39:09 +0000 (12:39 +0200)]
mount-setup: don't log with LOG_ERROR if a mount that doesn't matter fails

10 years agomain: log to the journal in container mode, by default
Lennart Poettering [Fri, 20 Apr 2012 10:37:57 +0000 (12:37 +0200)]
main: log to the journal in container mode, by default

10 years agodocs: hook-up gtk-doc to 'make check'
Kay Sievers [Fri, 20 Apr 2012 01:25:36 +0000 (03:25 +0200)]
docs: hook-up gtk-doc to 'make check'

10 years agodocs: rebase html documentation for online and local use
Kay Sievers [Thu, 19 Apr 2012 17:00:35 +0000 (19:00 +0200)]
docs: rebase html documentation for online and local use

10 years agodocs: do not generate tmpl files
Javier Jardón [Thu, 19 Apr 2012 14:06:25 +0000 (15:06 +0100)]
docs: do not generate tmpl files

Its not needed as all the documentation is inline source code,
not in separate *.tmpl files

10 years agofix typo in src/shared/install.c
Sven Anders [Thu, 19 Apr 2012 10:03:28 +0000 (12:03 +0200)]
fix typo in src/shared/install.c

10 years agoupdate TODO
Kay Sievers [Wed, 18 Apr 2012 18:31:16 +0000 (20:31 +0200)]
update TODO

10 years agoudev: units - reference systemd-* units
Kay Sievers [Wed, 18 Apr 2012 14:29:43 +0000 (16:29 +0200)]
udev: units - reference systemd-* units

10 years agobuild-sys: move dev-setup to
Kay Sievers [Wed, 18 Apr 2012 14:13:37 +0000 (16:13 +0200)]
build-sys: move dev-setup to

10 years agoremove MS_* which can not be combined with current kernel code
Kay Sievers [Wed, 18 Apr 2012 11:37:45 +0000 (13:37 +0200)]
remove MS_* which can not be combined with current kernel code

MS_BIND|MS_MOVE can not be combined:
    else if (flags & MS_BIND)
      do_loopback(&path, dev_name, flags & MS_REC);
    else if (flags & MS_MOVE)
      do_move_mount(&path, dev_name);

MS_REMOUNT|MS_UNBINDABLE can not be combined:
    if (flags & MS_REMOUNT)
      do_remount(&path, flags & ~MS_REMOUNT, mnt_flags, data_page);
    else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE))
      do_change_type(&path, flags);

10 years agoudev: unify /dev static symlink setup
Kay Sievers [Tue, 17 Apr 2012 20:25:24 +0000 (22:25 +0200)]
udev: unify /dev static symlink setup

10 years agoudev: docs - updated index page to match common gtk style
Kay Sievers [Tue, 17 Apr 2012 17:02:23 +0000 (19:02 +0200)]
udev: docs - updated index page to match common gtk style

10 years agoupdate TODO
Kay Sievers [Tue, 17 Apr 2012 16:47:49 +0000 (18:47 +0200)]
update TODO

10 years agosilence a bunch of gcc warnings
Kay Sievers [Tue, 17 Apr 2012 16:42:09 +0000 (18:42 +0200)]
silence a bunch of gcc warnings

10 years agobuild-sys: silence gtk-doc check, remove gtk-doc options from configure and distcheck
Kay Sievers [Tue, 17 Apr 2012 15:03:38 +0000 (17:03 +0200)]
build-sys: silence gtk-doc check, remove gtk-doc options from configure and distcheck

10 years agobuild-sys: make gtk-doc dependency optional
Javier Jardón [Tue, 17 Apr 2012 14:17:27 +0000 (15:17 +0100)]
build-sys: make gtk-doc dependency optional

10 years agoupdate TODO
Kay Sievers [Tue, 17 Apr 2012 14:54:45 +0000 (16:54 +0200)]
update TODO

10 years agoselinux: unify systemd and udev code
Kay Sievers [Tue, 17 Apr 2012 14:05:03 +0000 (16:05 +0200)]
selinux: unify systemd and udev code

10 years agomkdir: do not use alloca() in a loop
Kay Sievers [Tue, 17 Apr 2012 12:43:28 +0000 (14:43 +0200)]
mkdir: do not use alloca() in a loop

10 years agoupdate .gitignore
Lennart Poettering [Tue, 17 Apr 2012 14:04:42 +0000 (16:04 +0200)]
update .gitignore

10 years Use a auxiliar directory to store autogenerated files
Javier Jardón [Sun, 2 Oct 2011 22:31:59 +0000 (23:31 +0100)] Use a auxiliar directory to store autogenerated files

10 years Use the new autoconf field to set the project webpage
Javier Jardón [Mon, 21 Nov 2011 17:18:33 +0000 (17:18 +0000)] Use the new autoconf field to set the project webpage

10 years agoupdate TODO
Lennart Poettering [Tue, 17 Apr 2012 13:35:41 +0000 (15:35 +0200)]
update TODO

10 years agoman: Fix a few typos
Michael Biebl [Tue, 17 Apr 2012 12:35:48 +0000 (14:35 +0200)]
man: Fix a few typos

Reported-by: A. Costa <>

10 years agoFix typo
Tollef Fog Heen [Tue, 17 Apr 2012 07:47:23 +0000 (09:47 +0200)]
Fix typo

10 years agoupdate TODO
Kay Sievers [Tue, 17 Apr 2012 00:55:39 +0000 (02:55 +0200)]
update TODO

10 years agoudev: kill udev_selinux_setfscreateconat()
Kay Sievers [Tue, 17 Apr 2012 00:20:32 +0000 (02:20 +0200)]
udev: kill udev_selinux_setfscreateconat()

10 years agoudev: replace util_create_path() with mkdir_parents()
Kay Sievers [Mon, 16 Apr 2012 22:26:02 +0000 (00:26 +0200)]
udev: replace util_create_path() with mkdir_parents()

10 years agoudev: install udevd as /usr/lib/systemd/systemd-udevd
Kay Sievers [Mon, 16 Apr 2012 21:32:22 +0000 (23:32 +0200)]
udev: install udevd as /usr/lib/systemd/systemd-udevd

10 years agoudev: use startswith() and streq()
Kay Sievers [Mon, 16 Apr 2012 18:27:44 +0000 (20:27 +0200)]
udev: use startswith() and streq()

10 years agoudev: remove configuration options for /dev, /sys, /run directories
Kay Sievers [Mon, 16 Apr 2012 15:21:22 +0000 (17:21 +0200)]
udev: remove configuration options for /dev, /sys, /run directories

10 years agoudev: replace ARRAY_SIZE() with ELEMENTSOF()
Kay Sievers [Mon, 16 Apr 2012 01:13:22 +0000 (03:13 +0200)]
udev: replace ARRAY_SIZE() with ELEMENTSOF()

10 years agologind: remove redundant entries from logind's default controller lists too
Lennart Poettering [Mon, 16 Apr 2012 17:14:11 +0000 (19:14 +0200)]
logind: remove redundant entries from logind's default controller lists too

10 years agosystemctl: show main and control PID explicitly in cgroup-show
Lennart Poettering [Mon, 16 Apr 2012 16:56:18 +0000 (18:56 +0200)]
systemctl: show main and control PID explicitly in cgroup-show

In some cases the main/control PID of a service can be outside of the
services cgroups (for example, if logind readjusts the processes'
cgroup). In order to clarify this for the user show the main/control PID
in the cgroup tree nonetheless, but mark them specially.

10 years agoutil: introduce memdup()
Lennart Poettering [Mon, 16 Apr 2012 16:54:45 +0000 (18:54 +0200)]
util: introduce memdup()