On Mon, 08 Dec 2008 01:06:16 -0600, tico wrote:

>Rod Whitworth wrote:
>> For a BGP project I'm working on, I have enables bgplg using the steps
>> outlined in the manpage.
>>
>> The stuff that gets results using bgpctl shows valid data for all the
>> choices that I'd expect to have anything showing without actually being
>> on line. e.g. the summary and memory choices.
>>
>> Although I did not miss step 2 (resolve.conf) or the FILES bit about
>> SUID ping and traceroute, both of those commands return "failed". Even
>> a ping to the router's NIC address.
>>
>> pf is disabled.
>>
>> So, what <did> I miss?
>>   
>You missed reading the misc@ archives.
>See my answer three weeks ago:
>http://marc.info/?l=openbsd-misc&m=122670411001369&w=2
>
>Also, is "failed" a response that either the ping or traceroute 
>utilities would ever respond with?
>No. That should clue you in that this is not a network problem.
>
>You also (like Ivo, three weeks ago) missed including any relevant 
>troubleshooting info.
>
>-Tico

Well your archived answer gave me a clue but not <the> answer to my
problem.

You showed this after the failed ping:
$ mount | grep var
/dev/wd0e on /var type ffs (local, nodev, noexec)
/dev/wd0h on /var/spool/imap type ffs (local, noatime, nodev, nosuid, 
softdep)
==
If /var was noexec in my case then /var/www/bgpctl would not have run
and it did.

So what you did (sudo mount -u -o exec /var ) would have done nothing
for me because a default /var is "/var type ffs (local, nodev, nosuid)"
.  I needed to knock off the nosuid.

BTW: I never said it was a network problem. I only mentioned pf being
disabled because somebody usually jumps in and asks whenever there is a
problem with pings or traceroutes.

Thanks for sending me to the spot that made me work out what my problem
was. Hopefully the archives will now easily show what the solution will
be for most people trapped like I was:

Get rid of the nosuid in /var

# cat /etc/fstab |grep var
/dev/wd0f /var ffs rw,noatime,softdep,nodev 1 2



*** NOTE *** Please DO NOT CC me. I <am> subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
/earth: write failed, file system is full
cp: /earth/creatures: No space left on device

Reply via email to