Bug 12672

Summary: Ошибки при работе. В итоге не грузится с флэшки
Product: Sisyphus Reporter: Alexei V. Mezin <alexei.mezin>
Component: mkbootflashAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: boyarsh, rider, snejok
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexei V. Mezin 2007-09-03 01:19:19 MSD
Попытался воспользоваться.
В /media/cdrom вручную через mount -o loop примонтирован образ с 
live-RC. В usb вставлена гигабайтная флэшка, села она на /dev/sdh. Вот 
что получается при запуске:

[root@threebears ALT_Linux_Desktop_4.0]# mkbootflash -v --live /dev/sdh
building file list ... done
./
16x16.fnt
back.jpg
boot.cat
bootlogo
en.hlp
en.tr
gfxboot.cfg
init
isolinux.bin
isolinux.cfg
kroete.dat
lang
languages
memtest
pabout.txt
panim.jpg
panim_a.jpg
pback.jpg
phead.jpg
ru.hlp
ru.tr
syslinux.cfg
text1.pcx
text2a.pcx
text2b.pcx
text2c.pcx
text3.pcx
text4a.pcx
text4b.pcx
text4c.pcx
timer_a.jpg
uk.hlp
uk.tr
welcome.jpg
alt0/
alt0/full.cz
alt0/vmlinuz

sent 5816262 bytes  received 824 bytes  11634172.00 bytes/sec
total size is 5813319  speedup is 1.00
copyng live image
`/media/cdrom/live' -> 
`/tmp/.private/root/mkbootflash-mount.hMQpQj9641/live'
making live syslinux.cnf
making initrd
patching file init
patching file local
Hunk #1 succeeded at 111 with fuzz 2.
patching file 60-persistent-storage.rules
mkinitrd: warning: /sys not available - hardware autodetection will not work
mktemp: cannot make temp dir /tmp/.private/root/initrd.rVFbof9739: No 
such file or directory
mkinitrd: Failed to create working directory.
rsync: link_stat 
"/tmp/.private/root/mkbootflash-work.NfvEWo9643/initrd.img" failed: No 
such file or directory (2)

sent 21 bytes  received 20 bytes  82.00 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at 
main.c(980) [sender=2.6.9]
syncing...
Comment 1 Anton V. Boyarshinov 2007-09-03 12:20:56 MSD
в хост-системе есть /tmp/.private/root ? То есть используется ли pam_mktemp?
Comment 2 Alexei V. Mezin 2007-09-03 20:39:36 MSD
Вроде все есть:

[root@threebears tmp]# ll /tmp/.private/
итого 8
drwx-----T  3 root     root        20 Сен  3 20:36 root/
drwxrwxrwx 14 root     root      4096 Сен  3 20:33 ../
drwx-----T 10 alexei   user      4096 Сен  3 20:33 alexei/
Comment 3 Anton V. Boyarshinov 2007-09-27 11:30:38 MSD
fixed in mkbootflash-0.8-alt1