[Bug 1791290] [NEW] finalrd seems to hang, and generate incomplete initrds on some shutdowns

Dimitri John Ledkov launchpad at surgut.co.uk
Fri Sep 7 11:49:56 UTC 2018


Public bug reported:

As seen in

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-cosmic/cosmic/amd64/o/open-
iscsi/20180906_220028_32af0@/log.gz

         Stopping Create final runtime dir for shutdown pivot root...
[ ***  ] (2 of 2) A stop job is running for …utdown pivot root (30s / 1min 30s)

and similar

[  OK  ] Reached target Final Step.
         Starting Power-Off...
/shutdown: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

.....

I think things need to change.

Add dpkg triggers to be sensitive to changes in apps, and get a consistent finalrd snapshot maintained in like /var/lib/finalrd or some such.
Copy the /var/lib/finalrd into runtime dir on shutdown.

** Affects: finalrd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to finalrd in Ubuntu.
https://bugs.launchpad.net/bugs/1791290

Title:
  finalrd seems to hang, and generate incomplete initrds on some
  shutdowns

Status in finalrd package in Ubuntu:
  New

Bug description:
  As seen in

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-cosmic/cosmic/amd64/o/open-
  iscsi/20180906_220028_32af0@/log.gz

           Stopping Create final runtime dir for shutdown pivot root...
  [ ***  ] (2 of 2) A stop job is running for …utdown pivot root (30s / 1min 30s)

  and similar

  [  OK  ] Reached target Final Step.
           Starting Power-Off...
  /shutdown: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

  .....

  I think things need to change.

  Add dpkg triggers to be sensitive to changes in apps, and get a consistent finalrd snapshot maintained in like /var/lib/finalrd or some such.
  Copy the /var/lib/finalrd into runtime dir on shutdown.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/finalrd/+bug/1791290/+subscriptions



More information about the foundations-bugs mailing list