All of lore.kernel.org
 help / color / mirror / Atom feed
* Change to vsftpd recipe
@ 2013-11-28 17:08 Diego Sueiro
  2013-11-28 18:24 ` Joe MacDonald
  0 siblings, 1 reply; 7+ messages in thread
From: Diego Sueiro @ 2013-11-28 17:08 UTC (permalink / raw)
  To: openembedded-devel

Folks,

I realized that when trying to connect via ftp to a target system (which
has vsftpd installed) I should had to create the /var/run/vsftpd/empty
directory before.

Bellow is the patch to create the folder on vsftpd install task:

diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bbb/meta-networking/recipes-daemons/vsftpd/
vsftpd_3.0.0.bb
index 49d5d2a..82466d1 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
@@ -70,6 +70,8 @@ do_install() {
         sed -i "s:/lib/security:${base_libdir}/security:"
${D}${sysconfdir}/pam.d/vsftpd
         sed -i "s:ftpusers:vsftpd.ftpusers:" ${D}${sysconfdir}/pam.d/vsftpd
     fi
+
+    install -d ${D}${localstatedir}/run/vsftpd/empty
 }

 INITSCRIPT_PACKAGES = "${PN}"



Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-11-29 18:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 17:08 Change to vsftpd recipe Diego Sueiro
2013-11-28 18:24 ` Joe MacDonald
2013-11-28 18:52   ` Diego Sueiro
2013-11-28 19:02     ` Joe MacDonald
2013-11-28 22:02       ` Diego Sueiro
2013-11-29 16:06         ` Joe MacDonald
2013-11-29 18:22           ` Diego Sueiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.