[Bug 815528] Re: vsftpd installation script fails
mosfet
815528 at bugs.launchpad.net
Sun Jul 24 19:48:02 UTC 2011
When I look at postinst script /var/lib/dpkg/info/ the problem seems to
be with the following lines :
# Automatically added by dh_installinit
if [ -e "/etc/init/vsftpd.conf" ]; then
invoke-rc.d vsftpd start || exit $?
fi
when I try to invoke manually vsftp through invoke.rc or /etc/init.d it doesn't work :
root at sd-12345:/var/lib/dpkg/info# /etc/init.d/vsftpd start
bash: /etc/init.d/vsftpd: Aucun fichier ou dossier de ce type
However when I try with service it works:
root at sd-12345:/var/lib/dpkg/info# service vsftpd start
vsftpd start/running, process 8181
If I look at /etc/init.d I can see that vsftpd uses now upstart :
ls -la /etc/init.d/
...
lrwxrwxrwx 1 root root 21 2011-07-24 20:18 vsftpd -> /lib/init/upstart-job
...
So is it normal to call invoke-rc.d inside the postinst script ?
Wouldn't be better to replace by a call to service ?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in Ubuntu.
https://bugs.launchpad.net/bugs/815528
Title:
vsftpd installation script fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/815528/+subscriptions
More information about the Ubuntu-server-bugs
mailing list