Installing rsyslog-mysql on 10.04 installs mysql-server by default

Bug #659439 reported by Aidan Lawn
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Won't Fix
Medium
Unassigned
Maverick
Won't Fix
Low
Unassigned
Natty
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: rsyslog-mysql

When installing rsyslog-mysql via apt-get on 10.04 by default it will install mysql-server. I think most people will only want the client by default.

This is because of the new default behaviour of apt-get which automatically installs recommended packages. I think mysql-server should be dropped as a recommended package.

As a workaround you can install the client only with:
apt-get --no-install-recommends install rsyslog-mysql

However the post install script still prompts about configuring the database. It misleading says this:
"The rsyslog-mysql package must have a database installed and configured before it can be used."

A local database is not a requirement and most servers will be sending to a remote server. The user can just choose 'No'.

Tags: rsyslog
Revision history for this message
Paul Belanger (pabelanger) wrote :

I can confirm this

Changed in rsyslog (Ubuntu):
status: New → Confirmed
assignee: nobody → Paul Belanger (pabelanger)
Revision history for this message
Paul Belanger (pabelanger) wrote :
Revision history for this message
Paul Belanger (pabelanger) wrote :
Changed in rsyslog (Ubuntu):
status: Confirmed → In Progress
Changed in rsyslog (Ubuntu):
assignee: Paul Belanger (pabelanger) → nobody
status: In Progress → Confirmed
Revision history for this message
Aidan Lawn (aidanlawn) wrote :

Thanks for the update Paul.

James Page (james-page)
Changed in rsyslog (Ubuntu Precise):
status: Confirmed → Fix Released
Changed in rsyslog (Ubuntu Oneiric):
status: New → Fix Released
Changed in rsyslog (Ubuntu Natty):
status: New → Fix Released
Changed in rsyslog (Ubuntu Maverick):
status: New → Confirmed
Changed in rsyslog (Ubuntu Lucid):
status: New → Confirmed
importance: Undecided → Medium
Changed in rsyslog (Ubuntu Maverick):
importance: Undecided → Low
Revision history for this message
James Page (james-page) wrote :

Hi Paul

Thanks for providing a debdiff to resolve this issue.

As this bug has a simple workaround and some people may have an all-in-one installation of rsyslog and mysql (which could cause confusion as demoting mysql-server from Recommends to Suggests would make it eligible for removal) I think that this fix should not go be applied as an SRU for lucid.

Marking the tasks for Lucid and Maverick as 'Won't fix' accordingly.

Changed in rsyslog (Ubuntu Lucid):
status: Confirmed → Won't Fix
Changed in rsyslog (Ubuntu Maverick):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.