chiark / gitweb /
elogind.git
8 years agosystem-update: add system update generator
Lennart Poettering [Tue, 22 May 2012 17:48:51 +0000 (19:48 +0200)]
system-update: add system update generator

http://freedesktop.org/wiki/Software/systemd/SystemUpdates

8 years agojournal: log journal internal messages to kmsg
Lennart Poettering [Tue, 22 May 2012 17:26:51 +0000 (19:26 +0200)]
journal: log journal internal messages to kmsg

8 years agoexecute: use a much lower idle timeout that default time
Lennart Poettering [Tue, 22 May 2012 17:26:13 +0000 (19:26 +0200)]
execute: use a much lower idle timeout that default time

The idle timeout after all is for cosmetics only, hence avoid any
substantial delays just for it.

8 years agomount: replace PID1 internal fstab parser with generator
Lennart Poettering [Tue, 22 May 2012 17:23:33 +0000 (19:23 +0200)]
mount: replace PID1 internal fstab parser with generator

Bit by bit we should remove non-unit parsing from PID 1 and move into
generators, to clean up our code base a bit and clearly separate
parsers.

8 years agomain: only fall back to /bin/sh in case /sbin/init does not exist
Kay Sievers [Tue, 22 May 2012 17:11:10 +0000 (19:11 +0200)]
main: only fall back to /bin/sh in case /sbin/init does not exist

8 years agotest: introduce a basic testsuite framework
Harald Hoyer [Mon, 21 May 2012 16:55:48 +0000 (18:55 +0200)]
test: introduce a basic testsuite framework

$ cd test
$ sudo make check

will run all tests in the TEST-* subdirectories

$ cd test/TEST-01-BASIC
$ sudo make clean setup run

will run the different stages of the test for debugging purposes

8 years agologind: fix write out of user state file
Lennart Poettering [Tue, 22 May 2012 14:46:11 +0000 (16:46 +0200)]
logind: fix write out of user state file

8 years agoswitch-root: do not use close old_root_fd after rm_rf_children()
Harald Hoyer [Tue, 22 May 2012 13:28:45 +0000 (15:28 +0200)]
switch-root: do not use close old_root_fd after rm_rf_children()

rm_rf_children() has already closed the fd with closedir().

8 years agoutil: make sure to fstatat() at most once in rm_rf_children()
Lennart Poettering [Tue, 22 May 2012 14:14:34 +0000 (16:14 +0200)]
util: make sure to fstatat() at most once in rm_rf_children()

8 years agorescue: don't pull in sockets
Lennart Poettering [Tue, 22 May 2012 14:12:25 +0000 (16:12 +0200)]
rescue: don't pull in sockets

In rescue mode let's not establish all sockets, so that we don't end up
starting a lot of additional services automatically.

Instead of pulling in basic.target we now only pull in sysinit.target
which pulls in local-fs.target and swap.target. That way rescue mode has
all the really basic setup around, but normal services are not started
and not autostarted either.

8 years agojournal: crash when filesystem is low on space
Sjoerd Simons [Sat, 14 Apr 2012 12:11:08 +0000 (14:11 +0200)]
journal: crash when filesystem is low on space

When space is getting too low on a file system rotating the journal file
will fail after the rotation, as opening the new logfile will fail.

Recognize this when logging the error and don't try to dereference a
NULL JournalFile pointer.

8 years agomain: properly queue default.target after switched root
Lennart Poettering [Tue, 22 May 2012 00:35:22 +0000 (02:35 +0200)]
main: properly queue default.target after switched root

This also introduces rd.systemd.unit= to specify the unit to boot into
in the initrd.

8 years agobuild-sys: use libpci's pkgconfig file to find the pci.ids file
Kay Sievers [Tue, 22 May 2012 00:35:44 +0000 (02:35 +0200)]
build-sys: use libpci's pkgconfig file to find the pci.ids file

8 years agokeymap: support for Lenovo IdeaPad Z570 keyboard
Maxim A. Mikityanskiy [Tue, 22 May 2012 00:11:21 +0000 (02:11 +0200)]
keymap: support for Lenovo IdeaPad Z570 keyboard

8 years agomount: use the same fstab extension option syntax everywhere
Lennart Poettering [Tue, 22 May 2012 00:00:53 +0000 (02:00 +0200)]
mount: use the same fstab extension option syntax everywhere

The man page and the actual code differed, and this is now corrected

8 years agoservice: fix auto-restart handling in service_start()
David Ward [Sun, 29 Apr 2012 13:35:51 +0000 (09:35 -0400)]
service: fix auto-restart handling in service_start()

Do not bypass the SERVICE_DEAD/SERVICE_FAILED state by manually issuing
a start job while an automatic restart is pending.

8 years agoservice: fix auto-restart handling in service_stop()
David Ward [Sun, 29 Apr 2012 13:35:48 +0000 (09:35 -0400)]
service: fix auto-restart handling in service_stop()

When service_stop() handles a service in the SERVICE_AUTO_RESTART state,
it calls service_set_state() to transition it to the SERVICE_DEAD state.
However if the service failed, it should transition it to SERVICE_FAILED
instead, which will trigger its OnFailure units. To achieve this, we now
call service_enter_dead() in place of service_set_state(), which will
transition the service to either SERVICE_DEAD or SERVICE_FAILED as is
appropriate.

Also, some misleading comments are adjusted: service_stop() is not only
called on a user request, but also during an automatic restart in order
to handle dependencies.

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

8 years agoservice: actually delay auto-restart if another job is pending
David Ward [Sun, 29 Apr 2012 13:35:40 +0000 (09:35 -0400)]
service: actually delay auto-restart if another job is pending

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

8 years agocgtop: change default depth to 3
Lennart Poettering [Mon, 21 May 2012 23:48:40 +0000 (01:48 +0200)]
cgtop: change default depth to 3

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

8 years agoFixed handling of posix_fallocate() returned value
Guillermo Vidal [Wed, 9 May 2012 18:43:34 +0000 (13:43 -0500)]
Fixed handling of posix_fallocate() returned value

According to the man pages of posix_fallocate, it returns zero on
success or an error number on failure; however,  errno is not set
on failure. If the kernel or a library other than glibc does not
support the function for example, EOPNOTSUPP will be returned and
the error will not be handled properly with original code.

8 years agosystemd-analyze: switch to python getopt for argument parsing
Shawn Landden [Thu, 3 May 2012 23:41:40 +0000 (16:41 -0700)]
systemd-analyze: switch to python getopt for argument parsing

this uses gnu style getopt, so you can put the opts at the end: (e.g.)
systemd-analyze blame --user

v4

8 years agoman: relax wording in journal-fields(7) a bit
Lennart Poettering [Mon, 21 May 2012 23:12:46 +0000 (01:12 +0200)]
man: relax wording in journal-fields(7) a bit

8 years agomain: allow system wide limits for services
Frederic Crozat [Wed, 21 Mar 2012 17:03:40 +0000 (18:03 +0100)]
main: allow system wide limits for services

8 years agojournald: one more SYSLOG_IDENTIFIER length fix
Michal Schmidt [Mon, 21 May 2012 18:21:49 +0000 (20:21 +0200)]
journald: one more SYSLOG_IDENTIFIER length fix

8 years agojournald: fix length of "SYSLOG_IDENTIFIER="
Michal Schmidt [Mon, 21 May 2012 17:31:41 +0000 (19:31 +0200)]
journald: fix length of "SYSLOG_IDENTIFIER="

Fixes weird messages like:
May 20 22:23:30 jik2 TIFIER=systemd-logind[795]: New session 46 of user gdm.

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

8 years agoutil: rework in_initrd() logic
Lennart Poettering [Mon, 21 May 2012 18:00:58 +0000 (20:00 +0200)]
util: rework in_initrd() logic

Checking the device major/minor is not a good idea. Let's replace this
with an explicit flag file, which we model after /etc/os-release and
call /etc/initrd-release.

8 years agomain: rename a few fix to follow general naming style
Lennart Poettering [Mon, 21 May 2012 17:48:04 +0000 (19:48 +0200)]
main: rename a few fix to follow general naming style

8 years agoswitch-root: move switch_root() call into its own .c file
Lennart Poettering [Mon, 21 May 2012 17:33:39 +0000 (19:33 +0200)]
switch-root: move switch_root() call into its own .c file

8 years agomain: do_switch_root() do not recursively remove across device boundaries
Harald Hoyer [Wed, 16 May 2012 13:08:28 +0000 (15:08 +0200)]
main: do_switch_root() do not recursively remove across device boundaries

8 years agoutil: rm_rf_children() add root_dev parameter
Harald Hoyer [Wed, 16 May 2012 13:08:27 +0000 (15:08 +0200)]
util: rm_rf_children() add root_dev parameter

if root_dev is set, remove subdirectories only, if the device is the
same as the root_dev. This prevents to remove files across device
boundaries.

8 years agodelta/delta.c: initialize bottom for fail state
Harald Hoyer [Wed, 16 May 2012 12:22:45 +0000 (14:22 +0200)]
delta/delta.c: initialize bottom for fail state

8 years agocore/main.c: handle the initrd timestamp differently, if in the initrd
Harald Hoyer [Wed, 16 May 2012 12:22:44 +0000 (14:22 +0200)]
core/main.c: handle the initrd timestamp differently, if in the initrd

If systemd is in the initrd/initramfs, set the initrd timestamp and do
not try to read it from the RD_TIMESTAMP environment variable.

8 years agocore/main.c: do_switch_root(): do not remove the old root if not in initrd
Harald Hoyer [Wed, 16 May 2012 12:22:43 +0000 (14:22 +0200)]
core/main.c: do_switch_root(): do not remove the old root if not in initrd

Only recursively remove the old root, if we have been in an
initrd/initramfs.

8 years agocore/main.c: add "--switchedroot" parameter
Harald Hoyer [Wed, 16 May 2012 12:22:42 +0000 (14:22 +0200)]
core/main.c: add "--switchedroot" parameter

If systemd serializes from a switch_root, it adds "--switchedroot" to
the systemd in the real root.

If "--switchedroot" is found, then we do not skip all the stuff, which
is skipped for normal rexecs.

8 years agomanager: only serialize the timestamps for the initramfs if in_initrd()
Harald Hoyer [Wed, 16 May 2012 12:22:41 +0000 (14:22 +0200)]
manager: only serialize the timestamps for the initramfs if in_initrd()

8 years agoutil.c: add in_initrd()
Harald Hoyer [Wed, 16 May 2012 12:22:40 +0000 (14:22 +0200)]
util.c: add in_initrd()

in_initrd() checks, if the stat() for the device for "/" is 1, which it
is for the initramfs.

8 years agomain: corrected do_switch_root()
Harald Hoyer [Wed, 16 May 2012 12:22:39 +0000 (14:22 +0200)]
main: corrected do_switch_root()

do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and
removes the old root recursively.

8 years agodelta: fix spelling of overridden
Nis Martensen [Wed, 16 May 2012 20:49:30 +0000 (22:49 +0200)]
delta: fix spelling of overridden

8 years agoutil: fix typo in newdup
Frederic Crozat [Mon, 21 May 2012 14:53:18 +0000 (16:53 +0200)]
util: fix typo in newdup

8 years agoupdate TODO
Lennart Poettering [Mon, 21 May 2012 16:18:15 +0000 (18:18 +0200)]
update TODO

8 years agosd-pam: Drop uid so parent signal arrives at child.
Auke Kok [Thu, 17 May 2012 19:17:42 +0000 (12:17 -0700)]
sd-pam: Drop uid so parent signal arrives at child.

The PAM helper thread needs to capture the death signal from the
parent, but is prohibited from doing so since when the child dies
as normal user, the kernel won't allow it to send a TERM to the
PAM helper thread which is running as root.

This causes the PAM threads to never exit, accumulating after
user sessions exit.

