Hello community, here is the log from the commit of package dracut for openSUSE:Factory checked in at 2014-08-30 18:55:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut (Old) and /work/SRC/openSUSE:Factory/.dracut.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dracut" Changes: -------- --- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2014-08-25 11:03:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes 2014-08-30 18:56:06.000000000 +0200 @@ -1,0 +2,21 @@ +Fri Aug 29 14:27:49 UTC 2014 - trenn@suse.de + +- Do not blindly try to touch the logfile (bnc#893219) +* Add 0146-dracut.sh-corrected-logfile-check.patch +- Only fix UUID= fstab parsing +* Add 0147-dracut.sh-Fix-UUID-fstab-parsing-in-case-mount-optio.patch +- Also fix other parsing syntax in fstab like LABEL= +* Add 0148-dracut.sh-Fix-LABEL-and-other-fstab-syntax.patch +- Fix up some bugs from previous commit +* Add 0149-dracut.sh-Fix-fstab-parsing-again.patch +- bnc#893615 +* Add 0150-Find-kernel-modules-in-extra-and-weak-updates-path-a.patch +- pixz does need too much memory, go back to xz in a conservative way + (bnc#893981) +* Add 0151-Go-back-to-xz-again-pixz-may-use-too-much-memory-whi.patch +- Add some default tools to initrd when debug module is included and + already provided an commented example line how to easily enable it. + No functional change by default. +* Add 0152-Add-a-comment-to-easily-add-debug-modules-also-add-v.patch + +------------------------------------------------------------------- New: ---- 0146-dracut.sh-corrected-logfile-check.patch 0147-dracut.sh-Fix-UUID-fstab-parsing-in-case-mount-optio.patch 0148-dracut.sh-Fix-LABEL-and-other-fstab-syntax.patch 0149-dracut.sh-Fix-fstab-parsing-again.patch 0150-Find-kernel-modules-in-extra-and-weak-updates-path-a.patch 0151-Go-back-to-xz-again-pixz-may-use-too-much-memory-whi.patch 0152-Add-a-comment-to-easily-add-debug-modules-also-add-v.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut.spec ++++++ --- /var/tmp/diff_new_pack.rXy5NU/_old 2014-08-30 18:56:08.000000000 +0200 +++ /var/tmp/diff_new_pack.rXy5NU/_new 2014-08-30 18:56:08.000000000 +0200 @@ -166,6 +166,13 @@ Patch143: 0143-iscsi-Fix-up-ipv6-in-brackets-iterate-over-all-possi.patch Patch144: 0144-90crypt-Fixed-crypttab_contains-to-also-work-with-de.patch Patch145: 0145-40network-handle-ip-ifname-static-correctly.patch +Patch146: 0146-dracut.sh-corrected-logfile-check.patch +Patch147: 0147-dracut.sh-Fix-UUID-fstab-parsing-in-case-mount-optio.patch +Patch148: 0148-dracut.sh-Fix-LABEL-and-other-fstab-syntax.patch +Patch149: 0149-dracut.sh-Fix-fstab-parsing-again.patch +Patch150: 0150-Find-kernel-modules-in-extra-and-weak-updates-path-a.patch +Patch151: 0151-Go-back-to-xz-again-pixz-may-use-too-much-memory-whi.patch +Patch152: 0152-Add-a-comment-to-easily-add-debug-modules-also-add-v.patch BuildRequires: asciidoc BuildRequires: bash @@ -185,10 +192,10 @@ Requires: sed Requires: systemd >= 200 # systemd-sysvinit provides: poweroff, reboot, halt -Requires: pixz Requires: systemd-sysvinit Requires: udev > 166 Requires: util-linux >= 2.21 +Requires: xz Recommends: binutils Recommends: logrotate Obsoletes: mkinitrd < 2.8.2 @@ -354,6 +361,13 @@ %patch143 -p1 %patch144 -p1 %patch145 -p1 +%patch146 -p1 +%patch147 -p1 +%patch148 -p1 +%patch149 -p1 +%patch150 -p1 +%patch151 -p1 +%patch152 -p1 %build %configure\ ++++++ 0146-dracut.sh-corrected-logfile-check.patch ++++++
From 077c4bc889733c6c38b767c99f56ef67a82ef432 Mon Sep 17 00:00:00 2001 From: jloeser
Date: Fri, 22 Aug 2014 16:31:34 +0200 Subject: dracut.sh: corrected logfile check
--- dracut.sh | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dracut.sh b/dracut.sh index ffe4989..5bf41f2 100755 --- a/dracut.sh +++ b/dracut.sh @@ -803,9 +803,13 @@ stdloglvl=$((stdloglvl + verbosity_mod_l)) # eliminate IFS hackery when messing with fw_dir fw_dir=${fw_dir//:/ } -if [[ ! -f $logfile ]];then - if [[ ! `touch $logfile > /dev/null 2>&1` ]];then - printf "%s\n" "dracut: touch $logfile failed. Couldn't create logfile." +# check for logfile and try to create one if it doesn't exist +if [[ -n "$logfile" ]];then + if [[ ! -f "$logfile" ]];then + touch "$logfile" + if [ ! $? -eq 0 ] ;then + printf "%s\n" "dracut: touch $logfile failed." >&2 + fi fi fi -- 1.7.6.1 ++++++ 0147-dracut.sh-Fix-UUID-fstab-parsing-in-case-mount-optio.patch ++++++
From be3797f733ad5e956c73d0f17ba8bddc12b7f570 Mon Sep 17 00:00:00 2001 From: Thomas Renninger
Date: Fri, 22 Aug 2014 18:52:22 +0200 Subject: dracut.sh: Fix UUID= fstab parsing in case --mount option is passed
Dracut parses /etc/fstab when --mount is option is passed (e.g. kdump).
In host_devs variable the real block device must be stored, not UUID=
There are other /etc/fstab syntax possibilities we now warn that they
are not correctly parsed. This will be fixed by another patch
when there is time to test this properly.
Signed-off-by: Thomas Renninger
From 445d0a70896485991ba8ccc763422eefcda1ba1e Mon Sep 17 00:00:00 2001 From: Thomas Renninger
Date: Mon, 25 Aug 2014 18:04:05 +0200 Subject: dracut.sh: Fix LABEL= and other fstab syntax
On my test system I had problem with -o device in combination with -l option,
but this must have been a blkid, or sysfs issue.
Patch should be correct.
Signed-off-by: Thomas Renninger
From b444f676e0c3847a42e7cd360846c8b669b022c3 Mon Sep 17 00:00:00 2001 From: Thomas Renninger
Date: Tue, 26 Aug 2014 17:31:33 +0200 Subject: dracut.sh: Fix fstab parsing again...
Signed-off-by: Thomas Renninger
From b5a5fb4486dee09287df825ecd1d2f8b76a98682 Mon Sep 17 00:00:00 2001 From: Martin Wilck
Date: Fri, 29 Aug 2014 15:42:51 +0200 Subject: Find kernel modules in extra and weak-updates path also
Signed-off-by: Thomas Renninger
From f25f24d6b13061b952d5420939898fe9d5496804 Mon Sep 17 00:00:00 2001 From: Thomas Renninger
Date: Fri, 29 Aug 2014 16:17:50 +0200 Subject: Go back to xz again, pixz may use too much memory while compressing.
bnc#893981
Signed-off-by: Thomas Renninger
From 9cbbca5888f657833e658fcfe1fc21e74c3a3507 Mon Sep 17 00:00:00 2001 From: Thomas Renninger
Date: Fri, 29 Aug 2014 16:19:33 +0200 Subject: Add a comment to easily add debug modules, also add vi to debug module
Signed-off-by: Thomas Renninger