From: Harald Hoyer har...@redhat.com
If systemctl switch-root is called with a specific INIT or
/proc/cmdline contains init=, then systemd would not serialize
itsself.
Let systemctl check, if the new init is in the standard systemd
installation path and if so, clear the INIT parameter
From: Harald Hoyer har...@redhat.com
files_same() returns
1, if the files are the same
0, if the files have different inode/dev numbers
errno, for any stat error
---
src/shared/util.c | 20 +---
src/shared/util.h | 2 ++
2 files changed, 15 insertions(+), 7 deletions
From: Harald Hoyer har...@redhat.com
If systemctl switch-root is called with a specific INIT or
/proc/cmdline contains init=, then systemd would not serialize
itsself.
Let systemctl check, if the new init is in the standard systemd
installation path and if so, clear the INIT parameter,
to let
From: Harald Hoyer har...@redhat.com
If systemctl switch-root is called with a specific INIT or
/proc/cmdline contains init=, then systemd would not serialize
itsself.
Let systemctl check, if the new init is in the standard systemd
installation path and if so, clear the INIT parameter,
to let
From: Harald Hoyer har...@redhat.com
files_same() returns
1, if the files are the same
0, if the files have different inode/dev numbers
errno, for any stat error
---
src/shared/util.c | 22 +++---
src/shared/util.h | 2 ++
2 files changed, 17 insertions(+), 7
From: Harald Hoyer har...@redhat.com
If systemctl switch-root is called with a specific INIT or
/proc/cmdline contains init=, then systemd would not serialize
itsself.
Let systemctl check, if the new init is in the standard systemd
installation path and if so, clear the INIT parameter
From: Harald Hoyer har...@redhat.com
If systemctl switch-root is called with a specific INIT or
/proc/cmdline contains init=, then systemd would not serialize
itsself.
Let systemctl check, if the new init is in the standard systemd
installation path and if so, clear the INIT parameter,
to let
From: Harald Hoyer har...@redhat.com
Doing a kexec with no kernel loaded would currently issue a normal reboot.
This might not be wanted, if the goal of kexec is to circumvent the boot
loader. Better fail to kexec, than to reboot into a maybe broken setup.
---
src/systemctl/systemctl.c | 11
From: Harald Hoyer har...@redhat.com
If the udev queue is empty and /run/udev/queue does not exist,
udevadm settle would return with EXIT_FAILURE, because the inotify on
/run/udev/queue would fail with ENOENT.
This patch lets udevadm settle exit with EXIT_SUCCESS in this case.
---
src/udev
From: Harald Hoyer har...@redhat.com
Thanks to Brent Baude bba...@redhat.com, who checked with the debian
guys, that this is correct and provided the patch.
---
src/shared/architecture.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/architecture.h b/src/shared
From: Harald Hoyer har...@redhat.com
According to Brent Baude bba...@redhat.com, who provided the patch,
IBM doesn't want to support the PPC 32 bit LE architecture at all.
---
src/shared/architecture.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/src/shared/architecture.h b/src/shared
From: Harald Hoyer har...@redhat.com
This turns journalctl to the counterpart of systemd-cat.
Messages sent with
systemd-cat --identifier foo --prioritiy debug
can now be shown with
journalctl --identifier foo --prioritiy debug
--identifier is not merged with --unit to make a clear
From: Harald Hoyer har...@redhat.com
removes code duplication
---
Makefile.am| 1 +
src/core/main.c| 2 +-
src/core/shutdown.c| 77 +-
src/core/switch-root.c | 6 ++--
src/core/switch-root.h | 2 +-
5 files changed, 13
From: Harald Hoyer har...@redhat.com
removes code duplication
---
Removed all references to /mnt in switch_root() and the bogus comment.
Makefile.am| 1 +
src/core/main.c| 2 +-
src/core/shutdown.c| 77 +-
src/core
From: Harald Hoyer har...@redhat.com
removes code duplication
also move switch-root to shared
---
V2:
- Removed all references to /mnt in switch_root() and the bogus comment.
V3:
- moved switch-root.[ch] to shared
- added switch to mount MS_MOVE or MS_BIND the old dirs
Makefile.am
From: Harald Hoyer har...@redhat.com
removes code duplication
also move switch-root to shared
---
V2:
- Removed all references to /mnt in switch_root() and the bogus comment.
V3:
- moved switch-root.[ch] to shared
- added switch to mount MS_MOVE or MS_BIND the old dirs
V4:
- mkdir_p_label
From: Harald Hoyer har...@redhat.com
Since the journal can handle multiple lines just well natively,
and rsyslog can be configured to handle them as well, there is no need
to truncate messages from syslog() after the first newline.
Reproducer:
1. Add following four lines to /etc/rsyslog.conf
From: Harald Hoyer har...@redhat.com
Although NVMe PCIe SSD are not named sd*, they can be queried with
scsi_id and handled equally.
---
rules/60-persistent-storage.rules | 5 +
1 file changed, 5 insertions(+)
diff --git a/rules/60-persistent-storage.rules
b/rules/60-persistent
From: Harald Hoyer har...@redhat.com
---
src/login/sd-login.c| 3 +++
src/shared/ask-password-api.c | 1 +
src/shared/util.c | 1 +
src/tty-ask-password-agent/tty-ask-password-agent.c | 2 ++
4 files changed
From: Harald Hoyer har...@redhat.com
As per https://bugzilla.redhat.com/show_bug.cgi?id=883043#c5
we can increase the buffer used with audit_log_user_avc_message() safely
to 4096 bytes.
---
src/core/selinux-access.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core
From: Harald Hoyer har...@redhat.com
---
units/systemd-vconsole-setup.service.in | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/units/systemd-vconsole-setup.service.in
b/units/systemd-vconsole-setup.service.in
index 18faa63..c6d7a96 100644
--- a/units/systemd-vconsole
From: Harald Hoyer har...@redhat.com
Also parse it early, so that we can get it in the initramfs.
---
src/bootchart/bootchart.c | 9 -
src/bootchart/bootchart.h | 2 +-
src/bootchart/svg.c | 15 +++
3 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/src
From: Harald Hoyer har...@redhat.com
see https://bugzilla.redhat.com/show_bug.cgi?id=881577
---
Makefile.am | 2 +
src/core/unit.c | 3 +-
src/hostname/hostnamed.c | 7 ++--
src/locale/localed.c | 7 ++--
src/login/logind-dbus.c | 4 +-
src/shared/label.c
From: Harald Hoyer har...@redhat.com
put JobTimeoutSec=0 in device-unit.d/JobTimeoutSec0.conf files
This helps with grabbing a cup of coffee while booting and not have the
crypto password dialog timeout and systemd in a failed state.
---
src/cryptsetup/cryptsetup-generator.c | 62
From: Harald Hoyer har...@redhat.com
Write out JobTimeoutSec=0 for the device the mountpoint (which does
not timeout) waits for.
This helps with grabbing a cup of coffee while booting and not have
the crypto password dialog timeout and systemd in a failed state.
---
src/fstab-generator/fstab
From: Harald Hoyer har...@redhat.com
If no ro or rw is specified on the kernel command line, mount root
read-only on /sysroot by default
---
src/fstab-generator/fstab-generator.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/fstab-generator/fstab
From: Harald Hoyer har...@redhat.com
---
src/fstab-generator/fstab-generator.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/fstab-generator/fstab-generator.c
b/src/fstab-generator/fstab-generator.c
index fade192..3b8329b 100644
--- a/src/fstab-generator
From: Harald Hoyer har...@redhat.com
---
src/bootchart/bootchart.c | 7 ++-
src/bootchart/bootchart.h | 3 ++-
src/bootchart/log.c | 39 +--
src/bootchart/svg.c | 37 +
4 files changed, 74 insertions(+), 12
From: Harald Hoyer har...@redhat.com
---
src/bootchart/bootchart.c | 7 ++-
src/bootchart/bootchart.h | 3 ++-
src/bootchart/log.c | 33 +++--
src/bootchart/svg.c | 39 +--
4 files changed, 72 insertions(+), 10
From: Harald Hoyer har...@redhat.com
---
src/bootchart/bootchart.c | 32
src/bootchart/bootchart.h | 2 +-
src/bootchart/log.c | 2 +-
src/bootchart/svg.c | 4 ++--
4 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/bootchart
From: Harald Hoyer har...@redhat.com
---
src/bootchart/log.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/bootchart/log.c b/src/bootchart/log.c
index 43999f2..ccec03f 100644
--- a/src/bootchart/log.c
+++ b/src/bootchart/log.c
@@ -57,7 +57,7 @@ double
From: Harald Hoyer har...@redhat.com
---
src/fstab-generator/fstab-generator.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/fstab-generator/fstab-generator.c
b/src/fstab-generator/fstab-generator.c
index 910bbc1..b5fe0fa 100644
--- a/src/fstab
From: Harald Hoyer har...@redhat.com
---
src/cryptsetup/cryptsetup-generator.c | 209 +++---
1 file changed, 65 insertions(+), 144 deletions(-)
diff --git a/src/cryptsetup/cryptsetup-generator.c
b/src/cryptsetup/cryptsetup-generator.c
index 38a7cfa..0a51db8 100644
From: Harald Hoyer har...@redhat.com
Now works as expected for me.
$ mount 192.168.2.2:/Public /mnt/test
$ systemctl status mnt-test.mount
mnt-test.mount - /mnt/test
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Fr 2013-03-08 16:24:38 CET; 11s ago
From: Harald Hoyer har...@redhat.com
Now works as expected for me.
$ mount 192.168.2.2:/Public /mnt/test
$ systemctl status mnt-test.mount
mnt-test.mount - /mnt/test
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Fr 2013-03-08 16:24:38 CET; 11s ago
From: Harald Hoyer har...@redhat.com
Now works as expected for me.
$ mount 192.168.2.2:/Public /mnt/test
$ systemctl status mnt-test.mount
mnt-test.mount - /mnt/test
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Fr 2013-03-08 16:24:38 CET; 11s ago
From: Harald Hoyer har...@redhat.com
Now works as expected for me.
$ mount 192.168.2.2:/Public /mnt/test
$ systemctl status mnt-test.mount
mnt-test.mount - /mnt/test
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Fr 2013-03-08 16:24:38 CET; 11s ago
From: Harald Hoyer har...@redhat.com
Now works as expected for me.
$ mount 192.168.2.2:/Public /mnt/test
$ systemctl status mnt-test.mount
mnt-test.mount - /mnt/test
Loaded: loaded (/proc/self/mountinfo)
Active: active (mounted) since Fr 2013-03-08 16:24:38 CET; 11s ago
From: Harald Hoyer har...@redhat.com
Targets in the initrd can differ from targets on the switched root.
Do not assume these targets are active.
---
src/core/main.c| 8
src/core/manager.c | 6 +++---
src/core/manager.h | 2 +-
src/core/unit.c| 7 +--
src/core/unit.h| 2
From: Harald Hoyer har...@redhat.com
Not sure, if this is the correct place to enforce this, but it seems to
work.
---
src/core/transaction.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/core/transaction.c b/src/core/transaction.c
index 4a8d90e..3fed57a 100644
--- a/src/core
From: Harald Hoyer har...@redhat.com
Targets in the initrd can differ from targets on the switched root.
Do not assume these targets are active.
---
src/core/main.c| 8
src/core/manager.c | 9 ++---
src/core/manager.h | 2 +-
src/core/unit.c| 4 ++--
src/core/unit.h| 2
From: Harald Hoyer har...@redhat.com
Targets in the initrd can differ from targets on the switched root.
Do not assume these targets are active.
---
src/core/main.c| 8
src/core/manager.c | 9 ++---
src/core/manager.h | 2 +-
3 files changed, 11 insertions(+), 8 deletions
From: Harald Hoyer har...@redhat.com
Instead of using local-fs*.target in the initrd, use root-fs.target for
sysroot.mount and initrd-fs.target for /sysroot/usr and friends.
Using local-fs.target would mean to carry over the activated
local-fs.target to the isolated initrd-switch-root.target
From: Harald Hoyer har...@redhat.com
Revert 6bde0b3, which pulls in remote-fs-pre.target and with this
i.e. NetworkManager-wait-online.service.
Solve the remote-fs problem with using PartOf.
remote-fs.target is part of multi-user.target, and therefore active by
default. By using UNIT_PART_OF
From: Harald Hoyer har...@redhat.com
Mount units with x-rootfs.mount are now ordered before root-fs.target.
As we sometimes construct /sysroot mounts in /etc/fstab in the initrd,
we want these to be mounted before the root-fs.target is active.
---
src/fstab-generator/fstab-generator.c | 10
From: Harald Hoyer har...@redhat.com
First, rename root-fs.target to initrd-root-fs.target to clarify its usage.
Mount units with x-initrd-rootfs.mount are now ordered before
initrd-root-fs.target. As we sometimes construct /sysroot mounts in
/etc/fstab in the initrd, we want these to be mounted
From: Harald Hoyer har...@redhat.com
First, rename root-fs.target to initrd-root-fs.target to clarify its usage.
Mount units with x-initrd-rootfs.mount are now ordered before
initrd-root-fs.target. As we sometimes construct /sysroot mounts in
/etc/fstab in the initrd, we want these to be mounted
From: Harald Hoyer har...@redhat.com
First, rename root-fs.target to initrd-root-fs.target to clarify its usage.
Mount units with x-initrd-rootfs.mount are now ordered before
initrd-root-fs.target. As we sometimes construct /sysroot mounts in
/etc/fstab in the initrd, we want these to be mounted
From: Harald Hoyer har...@redhat.com
First, rename root-fs.target to initrd-root-fs.target to clarify its usage.
Mount units with x-initrd-rootfs.mount are now ordered before
initrd-root-fs.target. As we sometimes construct /sysroot mounts in
/etc/fstab in the initrd, we want these to be mounted
From: Harald Hoyer har...@redhat.com
First, rename root-fs.target to initrd-root-fs.target to clarify its usage.
Mount units with x-initrd-rootfs.mount are now ordered before
initrd-root-fs.target. As we sometimes construct /sysroot mounts in
/etc/fstab in the initrd, we want these to be mounted
From: Harald Hoyer har...@redhat.com
Instead of typing the rather unusual:
$ journalctl _SYSTEMD_UNIT=sshd.service
one can now type
$ journalctl sshd.service
-- Logs begin at So 2013-02-24 20:54:44 CET, end at Mo 2013-03-18 14:01:01 CET.
--
Mär 18 07:48:26 lenovo sshd[400]: Server listening
From: Harald Hoyer har...@redhat.com
When using -p and -b in combination with -u, the output is not
what you would expect. The reason is the sd_journal_add_disjunction()
call in add_matches_for_unit() and add_matches_for_user_unit(), which
adds two ORs without taking the other conditions to every
From: Harald Hoyer har...@redhat.com
When using -p and -b in combination with -u, the output is not
what you would expect. The reason is the sd_journal_add_disjunction()
call in add_matches_for_unit() and add_matches_for_user_unit(), which
adds two ORs without taking the other conditions to every
From: Harald Hoyer har...@redhat.com
put JobTimeoutSec=0 in device-unit.d/JobTimeoutSec0.conf files
This helps with grabbing a cup of coffee while booting and not have the
crypto password dialog timeout and systemd in a failed state.
This is even needed for timeout=0 in /etc/crypttab!
---
src
From: Harald Hoyer har...@redhat.com
The password query for a crypto device currently times out after 90s,
which is too short to grab a cup of coffee when a machine boots up.
The resulting decrypted device /dev/mapper/luks-uuid might not
be a mountpoint (but part of a LVM PV or raid array
From: Harald Hoyer har...@redhat.com
The password query for a crypto device currently times out after 90s,
which is too short to grab a cup of coffee when a machine boots up.
The resulting decrypted device /dev/mapper/luks-uuid might not
be a mountpoint (but part of a LVM PV or raid array
From: Harald Hoyer har...@redhat.com
When switching root, i.e. LANG can be set to the locale of the initramfs
or C, if it was unset. When systemd deserializes LANG in the real root
this would overwrite the setting previously gathered by locale_set().
To reproduce, boot with an initramfs without
From: Harald Hoyer har...@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=772073
---
src/core/execute.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/core/execute.c b/src/core/execute.c
index 5083af9..c881e56 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
From: Harald Hoyer har...@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=772073
---
src/core/execute.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/core/execute.c b/src/core/execute.c
index 5083af9..c881e56 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
From: Harald Hoyer har...@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=772073
---
src/core/execute.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/core/execute.c b/src/core/execute.c
index 5083af9..c881e56 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
From: Harald Hoyer har...@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=772073
---
src/core/execute.c | 12
1 file changed, 12 insertions(+)
diff --git a/src/core/execute.c b/src/core/execute.c
index 5083af9..fabd38e 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
From: Harald Hoyer har...@redhat.com
Novice users might think, that
$ systemctl --all
is equal to
$ systemctl list-unit-files
https://bugzilla.redhat.com/show_bug.cgi?id=748512
---
man/systemctl.xml | 4 +++-
src/systemctl/systemctl.c | 4 +++-
2 files changed, 6 insertions(+), 2
From: Harald Hoyer har...@redhat.com
RFE: https://bugzilla.redhat.com/show_bug.cgi?id=840260
$ cat test.service
[Unit]
Description=test
[Service]
PIDFile=${PIDFILE}
EnvironmentFile=/etc/test-file
ExecStart=/bin/bash -c 'sleep 1 jobs -p $$PIDFILE; exit 0'
Type=forking
$ cat /etc/test-file
From: Harald Hoyer har...@redhat.com
RFE: https://bugzilla.redhat.com/show_bug.cgi?id=840260
$ cat test.service
[Unit]
Description=test
[Service]
PIDFile=${PIDFILE}
EnvironmentFile=/etc/test-file
ExecStart=/bin/bash -c 'sleep 1 jobs -p $$PIDFILE; exit 0'
Type=forking
$ cat /etc/test-file
From: Harald Hoyer har...@redhat.com
This patch adds environment variable substition for PIDFile=. To read
the environment files only once, ExecContext holds a copy of the
environment gathered.
RFE: https://bugzilla.redhat.com/show_bug.cgi?id=840260
$ cat test.service
[Unit]
Description=test
From: Harald Hoyer har...@redhat.com
This patch adds environment variable substition for PIDFile=. To read
the environment files only once, ExecContext holds a copy of the
environment gathered.
RFE: https://bugzilla.redhat.com/show_bug.cgi?id=840260
$ cat test.service
[Unit]
Description=test
From: Harald Hoyer har...@redhat.com
Also clarify rd.luks.uuid and luks.uuid in the manual.
https://bugzilla.redhat.com/show_bug.cgi?id=905683
---
man/kernel-command-line.xml | 2 ++
man/systemd-cryptsetup-generator.xml | 26 +-
src/cryptsetup/cryptsetup
From: Harald Hoyer har...@redhat.com
When using -p and -b in combination with -u, the output is not
what you would expect. The reason is the sd_journal_add_disjunction()
call in add_matches_for_unit() and add_matches_for_user_unit(), which
adds two ORs without taking the other conditions to every
From: Harald Hoyer har...@redhat.com
Also clarify rd.luks.uuid and luks.uuid in the manual.
https://bugzilla.redhat.com/show_bug.cgi?id=905683
---
Fixed some whitespace error.
man/kernel-command-line.xml | 2 ++
man/systemd-cryptsetup-generator.xml | 26
From: Harald Hoyer har...@redhat.com
This patch series improves the argument handling of journalctl.
It ANDs all parameter like -b --unit= -p and multiple --unit= can be
specified.
The output of:
# journalctl -u sshd.service -u crond.service -u sshd.service -b -p 0..7
is now, what you would
From: Harald Hoyer har...@redhat.com
Previously only one --unit= or --user-unit could be specified.
With this patch, journalcrtl can show multiple units.
$ journalctl -u systemd-udevd.service -u sshd.service -u crond.service -b
-- Logs begin at Sa 2013-03-23 11:08:45 CET, end at Fr 2013-04-12
09
From: Harald Hoyer har...@redhat.com
cryptsetup itself has no timeout as default from the beginning. So the
default timeout has been 0 from the beginning.
https://bugzilla.redhat.com/show_bug.cgi?id=949702
---
src/cryptsetup/cryptsetup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
From: Harald Hoyer har...@redhat.com
https://bugs.freedesktop.org/show_bug.cgi?id=63189
better fail than segfault
systemd[1]: Failed to load device unit: Invalid argument
systemd[1]: Failed to process udev device event: Invalid argument
---
src/core/device.c | 5 -
1 file changed, 4
From: Harald Hoyer har...@redhat.com
https://bugs.freedesktop.org/show_bug.cgi?id=63189
better fail than segfault
systemd[1]: Failed to load device unit: Invalid argument
systemd[1]: Failed to process udev device event: Invalid argument
---
V2: Now checking for (r 0) rather than (r).
src
From: Harald Hoyer har...@redhat.com
Introduce stack_size_guess() and alloca_maybe_safe() and get rid of
the LINE_MAX limitation for MESSAGE in sd_journal_printv*()
Harald Hoyer (2):
util: add stack_size_guess() and alloca_maybe_safe()
journal: get rid of LINE_MAX in sd_journal_printv
From: Harald Hoyer har...@redhat.com
stack_size_guess() guesses the remaining stack size in bytes.
alloca_maybe_safe() returns NULL, if the allocation would exceed the
remaining stack.
---
CODING_STYLE | 7 +++
Makefile.am | 7 +++
configure.ac | 35
From: Harald Hoyer har...@redhat.com
use stack_size_guess() to get rid of LINE_MAX
---
src/journal/journal-send.c | 99 +++--
src/journal/test-journal-send.c | 92 +-
2 files changed, 156 insertions(+), 35 deletions
From: Harald Hoyer har...@redhat.com
Introduce stack_size_guess() and alloca_maybe_safe() and get rid of
the LINE_MAX limitation for MESSAGE in sd_journal_printv*()
V2: added missing test-stack.c
Harald Hoyer (2):
util: add stack_size_guess() and alloca_maybe_safe()
journal: get rid
From: Harald Hoyer har...@redhat.com
stack_size_guess() guesses the remaining stack size in bytes.
alloca_maybe_safe() returns NULL, if the allocation would exceed the
remaining stack.
---
V2: added missing src/shared/test-stack.c
CODING_STYLE| 7 +++
Makefile.am
From: Harald Hoyer har...@redhat.com
use stack_size_guess() to get rid of LINE_MAX
---
src/journal/journal-send.c | 99 +++--
src/journal/test-journal-send.c | 92 +-
2 files changed, 156 insertions(+), 35 deletions
From: Harald Hoyer har...@redhat.com
---
TODO| 2 --
shell-completion/bash/systemctl | 13 -
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/TODO b/TODO
index f90c66b..22c26a3 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,6 @@
Bugfixes
From: Harald Hoyer har...@redhat.com
---
Due to the heavy modification, I send this to the list for review.
src/login/sd-login.c | 200 ---
1 file changed, 61 insertions(+), 139 deletions(-)
diff --git a/src/login/sd-login.c b/src/login/sd
From: Harald Hoyer har...@redhat.com
If the key file cannot be accessed, we can at least ask for the
password.
---
Remove access() call and check the return value of
crypt_activate_by_keyfile_offset()
src/cryptsetup/cryptsetup.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/src
From: Harald Hoyer har...@redhat.com
tree prints a tree of the critical chain of units
$ ./systemd-analyze tree
graphical.target @1.226s
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
└─rpcbind.service @958ms +1ms
└─network.target @957ms
└─NetworkManager.service
From: Harald Hoyer har...@redhat.com
critical-chain prints a tree of the critical chain of units
$ ./systemd-analyze critical-chain
graphical.target @1.226s
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
└─rpcbind.service @958ms +1ms
└─network.target @957ms
From: Harald Hoyer har...@redhat.com
critical-chain prints a tree of the critical chain of units
$ ./systemd-analyze critical-chain
graphical.target @1.226s
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
└─rpcbind.service @958ms +1ms
└─network.target @957ms
From: Harald Hoyer har...@redhat.com
The time for systemd initialization and selinux policy loading
is accounted to the initrd or the kernel, which is wrong.
Instead of:
Startup finished in 5.559s (firmware) + 36ms (loader) + 665ms (kernel) +
975ms (initrd) + 1.410s (userspace) = 8.647s
From: Harald Hoyer har...@redhat.com
---
src/core/dbus-manager.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 1f5a7d9..74b31fd 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -1503,8 +1503,10
From: Harald Hoyer har...@redhat.com
Handle VAR=line1\nline2\nline3 and split into
VAR
length
line1\nline2\nline3
\n
---
src/shared/log.c | 45 -
1 file changed, 40 insertions(+), 5 deletions(-)
diff --git a/src/shared/log.c b/src/shared/log.c
index
From: Harald Hoyer har...@redhat.com
$ systemctl status dracut-initqueue.service
dracut-initqueue.service - dracut initqueue hook
Loaded: loaded (/usr/lib/systemd/system/dracut-initqueue.service;
static)
Active: inactive (dead)
start condition failed at Wed 2013-06-26 13:01:05 UTC
From: Harald Hoyer har...@redhat.com
LANG does not have to be set and setting it to default to the default
does not add any value.
---
src/core/locale-setup.c | 8
1 file changed, 8 deletions(-)
diff --git a/src/core/locale-setup.c b/src/core/locale-setup.c
index d7113b9..daf81d0
From: Harald Hoyer har...@redhat.com
If you have a ASCII only terminal, there is no way to set the charmap to
ANSI_X3.4-1968, other than using LC_CTYPE=C.
We don't want to assume a UTF-8 capable terminal in this case and only
do so, if LANG, LC_ALL and LC_CTYPE are unset.
---
src/shared/util.c
From: Harald Hoyer har...@redhat.com
---
src/hashmap.h |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hashmap.h b/src/hashmap.h
index ac5a8ae..64a468d 100644
--- a/src/hashmap.h
+++ b/src/hashmap.h
@@ -77,12 +77,12 @@ void* hashmap_first(Hashmap *h);
void
From: Harald Hoyer har...@redhat.com
Some files on btrfs do not have a physical extent. Just return an increasing
number.
---
src/readahead-collect.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index 7983b31
From: Harald Hoyer har...@redhat.com
---
src/readahead-replay.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/readahead-replay.c b/src/readahead-replay.c
index 1f1ec52..c93f147 100644
--- a/src/readahead-replay.c
+++ b/src/readahead-replay.c
@@ -85,8 +85,8
From: Harald Hoyer har...@redhat.com
Removed n_printed and renamed n_printed to num.
This is not a logging rate limiter anymore.
---
src/ratelimit.c | 14 --
src/ratelimit.h |8 +++-
2 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/src/ratelimit.c b/src
From: Harald Hoyer har...@redhat.com
systemd-vconsole-setup did not process any configuration files, if it
found at least one parameter on the kernel command line.
First we should read all config file parameter settings and let them
be overwritten by kernel command line parameters afterwards
From: Harald Hoyer har...@redhat.com
---
src/umount.c | 10 +-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/umount.c b/src/umount.c
index 3d328e0..31e91ec 100644
--- a/src/umount.c
+++ b/src/umount.c
@@ -551,6 +551,8 @@ static int dm_points_list_detach(MountPoint
From: Harald Hoyer har...@redhat.com
umount /boot
mount a tmpfs on /boot
mount bind all needed dirs
pivot_root to /boot
umount all mountpoints as before
see root be umounted properly and all dm devices deconstructed
---
src/shutdown.c | 154
From: Harald Hoyer har...@redhat.com
There are files, which we are not allowed to read.
Happens for example, if selinux is activated.
---
src/readahead-collect.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index
1 - 100 of 1434 matches
Mail list logo