Public bug reported: Binary package hint: apt
(Observed in Kubuntu 7.04) During initial install of a Kubuntu system, the installer is invoking apt-get through the progress monitoring script debconf-apt-progress. Communication between that script and apt-get apparently happens via a pipe to which apt-get writes its progress messages. The problem is that apt-get inadvertedly passes its end of the pipe to its sub-processes (such as postinst scripts of the installed packages). If the package's postinst script start a daemon (as is being done by webmin), this daemon will inherit that filedescriptor as well. However debconf-apt-progress waits for an EOF event on that filedescriptor before it considers the command to be done. If the pipe is held open by a long running daemon as described above, it will wait forever. Fix: apt-get should set close-on-exec on that filedescriptor. ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- apt-get does not correctly close its "progress monitoring" filedescriptor when invoking postinst scripts https://bugs.launchpad.net/bugs/136767 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs