Your message dated Mon, 4 Jul 2016 10:59:15 +0000
with message-id
<by2pr19mb01655b49a6a1f32e663bf34ea4...@by2pr19mb0165.namprd19.prod.outlook.com>
and subject line
has caused the Debian Bug report #823400,
regarding tmpfs size calculation fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
823400: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823400
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: live-boot
Version: 4.0.2-1
I am using a self made Clonezilla 2.4.5-23-amd64 live media
(filesystem.squashfs is inside clonezilla subdirectory,
live-media-path=clonezilla and live-media=removable added to boot options) and
with toram=filesystem.squashfs I get these errors (/var/log/live/boot.log
excerpt when booted with live-boot.debug):
Begin: Copying live media to ram ... + copy_live_to /live/medium ram
+ copyfrom=/live/medium
+ copytodev=ram
+ copyto=/live/medium_swap
+ [ -z filesystem.squashfs ]
+ MODULETORAMFILE=/live/medium/clonezilla/filesystem.squashfs
+ [ -f /live/medium/clonezilla/filesystem.squashfs ]
+ ls -la /live/medium/clonezilla/filesystem.squashfs
+ awk {print $5}
-la: No such file or directory
+ expr / 1024 + 5000
expr: syntax error
+ size=
+ [ ram = ram ]
+ awk /^MemFree:/{f=$2} /^Cached:/{c=$2} END{print f+c} /proc/meminfo
+ freespace=3853216
+ mount_options=-o size=k
+ free_string=memory
+ fstype=tmpfs
+ dev=/dev/shm
+ [ 3853216 -lt ]
sh: bad number
+ [ -z -o size=k ]
+ mkdir /live/medium_swap
+ log_begin_msg mount -t tmpfs -o size=k /dev/shm /live/medium_swap
+ _log_msg Begin: mount -t tmpfs -o size=k /dev/shm /live/medium_swap ...
+ [ n = y ]
+ printf Begin: mount -t tmpfs -o size=k /dev/shm /live/medium_swap ...
Begin: mount -t tmpfs -o size=k /dev/shm /live/medium_swap ... + mount -t tmpfs
-o size=k /dev/shm /live/medium_swap
The offending code appears to be here:
https://anonscm.debian.org/cgit/debian-live/live-boot.git/tree/components/9990-toram-todisk.sh#n19
Besides the errors, it is working fine.
GParted live media also has this issue.
--- End Message ---
--- Begin Message ---
Version: 2.0.4-9
--- End Message ---