ma, 2006-01-16 kello 07:27 +0100, Andreas Tille kirjoitti: > On Mon, 16 Jan 2006, Lars Wirzenius wrote: > > > The chroot created by piuparts does not contain /proc, which is why > > start-stop-daemon fails. The real problem, however, is that the postinst > > script runs /etc/init.d/dictd directly instead of using invoke-rc.d. If > > it used invoke-rc.d, which calls the policy-rc.d that piuparts sets up, > > You mean I should replace the line > > if [ -x /etc/init.d/dictd ]; then /etc/init.d/dictd restart; fi > > by > > invoke-rc.d dictd restart > > ?
Pretty much. The policy advocates a slightly longer incantation: if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d package <action> else /etc/init.d/package <action> fi (http://localhost/doc/debian-policy/policy.html/ch-opersys.html#s-sysvinit) invoke-rc.d is in sysv-rc, and that package is not essential, so you'll need a dependency if you don't use the longer incantation from policy. > BTW, how important do you regard fixing this bug. You might have noticed > that a new upstream version was uploaded to experimental that fixes all > other bugs of the package but introduces a new one where I need some help. > So I would like to delay the bug you reported until the new problem with > dict-wn is sorted out. I think it is fairly important to fix it, but the fix it not very urgent, as long as it happens in time for the etch release. Whenever you upload the next time to unstable for other reasons is fine by me. -- Without grand dreams, how can you save the world? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]