Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/

Justin T Pryzby-2
Package: initramfs-tools
Version: 0.60
Severity: serious

initramfs-tools.preinst modifies the conffile
/etc/mkinitramfs/conf.d/resume:

       sed -i -e "s/RESUME=.*/#RESUME=/" /etc/mkinitramfs/initramfs.conf

../status: /etc/mkinitramfs/initramfs.conf d69c47df9b52f41ce38ce59a788b9cdc
initramfs-tools.list:/etc/mkinitramfs/initramfs.conf
initramfs-tools.conffiles:/etc/mkinitramfs/initramfs.conf

initramfs-tools.preinst depends on the existence of /u/s/d/, which the
etch release notes require to be removable:

if [ ! -e /etc/mkinitramfs/modules ]; then
        cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/
fi


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/

Maximilian Attems-3
tags 376008 important
stop

On Thu, Jun 29, 2006 at 12:12:01PM -0400, Justin Pryzby wrote:
> Package: initramfs-tools
> Version: 0.60
> Severity: serious

that testing version is already old.
 
> initramfs-tools.preinst modifies the conffile
> /etc/mkinitramfs/conf.d/resume:
>
>        sed -i -e "s/RESUME=.*/#RESUME=/" /etc/mkinitramfs/initramfs.conf
>
> ../status: /etc/mkinitramfs/initramfs.conf d69c47df9b52f41ce38ce59a788b9cdc
> initramfs-tools.list:/etc/mkinitramfs/initramfs.conf
> initramfs-tools.conffiles:/etc/mkinitramfs/initramfs.conf

we try to autodetect the swap partition for resume usage.
it is arguably dirty, i will remove the the hole RESUME part of the conf
file and point to the newer location in the docs where the variable
is located now.

 
> initramfs-tools.preinst depends on the existence of /u/s/d/, which the
> etch release notes require to be removable:
>
> if [ ! -e /etc/mkinitramfs/modules ]; then
>         cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/
> fi

fixed in unstable version, thus not rc.
nevertheless will fix aboves soon.

best regards

--
maks


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Processed: Re: Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/

Debian Bug Tracking System
Processing commands for [hidden email]:

> tags 376008 important
Unknown tag/s: important.
Recognized are: patch wontfix moreinfo unreproducible fixed potato woody sid help security upstream pending sarge sarge-ignore experimental d-i confirmed ipv6 lfs fixed-in-experimental fixed-upstream l10n etch etch-ignore.

Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/
There were no tags set.
Tags added:

> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Processed: Re: Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/

Debian Bug Tracking System
In reply to this post by Maximilian Attems-3
Processing commands for [hidden email]:

> tags 376008 important
Unknown tag/s: important.
Recognized are: patch wontfix moreinfo unreproducible fixed potato woody sid help security upstream pending sarge sarge-ignore experimental d-i confirmed ipv6 lfs fixed-in-experimental fixed-upstream l10n etch etch-ignore.

Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/
There were no tags set.
Tags added:

> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#376008: initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/

Steve Langasek
In reply to this post by Maximilian Attems-3
On Thu, Jun 29, 2006 at 06:32:50PM +0200, maximilian attems wrote:
> On Thu, Jun 29, 2006 at 12:12:01PM -0400, Justin Pryzby wrote:
> > Package: initramfs-tools
> > Version: 0.60
> > Severity: serious

> that testing version is already old.

But it's still the version in testing, and it still has RC bugs -- if the
version currently in testing edits conffiles in violation of policy, this
needs to be tracked at the correct severity until the update reaches
testing.

--
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[hidden email]                                   http://www.debian.org/


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#376008: marked as done (initramfs-tools: preinst modifies conffile, postinst requires /u/s/doc/)

Debian Bug Tracking System
In reply to this post by Justin T Pryzby-2
Your message dated Mon, 03 Jul 2006 01:48:39 -0700
with message-id <[hidden email]>
and subject line Bug#376008: fixed in initramfs-tools 0.67
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)


Package: initramfs-tools
Version: 0.60
Severity: serious

initramfs-tools.preinst modifies the conffile
/etc/mkinitramfs/conf.d/resume:

       sed -i -e "s/RESUME=.*/#RESUME=/" /etc/mkinitramfs/initramfs.conf

../status: /etc/mkinitramfs/initramfs.conf d69c47df9b52f41ce38ce59a788b9cdc
initramfs-tools.list:/etc/mkinitramfs/initramfs.conf
initramfs-tools.conffiles:/etc/mkinitramfs/initramfs.conf

initramfs-tools.preinst depends on the existence of /u/s/d/, which the
etch release notes require to be removable:

if [ ! -e /etc/mkinitramfs/modules ]; then
        cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/
fi


Source: initramfs-tools
Source-Version: 0.67

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.67.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.67.dsc
initramfs-tools_0.67.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.67.tar.gz
initramfs-tools_0.67_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.67_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <[hidden email]> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  2 Jul 2006 18:35:34 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.67
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <[hidden email]>
Changed-By: maximilian attems <[hidden email]>
Description:
 initramfs-tools - tools for generating an initramfs