There is however really no need to keep the PAM threads running as
root, so, we can just setresuid() to the same user as defined in the
unit file for the parent thread (User=). This makes the TERM signal
arrive as normal. In case setresuid() fails, we ignore the error, so
we at least fall back to the current behaviour.

8 years agoupdate TODO
Lennart Poettering [Mon, 21 May 2012 15:55:54 +0000 (17:55 +0200)]
update TODO

8 years agojournalctl: fix built-in usage output
Daniel Mack [Fri, 18 May 2012 19:58:35 +0000 (21:58 +0200)]
journalctl: fix built-in usage output

This brings journalctl's built-in usage output in sync with the man page.
There are no commands to pass, and the help screen should not confuse
users.

8 years agocryptsetup: support discards (TRIM)
Matthew Monaco [Sat, 19 May 2012 15:05:50 +0000 (09:05 -0600)]
cryptsetup: support discards (TRIM)

8 years agomain: try a bit harder to find an init process to execute after reexec/switch-root
Lennart Poettering [Mon, 21 May 2012 15:26:19 +0000 (17:26 +0200)]
main: try a bit harder to find an init process to execute after reexec/switch-root

8 years agoservice: make the fsck pass no configurable
Lennart Poettering [Mon, 21 May 2012 15:24:26 +0000 (17:24 +0200)]
service: make the fsck pass no configurable

8 years agocryptsetup: a few simplifications
Lennart Poettering [Mon, 21 May 2012 15:22:36 +0000 (17:22 +0200)]
cryptsetup: a few simplifications

8 years agohostname-setup: also consider (ńone) an unset hostname
Lennart Poettering [Mon, 21 May 2012 15:19:58 +0000 (17:19 +0200)]
hostname-setup: also consider (ńone) an unset hostname

8 years agoupdate TODO
Lennart Poettering [Mon, 21 May 2012 13:34:33 +0000 (15:34 +0200)]
update TODO

8 years agoupdate TODO
Lennart Poettering [Mon, 21 May 2012 13:28:07 +0000 (15:28 +0200)]
update TODO

8 years agounit: introduce RequiredBy= setting in [Install], to complement WantedBy=
Lennart Poettering [Mon, 21 May 2012 13:27:26 +0000 (15:27 +0200)]
unit: introduce RequiredBy= setting in [Install], to complement WantedBy=

8 years agologin: minor typo fix
Lennart Poettering [Mon, 21 May 2012 13:22:28 +0000 (15:22 +0200)]
login: minor typo fix

8 years agounits: introduce new Documentation= field and make use of it everywhere
Lennart Poettering [Mon, 21 May 2012 13:12:18 +0000 (15:12 +0200)]
units: introduce new Documentation= field and make use of it everywhere

This should help making the boot process a bit easier to explore and
understand for the administrator. The simple idea is that "systemctl
status" now shows a link to documentation alongside the other status and
decriptionary information of a service.

This patch adds the necessary fields to all our shipped units if we have
proper documentation for them.

8 years agosystemctl: drop useless DBus calls from 'systemctl show foo.service'
Michal Schmidt [Mon, 21 May 2012 10:54:43 +0000 (12:54 +0200)]
systemctl: drop useless DBus calls from 'systemctl show foo.service'

systemctl called LoadUnit, GetUnit, GetAll in this order to get the properties.

It is useless to load units explicitly, because it won't ensure anything. The
unit may be freed immediately by the garbage collector.

It is unnecessary to call GetUnit, because systemctl can easily translate the
unit name to DBus path by itself.

GetAll will load the unit if necessary.

8 years agodbus-unit: always load the unit before handling a message for it
Michal Schmidt [Mon, 21 May 2012 10:54:34 +0000 (12:54 +0200)]
dbus-unit: always load the unit before handling a message for it

We need to be able to show the properties even of inactive units.
systemctl loads the unit before getting its properties, but this is racy
as the garbage collector may kick in right after the loading.

Fix it by always loading the unit before handling a message for it.

https://bugzilla.redhat.com/show_bug.cgi?id=814966#c6

