Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2013 18:34:39 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        mexas@bristol.ac.uk
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports creating files under /root - why?
Message-ID:  <20130719163439.GC47085@ithaqua.etoilebsd.net>
In-Reply-To: <201307191546.r6JFkmHh084276@mech-cluster241.men.bris.ac.uk>
References:  <201307191546.r6JFkmHh084276@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--69pVuxX8awAiJ7fD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 19, 2013 at 04:46:48PM +0100, Anton Shterenlikht wrote:
> I noticed that some ports create directories/files
> under /root:
>=20
> drwxr-xr-x   3 root  wheel   512 Mar 19  2012 .subversion
> drwxr-xr-x   2 root  wheel   512 Mar  4 10:23 .qt
>=20
> drwxr-xr-x   2 root  wheel   512 Jul 10 15:27 .astkrc
> drwxr-xr-x   2 root  wheel   512 Jul 10 15:27 flasheur
> (these two are probably related to
> astk-client-1.11.0             cad/astk-client
> astk-serveur-1.11.0            cad/astk-serveur
> fr-aster-10.8.0.3              french/aster
> )
>=20
> # ls -al /root/.local/share/webkit/
> total 12
> drwx------  3 root  wheel  512 Jan  3  2013 .
> drwx------  3 root  wheel  512 Jan  3  2013 ..
> drwx------  2 root  wheel  512 Jan 30 01:45 icondatabase
> #=20
>=20
> I thought everything goes under /usr/local.
> Am I wrong?
>=20
No you are not, this is a clearly a fs violation.

The problem is it that tinderbox and pointyhat does not check for the conte=
nt of
/root neither the one of /var. (poudriere does with -t).

Concerning the .local fs violation in particular, most of the time a simple
MAKE_ENV+=3D	XDG_CONFIG_HOME=3D/dev/null will fix it, (some kde ports are
already fixed for that.)
Another FS violation like this one is know to be done by the gstreamer port=
s,
well actually everything using gobject introspection, another macro has to =
be
set, gnome@ is already aware of it, I do hope a fix will be committed soon.

regards,
Bapt

--69pVuxX8awAiJ7fD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlHpap8ACgkQ8kTtMUmk6ExuWQCcDdHbdr5kebEkovC9h1lcSFtD
txYAnjO3qWYkwfpEa8503Fv+evT7+YdV
=kwV+
-----END PGP SIGNATURE-----

--69pVuxX8awAiJ7fD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130719163439.GC47085>