Ticket #9289 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

runinit.pyx fails to unmount /security/.private

Reported by: dsd Owned by: cscott
Priority: normal Milestone: 8.2.2
Component: initramfs Version: not specified
Keywords: ml8.2.3 Cc: mtd
Action Needed: review Verified: no
Deployments affected: Blocked By:
Blocking:

Description

The unmount /security/.private call in runinit.pyx is not working. Presumably because it is run too late; after a lot of stuff has been wiped out.

This causes all kinds of confusion when the real system tries to shut down, because /proc/mounts says that the mount exists, but the OS can't find it.

This patch makes shut down complete 15 seconds quicker.

Attachments

umount-oatc-private.patch (0.8 kB) - added by dsd 5 years ago.

Change History

Changed 5 years ago by dsd

Changed 5 years ago by mtd

  • cc mtd added

Changed 5 years ago by martin.langhoff

  • keywords ml8.2.3 added

Changed 5 years ago by martin.langhoff

Daniel,

are you rebuilding the whole initrd from scratch in a Debian chroot? On "the" Debian chroot used for official releases?

To replace runinit.pyx you need the matching environment (python->pyrex->gcc+headers).

Changed 5 years ago by martin.langhoff

Ok, was trying to build this for my image, but it clearly needs the full enchilada.

It can only go in -- in an official 8.2.x rel if we can get our hands in the old build environment.

Changed 4 years ago by martin.langhoff

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from Not Triaged to 8.2.2

Built a lenny based chroot (updated docs too!) and rebuilt the initrd correctly.

Note: See TracTickets for help on using tickets.