Hello Julien,

Julien Cristau wrote on 2013-03-18 20:42:

> The debdiff and the above is rather short on explanations (and I'd
> rather not read the whole bug log for 661482)...  Care to explain why
> these directories must be created in postinst rather than shipped in the
> package?

hylafax itself have the working directory /var/spool/hylafax with many
subdirectories. To make capi4hylafax working together with hylafax it 
must use these directories, too. But there is another case: capi4hylafax
can also work without hylafax.

The main problem is: while deinstalling hylafax the package hylafax
doesn't know something about capi4hylafax. If the package capi4hylafax
would shipping these named directories of hylafax in its package and
hylafax would be purged then this give errors because the directory
/var/spool/hylafax with some subdirectories would be owned by both
packages and hylafax want to delete these directories.

To manage all the different cases the only way is the handling in the
pre* post* scripts of capi4hylafax.

I hope these information helps.
I think Giuseppe could explain some more details in better english.

---
Have a nice day.

Joachim (Germany)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to