/etc/network/if-up.d/samba should check if samba is still installed

Bug #659499 reported by Daniel Hahler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: samba

I am getting the following error when restarting networking:
/etc/network/if-up.d/samba: 24: /etc/init.d/samba: not found

I have removed samba from this system, and therefore /etc/init.d/samba does not exist anymore.
However, as known from other scripts in /etc, it should check if this init script (or another binary to be executed) still exists (and is executable maybe even).

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: samba (not installed)
Uname: Linux 2.6.36-rc7-blueyed-00145-g50c6dc9 i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue Oct 12 22:28:48 2010
ProcEnviron:
 LANGUAGE=de_DE:de:en_US:en_GB:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zsh
RelatedPackageVersions:
 nautilus 1:2.32.0-0ubuntu1
 gvfs 1.6.4-0ubuntu1
SambaClientRegression: No
SourcePackage: samba

Related branches

Revision history for this message
Daniel Hahler (blueyed) wrote :
Changed in samba (Ubuntu):
importance: Undecided → Wishlist
importance: Wishlist → Low
Revision history for this message
Chuck Short (zulcss) wrote :

Did you remove samba-common as well or just samba?

chuck

Changed in samba (Ubuntu):
status: New → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :

No, samba-common is still installed.

% dpkg -l|grep samba|awk '{print $1 " " $2 " " $3}'
rc samba 2:3.5.4~dfsg-1ubuntu7
ii samba-common 2:3.5.4~dfsg-1ubuntu8.1
ii samba-common-bin 2:3.5.4~dfsg-1ubuntu8.1
ii samba-doc 2:3.5.4~dfsg-1ubuntu8.1

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package samba - 2:3.5.6~dfsg-3ubuntu3

---------------
samba (2:3.5.6~dfsg-3ubuntu3) natty; urgency=low

  * debian/samba.if-up: Only run if /etc/init.d/smbd is installed.
    (LP: #659499)
 -- Chuck Short <email address hidden> Tue, 04 Jan 2011 09:11:45 -0500

Changed in samba (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.