Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 90681

Summary: samba-3.0.14a-r1 ebuild borks acl support and doesn't create cups backend symlink
Product: Gentoo Linux Reporter: Chris Smith <chris>
Component: Current packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: major CC: kenyon, yogi
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix samba-3.0.14a-r1 ebuild
fixed ebuild

Description Chris Smith 2005-04-27 21:51:34 UTC
The samba-3.0.14a-r1 ebuild incorrectly configures "--with-acl" instead of the proper "--with-acl-support" if the acl use flag is set.

It also fails to create the symlink /usr/lib/cups/backend/smb to /usr/bin/smbspool for the cups backend.

Reproducible: Always
Steps to Reproduce:
1.emerge samba
2.
3.

Actual Results:  
acl support borked

can't print to smb printer via cups


corrected proposed ebuild and diff to follow
Comment 1 Chris Smith 2005-04-27 21:53:23 UTC
Created attachment 57451 [details, diff]
patch to fix samba-3.0.14a-r1 ebuild
Comment 2 Chris Smith 2005-04-27 21:54:20 UTC
Created attachment 57452 [details]
fixed ebuild

patched and ready to use
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-28 03:54:06 UTC
thanks Chris, nice catch.
Comment 4 Chris Smith 2005-04-28 07:13:53 UTC
Maybe it's just my system but the updated ebuild in portage still doesn't create the cups backend symlink.
For some reason "dosym ../bin/smbspool /usr/$(get_libdir)/cups/backend/smb" just doesn't work here. But specifying the whole path like my patch did "dosym /usr/bin/smbspool /usr/$(get_libdir)/cups/backend/smb" works. I see the value in not hardcoding the path but it also needs to work.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-29 04:16:31 UTC
gah, I see the problem, sorry about this.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-29 06:58:54 UTC
ok, the symlink is now properly created. sorry about that.
Comment 7 Kenyon Ralph 2005-04-29 21:23:00 UTC
OK, but was there a revision bump so this symlink fix would get propagated?  If I'm reading the changelog correctly, I don't think so.  Would have saved me a few hours of figuring out this problem...
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-10 08:48:35 UTC
*** Bug 91860 has been marked as a duplicate of this bug. ***