[Bug 225309] www/gitlab Lack of FreeBSD-specific documentation, install bug
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 19 02:01:59 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225309
Bug ID: 225309
Summary: www/gitlab Lack of FreeBSD-specific documentation,
install bug
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: deischen at FreeBSD.org
CC: idefix at fechner.net
Flags: maintainer-feedback?(idefix at fechner.net)
On our systems, /home is not a link to /usr/home but a directory containing
automounts. Other directories are automounted under it. Our users (LDAP)
homes are located in /home/[sysname]/[username], where [sysname] is a machine
hosting their home directories. So for instance, 100 users (user1 - user100)
could be hosted on brightstar and 100 users (user101-user200) could be on
sirius. There'd be 2 mounts associated with them on all our systems. So an
/etc/auto_master would look like this:
/home auto_homedirs -nobrowse
and the matching /etc/auto_homedirs would be:
brightstar brightstar:/tank/exports/homes
sirius sirius:/tank/exports/homes
The point of all this is that 'pkg install' fails because it can't create
/home/git. When you try to create a directory in a directory controlled by
automountd, you get "operation not permitted". It installs much of gitlab, but
stops as soon as it gets this error.
While it may seem more of like an overall pkg/ports issue (which it may be),
the FreeBSD gitlab port modifies everything to change the default home
directory to /usr/home/git anyway. If it is doing that, why doesn't the
pkg-plist also use /usr/home instead of /home?
I guess py-gitosis creates the 'git' user because the passwd entry shows this:
git:*:211:211:gitosis user:/usr/local/git:/bin/sh
It is confusing to have /usr/local/git and /usr/home/git. Which is which?
There is one git user, but which directory belongs to which port? Can they be
the same? Is the fact that passwd can only be set to one of them affect how
the other operates? Should the gitlab home directory just be called gitlab?
Lastly, there is not enough documentation on how this port tailors things for
FreeBSD. The document pointed to by the install:
http://gitlab.toco-domains.de/FreeBSD/GitLab-docu/blob/master/install/10.1-freebsd.md
is for installing gitlab from source, not from a package. It's not really
relevant. What are the rc.conf variables to use for gitlab? Where is it
installed on FreeBSD so that one knows how to hook it into apache or nginx?
What other configuration steps can be culled from the link above? The
pkg-message should list the steps needed to at least get it up and running.
The postgresql-server port does a decent job of doing this.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list