Date: Sat, 27 Oct 2007 22:17:00 GMT From: Johan Granath <nollan@phreaker.net> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/117577: rc.d/jail doesn't resolve symlinks Message-ID: <200710272217.l9RMH0Te050198@www.freebsd.org> Resent-Message-ID: <200710272220.l9RMK4dB038359@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117577 >Category: conf >Synopsis: rc.d/jail doesn't resolve symlinks >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 27 22:20:04 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Johan Granath >Release: FreeBSD 6.2R | FreeBSD 6.2S >Organization: >Environment: FreeBSD gandalf 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Mon Sep 10 02:06:37 CEST 2007 root@gandalf:/usr/obj/usr/src/sys/GANDALF i386 >Description: When setting the jail_jailname_rootdir to a path that contains symlinks, the rc.d/jail script has problems mounting mount_devfs on that path, obviously. To solve the issue you have to put the absolute path to that rcvar. In my opinion th rc.d/jail script should handle this, so I made a patch. gandalf# /etc/rc.d/jail start ftpjail Configuring jails:. Starting jails:/etc/rc.d/jail: WARNING: /home/ftpjail/dev has symlink as parent - not starting jail ftpjail >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710272217.l9RMH0Te050198>