Bug 700603

Summary: kiwi: doesn't support systemd /sbin/init symlink
Product: [openSUSE] openSUSE.org Reporter: Frederic Crozat <fcrozat>
Component: System ImagingAssignee: Marcus Schaefer <ms>
Status: RESOLVED FIXED QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Major    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 696902    
Attachments: don't check /sbin/init permission if it is a symlink

Description Frederic Crozat 2011-06-17 13:31:03 UTC
Created attachment 435111 [details]
don't check /sbin/init permission if it is a symlink

systemd-sysvinit create an symlink from /bin/systemd to /sbin/init but unfortunately, kiwi linuxrc tries to check for the file permissions, which can't work since the symlink is absolute.

Attached patch fixes this issue by ensuring the permission test is only relevant when /sbin/init isn't a symlink (I'm also fixing rpm to not create an absolute symlink in the case of /sbin/init but it can only be fixed for next openSUSE release).
Comment 1 Marcus Schaefer 2011-06-20 11:30:45 UTC
Thanks, I have added that patch. new packages will follow on Friday this week