FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 09-17-2012, 04:07 PM
Neil Williams
 
Default mass bug filing about packages manipulating/deleting shipped files

On Mon, 17 Sep 2012 13:10:02 +0200
Bernd Zeimetz <bernd@bzed.de> wrote:

> On 09/17/2012 12:49 PM, Philipp Kern wrote:
> > On Mon, Sep 17, 2012 at 11:59:44AM +0200, Bernd Zeimetz wrote:
> >> On 09/17/2012 11:56 AM, Andreas Beckmann wrote:
> >>> Modifying conffiles is forbidden by policy 10.7.3
> >> Well, conffiles are sometimes modified due to the result of asking
> >> questions with debconf - at least the md5sum might change, although the
> >> content stays the same with debconf priority=high. Are you sure you
> >> didn't find such things?
> >
> > If you modify conffiles through debconf config scripts, your package is RC
> > buggy. See also [1].
>
> So we shall drop things like automatic configuration of postfix? It
> actually even asks the user if the config file should be modified. That
> is just one example of a lot others that jump into my mind.

Simple solution I use is to have a conffile which is a foo.conf.sample
and not package foo.conf which is generated in the postinst from the
debconf question and it is this file which is used by the package, not
the .sample. Otherwise, there's little point having debconf. The point
is not to modify / delete a file listed under dpkg -s or dpkg -L but
to create a new file based on content read from those files.

--


Neil Williams
=============
http://www.linux.codehelp.co.uk/
 
Old 09-17-2012, 06:16 PM
Andreas Beckmann
 
Default mass bug filing about packages manipulating/deleting shipped files

On 2012-09-17 15:40, Thomas Goirand wrote:
> Very nice. Did you run this archive wide?

Archive wide test is currently running in my local piuparts instance.
This may still take some time until all packages have been retested.

> Can I see your log file?

