[Pkg-utopia-maintainers] Bug#419818: dbus: Syntax error
/etc/init.d/dbus line 57
David Liontooth
liontooth at cogweb.net
Wed Apr 18 04:01:40 UTC 2007
Package: dbus
Version: 1.0.2-3
Severity: minor
# /etc/init.d/dbus restart
/etc/init.d/dbus: line 57: [: too many arguments
Stopping system message bus: dbus.
Starting system message bus: dbus.
/etc/init.d/dbus: line 57: [: too many arguments
The part that fails is a comparison of a runlevel query that results in "N 2" instead of "2":
+ run-parts --arg=start /etc/dbus-1/event.d
+ dependent_services start
+ '[' '!' -z ']'
/sbin/runlevel
++ /sbin/runlevel
+ r='N 2'
+ '[' N 2 = unknown ']'
/etc/init.d/dbus: line 57: [: too many arguments
Moving r=${r#*\ } to remove the N before the comparison solves my problem, but may not generalize.
Incidentally, I can't tell whether dbus functionality is affected; it may not be.
Dave
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages dbus depends on:
ii adduser 3.102 Add and remove users and groups
ii debianutils 2.18 Miscellaneous utilities specific t
ii libc6 2.5-2 GNU C Library: Shared libraries
ii libdbus-1-3 1.0.2-1 simple interprocess messaging syst
ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li
ii libx11-6 2:1.0.3-7 X11 client-side library
ii lsb-base 3.1-23 Linux Standard Base 3.1 init scrip
dbus recommends no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list