Package: sysconfig-hardware
Version: 0.0.8
Severity: minor

Both with udeb 0.125 and 0.140 I noticed:

# udevadm test /class/net/ctc0
[...]
import_uevent_var: import into environment: 'INTERFACE=ctc0'
import_uevent_var: import into environment: 'IFINDEX=2'
udevtest: looking at device '/devices/cu3088/0.0.0a00/net/ctc0' from subsystem 
'net'
run_program: '/etc/sysconfig/scripts/hardware/udev-net '
run_program: '/etc/sysconfig/scripts/hardware/udev-net' (stderr) 
'/etc/sysconfig/scripts/hardware/udev-net: line 13: [: =: unary operator 
expected'
run_program: '/etc/sysconfig/scripts/hardware/udev-net' (stderr) 'Can't find 
config--!'
run_program: '/etc/sysconfig/scripts/hardware/udev-net' returned with status 9
udev_rules_get_name: rule applied, 'ctc0' becomes 'ctc0'
udevtest: run: 'net.agent'
udevtest: run: 'socket:@/org/kernel/udev/monitor'


The error "[: =: unary operator expected" comes from the following line in
/etc/sysconfig/scripts/hardware/udev-net:
   [ $BUS = "ccwgroup" ] && BUS=ccw

I suggest adding quotes around $BUS to avoid this.
(To compensate you could remove the quotes around ccwgroup ;-)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: s390

Kernel: Linux 2.6.29-1-s390 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysconfig-hardware depends on:
ii  udev                          0.140-2    /dev/ and hotplug management daemo

sysconfig-hardware recommends no packages.

sysconfig-hardware suggests no packages.

-- 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