Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2020 17:05:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247934] shells/bash: profile is not read from LOCALBASE
Message-ID:  <bug-247934-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 247934
           Summary: shells/bash: profile is not read from LOCALBASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ehaupt@FreeBSD.org
          Reporter: michael.osipov@siemens.com
             Flags: maintainer-feedback?(ehaupt@FreeBSD.org)
          Assignee: ehaupt@FreeBSD.org

This is similar to Bug 247933.
pathnames.h defines:
> /* The default login shell startup file. */
> #define SYS_PROFILE "/etc/profile"
This is base, but I would expect to use SYS_PROFILE from LOCALBASE/etc/prof=
ile.
Especially because /etc/profile is Bourne shell in FreeBSD only. Patch the
header file and maybe provide an option to symlink from /etc/profile to
LOCALBASE/etc/profile for the ease of migration.
This would cleanly decouple this port from base.

--=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-247934-7788>