Bug 846429

Summary: yast bootloader overwrites log file
Product: [openSUSE] openSUSE 13.1 Reporter: Klaus Kämpf <kkaempf>
Component: YaST2Assignee: Steffen Winterfeldt <snwint>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: rw
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Klaus Kämpf 2013-10-17 14:20:30 UTC
Calling update-bootloader --reinit runs grub2-install and grub2-mkconfig, both capturing output to /var/log/YaST2/y2log_bootloader.

Bug: The second call (grub2-mkconfig) does not append (>>) but overwrites (>) the log file. This bug might also be true for other shell commands run by update-bootloader.
Comment 1 Steffen Winterfeldt 2013-10-18 06:20:32 UTC
y2log_bootloader is only a temporary file. All commands are logged in perl-BL-standalone-log resp. /var/log/pbl.log. Look for Core::RunCommand.
Comment 2 Klaus Kämpf 2013-10-18 06:28:33 UTC
Ah, this is not visible from looking at y2log. There one only sees the simple redirection :-/
Comment 3 Steffen Winterfeldt 2013-10-18 06:53:14 UTC
I don't understand. The complete log is also written to y2log.