Unfortunately my piuparts instance is not publicly available :-(


Andreas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 505768FF.1010506@abeckmann.de">http://lists.debian.org/505768FF.1010506@abeckmann.de
 
Old 09-18-2012, 07:30 AM
Andreas Beckmann
 
Default mass bug filing about packages manipulating/deleting shipped files

Just to give a short impression what we can find here:

uim-canna_1:1.8.1-2, uim-prime_1:1.8.1-2
/etc/uim/installed-modules.scm
/etc/uim/loader.scm
mono-xsp2_2.10-2.1
/etc/default/mono-xsp2
mirror_2.9-62
/usr/share/doc/mirror/mirror.txt.gz
/usr/share/doc/mirror/html/mirror-ref.html
/usr/share/mirror/mirror.pl
/usr/share/mirror/dateconv.pl
/usr/share/mirror/lchat.pl
/usr/share/mirror/lsparse.pl
/usr/share/mirror/ftp.pl
/usr/bin/do_unlinks
/usr/bin/mirror-master
/usr/bin/pkgs_to_mmin
mcron_1.0.6-1+b1
/usr/share/doc/sendmail-base/buildinfo.gz
/usr/share/doc/sendmail-cf/buildinfo.gz
/usr/share/doc/sensible-mda/buildinfo.gz
jackd2_1.9.8~dfsg.4+20120529git007cdc37-4
debsums: missing file /etc/security/limits.d/audio.conf (from jackd2 package)
guile-1.6-dev_1.6.8-10.1
/usr/lib/libguile-ltdl.la
/usr/lib/libguile.la
/usr/lib/libguile-srfi-srfi-13-14-v-1.la
/usr/lib/libguile-srfi-srfi-4-v-1.la
/usr/lib/libguilereadline-v-12.la
gcl_2.6.7-103
/etc/default/gcl
fprobe_1.1-7.2
/etc/default/fprobe
bobot++_1:1.97-10.4
/usr/lib/libguile-srfi-srfi-13-14-v-1.la
/usr/lib/libguile-srfi-srfi-4-v-1.la
/usr/lib/libguilereadline-v-12.la
bacula-director-sqlite3_5.2.6+dfsg-3
/etc/bacula/scripts/delete_catalog_backup


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50582329.3040106@abeckmann.de">http://lists.debian.org/50582329.3040106@abeckmann.de
 
Old 09-18-2012, 07:53 AM
Andreas Beckmann
 
Default mass bug filing about packages manipulating/deleting shipped files

On 2012-09-18 09:30, Andreas Beckmann wrote:
> Just to give a short impression what we can find here:

and some more

bts, that's output from debsums -a -c, so the files listed have
a md5sum mismatch (or are missing if noted)

ilithuanian_1.2.1-3
/var/lib/ispell/lietuviu.hash
/var/lib/ispell/lietuviu.compat
aspell-kk_0.2-1
/var/lib/aspell/kk.compat
/var/lib/aspell/kk.rws
nuauth-utils_2.4.3-2.1
debsums: missing file /usr/share/nuauth/nuauth.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_authtype.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_krb5.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_ldap.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_mark.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_mysql.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_pgsql.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_tls.conf (from nuauth package)
debsums: missing file /usr/share/nuauth/nuauth.d/nuauth_tuning.conf (from nuauth package)
wims_4.04-2
debsums: missing file /var/lib/wims/log/unsecure (from wims package)
/var/lib/wims/public_html/gifs/symbols/20/_Arrow-h.gif
/var/lib/wims/public_html/gifs/symbols/20/_Arrow-v.gif
/var/lib/wims/public_html/gifs/symbols/20/_ArrowR-h.gif
/var/lib/wims/public_html/gifs/symbols/20/_ArrowR-v.gif
...
/var/lib/wims/public_html/gifs/symbols/20/xnor-v.gif
/var/lib/wims/public_html/gifs/symbols/20/xnorR-h.gif
/var/lib/wims/public_html/gifs/symbols/20/xnorR-v.gif
/var/lib/wims/public_html/themes/default/supervisor.phtml
/var/lib/wims/public_html/themes/default/visitor.phtml
/var/lib/wims/public_html/themes/standard/supervisor.phtml
/var/lib/wims/public_html/themes/standard/visitor.phtml

fsl_4.1.9-6
/usr/share/fsl/4.1/tcl/tclIndex
zangband_1:2.7.5pre1-4
debsums: missing file /var/games/zangband/data/misc.raw (from zangband package)
debsums: missing file /var/games/zangband/data/k_info.raw (from zangband package)
debsums: missing file /var/games/zangband/data/v_info.raw (from zangband package)
debsums: missing file /var/games/zangband/data/f_info.raw (from zangband package)
debsums: missing file /var/games/zangband/data/e_info.raw (from zangband package)
debsums: missing file /var/games/zangband/data/r_info.raw (from zangband package)
debsums: missing file /var/games/zangband/data/a_info.raw (from zangband package)


>
> uim-canna_1:1.8.1-2, uim-prime_1:1.8.1-2
> /etc/uim/installed-modules.scm
> /etc/uim/loader.scm
> mono-xsp2_2.10-2.1
> /etc/default/mono-xsp2
> mirror_2.9-62
> /usr/share/doc/mirror/mirror.txt.gz
> /usr/share/doc/mirror/html/mirror-ref.html
> /usr/share/mirror/mirror.pl
> /usr/share/mirror/dateconv.pl
> /usr/share/mirror/lchat.pl
> /usr/share/mirror/lsparse.pl
> /usr/share/mirror/ftp.pl
> /usr/bin/do_unlinks
> /usr/bin/mirror-master
> /usr/bin/pkgs_to_mmin
> mcron_1.0.6-1+b1
> /usr/share/doc/sendmail-base/buildinfo.gz
> /usr/share/doc/sendmail-cf/buildinfo.gz
> /usr/share/doc/sensible-mda/buildinfo.gz
> jackd2_1.9.8~dfsg.4+20120529git007cdc37-4
> debsums: missing file /etc/security/limits.d/audio.conf (from jackd2 package)
> guile-1.6-dev_1.6.8-10.1
> /usr/lib/libguile-ltdl.la
> /usr/lib/libguile.la
> /usr/lib/libguile-srfi-srfi-13-14-v-1.la
> /usr/lib/libguile-srfi-srfi-4-v-1.la
> /usr/lib/libguilereadline-v-12.la
> gcl_2.6.7-103
> /etc/default/gcl
> fprobe_1.1-7.2
> /etc/default/fprobe
> bobot++_1:1.97-10.4
> /usr/lib/libguile-srfi-srfi-13-14-v-1.la
> /usr/lib/libguile-srfi-srfi-4-v-1.la
> /usr/lib/libguilereadline-v-12.la
> bacula-director-sqlite3_5.2.6+dfsg-3
> /etc/bacula/scripts/delete_catalog_backup
>
>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50582881.6090605@abeckmann.de">http://lists.debian.org/50582881.6090605@abeckmann.de
 
Old 09-18-2012, 10:36 AM
Ian Jackson
 
Default mass bug filing about packages manipulating/deleting shipped files

Andreas Beckmann writes ("mass bug filing about packages manipulating/deleting shipped files"):
> So far I have seen these problems:
> * package modifies a conffile it ships
> * package modifies a non-conffile it ships
> * package deletes a (conf)file it ships
> * (maybe all these bad things on files shipped by other packages, too,
> but I didn't analyze the logs and packages in detail, yet)
> and not only as a single occurrence :-(

I'm not surprised.

> What's the appropriate severity for these bugs? I would assume serious.

AIUI that is the correct answer according to the current rules.

I think it would be worth asking the release team about this. Fixing
them all might well take a while. These bugs were all presumably in
squeeze and if there are many of them delaying wheezy doesn't make
sense.

Thanks,
Ian.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20568.20144.886718.792348@chiark.greenend.org.uk"> http://lists.debian.org/20568.20144.886718.792348@chiark.greenend.org.uk
 
Old 09-18-2012, 11:15 AM
Agustin Martin
 
Default mass bug filing about packages manipulating/deleting shipped files

On Tue, Sep 18, 2012 at 09:53:37AM +0200, Andreas Beckmann wrote:
> On 2012-09-18 09:30, Andreas Beckmann wrote:
> > Just to give a short impression what we can find here:
>
> and some more
>
> bts, that's output from debsums -a -c, so the files listed have
> a md5sum mismatch (or are missing if noted)
>
> ilithuanian_1.2.1-3
> /var/lib/ispell/lietuviu.hash
> /var/lib/ispell/lietuviu.compat
> aspell-kk_0.2-1
> /var/lib/aspell/kk.compat
> /var/lib/aspell/kk.rws

I guess this is harmless and caused by the way dictionary hashes were
autobuilt during postinst. Already reported as #638730 for ispell-lt.

Old implementation used a 'touched' empty file as placeholder to help dpkg
remove files on package removal. This however triggers some debsums
differences. Not something to worry about, is stuff shipped under /var and
original md5sum was that of an empty file (so it is really a placeholder),
but still noisy.

http://lists.debian.org/debian-devel/2010/03/threads.html#00038

Some helper has been added to dictionaries-common snippets to make all this
from maintainer scripts, and a number of dicts are already modified to use
it and avoid the debsums warnings.

Other ispell/aspell dictionaries may still trigger this warning.

Regards,

--
Agustin


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120918111501.GA10591@agmartin.aq.upm.es">http://lists.debian.org/20120918111501.GA10591@agmartin.aq.upm.es
 
Old 09-19-2012, 01:24 PM
Thomas Goirand
 
Default mass bug filing about packages manipulating/deleting shipped files

On 09/17/2012 10:03 PM, Marco d'Itri wrote:

On Sep 17, Bernd Zeimetz<bernd@bzed.de> wrote:


To cite http://release.debian.org/wheezy/rc_policy.txt:
Packages' /etc/default scripts must be treated as configuration files.

Which are not the same things as conffiles.


I of course agree with Marco.

BTW, "conffiles" is a pretty bad name. It's confusing, as
you can see once more.

I thought about calling it "dpkg-conffiles" which has the
advantage of underlying that we leave the handling of
the file to the responsibility of dpkg, keeps the same
old "conffiles" name. But people will continue to use
the older short version of it, so...

Anyone with a better idea?

Thomas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 5059C770.9050401@debian.org">http://lists.debian.org/5059C770.9050401@debian.org
 
Old 09-19-2012, 03:27 PM
Tollef Fog Heen
 
Default mass bug filing about packages manipulating/deleting shipped files

]] Jean-Christophe Dubacq

> And this means that automatic management is hard, because they are
> generated by scripts, and as such, not easy to store, compare to
> default, etc.

«default» doesn't really make any sense when it's a template that's
filled in by debconf/maintainer scripts.

--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 871uhyhw1t.fsf@qurzaw.varnish-software.com">http://lists.debian.org/871uhyhw1t.fsf@qurzaw.varnish-software.com
 
Old 09-19-2012, 03:52 PM
Jonas Smedegaard
 
Default mass bug filing about packages manipulating/deleting shipped files

On 12-09-19 at 05:27pm, Tollef Fog Heen wrote:
> ]] Jean-Christophe Dubacq
>
> > And this means that automatic management is hard, because they are
> > generated by scripts, and as such, not easy to store, compare to
> > default, etc.
>
> «default» doesn't really make any sense when it's a template that's
> filled in by debconf/maintainer scripts.

In most cases default means what is consistently resolved when
installing the package non-interactively.

...but for packages whose postinst scripts actually taking MAC address,
moon phase or other out-of-band data into account, you are right.


- Jonas

--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/

[x] quote me freely [ ] ask before reusing [ ] keep private
 
Old 09-19-2012, 04:25 PM
Philipp Kern
 
Default mass bug filing about packages manipulating/deleting shipped files

On Wed, Sep 19, 2012 at 09:24:00PM +0800, Thomas Goirand wrote:
[ "conffiles" being confusing ]
> Anyone with a better idea?

It's in NM 101 and it's only used as a shorthand if dpkg conffiles are
meant. That others are unable to parse it, well, they could look it up
on the internets and find buxy's description.

I've never seen somebody starting to use "conffile" when he really meant
"configuration file".

Kind regards
Philipp Kern
 

Thread Tools




All times are GMT. The time now is 12:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org