Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-10-13 Thread Kevin Chadwick
On Thu, 12 Oct 2017 18:16:02 + > See https://marc.info/?l=openbsd-cvs=150783205404965 Nice, Thankyou

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-10-12 Thread Robert Peichaer
On Tue, Oct 10, 2017 at 06:35:49PM +, Kevin Chadwick wrote: > On Wed, 27 Sep 2017 21:43:48 -0500 > > > > Why is this happening, and is there anything that I should do to > > correct > > > > The system has been getting more and more dynamic to make attackers > fumble in the dark. > > > the

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-10-12 Thread Theo de Raadt
You own all the pieces. > RO /usr also breaks the shiny new kernel relinking. > > So the best I have come up with is crontab lines > > @reboot sleep 60 mount -urf /usr > > The 60 may be too short on very old systems. > > Perhaps it's time to drop the ro but I'm quite attached to my security >

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-10-12 Thread Kevin Chadwick
On Tue, 10 Oct 2017 19:35:49 +0100 > From: Kevin Chadwick <m8il1i...@gmail.com> > To: misc@openbsd.org > Subject: Re: reordering libraries:/etc/rc[443]: ./test-ld.so: > Permission denied Date: Tue, 10 Oct 2017 19:35:49 +0100 > > On Wed, 27 Sep 2017 21:4

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-10-10 Thread Kevin Chadwick
On Wed, 27 Sep 2017 21:43:48 -0500 > Why is this happening, and is there anything that I should do to > correct > The system has been getting more and more dynamic to make attackers fumble in the dark. > the "Permission denied" error? If you prefer then add: /sbin/mount -uo noexec /tmp

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-10-10 Thread Renaud Allard
On 09/28/2017 06:34 AM, Philip Guenther wrote: > On Wed, 27 Sep 2017, Theodore Wynnychenko wrote: > ... >> Thank you for the information. I removed the “noexec” flag from fstab >> and the error has disappeared. >> >> But, I am also surprised by the requirement that /tmp _not_ be mounted >>

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-09-27 Thread Philip Guenther
On Wed, 27 Sep 2017, Theodore Wynnychenko wrote: ... > Thank you for the information. I removed the “noexec” flag from fstab > and the error has disappeared. > > But, I am also surprised by the requirement that /tmp _not_ be mounted > noexec for this to function correctly. I recall reading

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-09-27 Thread Theodore Wynnychenko
On Sep 25, 2017, at 9:31 PM, Philip Guenther wrote: On Mon, 25 Sep 2017, Theodore Wynnychenko wrote: I noticed this message in the dmesg after updating -current yesterday. I am not sure what it means. There is no file "test-ld.so" anywhere on the system that I can

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-09-26 Thread Jiri B
On Mon, Sep 25, 2017 at 07:31:15PM -0700, Philip Guenther wrote: > If you're mounting /tmp with the noexec flag, then stop doing that. What? IIUC this is long existing recommendation. If /etc/rc needs exec /tmp that it should change it by itself for libs reordering and then switch back to what an

Re: reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-09-25 Thread Philip Guenther
On Mon, 25 Sep 2017, Theodore Wynnychenko wrote: > I noticed this message in the dmesg after updating -current yesterday. > > I am not sure what it means. > > There is no file "test-ld.so" anywhere on the system that I can find. > I also see that it appears this part of rc was just committed in

reordering libraries:/etc/rc[443]: ./test-ld.so: Permission denied

2017-09-25 Thread Theodore Wynnychenko
Hello I noticed this message in the dmesg after updating -current yesterday. I am not sure what it means. There is no file "test-ld.so" anywhere on the system that I can find. I also see that it appears this part of rc was just committed in the last few weeks. Why is this happening, and is