Bug 309456

Summary: Image Creator does not work as non-root
Product: [openSUSE] openSUSE 10.3 Reporter: Stanislav Visnovsky <visnov>
Component: YaST2Assignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Y2Logs

Description Stanislav Visnovsky 2007-09-11 11:05:51 UTC
Created attachment 163179 [details]
Y2Logs

I've tried the Kiwi YaST frontend and it reported success for generating ISO. Unfortunatelly, there is nothing generated. According to logs, it seems KIWI cannot write to /usr/share....
Comment 1 Jiří Suchomel 2007-09-11 13:39:20 UTC
Were you able to get repositories data running as non-root? I thought it is not possible. 
And I also think kiwi cannot run as non-root (but I'm not sure I tested it), 

Anyway, new "image-creator" should not write anything into /usr/share... , see http://w3.suse.de/~jsuchome/product-creator/SLEPOS for new packages.
Comment 2 Stanislav Visnovsky 2007-09-11 13:48:15 UTC
libzypp does not complain, if you don't ask for writing to database or install anything.

I cannot test your packages, I'm on 10.3 factory.

I think a simple Confirm::RunAsRoot() should do.
Comment 3 Jiří Suchomel 2007-09-11 13:55:43 UTC
Yes; but if kiwi would work, it wouldn't be necessary. I need to check it.
Comment 4 Jiří Suchomel 2007-09-14 11:44:37 UTC
yast2-product-creator-2.15.7 (with Confirm)