Subject: Re: pkg/32835: rc.d/estd doesn't have the 'x' bit set
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 02/14/2006 21:40:02
The following reply was made to PR pkg/32835; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/32835: rc.d/estd doesn't have the 'x' bit set 
Date: Tue, 14 Feb 2006 13:37:25 -0800 (PST)

 On Tue, 14 Feb 2006, Steven M. Bellovin wrote:
 
 > It has that near the bottom, but a 'make install' shows
 > 
 > ===> Installing for estd-0.4nb1
 > install -d -o root -g wheel -m 0755 /usr/pkg/sbin
 > install -s -o root -g wheel -m 0755 estd /usr/pkg/sbin/estd
 > install -d -o root -g wheel -m 0755 /usr/pkg/man/man1
 > install -o root -g wheel -m 0644 estd.1 /usr/pkg/man/man1/estd.1
 > install -o root -g wheel -m 0644 estd.sh /usr/pkg/share/examples/rc.d/estd
 > ===> [Automatic manual page handling]
 > ===> Registering installation for estd-0.4nb1
 > 
 > and
 > 
 > # ls -l /usr/pkg/share/examples/rc.d/estd
 > -rw-r--r--  1 root  wheel  322 Feb 14 16:21 /usr/pkg/share/examples/rc.d/estd
 
 That all looks okay. Although other scripts (on my boxes) do have 
 executable bit set in the share/examples/rc.d/ directory. I don't see this 
 as any problem though since it is not ran.
 
 If you really want the example to be an executable, fix your 
 sysutils/estd/patches/patch-aa and rerun "make makepatchsum". (But I am 
 not sure why.)
 
 I thought your problem was that the rc.d script was not executable. See 
 /etc/rc.d/estd. Is it executable?
 
 Are you using PKG_RCD_SCRIPTS=yes? (If not, the install will tell you to 
 manually install it and shoudl suggest the correct mode.)
 
 
  Jeremy C. Reed
 
  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/