Package: multistrap
Version: 2.1.12
Severity: normal

When using device-table.pl for devices like ttyS0 and ttyS1, the minor device 
number
needs to be 65, not zero. Currently, device-table.pl gets this right if the 
device
nodes are created individually but wrong when the device table specifies to 
iterate
over a series of device nodes - the minor number is set as the same as the
iteration counter.

This works:
/dev/urandom    c       0666    0       0       1       9       0       0       
-

mknod ./dev/urandom c 1 9
chmod 0666 ./dev/urandom
chown 0:0 ./dev/urandom

This fails:
/dev/ttyS       c       0660    0       20      4       65      1       1       
2

mknod ./dev/ttyS0 c 4 0
chmod 0660 ./dev/ttyS0
chown 0:20 ./dev/ttyS0
mknod ./dev/ttyS1 c 4 1
chmod 0660 ./dev/ttyS1
chown 0:20 ./dev/ttyS1

Should be:
mknod ./dev/ttyS0 c 4 65
chmod 0660 ./dev/ttyS0
chown 0:20 ./dev/ttyS0
mknod ./dev/ttyS1 c 4 65
chmod 0660 ./dev/ttyS1
chown 0:20 ./dev/ttyS1

Just a heads-up until the next upload is ready.

Fixed in SVN.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages multistrap depends on:
ii  apt                           0.8.10.3   Advanced front-end for dpkg
ii  libconfig-auto-perl           0.20-2     Magical config file parser
ii  libparse-debian-packages-perl 0.01-2     parse the data from a Debian Packa
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 
ii  realpath                      1.15       Return the canonicalized absolute 

Versions of packages multistrap recommends:
ii  emdebian-archive-keyring      2.0.1      GnuPG archive keys for the emdebia

Versions of packages multistrap suggests:
ii  fakeroot                      1.14.4-1   Gives a fake root environment

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to