Bug 854263 - New subpackage qpid-cpp-server-daemon broked upgrades
Summary: New subpackage qpid-cpp-server-daemon broked upgrades
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qpid-cpp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Darryl L. Pierce
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 854394 854782 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-04 14:13 UTC by Miroslav Suchý
Modified: 2015-06-22 00:08 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-23 05:07:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Suchý 2012-09-04 14:13:23 UTC
Description of problem:
In past file /etc/rc.d/init.d/qpidd was part of qpid-cpp-server [1]
Now this file reside in qpid-cpp-server-daemon [2].
And if you now run "yum upgrade" this file simply vanish and broke existing installation.

[1] http://koji.fedoraproject.org/koji/rpminfo?rpmID=3275428
[2] http://koji.fedoraproject.org/koji/rpminfo?rpmID=3309321

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. install qpid-cpp-server
2. yum upgrade
3. service qpidd restart
  
Actual results:
no such sysvinit script

Expected results:
Provided automatic upgrade path via set of Requires/Provides/Obsoletes and init script is automatically installed for those who are upgrading from older version of package.

Additional info:

Comment 1 Darryl L. Pierce 2012-09-04 14:41:25 UTC
There's no way to explicitly provide an upgrade path since qpid-cpp-server should not depend on qpid-cpp-server-daemon. Users should be able to install the server without having to install the daemon scripts. There's just no way with RPM to provide an automated upgrade path to pull down the new subpackage.

The release notes for the F17 and Rawhide updates noted the addition of this new subpackage. If there's another way to make it clear to users when upgrading about a change of this sort, please feel free to point it out.

Comment 2 Miroslav Suchý 2012-09-05 08:10:56 UTC
> The release notes for the F17 and Rawhide updates noted the addition of this new subpackage.

I do not see the anything related here:
http://docs.fedoraproject.org/en-US/Fedora/17/html/Release_Notes/

And even if you would announce the change in F17 and Rawhide, you should not breake F16.

> There's no way to explicitly provide an upgrade path since qpid-cpp-server

Yes there is way.
You can do the split in F16+, but in already released Fedoras (F16 and F17) package qpid-cpp-server should require qpid-cpp-server-daemon. This way you do not broke existing installation and you provide transitional phase. In F18 you can remove such requirement and user can remove qpid-cpp-server-daemon if he wants.
The need to not break existing installation is definitelly higher then enforcing installation of package, which some users do not need. Especially when the package is such small.

Please consider reopening this bug and fixing it in F16 and F17.

Comment 3 Miroslav Suchý 2012-09-05 08:29:35 UTC
Additionally see fedora guidelines fur such issues:
http://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages

Comment 4 Justin Sherrill 2012-09-05 15:28:49 UTC
What was the reason for splitting it out into its own subpackage?  This does not seem normal although I may be ignorant on the matter.

