Re: livecd-creator unmounting temp image, running daemons.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux