[Bug 792340] New: samba-winbind depends on dropped /etc/init.d/nscd
https://bugzilla.novell.com/show_bug.cgi?id=792340 https://bugzilla.novell.com/show_bug.cgi?id=792340#c0 Summary: samba-winbind depends on dropped /etc/init.d/nscd Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: suse-beta@cboltz.de QAContact: samba-maintainers@SuSE.de Found By: Beta-Customer Blocker: --- /etc/init.d/nscd was dropped from the nscd package a week ago (and replaced by a systemd .service file), but samba-winbind still depends on it: Problem: samba-winbind-3.6.9-56.1.x86_64 requires /etc/init.d/nscd, but this requirement cannot be provided uninstallable providers: unscd-0.48-5.3.i586[factory-oss] unscd-0.48-5.3.x86_64[factory-oss] Solution 1: deinstallation of nscd-2.16.90-4.1.x86_64 Solution 2: deinstallation of samba-winbind-3.6.9-56.1.x86_64 Solution 3: break samba-winbind-3.6.9-56.1.x86_64 by ignoring some of its dependencies -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c1
--- Comment #1 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c2
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c3
Lars Müller
/etc/init.d/nscd was dropped from the nscd package a week ago (and replaced by a systemd .service file), but samba-winbind still depends on it:
I dupped a x86_64 system to 12.3 MS 1. And that worked well as nscd was kept. As soon as I try to uninstall nscd I see: g237:~ # LC_ALL=POSIX zypper rm unscd Loading repository data... Reading installed packages... Resolving package dependencies... The following packages are going to be REMOVED: samba-winbind unscd 2 packages to remove. After the operation, 12.8 MiB will be freed. And this has close to nothing to do with the sysconfig file. :\ On the samba-winbind side we have to consider to move replace the Requires: nscd to a Suggests: unscd Systemd support we need nevertheless. Christian: What do you like or expect? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c4
Christian Boltz
(In reply to comment #0) I dupped a x86_64 system to 12.3 MS 1. And that worked well as nscd was kept.
12.3 MS1 is old ;-)) - try current Factory...
As soon as I try to uninstall nscd I see:
g237:~ # LC_ALL=POSIX zypper rm unscd Loading repository data... Reading installed packages... Resolving package dependencies...
The following packages are going to be REMOVED: samba-winbind unscd
So you have unscd installed, not nscd. At the moment the difference of both is that unscd (still?) contains an initscript, but nscd does not. In other words: try to install the nscd (instead of unscd) package from current Factory, and you'll see the conflict.
On the samba-winbind side we have to consider to move replace the
Requires: nscd
to a
Suggests: unscd
Depends on the question if nscd (or unscd) is a hard or a soft requirement. BTW: unscd probably has a Provides:nscd, so better don't explicitely mention unscd to allow users to choose between nscd and unscd. Besides that: # rpm -q samba-winbind --requires |grep init /etc/init.d/nscd That's what caused the conflict I reported... I'll let it up to you to find out why this Requires is there ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c5
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c6
--- Comment #6 from Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c7
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c8
--- Comment #8 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c9
--- Comment #9 from Lars Müller
While the recommends is fine, it isn't used in package ordering. So it may happen that nscd gets installed after samba-winbind.
Right. But if we only recommend it we're able to remove the nscd or unscd package.
Also, %restart_on_update was/is a multi-line command, so you need to use "if test -x ..." instead of your "&&".
Thanks.
Also, why would you want to restart nscd anyway?
See https://bugzilla.novell.com/show_bug.cgi?id=174589#c88 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c10
--- Comment #10 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c11
Lars Müller
From the samba-winbind package %postun we nevertheless should:
- invalidate the nscd cache (nscd -i {passwd|group}) - cleanup potential pam modifications pam-config --delete winbind Adding Ralf to cc as he gave me these hints while we discussed the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c12
Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c13
--- Comment #13 from Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c14
--- Comment #14 from Christian Boltz
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c15
Lars Müller
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c18
--- Comment #18 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c19
--- Comment #19 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c20
--- Comment #20 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c21
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c22
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=792340
https://bugzilla.novell.com/show_bug.cgi?id=792340#c
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=792340
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com