From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 22:25:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A04A9243 for ; Tue, 10 Jun 2014 22:25:09 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7935D29D7 for ; Tue, 10 Jun 2014 22:25:09 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 8281E33C1E; Tue, 10 Jun 2014 18:24:56 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 323D939814; Tue, 10 Jun 2014 18:24:55 -0400 (EDT) From: Lowell Gilbert To: mais@ouestil.com Subject: Re: rc.d are not installed by ports! References: <5e744da3ee7bb10e5a4ac30dd14b895c@ouestil.com> Reply-To: freebsd-questions@freebsd.org Date: Tue, 10 Jun 2014 18:24:54 -0400 In-Reply-To: <5e744da3ee7bb10e5a4ac30dd14b895c@ouestil.com> (mais@ouestil.com's message of "Tue, 10 Jun 2014 16:46:19 +0200") Message-ID: <44k38oqu6h.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 22:25:09 -0000 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.