Re: rc.d are not installed by ports!

看板FB_questions作者時間11年前 (2014/06/11 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
mais@ouestil.com writes: > It's not the first time it happens to me, but on two FreeBSD 9.2 host > (recently updated from 9.0 because of EOL portstree support on it), > using pkng, after upgrade of openssh, mysql, nginx ... ports does not > install their rc.d ! > > ~$ pkg info -l openssh-portable > openssh-portable-6.6.p1_1,1: > /etc/rc.d/openssh This indicates that the package system thinks it installed the startup script. By default, this would be /usr/local/etc/rc.d/openssh (I just tested the port and did, indeed, get the file installed). What makes you think it isn't there? Incidentally, I got the same thing with mysql-server. The plist claims to install a startup script into rc.d, and in my case I got one. > /etc/ssh/ssh_config-dist > /etc/ssh/sshd_config-dist > /usr/bin/scp > /usr/bin/sftp > /usr/bin/slogin > /usr/bin/ssh > /usr/bin/ssh-add > /usr/bin/ssh-agent > /usr/bin/ssh-keygen > /usr/bin/ssh-keyscan > /usr/libexec/sftp-server > /usr/libexec/ssh-keysign > /usr/libexec/ssh-pkcs11-helper > /usr/sbin/sshd > /usr/share/doc/openssh/HPN-README > /usr/share/man/man1/scp.1.gz > /usr/share/man/man1/sftp.1.gz > /usr/share/man/man1/slogin.1.gz > /usr/share/man/man1/ssh-add.1.gz > /usr/share/man/man1/ssh-agent.1.gz > /usr/share/man/man1/ssh-keygen.1.gz > /usr/share/man/man1/ssh-keyscan.1.gz > /usr/share/man/man1/ssh.1.gz > /usr/share/man/man5/moduli.5.gz > /usr/share/man/man5/ssh_config.5.gz > /usr/share/man/man5/sshd_config.5.gz > /usr/share/man/man8/sftp-server.8.gz > /usr/share/man/man8/ssh-keysign.8.gz > /usr/share/man/man8/ssh-pkcs11-helper.8.gz > /usr/share/man/man8/sshd.8.gz > > ~$ pkg info -l nginx > nginx-1.6.0,2: > /usr/local/etc/nginx/fastcgi_params-dist > /usr/local/etc/nginx/koi-utf > /usr/local/etc/nginx/koi-win > /usr/local/etc/nginx/mime.types-dist > /usr/local/etc/nginx/nginx.conf-dist > /usr/local/etc/nginx/scgi_params-dist > /usr/local/etc/nginx/uwsgi_params-dist > /usr/local/etc/nginx/win-utf > /usr/local/man/man8/nginx.8.gz > /usr/local/sbin/nginx > /usr/local/share/licenses/nginx-1.6.0,2/BSD > /usr/local/share/licenses/nginx-1.6.0,2/LICENSE > /usr/local/share/licenses/nginx-1.6.0,2/catalog.mk Okay, in the nginx port I don't see a startup script listed, and I don't see anything that jumps out at me as creating one. But when I build the port, I do get a startup script, so there's some kind of trickery taking care of it. > I didn't make a PR because it's looks like more a global problem than > a openssh or mysql port specific. That does seem reasonable, but it also seems particular to your system, so that's where we'll really need to debug it. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JbuTYi- (FB_questions)
文章代碼(AID): #1JbuTYi- (FB_questions)