[Pkg-xen-devel] Missing solutions

Julien Danjou acid at debian.org
Thu Mar 16 10:21:38 UTC 2006


On Wed, Mar 15, 2006 at 12:21:43PM +0100, Bastian Blank wrote:
Hi Bastian,

> There are still some solutions missing in both trunk trees:
> - Patches from trunk (3.0)

Which patches ?

> - udev symlink handling (both)
>   A package is not allowed to put symlinks into /etc/udev/rules.d, it
>   have to create it on the first installation and remove it on purge.

Done in 3.0. (Yes, I used alsa-utils as template ;)

> - postint script needs to create /var/lib/xenstored (both)

Done in 3.0. But why in postinst and not in the package ?

> - initscript needs to create /var/run/xenstored (both)
>   /var/run may be clear at boot time.

According to other packages (e.g. apache2-common), we don't need to
handle this in postinst. bootclean only remove files in /var/run.

> - postrm needs to remove /var/{lib,run}/xenstored (both)

It removes /var/lib/xenstored.
dpkg will remove /var/run/xenstored ; in fact, it has to be tested,
because, I am not sure dpkg will remove this file is a file exists and
xenstored is running, maybe we will have to shut down xenstored before.
This needs investigation.

I let you add my changes to -unstable if you agree with them.

Cheers,
-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20060316/4f3efe03/attachment.pgp


More information about the Pkg-xen-devel mailing list