Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2019 17:05:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235356] devel/jenkins fails to start after upgrade if jenkins home dir is /usr/local/jenkins
Message-ID:  <bug-235356-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235356

            Bug ID: 235356
           Summary: devel/jenkins fails to start after upgrade if jenkins
                    home dir is /usr/local/jenkins
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lwhsu@FreeBSD.org
          Reporter: marcnarc@xiplink.com
             Flags: maintainer-feedback?(lwhsu@FreeBSD.org)
          Assignee: lwhsu@FreeBSD.org

(This looks a lot like bug #193670 has re-appeared.)

Using pkg to manage my ports.

The jenkins user's home directory is /usr/local/jenkins.

Prior to a "pkg upgrade", that directory is owned by user & group jenkins:

# cd /usr/local
# ls -ld jenkins
drwxr-xr-x  20 jenkins  jenkins   77 Jan  4 15:27 jenkins

After pkg upgrades the jenkins port, the directory becomes owned by root:

# pkg upgrade jenkins
....
# ls -ld jenkins
drwxr-xr-x  20 root  jenkins   77 Jan  2 17:22 jenkins

This prevents jenkins from starting, as it needs to write to its home
directory.

Upgrading other packages does not change this directory's ownership.


The system is 11.2-RELEASE-p3.

pkg is 1.10.5_5

jenkins is currently 2.160, but I've seen this every time I've upgraded jen=
kins
over the last year or so (since the system was created).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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