Reverts permissions on milter socket on upgrade

Bug #431008 reported by Ryan Lovett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: clamav

We have been using clamav-milter with postfix and had set the socket to 775 which group ownership of postfix. With a recent upgrade in Hardy, the clamav-milter package introduced the variable SOCKET_RWGROUP which does this for you. However, the package upgrade didn't check to see that we had manually set the permissions already and with the variable unset the milter init script changed the ownership so that postfix couldn't read it. On upgrade, the package should check the permissions on the socket and automatically set the SOCKET_RWGROUP variable in the defaults file if you require it.

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 431008] [NEW] Reverts permissions on milter socket on upgrade

Is this with 0.95.2 from hardy-backports?

Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote : Re: [Bug 431008] [NEW] Reverts permissions on milter socket on upgrade

On Wed, Sep 16, 2009 at 09:37:00PM -0000, Scott Kitterman wrote:
> Is this with 0.95.2 from hardy-backports?

Yes, 0.95.2+dfsg-4ubuntu1.1~hardy1.

Ryan

Revision history for this message
Scott Kitterman (kitterman) wrote :

I discussed this with the Debian clamav maintainer and he is going to have a look at this, possibly over the weekend.

Revision history for this message
Scott Kitterman (kitterman) wrote :

We just discussed this with him again:

<sgran> the problem is that currently there is no upgrade handling of the /etc/default file
<sgran> I'm not convinced I'm all that happy about introducing it, to be honest
<sgran> right now, people will get a normal dpkg prompt about it, telling them that file shipped in the .deb has changed but they have local changes and should do something about it
<sgran> I think that it's maybe not the friendliest way, but it is the safest and sanest way to do it
<sgran> (and it saves an awful lot of hassle on upgrade handling moving it from a config file shipped in the .deb to a conf file managed with ucf)

Is there some chance you were prompted on upgrade and accepted the new version?

Changed in clamav (Ubuntu):
status: New → Incomplete
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote : Re: [Bug 431008] Re: Reverts permissions on milter socket on upgrade

On Sat, Nov 07, 2009 at 07:10:57PM -0000, Scott Kitterman wrote:
> We just discussed this with him again:
>
> <sgran> the problem is that currently there is no upgrade handling of the /etc/default file
> <sgran> I'm not convinced I'm all that happy about introducing it, to be honest
> <sgran> right now, people will get a normal dpkg prompt about it, telling them that file shipped in the .deb has changed but they have local changes and should do something about it
> <sgran> I think that it's maybe not the friendliest way, but it is the safest and sanest way to do it
> <sgran> (and it saves an awful lot of hassle on upgrade handling moving it from a config file shipped in the .deb to a conf file managed with ucf)
>
> Is there some chance you were prompted on upgrade and accepted the new
> version?

It was a while ago, but I don't recally being prompted at the time.

Ryan

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 431008] Re: Reverts permissions on milter socket on upgrade

There's a clamav update coming out soon. When it does, please keep an eye
out for this and let us know.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for clamav (Ubuntu) because there has been no activity for 60 days.]

Changed in clamav (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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