[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759553: partman-auto-lvm: Script uses nonexisting 'stat' binary in d-i



Package: partman-auto-lvm
Version: 54
Severity: minor
User: debian-edu@lists.debian.org
Usertags: debian-edu

While investigating a failing debootstrap (probably bug #633782), I came
across a strange message in the d-i syslog:

  main-menu[185]: (process:7514): /bin/autopartition-lvm: line 1: stat:
  not found

I checked, and there is no stat program available in the d-i
environment.  The code in question is probably in
/lib/partman/lib/auto-lvm.sh.  I lokated this fragment in
<URL: http://anonscm.debian.org/cgit/d-i/partman-auto-lvm.git/tree/lib/auto-lvm.sh >:

  if ! vg_get_info "$defvgname" && ! stat "/dev/$defvgname"; then

The 'stat' call always fail because there is no stat binary provided by
busybox.  Should it be rewritten or busybox extended?

Automatic partitioning seem to work, so the error do not seem to be
fatal.

-- 
Happy hacking
Petter Reinholtdsen


Reply to: