https://bugzilla.novell.com/show_bug.cgi?id=774560 https://bugzilla.novell.com/show_bug.cgi?id=774560#c20 --- Comment #20 from Michael Chang <mchang@suse.com> 2012-08-13 03:14:58 UTC --- (In reply to comment #18)
Copied from my konsole. Should it not go back to the prompt after it is done? I had to use CNTRL+Z to stop it.
tail -f /var/log/YaST2/y2log_bootloader Generating grub.cfg ... tail: /var/log/YaST2/y2log_bootloader: file truncated Generating grub.cfg ... Found theme: /boot/grub2/themes/openSUSE/theme.txt Found linux image: /boot/vmlinuz-3.4.6-1.1-desktop Found initrd image: /boot/initrd-3.4.6-1.1-desktop No volume groups found Found openSUSE 12.1 (x86_64) on /dev/sda1 done
^Z [1]+ Stopped tail -f /var/log/YaST2/y2log_bootloader
CNTRL+Z puts the process to background and suspend it. (In case that it holds file lock or any unreleased resource, which is unwanted side-effect to new running process) If you want a clean termination, use CTRL+C is better way to go. :) The 'trace' (set -x) is not enable in the script, you could try this command $ sed -i '1s/$/ -x/' /usr/sbin/grub2-mkconfig That is set your #! /bin/sh to #! /bin/sh -x And see where the execution blocks (in a command or in a loop). Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.