livecd-creator unmounting temp image, running daemons.

Jeremy Katz katzj at redhat.com
Mon Jul 28 15:01:26 UTC 2008


On Sat, 2008-07-26 at 16:25 +1200, Martin Langhoff wrote:
> When livecd-creator tries to unmount the CD, two processes are still
> running - httpd, and a custom network daemon written in python. lsof
> shows them as the only processes keeping files open. Once I kill those
> processes, I can unmount cleanly.
> 
> Is this expected? 

If you start a process in your %post, then you need to clean up after
yourself at the end of %post

> Are any incompatibilities with F7 known? Should
> livecd-creator try to run all the relevant init scripts with stop, and
> perhaps run lsof to see if any programs need to be killed or
> kill-9'ed?

How do you know what's relevant?  Packaging policy states (for reasons
including this one) that services shouldn't be started in the %post of a
package install.  Which means that it's something you're starting
yourself.  Which means you need to kill it off also.

> The boot failures (fails to load the kernel modules, and kills init)
> probably have to do with the image being incomplete.

Will leave this as a reply for some of your later mails...

Jeremy




More information about the fedora-devel-list mailing list