[Bug 247934] shells/bash: profile is not read from LOCALBASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 12 17:05:36 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247934

            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 at FreeBSD.org
          Reporter: michael.osipov at siemens.com
             Flags: maintainer-feedback?(ehaupt at FreeBSD.org)
          Assignee: ehaupt at 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/profile.
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.

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


More information about the freebsd-ports-bugs mailing list