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

Slawa Olhovchenkov slw at zxy.spb.ru
Mon Oct 12 10:42:54 UTC 2015


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





More information about the svn-src-all mailing list