Package: clonezilla
Version: 3.21.13-1
Severity: normal

Dear Maintainer,

When building the list of devices that can be choosen to backup, the
serial number of every disk is parsed. If one of them contains spaces, a
subsequent call to whiptail fails, leading to an abort with the message:

"Box" is an unknown hard drive device. Program terminated!.


Here is the serial number on my system (not sure if that's expected).
$ udevadm info -q env -n /dev/nvme0n1 | grep ID_SERIAL=
ID_SERIAL=PM961 NVMe SAMSUNG 512GB_      S33YNX0HB18834


I would suggest that the function get_disk_serial_no in the file
/usr/share/drbl/sbin/ocs-functions replaces spaces with underscores.
Maybe adding something like that before exiting would be enough.
  serialno="$(echo $serialno | tr ' ' _ 2>/dev/null)"


Best regards,
Celelibi

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.10.11 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages clonezilla depends on:
ii  bc     1.06.95-9+b2
ii  drbl   2.20.11-1
ii  file   1:5.29-2
ii  gdisk  1.0.1-1
ii  pigz   2.3.4-1

Versions of packages clonezilla recommends:
pn  partclone  <none>
pn  partimage  <none>

Versions of packages clonezilla suggests:
ii  cifs-utils      2:6.6-4
ii  openssh-client  1:7.3p1-5

-- no debconf information

Reply via email to