Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi to all,
I've noticed some differences in the ffp.log when I reboot my NAS, so I would like to know more
Previous login:
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) **** Fri Oct 30 13:08:58 GMT 2009 ln -snf /mnt/HD_a2/ffp /ffp * Running /ffp/etc/rc ... * /ffp/start/rcS.sh ... utmp:x:22: * /ffp/start/adjtimex.sh inactive * /ffp/start/passwd.sh ... Saving /etc/passwd to /etc/passwd.orig ... Changing shells: /bin/sh -> /ffp/bin/sh ... Updating /etc/shadow ... * /ffp/start/shells.sh ... * /ffp/start/syslogd.sh inactive * /ffp/start/SERVERS.sh inactive * /ffp/start/usbdisk.sh inactive * /ffp/start/portmap.sh inactive * /ffp/start/unfsd.sh inactive * /ffp/start/nfsd.sh inactive * /ffp/start/ntpd.sh inactive * /ffp/start/LOGIN.sh inactive * /ffp/start/telnetd.sh inactive * /ffp/start/sshd.sh ... Starting /ffp/sbin/sshd * /ffp/start/rsyncd.sh inactive * /ffp/start/proftpd.sh ... Starting /ffp/sbin/proftpd LevisNAS - 39.xxx.xxx.xxx:xxx masquerading as 83.xxx.xxx.xxx * /ffp/start/optware.sh ... Creating and mounting /opt for ipkg applications * /ffp/start/mlnet.sh ... * /ffp/start/mediatomb.sh inactive * /ffp/start/kickwebs.sh inactive * /ffp/start/lighttpd.sh inactive * /ffp/start/inetd.sh inactive * OK 2009/10/30 13:08:59 [cO] Starting MLDonkey 2.9.5 ...
The new one:
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) **** Sat Nov 7 12:54:56 GMT 2009 ln -snf /mnt/HD_a2/ffp /ffp * Running /ffp/etc/fun_plug.init ... * Running /ffp/etc/rc ... * /ffp/start/syslogd.sh inactive * /ffp/start/SERVERS.sh inactive * /ffp/start/portmap.sh inactive * /ffp/start/unfsd.sh inactive * /ffp/start/transmission.sh inactive * /ffp/start/nfsd.sh inactive * /ffp/start/ntpd.sh inactive * /ffp/start/smartd.sh inactive * /ffp/start/LOGIN.sh inactive * /ffp/start/telnetd.sh ... Starting /ffp/sbin/telnetd -l /ffp/bin/sh * /ffp/start/svnserve.sh inactive * /ffp/start/samba.sh inactive * /ffp/start/rsyncd.sh inactive * /ffp/start/proftpd.sh ... Starting /ffp/sbin/proftpd - mod_tls/2.1.2: compiled using OpenSSL version 'OpenSSL 0.9.8g 19 Oct 2007' headers, but linked to OpenSSL version 'OpenSSL 0.9.8k 25 Mar 2009' library - Fatal: unable to load module 'mod_tls.c': Operation not permitted * /ffp/start/optware.sh ... Creating and mounting /opt for ipkg applications * /ffp/start/mysqld.sh inactive * /ffp/start/mlnet.sh ... * /ffp/start/mediatomb.sh inactive * /ffp/start/kickwebs.sh inactive * /ffp/start/lighttpd.sh inactive * /ffp/start/inetd.sh inactive * /ffp/start/dnsmasq.sh inactive * /ffp/start/btpd.sh inactive * OK 2009/11/07 12:54:57 [cO] Starting MLDonkey 2.9.5 ...
Ok I've a problem with proftpd, but I'll try to resolve later, now I'm focusing on the first part:
Before there was rcS.sh, and now it seems that is not used anymore.
Now I've seen a new fun_plug.init, it's the only change?
Then I lost sshd.sh, I don't know why, is returned the telnet, but I don't think it's a problem to reinsert the sshd from a backup.
ipkg and mlnet seems invariated, even if I have to update mldonkey also.
Somebody notice something wrong?
The last question is about mounting, with proftpd in the past I mounted some folder with "mount --bind" inside the /ffp/etc/profile, but I don't think is the correct place because everytime I enter in ssh it starts and remount all the binds, so where I have to put these lines?
Tnx in advance for help.
edit: I've noticed also there are no more these files: adjtimex.sh, passwd.sh
Last edited by Levis (2009-11-07 15:09:19)
Offline
Levis wrote:
Then I lost sshd.sh, I don't know why, is returned the telnet, but I don't think it's a problem to reinsert the sshd from a backup.
The last question is about mounting, with proftpd in the past I mounted some folder with "mount --bind" inside the /ffp/etc/profile, but I don't think is the correct place because everytime I enter in ssh it starts and remount all the binds, so where I have to put these lines?
Tnx in advance for help.
edit: I've noticed also there are no more these files: adjtimex.sh, passwd.sh
/ffp/start/sshd.sh has probably been replaced, resetting the execute bit.
Put mount --bind and a matching umount in the proftpd start script, or do the mount --bind in /ffp/etc/fun_plug.local.
adjtimex.sh and passwd.sh have been removed, yes. If you still want these, put the commands in /ffp/etc/fun_plug.local. For an example, see /ffp/etc/examples/fun_plug.local
Offline
Thank you very much fonz, really.
You solved all my doubts.
Offline