8 years agodelta: drop PHP'ism
Lennart Poettering [Mon, 21 May 2012 00:02:40 +0000 (02:02 +0200)]
delta: drop PHP'ism

8 years agodelta: don't highlight unchanged files
Lennart Poettering [Mon, 21 May 2012 00:02:31 +0000 (02:02 +0200)]
delta: don't highlight unchanged files

8 years agoupdate TODO
Lennart Poettering [Mon, 21 May 2012 00:02:19 +0000 (02:02 +0200)]
update TODO

8 years agodelta: introduce arg_flags field, to follow our usual scheme
Lennart Poettering [Mon, 21 May 2012 00:01:52 +0000 (02:01 +0200)]
delta: introduce arg_flags field, to follow our usual scheme

8 years agodelta: use same nomenclature for equivalent and redirected everywhere
Lennart Poettering [Wed, 16 May 2012 16:57:57 +0000 (18:57 +0200)]
delta: use same nomenclature for equivalent and redirected everywhere

8 years agodelta: enums are much cooler than defines
Lennart Poettering [Wed, 16 May 2012 16:53:46 +0000 (18:53 +0200)]
delta: enums are much cooler than defines

8 years agodelta: Support filtering what type of deltas to show
Gergely Nagy [Wed, 16 May 2012 16:11:27 +0000 (18:11 +0200)]
delta: Support filtering what type of deltas to show

Not everyone is interested in every kind of deltas (and some might
even be interested knowing which files do not have overrides), so this
here is an implementation of a --type=LIST... option for
systemd-delta, that makes it possible to filter what subset of deltas
we want.

The available modifiers are masked, equivalent, redirected, overriden,
and unchanged - they should be self explanatory, and the man page
explains them in a little more detail anyway.

As a side effect, in case of overriden files, the diff output was made
optional.

By default, everything is shown (with a diff, if appropriate) except
for completely unchanged files.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
8 years agodelta: add preset dirs
Lennart Poettering [Wed, 16 May 2012 01:39:41 +0000 (03:39 +0200)]
delta: add preset dirs

8 years agodelta: add missing files
Lennart Poettering [Wed, 16 May 2012 01:36:42 +0000 (03:36 +0200)]
delta: add missing files

8 years agoswitch-root: check for absolute paths
Lennart Poettering [Wed, 16 May 2012 01:23:54 +0000 (03:23 +0200)]
switch-root: check for absolute paths

8 years agodelta: add systemd-delta tool to find overriden configuration and unit files
Lennart Poettering [Wed, 16 May 2012 01:23:28 +0000 (03:23 +0200)]
delta: add systemd-delta tool to find overriden configuration and unit files

8 years agoudev: update docs, NEWS
Kay Sievers [Tue, 15 May 2012 21:44:28 +0000 (23:44 +0200)]
udev: update docs, NEWS

8 years agoudev: libudev - bump soname, remove deprecated functions, introduce symbol versions
Kay Sievers [Tue, 15 May 2012 20:57:58 +0000 (22:57 +0200)]
udev: libudev - bump soname, remove deprecated functions, introduce symbol versions

8 years agobuild-sys: support build-from-git without gobject-introspection
Kay Sievers [Tue, 15 May 2012 13:05:36 +0000 (15:05 +0200)]
build-sys: support build-from-git without gobject-introspection

8 years agobuild-sys: fix distcheck
Kay Sievers [Tue, 15 May 2012 12:52:53 +0000 (14:52 +0200)]
build-sys: fix distcheck

8 years agotmpfiles: if we are supposed to write a string to a file, it's OK if we can't write...
Lennart Poettering [Tue, 15 May 2012 12:34:33 +0000 (14:34 +0200)]
tmpfiles: if we are supposed to write a string to a file, it's OK if we can't write the trailing newline

8 years agobuild-sys: fix build
Lennart Poettering [Tue, 15 May 2012 12:34:06 +0000 (14:34 +0200)]
build-sys: fix build

8 years agobuild-sys: fix build for folks without gtk-doc installed
Lennart Poettering [Tue, 15 May 2012 11:55:48 +0000 (13:55 +0200)]
build-sys: fix build for folks without gtk-doc installed

