Your message dated Fri, 20 Nov 2015 14:36:15 +0100
with message-id <[email protected]>
and subject line Re: A patch that might work
has caused the Debian Bug report #765622,
regarding A faulty patch prevents systemd from booting up with the dracut 
initramfs(while /usr is on a separate partition)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
765622: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765622
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: base-files
Version: 7.6
Severity: minor

Dear Maintainer,

After switching to dracut from initramfs-tools and generating a new
initramfs system didn't boot up.
Systemd failed to switch to new sysroot because it didn't recognized /
as root. "/" didn't contained os-release file only a symlink to
../usr/lib/os-release. 
I have a separate / and /usr partitions so link to nowhere might be a
problem.

To fix it I have copied /usr/lib/os-release to /etc/os-release
and system started to work as intended.

Until /usr will be mounted during initramfs phase I think that there is
no reason to make /etc/os-release a symlink and after that keeping two
os-release files(or keeping only /etc/os-release) shouldn't be a big
problem either.

First patch keeps two os-release files:
diff -rup 1/base-files-7.6/debian/conffiles base-files-7.6/debian/conffiles
--- 1/base-files-7.6/debian/conffiles	2014-07-19 17:08:38.000000000 +0200
+++ base-files-7.6/debian/conffiles	2014-10-16 19:04:27.462514113 +0200
@@ -3,3 +3,4 @@
 /etc/host.conf
 /etc/issue
 /etc/issue.net
+/etc/os-release
diff -rup 1/base-files-7.6/debian/rules base-files-7.6/debian/rules
--- 1/base-files-7.6/debian/rules	2014-07-20 12:11:12.000000000 +0200
+++ base-files-7.6/debian/rules	2014-10-16 19:04:19.994636488 +0200
@@ -62,8 +62,7 @@ endif
 		> debian/tmp/etc/issue.net
 	sed -e "s&#OSNAME#&$(OSNAME)&g" etc/os-release \
 		> debian/tmp/etc/os-release
-	mv debian/tmp/etc/os-release debian/tmp/usr/lib
-	ln -s ../usr/lib/os-release debian/tmp/etc/os-release
+	cp debian/tmp/etc/os-release debian/tmp/usr/lib/os-release
 	gzip -9 $(docdir)/changelog
 	cd debian/tmp && \
 		md5sum `find usr -type f` > DEBIAN/md5sums

Keeps only /etc/os-release file:
diff -rup 1/base-files-7.6/debian/conffiles base-files-7.6/debian/conffiles
--- 1/base-files-7.6/debian/conffiles	2014-07-19 17:08:38.000000000 +0200
+++ base-files-7.6/debian/conffiles	2014-10-16 18:55:41.186783921 +0200
@@ -3,3 +3,4 @@
 /etc/host.conf
 /etc/issue
 /etc/issue.net
+/etc/os-release
diff -rup 1/base-files-7.6/debian/rules base-files-7.6/debian/rules
--- 1/base-files-7.6/debian/rules	2014-07-20 12:11:12.000000000 +0200
+++ base-files-7.6/debian/rules	2014-10-16 18:56:26.563142619 +0200
@@ -62,8 +62,6 @@ endif
 		> debian/tmp/etc/issue.net
 	sed -e "s&#OSNAME#&$(OSNAME)&g" etc/os-release \
 		> debian/tmp/etc/os-release
-	mv debian/tmp/etc/os-release debian/tmp/usr/lib
-	ln -s ../usr/lib/os-release debian/tmp/etc/os-release
 	gzip -9 $(docdir)/changelog
 	cd debian/tmp && \
 		md5sum `find usr -type f` > DEBIAN/md5sums
Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers experimental
  APT policy: (501, 'experimental'), (501, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17.0-05585-g782d59c (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages base-files depends on:
ii  gawk [awk]  1:4.1.1+dfsg-1
ii  mawk [awk]  1.3.3-17

base-files recommends no packages.

base-files suggests no packages.

-- 
X was an interactive protocol: 
alpha blending a full-screen image looked like slugs racing down the monitor. 
http://www.keithp.com/~keithp/talks/usenix2000/render.html

--- End Message ---
--- Begin Message ---
Version: 219-8

On Sun, 16 Nov 2014 19:11:05 +0100 [email protected] (Krzysztof A.
Sobiecki) wrote:
> fstab-generator-don-t-rely-on-usr-being-mounted-in-t.patch breaks boot
> up on dracut.
> As dracut supports usr-mount in initramfs, systemd should be free to
> enable it.

This patch has been dropped in the mean time. So I'm closing this bug
report.

If you still run into issues with dracut under systemd with a recent
version, please file a new bug report.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to