[Bug 1330408] [NEW] ucfr fails if smb.conf is not owned by samba

bog martaina at gmx.de
Mon Jun 16 09:20:43 UTC 2014


Public bug reported:

Line 107 in /var/lib/dpkg/info/samba-common.postinst fails if smb.conf is not owned by samba and because of set -e breaks the configuration of the package.
Thats the line:
ucfr samba-common "$CONFIG" 

it should be something like that:

ucfr samba-common "$CONFIG" || true

in the end it samba-common should install anyway. Thats what ucfr is
intended for.

Cheers

Bog

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1330408

Title:
  ucfr fails if smb.conf is not owned by samba

Status in “samba” package in Ubuntu:
  New

Bug description:
  Line 107 in /var/lib/dpkg/info/samba-common.postinst fails if smb.conf is not owned by samba and because of set -e breaks the configuration of the package.
  Thats the line:
  ucfr samba-common "$CONFIG" 

  it should be something like that:

  ucfr samba-common "$CONFIG" || true

  in the end it samba-common should install anyway. Thats what ucfr is
  intended for.

  Cheers

  Bog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1330408/+subscriptions



More information about the foundations-bugs mailing list