8 years agogit: update gitignore
Lennart Poettering [Tue, 15 May 2012 11:54:05 +0000 (13:54 +0200)]
git: update gitignore

8 years agobuild-sys: move gtk-doc stuff into its own subdir and reindent autogen.sh
Lennart Poettering [Tue, 15 May 2012 11:53:05 +0000 (13:53 +0200)]
build-sys: move gtk-doc stuff into its own subdir and reindent autogen.sh

We moved most other build noise files into their own subdirs, so let's
do this for gtk-doc too

8 years agoman: overwrite vs. override
Michal Schmidt [Tue, 15 May 2012 06:16:30 +0000 (08:16 +0200)]
man: overwrite vs. override

'overwrite' conveys the idea of the old text being destroyed.
'override' does not. It is more similar to 'overrule'.

8 years agoinstall: fix inverted meaning of '--force' in systemctl enable
Michal Schmidt [Tue, 15 May 2012 06:12:49 +0000 (08:12 +0200)]
install: fix inverted meaning of '--force' in systemctl enable

8 years agomissing: Fix broken syscall(__NR_fanotify_mark... on ppc32
Andreas Schwab [Tue, 8 May 2012 17:18:26 +0000 (19:18 +0200)]
missing: Fix broken syscall(__NR_fanotify_mark... on ppc32

The same situation as on o32 mips.

8 years agosd-login: update header docs a bit
Lennart Poettering [Mon, 14 May 2012 20:41:17 +0000 (22:41 +0200)]
sd-login: update header docs a bit

8 years agonamespace: make PrivateTmp= apply to both /tmp and /var/tmp
Lennart Poettering [Fri, 11 May 2012 15:56:09 +0000 (17:56 +0200)]
namespace: make PrivateTmp= apply to both /tmp and /var/tmp

8 years agoupdate TODO
Lennart Poettering [Fri, 11 May 2012 15:46:58 +0000 (17:46 +0200)]
update TODO

8 years agosystemctl: add switch-root verb
Lennart Poettering [Fri, 11 May 2012 15:35:46 +0000 (17:35 +0200)]
systemctl: add switch-root verb

8 years agocore: add extra safety check before switching root
Lennart Poettering [Fri, 11 May 2012 15:17:57 +0000 (17:17 +0200)]
core: add extra safety check before switching root

8 years agojob: info message if JOB_VERIFY_ACTIVE detects an inactive unit
Michal Schmidt [Sun, 13 May 2012 21:29:19 +0000 (23:29 +0200)]
job: info message if JOB_VERIFY_ACTIVE detects an inactive unit

8 years agojob: report the status of first half of JOB_RESTART the same as JOB_STOP
Michal Schmidt [Sun, 13 May 2012 21:28:46 +0000 (23:28 +0200)]
job: report the status of first half of JOB_RESTART the same as JOB_STOP

8 years agounit: unit type dependent status messages
Michal Schmidt [Sun, 13 May 2012 16:18:54 +0000 (18:18 +0200)]
unit: unit type dependent status messages

Instead of generic "Starting..." and "Started" messages for all unit use
type-dependent messages. For example, mounts will announce "Mounting..."
and "Mounted".

Add status messages to units of types that used to be entirely silent
(automounts, sockets, targets, devices). For unit types whose jobs are
instantaneous, report only the job completion, not the starting event.
Socket units with non-instantaneous jobs are rare (Exec*= is not used
often in socket units), so I chose not to print the starting messages
for them either.

This will hopefully give people better understanding of the boot.

8 years agounit: print the color status marks on the left
Michal Schmidt [Mon, 14 May 2012 10:50:33 +0000 (12:50 +0200)]
unit: print the color status marks on the left

The alignment of the "[  OK  ]" and "[FAILED]" status marks to the right
side of the terminal makes it difficult to link them with the messages
on the left if your console is wide.

I considered the options:
 1. Align them to the 80th column regardless of the console width.
    Disadvantage - either:
    - truncating messages needlessly, not using available space; or
    - If the message is long, write the mark over it. => ugly
 2. Write them to the 80th column for short messages,
    and further to the right for longer ones.
    Disadvantage:
    - jagged look
 3. Write the marks on the left, before the message.
    Disadvantage:
    - Breaks tradition from RHL.
    Advantages:
    + slightly simpler code
    + Will annoy holy-traditionalists.

I chose option 3.
BTW, Debian now uses similar marks on the left with its makefile-style
boot.

Special values of the "status" argument to status_vprintf are:
  NULL - no status mark, no message indentation
  ""   - no status mark, message indented as if the mark was there

8 years agojob: change red [ABORT] status to yellow [DEPEND]
Michal Schmidt [Mon, 14 May 2012 10:23:23 +0000 (12:23 +0200)]
job: change red [ABORT] status to yellow [DEPEND]

The red "[ABORT]" for a dependency failure is too scary.
It suggests a crash. And it suggests a problem with the unit itself.
Change it to a yellow "[DEPEND]" message. The color communicates the
level of seriousness better.

8 years agojob: only jobs on the runqueue can be run
Michal Schmidt [Sat, 12 May 2012 19:06:27 +0000 (21:06 +0200)]
job: only jobs on the runqueue can be run

8 years agounits: do not quit plymouth too early
Michal Schmidt [Sat, 12 May 2012 20:01:27 +0000 (22:01 +0200)]
units: do not quit plymouth too early

8 years agokeymap: Add Mio N890
Martin Pitt [Mon, 14 May 2012 11:06:48 +0000 (13:06 +0200)]
keymap: Add Mio N890

https://launchpad.net/bugs/998621

8 years agoupdate mailmap for Martin Pitt
Martin Pitt [Mon, 14 May 2012 11:06:20 +0000 (13:06 +0200)]
update mailmap for Martin Pitt

8 years agoudev: path_id - cciss - set "we have a bus" flag
Kay Sievers [Thu, 10 May 2012 19:35:54 +0000 (21:35 +0200)]
udev: path_id - cciss - set "we have a bus" flag

8 years agoudev: path_id - add cciss support
Hannes Reinecke [Thu, 10 May 2012 11:18:07 +0000 (13:18 +0200)]
udev: path_id - add cciss support

8 years agodbus-manager: fix tainted string
Michal Schmidt [Wed, 9 May 2012 19:42:56 +0000 (21:42 +0200)]
dbus-manager: fix tainted string

The pointer to the end of the string was not advanced after adding
the "cgroups-missing" taint. If "local-hwclock" was detected too,
it would overwrite the previous string.

With 'e' always pointing to the end of the string, removing the last
delimiter is easier.

8 years agomain: fix uninitialized variable
Michal Schmidt [Wed, 9 May 2012 09:20:06 +0000 (11:20 +0200)]
main: fix uninitialized variable

8 years agomain: fix assertion failure due to use of ELEMENTSOF on a non-array
Michal Schmidt [Wed, 9 May 2012 09:13:26 +0000 (11:13 +0200)]
main: fix assertion failure due to use of ELEMENTSOF on a non-array

8 years agobash-completion: use printf instead of echo
Michal Schmidt [Wed, 9 May 2012 07:36:20 +0000 (09:36 +0200)]
bash-completion: use printf instead of echo

If the expanded argument begins with '-', echo would try to interpret
it as options.
printf does not have this problem. Use it everywhere.

8 years agobash-completion: avoid losing backslashes in unit names
Michal Schmidt [Wed, 9 May 2012 07:18:44 +0000 (09:18 +0200)]
bash-completion: avoid losing backslashes in unit names

Use 'read -r' everywhere to consider backslashes as parts of the input line.
Single-quote the arguments to 'compgen -W' to avoid immediate expansion.
compgen itself will expand the argument.

Fixes a possible reason for "Failed to issue method call: Unknown unit"
after requesting completion.

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

8 years agoupdate TODO
Lennart Poettering [Tue, 8 May 2012 23:26:30 +0000 (01:26 +0200)]
update TODO