pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/32835: rc.d/estd doesn't have the 'x' bit set



The following reply was made to PR pkg/32835; it has been noted by GNATS.

From: "Steven M. Bellovin" <smb%cs.columbia.edu@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/32835: rc.d/estd doesn't have the 'x' bit set 
Date: Tue, 14 Feb 2006 16:46:20 -0500

 In message <20060214214002.73EDA63B879%narn.netbsd.org@localhost>, "Jeremy C. 
Reed" write
 s:
 >The following reply was made to PR pkg/32835; it has been noted by GNATS.
 >
 >From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
 >To: gnats-bugs%netbsd.org@localhost
 >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/es
 >td
 > 
 > 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.)
 > 
 
 I manually the rc.d scripts I want into /etc/rc.d.  All of the other 
 examples have the 'x' bit on; this one doesn't, which means it doesn't 
 work properly if copied over.  
 
                --Steven M. Bellovin, http://www.cs.columbia.edu/~smb
 
 



Home | Main Index | Thread Index | Old Index