Bug 1145135

Summary: cockpit package should not create cockpit-*-admin groups
Product: [Fedora] Fedora Reporter: Marius Vollmer <mvollmer>
Component: cockpitAssignee: Marius Vollmer <mvollmer>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: puiterwijk, stefw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-0.27-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-16 02:01:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Vollmer 2014-09-22 13:05:43 UTC
These groups were mostly intended as a prototype, and have lost their meaning when cockpitd was moved to the session bus.

If possible, they should also be removed from a system during a package update.
 
(This also needs https://github.com/cockpit-project/cockpit/pull/1235 to remove them from the Cockpit UI.)

Comment 1 Stef Walter 2014-09-24 10:23:08 UTC
Missed doing this for 0.25.

Comment 2 Marius Vollmer 2014-09-24 11:42:28 UTC
(In reply to Stef Walter from comment #1)
> Missed doing this for 0.25.

#1235 should be merged first, so it's good that 0.25 doesn't remove them yet.

Comment 3 Stef Walter 2014-10-08 05:40:08 UTC
Marius. I still see these groups referred to from the cockpit source code in 0.26, and also from the test/cockpit.spec.in. So I'm waiting on doing this.

Comment 4 Stef Walter 2014-10-08 05:43:18 UTC
Reassigning to Marius until upstream is ready.

Comment 5 Fedora Update System 2014-10-10 13:18:32 UTC
cockpit-0.27-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/cockpit-0.27-1.fc21

Comment 6 Fedora Update System 2014-10-11 07:02:07 UTC
Package cockpit-0.27-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cockpit-0.27-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12659/cockpit-0.27-1.fc21
then log in and leave karma (feedback).

Comment 7 Marius Vollmer 2014-10-13 06:16:02 UTC
> If possible, they should also be removed from a system during a package update.

This is not done, I think, but that is OK since the groups have now lost their meaning and whether or not they exist does not influence the behavior of Cockpit.

Comment 8 Stef Walter 2014-10-13 06:53:10 UTC
I don't know how to remove the groups in a safe way, without the (remote) possibility of screwing up groups that are now in use on some machine. If you have ideas, we could include it in another point release of the cockpit package.

Comment 9 Marius Vollmer 2014-10-13 08:02:11 UTC
I agree that it is best to not remove the groups.  I know of no safe way to remove users or groups, they are harmless, and only people upgrading from a alpha installation should have them anyway.

Comment 10 Fedora Update System 2014-10-16 02:01:39 UTC
cockpit-0.27-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.