[Bug 815528] Re: vsftpd installation script fails
This bug is now moot, because the init.d script is not shipped in Ubuntu at all. Only an upstart script is currently shipped, and so calling /etc/init.d/ won't work anyway. In the new world of multiple init systems, this is expected behaviour - if unclear on which init system is in use, the "service" command is the correct interface. Bug 1273462 may mean that we can bring back /etc/init.d/vsftpd in the future, but this does not apply today. And depending on how it is done, it may just fail and tell you to use "service" anyway. Thus, I'll close this bug as Invalid (since Fix Released doesn't seem right and we don't have a Now Moot status), but if you disagree, please do explain and reopen. ** Changed in: vsftpd (Ubuntu) Status: Triaged => Invalid -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 815528] Re: vsftpd installation script fails
** Changed in: vsftpd (Ubuntu) Status: New => Triaged -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 815528] Re: vsftpd installation script fails
Hello mosfet, thanks for taking the time to file this bug report. That line is the standard line and should work fine. I'm going to mark the importance as Medium. That symlink should have enabled invoke-rc.d to work properly, and I'm wondering why it wasn't in place yet. ** Changed in: vsftpd (Ubuntu) Importance: Undecided => Medium -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 815528] Re: vsftpd installation script fails
Ok I have replaced by the postinst script found on my ubuntu lucic : # Automatically added by dh_installinit if [ -e "/etc/init/vsftpd.conf" ]; then # start fails if already running start vsftpd || : fi seems to work. Would be curious to know why I had to do this ... Could it be related to the fact I have installed some package to release some package as indicated on this page (https://wiki.ubuntu.com/PackagingGuide/Complete). Or maybe I am not the only one to have this issue and in this case it should be fixed. -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 815528] Re: vsftpd installation script fails
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@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@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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs