Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 26 Mar 2011 22:35:28 +0300
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: absolute symlinks

On Fri, Mar 25, 2011 at 10:08 +0300, gremlin@...mlin.ru wrote:
>  > > /dev/fd		/proc/self/fd		../proc/self/fd
>  > > /dev/core		/proc/kcore		../proc/kcore
>  > On Ubuntu these links are absolute.
> 
> Do you really think that's a good behavior to follow?

It's not a question of following, but of standard/popular (and
consequently, well tested) behavior.  Though, I don't know how these
specific relative symlinks can break things :-)

Flash setup makes sense, but would changing these symlinks really help?
I mean if you have not /proc/kcore, but /some/path/proc/kcore then apps
using /proc/kcore would be broken.  Maybe it is more simple to create
symlinks /dev -> /some/path/dev and /proc -> /some/path/proc ?  Then
_all_ apps (not only using /some/path/dev) would work.

-- 
Vasiliy

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