1 |
Hello, can someone tell me how depscan decides which init script to use |
2 |
if more than one provides the same virtual dependency? Is there a way to |
3 |
force depscan to select a particular script over another to use? |
4 |
|
5 |
This is relevant to bug #36060 for MailScanner. MailScanner needs to sit |
6 |
itself between multiple instances of an mta in order to scan mail, and |
7 |
so needs to provide the mta dependency to ensure that sendmail or |
8 |
whatever is started up correctly. I realise that it could overide |
9 |
/etc/init.d/sendmail and /etc/conf.d/sendmail but then both sendmail and |
10 |
mailscanner would be fighting over the init script every time one was |
11 |
upgraded. |
12 |
|
13 |
Ideally the MailScanner ebuild would be able to install a mailscanner |
14 |
init script that would override the sendmail/postfix/etc. init script. |
15 |
|
16 |
I have seen that the ~ ebuilds for sendmail/postrix/etc. now use |
17 |
mailwrapper to allow multiple mtas to be installed, but having installed |
18 |
two of them I see it runs into exactly the same problem, leaving me with |
19 |
an /etc/init.d/sendmail and an /etc/init.d/postfix providing mta. |
20 |
|
21 |
Would a solution be as simple as altering mailwrapper to provice an mta |
22 |
initscript that would then call the initscript of the same mta as is |
23 |
currently providing the sendmail binaries? |
24 |
|
25 |
|
26 |
-- |
27 |
Richard Brown |
28 |
http://www.lawson-his.co.uk |
29 |
0870 99 070 52 |
30 |
|
31 |
|
32 |
-- |
33 |
gentoo-dev@g.o mailing list |