devel/jenkins upgrade glitch (was: Re: Minor 11.1 -> 11.2 upgrade glitch)

Marc Branchaud marcnarc at gmail.com
Mon Feb 4 15:52:17 UTC 2019


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.


More information about the freebsd-stable mailing list