Comment 5 Darryl L. Pierce 2012-09-05 15:52:20 UTC
(In reply to comment #4)
> What was the reason for splitting it out into its own subpackage?  This does
> not seem normal although I may be ignorant on the matter.

With the eventual move away from SysVInit scripts to systemd, the control scripts are being separated from binary packages into -daemon subpackages. If you look through yum (i.e., yum list "*-daemon") you'll see many examples of this packaging scheme already in place.

Comment 6 Darryl L. Pierce 2012-09-05 15:53:11 UTC
(In reply to comment #2)
> > The release notes for the F17 and Rawhide updates noted the addition of this new subpackage.
> 
> I do not see the anything related here:
> http://docs.fedoraproject.org/en-US/Fedora/17/html/Release_Notes/

I meant the release notes for the packages.

Comment 7 Miroslav Suchý 2012-09-05 17:13:40 UTC
> If you look through yum (i.e., yum list "*-daemon") you'll see many examples of
> this packaging scheme already in place.

The list is quite small:
apache-commons-daemon.x86_64                        1.0.10-2.fc17                                   @fedora 
gnome-dvb-daemon.x86_64                             0.2.8-1.fc17                                    @fedora 
gnome-settings-daemon.x86_64                        3.4.2-3.fc17                                    @updates
libvirt-daemon.x86_64                               0.9.11.4-3.fc17                                 @updates
notification-daemon.x86_64                          0.7.4-1.fc17                                    @fedora 
perl-HTTP-Daemon.noarch                             6.00-4.fc17                                     @fedora 
Dostupné balíčky:
Vuurmuur-daemon.x86_64                              0.7-9.fc17                                      fedora  
bamf-daemon.x86_64                                  0.2.104-3.fc17                                  fedora  
bootchart-daemon.x86_64                             0.14.0-2.3.git20110630.fc17                     fedora  
deluge-daemon.noarch                                1.3.5-1.fc17                                    updates 
git-daemon.x86_64                                   1.7.11.4-3.fc17                                 updates 
gkrellm-daemon.x86_64                               2.3.5-9.fc17                                    fedora  
libvirt-daemon.x86_64                               0.9.11.5-3.fc17                                 updates 
mate-notification-daemon.x86_64                     1.4.0-2.fc17                                    updates 
mipv6-daemon.x86_64                                 2.0.2.20110203bgit-3.fc17                       fedora  
perl-App-Daemon.noarch                              0.15-1.fc17                                     fedora  
perl-JSON-RPC-Daemon.noarch                         1.03-2.fc17                                     updates 
perl-Net-Daemon.noarch                              0.48-1.fc17                                     fedora  
perl-Proc-Daemon.noarch                             0.14-3.fc17                                     fedora  
python-daemon.noarch                                1.6-1.fc16                                      fedora  
qpid-cpp-server-daemon.x86_64                       0.16-6.fc17                                     updates 
transmission-daemon.x86_64                          2.50-3.fc17                                     updates

And when I filter false positives (like apache-commons-daemon, gnome-dvb-daemon, perl-App-Daemon.noarch, perl-JSON-RPC-Daemon.noarch, notification-daemon, perl-HTTP-Daemon) then I browsed through remaining packages and non contains just service script. All of them contain service script (either sysv or systemd or both) *and* daemon itself.

If you really want to have it splitted (although I see no use for qpid-cpp daemon without its service file), then please provide transition period in F16, F17, which will allow user and other packages which depends on qpid-cpp to accomodate.

Comment 8 Darryl L. Pierce 2012-09-05 17:34:07 UTC
(In reply to comment #7)
> If you really want to have it splitted (although I see no use for qpid-cpp
> daemon without its service file), then please provide transition period in
> F16, F17, which will allow user and other packages which depends on qpid-cpp
> to accomodate.

I think you have a strong point there. I'm packaqing up the 0.18 release now and am merge the -daemon subpackage into qpid-cpp-server and marking it as Obsoleting the previous -daemon release.

Comment 9 Fedora Update System 2012-09-05 18:15:15 UTC
qpid-cpp-0.18-1.1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/qpid-cpp-0.18-1.1.fc16

Comment 10 Fedora Update System 2012-09-07 11:35:00 UTC
Package qpid-cpp-0.18-1.1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qpid-cpp-0.18-1.1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13472/qpid-cpp-0.18-1.1.fc16
then log in and leave karma (feedback).

Comment 11 Darryl L. Pierce 2012-09-11 17:07:36 UTC
*** Bug 854782 has been marked as a duplicate of this bug. ***

Comment 12 Darryl L. Pierce 2012-09-11 17:07:52 UTC
*** Bug 854394 has been marked as a duplicate of this bug. ***

Comment 13 Fedora Update System 2012-09-14 14:11:47 UTC
qpid-cpp-0.18-1.2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/qpid-cpp-0.18-1.2.fc16

Comment 14 Fedora Update System 2012-09-14 14:56:50 UTC
qpid-cpp-0.18-1.1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/qpid-cpp-0.18-1.1.fc17

Comment 15 Fedora Update System 2012-09-14 15:24:56 UTC
qpid-cpp-0.18-1.1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/qpid-cpp-0.18-1.1.fc18

Comment 16 Fedora Update System 2012-09-23 05:07:34 UTC
qpid-cpp-0.18-1.1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2012-09-25 04:27:13 UTC
qpid-cpp-0.18-1.2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2012-09-25 04:31:42 UTC
qpid-cpp-0.18-1.1.fc17 has been pushed to the Fedora 17 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.