Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46259

Summary: QMail supervise scripts should be in config-protect
Product: Gentoo Linux Reporter: Ilya Volynets (RETIRED) <iluxa>
Component: [OLD] ServerAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ilya Volynets (RETIRED) gentoo-dev 2004-03-30 10:43:00 UTC
qmail supervise script is modified, when, for example, SMTP auth is used. Currently run script is unconditionally overwritten by upgrade. This isn't very
friendly to those of us who have special needs. This I think /var/qmail/supervise (and probably subfolders) should be in CONFIG_PROTECT.

With that said, it seems that new run script is good enough to have all customizations outside of it, and this may be fine for future. I haven't actually tried it yet- I just restored my old run script from backup,
so we'll see. Probably it is still good idea to add run
scripts to CONFIG_PROTECT.

Reproducible: Always
Steps to Reproduce:
1. Modify /var/qmail/supervise/qmail-smtpd/run
2. emerge qmail


Actual Results:  
/var/qmail/supervise/qmail-smtpd/run is overwritten.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-01 00:37:12 UTC
i'm not going to do this.
the intent is that we want everybody to move to having customizations outside of the run scripts. then later on I can update the run scripts to add in new configuration options and people get them easily when upgrading.

for those that do want to use their own run scripts still, it's trivial to add your own CONFIG_PROTECT entries to /etc/env.d/99qmail.