Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2019 10:52:14 -0500
From:      Marc Branchaud <marcnarc@gmail.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   devel/jenkins upgrade glitch (was: Re: Minor 11.1 -> 11.2 upgrade glitch)
Message-ID:  <3dd644ba-dbc0-786e-278d-58b86d197187@gmail.com>
In-Reply-To: <f19579be-4e29-1a66-0a53-4729c3c50acf@gmail.com>
References:  <f19579be-4e29-1a66-0a53-4729c3c50acf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-09-17 11:07 a.m., Marc Branchaud wrote:
> Hi all,
> 
> I have a ZFS dataset mounted under /usr/local/jenkins.  I've made this 
> the home directory of my jenkins user, so that directory has to be owned 
> by jenkins.
> 
>      # cd /usr/local
>      # ls -ld jenkins
>      drwxr-xr-x  20 jenkins  jenkins  75 Sep 17 10:48 jenkins
> 
> After upgrading from 11.1 to 11.2, the directory ended up owned by root:
> 
>      drwxr-xr-x  20 root  jenkins  75 Sep 17 10:48 jenkins

Some follow-up info...

I have contacted devel/jenkins's maintainer, Li-Wen Hsu, and have opened 
a new bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235356

Li-Wen reports that he can't reproduce the problem in 12.0 or CURRENT, 
with pkg 1.10.5_5.  (I am also using pkg 1.10.5_5, but on 11.2.)

A very similar (possibly identical) bug in was fixed in 2014:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193670

The issue was also in devel/jenkins-lts, also fixed in 2014:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194274

		M.


> Only the directory ownership changed -- all the contents were still 
> owned by jenkins.
> 
> Not a big deal, but I did have a moment of dread when jenkins failed to 
> start after the upgrade.
> 
> So is this a bug, or is there some policy that everything immediately 
> under /usr/local should be owned by root?
> 
>          M.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3dd644ba-dbc0-786e-278d-58b86d197187>