[Rear-users] rear mkrescue hangs on SLES 9 (SP4)

Werner Flamme werner.flamme at ufz.de
Wed Jan 23 16:34:50 CET 2008

Werner Flamme   [23.01.2008 12:59]:

To narrow things, I divided the long command line in
/usr/share/rear/build/default/50_patch_sshd_config.sh into 4 command
lines. SLES' sed hangs at the first step:

# rear mkrescue
Relax & Recover Version 1.6 / 2007-12-05
The preparation phase OK
Physical devices that will be recovered: /dev/sda /dev/sdb /dev/sdd
Creating root FS layout OK
Copy files and directories OK
Copy program files & libraries OK
Copy kernel modules OK
/usr/sbin/rear part 1: /tmp/rear.7253/rootfs
Cmd: sed -i  -e 's/PasswordAuthentication.*/PasswordAuthentication
no/ig' /tmp/rear.7253/rootfs/etc/sshd_co[n]fig

I added some output to see the commands that are to be executed. The
script reads

echo "$0 part 1: $ROOTFS_DIR"
BEF="sed -i  -e 's/PasswordAuthentication.*/PasswordAuthentication
no/ig' $ROOTFS_DIR/etc/sshd_co[n]fig $ROOTFS_DIR/etc/ssh/sshd_co[n]fig"
echo "Cmd: $BEF"

at this point. After the echos the command is executed.

Or, in this case, it is not... :-(

Werner Flamme, Abt. WKDV
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Permoserstr. 15 - 04318 Leipzig
Tel.: (0341) 235-1921 - Fax (0341) 235-451921
http://www.ufz.de - eMail: werner.flamme at ufz.de

More information about the rear-users mailing list