[Bug 290661] Re: uml-utilities don't install from apt

Manny Vindiola mannyv at gmail.com
Fri Nov 21 20:16:28 UTC 2008


Hi,

If you are talking about uml-utilities.init. It does contain code to create the directory if it does not exist.
23:UML_DIR=/var/run/uml-utilities
...
44:	# create $UML_DIR if it doesn't exist (RAMRUN=yes in /etc/default/rcS)
45:	if [ ! -d "$UML_DIR" ] ; then
46:		mkdir -p $UML_DIR
47:		chown uml-net:uml-net $UML_DIR

This error occurs specifically in the following instance:
1) Package is unpacked
2) System is rebooted or /var/run/uml-utilities is removed for some other reason
3) Package is configured

The postinst assumes that the directory exists however since /var is
mounted as a tmpfs if a reboot occurs between unpacking and
configuration then postinst will halt. I think the fix is in the correct
place. See attached file for an example.

Regarding the patch, I was just following https://wiki.ubuntu.com/PackagingGuide/PatchSystems.
Can you clarify when the patch should be applied directly to debain versus when to use a patchsystem?
There was actually a small error in the patch so I can resend the corrected version when everything is hammered out.

** Attachment added: "error_confirmed.txt"
   http://launchpadlibrarian.net/19842240/error_confirmed.txt

-- 
uml-utilities don't install from apt
https://bugs.launchpad.net/bugs/290661
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list