Bug 838230

Summary: systemd repair mode is hosing the rootfs
Product: [Fedora] Fedora Reporter: Bruno Wolff III <bruno>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: harald, johannbg, lnykryn, marc.c.dionne, metherid, msekleta, notting, paul, plautrba, relrod, robatino, systemd-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-09 11:53:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 752654    
Attachments:
Description Flags
This is a systemd log from one failed boot attempt
none
This is what got written to /etc/profile
none
This shows ths sysroot line appended to /etc/fstab none

Description Bruno Wolff III 2012-07-07 15:57:48 UTC
Description of problem:
While trying to get data for some other systemd/plmouth/dracut issues blocking booting with new initramfs images a new bug has showed up where I can't even boot from old initramfs images. I get dumped into a repair mode with no networking (making it hard to capture data). My rootfs system is mounted, but systemd may be behaving as though the root pivot hasn't happened yet. It wrote over /etc/profile to change the shell prompt and appends a line to /etc/fstab every boot attempt for mounting sysroot. On one machine the rootfs got corrupted, but I suspect I might have done some damage trying to work out of the problem.
Unfortunately because of the change in prerequisites in several related packages it is very difficult for me to revert back to systemd 19 in order to have a usable system again.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bruno Wolff III 2012-07-07 16:19:44 UTC
Created attachment 596778 [details]
This is a systemd log from one failed boot attempt

Comment 2 Bruno Wolff III 2012-07-07 16:20:42 UTC
Created attachment 596779 [details]
This is what got written to /etc/profile

Comment 3 Bruno Wolff III 2012-07-07 16:21:45 UTC
Created attachment 596780 [details]
This shows ths sysroot line appended to /etc/fstab

Comment 4 Harald Hoyer 2012-07-09 11:53:23 UTC
sorry, see https://bugzilla.redhat.com/show_bug.cgi?id=838367#c7

*** This bug has been marked as a duplicate of bug 838367 ***