Bug 13341 - Mistake in /etc/init.d/S70vsftpd
Summary: Mistake in /etc/init.d/S70vsftpd
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2020.08.2
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-27 11:29 UTC by tochansky
Modified: 2020-11-27 17:17 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Sample diff (434 bytes, patch)
2020-11-27 11:29 UTC, tochansky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tochansky 2020-11-27 11:29:41 UTC
Created attachment 8686 [details]
Sample diff

Found an error in start script for vsftpd - incorrect variable for 'start-stop-daemon' is used - in place of $NAME should be used $DAEMON.

Starting /etc/init.d/S70vsftpd start leads to error message:

Starting vsftpd: start-stop-daemon: unable to stat //vsftpd (No such file or directory)

After changing $NAME to $DAEMON in script service starts successfuly.

Same problem is in master branch.
Comment 1 Peter Korsgaard 2020-11-27 17:17:38 UTC
Fixed in git, thanks!

https://git.buildroot.org/buildroot/commit/?id=405f76425d20ef2f84006f2f6db798c338691c13