Closes: 375671 375880 376008 376311
Changes:
 initramfs-tools (0.67) unstable; urgency=high
 .
   Release bella, ciao, ciao, ciao!
 .
   * scripts/local: Fix typo in log_begin_msg. (closes: #375880)
 .
   * update-initramfs: Generate initramfs for current version if there is no
     sha1sum and no initrd exists yet - regression from 0.65. (closes: #375671)
     Thanks martin f krafft <[hidden email]> for report.
 .
   * conf/initramfs.conf, initramfs.conf(5): Drop RESUME section.
 .
   * debian/initramfs-tools.preinst: Don't modify conffile initramfs.tools -
     drop the corresponding code. (closes: #376008)
 .
   * initramfs-tools(8): Document that RESUME is tried to be autodected and
     written to /etc/initramfs-tools/conf.d/resume on install.
 .
   * scripts/functions: Replace expr use with printf for skipping comments on
     /etc/modules. Works on both busybox ash and klibc dash. Prefix space is
     ignored by both.
 .
   * scripts/local-top/lvm: Remove harmless warnings if a volumegroup is under
     /dev/mapper but not an lvm device. (closes: 376311)
     Thanks David Härdeman <[hidden email]> for the patch.
 .
   * scripts/local-top/lvm: Change activate_vg() to return 1 if no volumegroup
     is found.
 .
   * debian/initramfs-tools.dirs: Add usr/share/initramfs-tools/conf.d entry.
 .
   * mkinitramfs: Add stuff to the conf.d directory also from aboves directory.
 .
   * Set urgency to high to get the RC bugfix into testing.
Files:
 2b9287e8c9298177aedb054fa1fc6181 623 utils optional initramfs-tools_0.67.dsc
 d21e643cd54ae5869a9fb5ce25c95a17 40217 utils optional initramfs-tools_0.67.tar.gz
 52a6bf2f76ad8e9c3d899c84af495910 46460 utils optional initramfs-tools_0.67_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEqEFwXKRQ3lK3SH4RAmSTAJ4gjnPH3NDmR8XAk1eORJyPgLEiVwCg3jTl
2idutrh9IatToKmcy4ixECo=
=TJ21
-----END PGP SIGNATURE-----

Reply | Threaded
Open this post in threaded view
|

Bug#376604: marked as done (mkinitrd migration needs to be done in preinst)

Debian Bug Tracking System
In reply to this post by Justin T Pryzby-2
Your message dated Mon, 10 Jul 2006 01:20:32 -0700
with message-id <[hidden email]>
and subject line Bug#376604: fixed in initramfs-tools 0.68b
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)


Package: initramfs-tools
Version: 0.60
Severity: serious

initramfs-tools.preinst modifies the conffile
/etc/mkinitramfs/conf.d/resume:

       sed -i -e "s/RESUME=.*/#RESUME=/" /etc/mkinitramfs/initramfs.conf

../status: /etc/mkinitramfs/initramfs.conf d69c47df9b52f41ce38ce59a788b9cdc
initramfs-tools.list:/etc/mkinitramfs/initramfs.conf
initramfs-tools.conffiles:/etc/mkinitramfs/initramfs.conf

initramfs-tools.preinst depends on the existence of /u/s/d/, which the
etch release notes require to be removable:

if [ ! -e /etc/mkinitramfs/modules ]; then
        cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/
fi


Source: initramfs-tools
Source-Version: 0.68b

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.68b.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.68b.dsc
initramfs-tools_0.68b.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.68b.tar.gz
initramfs-tools_0.68b_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.68b_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <[hidden email]> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 10 Jul 2006 00:13:52 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.68b
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <[hidden email]>
Changed-By: maximilian attems <[hidden email]>
Description:
 initramfs-tools - tools for generating an initramfs
Closes: 376604
Changes:
 initramfs-tools (0.68b) unstable; urgency=high
 .
   * script/functions, hook-functions: Move check_minkver() to the second
     file as it uses dpkg and is run by mkinitramfs and not on boot.
 .
   * mkinitramfs: Check if ${BUSYBOX} is set to n before adding it.
     Add a big fat warning that this not yet supported. Helps to do the
     klibc-utils work.
 .
   * mkinitramfs: Run depmod if no /lib/modules/${version}/modules.dep exists.
     Solves initramfs creation for handbuild upstream Xen targets.
     Thanks to Klaus Ita <[hidden email]> for the report.
 .
   * debian/initramfs-tools.preinst, debian/initramfs-tools.postinst: Do the
     migration of the mkinitrd settings in the preinst. (closes: #376604) Thanks
     for the checks to Justin Pryzby <[hidden email]>.
 .
   * debian/initramfs-tools.preinst: Reorder. Generate an modules file similar
     to the one we ship. This should minimize Sarge upgrade prompting if no
     relevant modules where added to /etc/mkinitrd/modules.
 .
   * conf/modules: Make it more similar to /etc/mkinitrd/modules.
 .
   * Set urgency high for RC fixes upload.
     Thanks Steinar H. Gunderson <[hidden email]> for the review.
Files:
 46076070326f96828073f3b0efdb50c4 625 utils optional initramfs-tools_0.68b.dsc
 36a12180598b20a2f1026ec3dbca89d4 40979 utils optional initramfs-tools_0.68b.tar.gz
 655416e48c8ec7650bca3771e6711c18 47226 utils optional initramfs-tools_0.68b_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEsYHiXKRQ3lK3SH4RAjt0AJ4j22eN1qHvaw1zW5ag6Lk1xb8x0QCg3M1k
dpjBmOHbKyWaOOCdvCzYsqQ=
=q1k0
-----END PGP SIGNATURE-----