Bug 241912 - mysql-server uninstall script only removes user mysql
Summary: mysql-server uninstall script only removes user mysql
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mysql
Version: 7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tom Lane
QA Contact:
URL:
Whiteboard:
: 244541 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-31 16:54 UTC by Martin Jürgens
Modified: 2013-07-03 03:13 UTC (History)
3 users (show)

Fixed In Version: 5.0.45-1.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-25 08:28:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Jürgens 2007-05-31 16:54:27 UTC
Description of problem:
The uninstall script of mysql-server only removes the user mysql although the
install script adds the user + the group mysql.


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


How reproducible:
Every Time

Steps to Reproduce:
1. Uninstall all mysql related things
2. Install all mysql related things
3.
  
Actual results:
Mysql does not start because of missing user and group mysql.


Expected results:
Mysql should start, the uninstall script should remove the group mysql, also.

Additional info:

Comment 1 Tom Lane 2007-05-31 20:19:58 UTC
actually the plan is to remove the userdel action altogether; it's contrary to
Fedora packaging guidelines.

Comment 2 Martin Jürgens 2007-06-09 10:22:15 UTC
the problem is that when you removed mysql in fedora 7, you are not able to
install it again without knowing that you have to remove the group mysql.

i do not know what your plans are, but it would be really great to have that
fixed in f7 and rhel5 (also happens there), just for the records :)

Comment 3 Tom Lane 2007-06-17 02:58:53 UTC
*** Bug 244541 has been marked as a duplicate of this bug. ***

Comment 4 Tom Lane 2007-07-22 23:50:27 UTC
Done in mysql-5.0.45-1, should appear in F7 testing shortly.

Comment 5 Fedora Update System 2007-07-23 15:44:44 UTC
mysql-5.0.45-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2007-09-25 08:27:56 UTC
mysql-5.0.45-1.fc7 has been pushed to the Fedora 7 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.