Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Bjørn Mork
Josselin Mouette writes: > Le mardi 11 janvier 2011 à 18:27 +0100, Bjørn Mork a écrit : >> If I wanted some random package maintainer to mess with my configuration >> files, then I would probably just have used Fedora or whatever. > > I am not seeking the opinion of other random developers - I’m

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Russ Allbery
Josselin Mouette writes: > On a different, although similar issue, how would a change of > /etc/inittab in a maintainer script be regarded? (I’m considering it > for gdm3 in wheezy.) Policy indicates that if other packages should be able to modify /etc/inittab, sysvinit should provide a script

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Holger Levsen
Hi Joss, what change do you have in mind for /etc/inittab? cheers, Holger signature.asc Description: This is a digitally signed message part.

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Josselin Mouette
Le mardi 11 janvier 2011 à 18:27 +0100, Bjørn Mork a écrit : > If I wanted some random package maintainer to mess with my configuration > files, then I would probably just have used Fedora or whatever. I am not seeking the opinion of other random developers - I’m sure there are people who won’t ag

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Bjørn Mork
Josselin Mouette writes: > On a different, although similar issue, how would a change > of /etc/inittab in a maintainer script be regarded? > (I’m considering it for gdm3 in wheezy.) If I wanted some random package maintainer to mess with my configuration files, then I would probably just have u

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Josselin Mouette
Le mardi 11 janvier 2011 à 09:49 +0100, Julien Cristau a écrit : > > "The maintainer scripts must not alter a conffile of any package, > > including the one the scripts belong to." > > > /etc/hosts is not a conffile, so it doesn't violate that part. > > However, the squeeze RC policy says [1] >

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Dmitry E. Oboukhov
TAGG> so for example samba smb.conf isn't conffile, too, sorry for mistake -- ... mpd playing: WASP - The Horror . ''`. Dmitry E. Oboukhov : :’ : email: un...@debian.org jabber://un...@uvw.ru `. `~’ GPGKey: 1024D / F8E26537 2006-11-21 `- 1B23 D

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Dmitry E. Oboukhov
AGG> But maintainer disagrees with me arguing that preinst asks user, and AGG> that's user who modify /etc/hosts (using preinst, eah). This action is done only if user afrees. There are a lot packages which do this. Policy says: The maintainer scripts must not alter a conffile of *any* package,

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Bjørn Mork
Russ Allbery writes: > For reference for others reading this, the postinst of the relevant > package follows. Note that it adds an unqualified hostname, potentially > shadowing a system in the local domain, if the user agrees to update > /etc/hosts. The debconf question is priority: high and de

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Julien Cristau
On Tue, Jan 11, 2011 at 11:15:57 +0300, Alexander GQ Gerasiov wrote: > Hello there. > > I found, that package rtpg-www modifies /etc/hosts on installation/purge > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608451 > > I thing this violate 10.7.4 > > "The maintainer scripts must not alte

Re: Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Russ Allbery
Alexander GQ Gerasiov writes: > I found, that package rtpg-www modifies /etc/hosts on installation/purge > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608451 > I thing this violate 10.7.4 > "The maintainer scripts must not alter a conffile of any package, > including the one the scripts b

Debian Policy "10.7.4 Sharing configuration files" question

2011-01-11 Thread Alexander GQ Gerasiov
Hello there. I found, that package rtpg-www modifies /etc/hosts on installation/purge http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608451 I thing this violate 10.7.4 "The maintainer scripts must not alter a conffile of any package, including the one the scripts belong to." But maintainer