Bug 706740 - Orphaned links on rc0.d-rc6.d
Summary: Orphaned links on rc0.d-rc6.d
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-22 16:32 UTC by marian
Modified: 2011-06-09 00:01 UTC (History)
8 users (show)

Fixed In Version: sssd-1.5.8-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-09 00:01:42 UTC


Attachments (Terms of Use)

Description marian 2011-05-22 16:32:06 UTC
Description of problem:


Version-Release number of selected component (if applicable):
 yum info initscripts
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
Name        : initscripts
Arch        : x86_64
Version     : 9.30
Release     : 2.fc15
Size        : 5.4 M
Repo        : installed
From repo   : fedora
Summary     : The inittab file and the /etc/init.d scripts
URL         : http://fedorahosted.org/releases/i/n/initscripts/
License     : GPLv2 and GPLv2+
Description : The initscripts package contains the basic system scripts used to
            : boot your Red Hat or Fedora system, change runlevels, and shut the
            : system down cleanly.  Initscripts also contains the scripts that
            : activate and deactivate most network interfaces.



How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
!K80sssd,!K87irqbalance,!S99single orphaned links

Expected results:
w/o orphaned links

Additional info:

Comment 1 Bill Nottingham 2011-05-23 14:58:26 UTC
S99single is fixed in initscripts git.

sssd/irqbalance are upgrade issues in those packages. Depending on what versions you upgrade through, it may not be reasonably fixable. Were you running various beta/pre-releases?

In any case, assigning to sssd.

Comment 2 Stephen Gallagher 2011-05-23 17:36:41 UTC
I'm not sure how to go about removing the K80sssd file. SSSD in Fedora 15 is now using systemd, so I don't have any interface that I'm aware of to know whether there is an init.d symlink present that I would have to remove (and I'm not sure whether it's sane to just 'rm -f /etc/rc.*/K80sssd' in %post.

Comment 3 marian 2011-05-23 17:48:31 UTC
I'm not touch initscripts anywhere.Supose from upgrade this issue is present.

Comment 4 Bill Nottingham 2011-05-23 18:20:46 UTC
Stephen - you'd need to add:

/sbin/chkconfig --del sssd

at the end of the %triggerun that you have on the earlier version, in order to remove the old links.  Obviously, this would only help new upgrades; it wouldn't do anything on systems that already have the dangling links.

diff --git a/sssd.spec b/sssd.spec
index 4463adf..0b7294c 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -278,7 +278,7 @@ fi
 if /sbin/chkconfig --level 5 sssd ; then
         /bin/systemctl --no-reload enable sssd.service >/dev/null 2>&1 || :
 fi
-
+/sbin/chkconfig --del sssd >/dev/null 2>&1 || :
 
 
 %postun

Comment 5 Fedora Update System 2011-05-23 19:14:28 UTC
sssd-1.5.7-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/sssd-1.5.7-3.fc15

Comment 6 marian 2011-05-24 04:26:19 UTC
Ok but remain !K87irqbalance,!S99single.

Comment 7 marian 2011-05-24 04:29:38 UTC
Ok but remain !K87irqbalance,!S99single.

Comment 8 Stephen Gallagher 2011-05-24 11:43:49 UTC
(In reply to comment #7)
> Ok but remain !K87irqbalance,!S99single.

Those are separate bugs against different components. You need to open two other bugs, one against the 'irqbalance' component and one against the 'initscripts' component.

This bug is tracking the SSSD fix.

Comment 9 marian 2011-05-24 14:35:22 UTC
Yes tnx of lot.

Comment 10 Bill Nottingham 2011-05-24 15:26:49 UTC
As stated, the initscripts one is already fixed in upstream source, it just hasn't been packaged yet.

Comment 11 Fedora Update System 2011-05-25 02:57:45 UTC
Package sssd-1.5.7-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.5.7-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sssd-1.5.7-3.fc15
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2011-05-29 00:00:35 UTC
Package sssd-1.5.8-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sssd-1.5.8-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sssd-1.5.8-1.fc15
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2011-06-09 00:01:36 UTC
sssd-1.5.8-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.