Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#419818: dbus: Syntax error /etc/init.d/dbus line 57

 
   Soft32 Home -> Linux2 Arch -> Bugs Dist RSS
Next:  Bug#419754: Error: trying to overwrite `/usr/bin/..  
Author Message
David Liontooth

External


Since: Nov 18, 2006
Posts: 62



(Msg. 1) Posted: Wed Apr 18, 2007 1:10 am
Post subject: Bug#419818: dbus: Syntax error /etc/init.d/dbus line 57
Archived from groups: linux>debian>bugs>dist (more info?)

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


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#414139: dbus-1-utils: dbus-monitor does not react to S.. - Package: dbus-1-utils Version: 1.0.2-1 Severity: normal Ctrl-C on running dbus-monitor does nothing. You need to put i...

Bug#409754: python-dbus: should provide python2.5-dbus - Package: python-dbus Version: 0.80.1-1 Severity: normal The release notes claim "Python 2.5-compatible, on 32 an...

Bug#402775: Refuses to start with dbus error - Package: epiphany-browser Version: 2.14.3-3 When I run epiphany, it prints the following message and exits instead of....

Bug#335786: etc/init.d/xprint: 531: Syntax error: Bad subs.. - Hi, About 2 years ago, you reported a bug to the Debian BTS regarding a bad substitution in /etc/init.d/xprint. Did yo...

Bug#400491: bmpx: requires dbus - Package: bmpx Version: 0.32.0-1 Severity: important Hi. Launching bmpx without dbus installed (but libdbus) throws..

Bug#401647: f-spot: Should depends on dbus? - Package: f-spot Version: 0.2.1-1.1 Severity: important Hi! Today after an "aptitude install f-spot..
       Soft32 Home -> Linux2 Arch -> Bugs Dist All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]