/etc/initramfs-tools/conf.d/resume
Eric Lemoine
eric.lemoine at gmail.com
Thu Oct 26 05:51:12 UTC 2006
On 10/26/06, Adam Conrad <adconrad at ubuntu.com> wrote:
> Eric Lemoine wrote:
> > On 10/25/06, Eric Lemoine <eric.lemoine at gmail.com> wrote:
> >> Hello
> >>
> >> Does anyone know what package/program installs file
> >> /etc/initramfs-tools/conf.d/resume?
> >>
> >> "dpkg -S /etc/initramfs-tools/conf.d/resume" doesn't know which
> >> package this file belongs to. It's probably a generated file.
> >
> > Replying to myself here.
> >
> > It is the preinst or postinst script of package initramfs-tools.
>
> Actually, on most installations, it will be generated by ubiquity (if
> using a live/desktop CD) or debian-installer (if using an alternate CD).
>
> It should only be rare corner cases (like debootstrapping an
> installation by hand) that would have initramfs-tools' maintainer
> scripts be anything but a no-op.
That may explain something I've noticed. After install, my
/etc/initramfs-tools/conf.d/resume file looks like this:
RESUME=/dev/hdb2
which makes /etc/acpi/hibernate.sh fail, because the latter expects an
UUID as opposed to a /dev file. If, as you say, it's the installer
that added this /dev/hdb2 line, then there's a bug in the installer.
Finally, I did a reinstall of initramfs-tools (apt-get install
--reinstall initramfs-tools). This fixed
/etc/initramfs-tools/conf.d/resume, making use UUID instead of /dev/.
Thanks,
--
Eric
More information about the ubuntu-users
mailing list