Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2015 13:42:43 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Peter Wemm <peter@wemm.org>
Cc:        svn-src-head@freebsd.org, Adrian Chadd <adrian.chadd@gmail.com>, Baptiste Daroussin <bapt@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>
Subject:   Re: svn commit: r289087 - in head: etc etc/dma libexec libexec/dma libexec/dma-mbox-create libexec/dma/dma libexec/dma/dma-mbox-create share/examples share/examples/dma
Message-ID:  <20151012104243.GC42243@zxy.spb.ru>
In-Reply-To: <18764496.s6PQvKbF0B@overcee.wemm.org>
References:  <201510092209.t99M9iPx025401@repo.freebsd.org> <CAJ-VmomPBeGjEYWJgUJ-E=eDkdQKV=0sA%2BvMSyZuyEir-CmhfA@mail.gmail.com> <20151010144422.GN91729@ivaldir.etoilebsd.net> <18764496.s6PQvKbF0B@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 12, 2015 at 03:28:58AM -0700, Peter Wemm wrote:

> On Saturday, October 10, 2015 04:44:23 PM Baptiste Daroussin wrote:
> > On Fri, Oct 09, 2015 at 08:15:57PM -0700, Adrian Chadd wrote:
> > > I think this broke being able to do installworld as non-root
> > > 
> > > 21:03 <@adrian> ===> libexec/dma/dmagent (installconfig)
> > > 21:03 <@adrian> install:
> > > /home/adrian/work/freebsd/head-embedded/src/../root/mips_ap/etc/dma/dma.co
> > > nf: chown/chgrp: Operation not permitted
> > > 21:03 <@adrian> *** Error code 71
> > 
> > Fixed in r289115
> > 
> > Bapt
> 
> You've broken etcupdate with this, and also the freebsd cluster.
> 
> # etcupdate status
> Warnings:
>   Non-empty directory remains: /etc/dma
> 
> You also made it delete ppp.conf:
>   D /etc/ppp/ppp.conf
>   D /etc/ppp
> 
> Deleting people's config files is not good.

About etcupdate:

# ls -l /var/db/etcupdate/current
total 17
-r--r--r--   1 root  wheel  6197 Aug 27 10:20 COPYRIGHT
drwxr-xr-x   2 root  wheel     3 Aug 27 10:20 boot
drwxr-xr-x  17 root  wheel    89 Aug 27 10:20 etc
drwxr-xr-x   2 root  wheel     6 Aug 27 10:20 root
lrwxr-xr-x   1 root  wheel    11 Dec  8  2014 sys -> usr/src/sys
drwxr-xr-x   3 root  wheel     3 Dec  8  2014 usr
drwxr-xr-x   3 root  wheel     3 Dec  8  2014 var

I think symlink 'sys' is  unnecessary.

As `usr/share` too:

# ls -l /var/db/etcupdate/current/usr/share
total 5
drwxr-xr-x  4 root  wheel  5 Dec  8  2014 man
drwxr-xr-x  2 root  wheel  4 Dec  8  2014 nls
drwxr-xr-x  3 root  wheel  3 Dec  8  2014 openssl






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