summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update ChangeLogHEADbaselayout-2.6masterWilliam Hubbs2018-05-281-0/+52
|
* bump version to 2.6William Hubbs2018-05-281-1/+1
|
* profile: don't use ROOTPATHWilliam Hubbs2018-05-281-8/+0
| | | | | Since PATH is supposed to be the same for everyone, we can now drop the code that handles ROOTPATH.
* etc/profile: typo fixWilliam Hubbs2018-05-261-1/+1
|
* Makefile: do not touch .keep file if it already existsWilliam Hubbs2018-05-261-0/+1
|
* makefile: ignore touch failures for .keep filesWilliam Hubbs2018-05-261-1/+1
| | | | | emerging with this being fatal worked for me, but not others, so ignoring it.
* Add sbin directories to pathWilliam Hubbs2018-05-262-0/+11
| | | | | | This is a partial revert of 9cac4dd130637fa2c1f1a64bf3c9d2509284e6dd. We need to have path and rootpath be the same, to allow transitioning packages before we drop rootpath.
* Update ChangeLogbaselayout-2.5William Hubbs2018-05-231-95/+100
|
* Fix installation of .keep filesWilliam Hubbs2018-02-221-0/+4
| | | | | This partially reverts commit c4887e88316e2176dc99c173ccc6af825c10f745. We need these .keep files.
* Makefile: layout-usrmerge should do nothing on non-Linux systemsWilliam Hubbs2018-02-071-0/+2
|
* Do not install .keep filesWilliam Hubbs2018-02-061-5/+0
|
* add layout-usrmerge to optionally support the /usr mergeWilliam Hubbs2017-11-171-0/+5
|
* Drop support for ROOTPATHWilliam Hubbs2017-10-042-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following is taken from /etc/profile: > Set up PATH depending on whether we're root or a normal user. > There's no real reason to exclude sbin paths from the normal user, > but it can make tab-completion easier when they aren't in the > user's PATH to pollute the executable namespace. This seems like a minor inconvenience, and excluding sbin paths for the normal user can cause bigger issues which will offset this inconvenience. commit ac52b58e7a8a7f8085de9f806645881740b22c5e Author: William Hubbs <williamh@gentoo.org> Date: Wed Oct 4 17:12:33 2017 -0500 Drop support for ROOTPATH The following is taken from /etc/profile: This seems like a minor inconvenience, and not having *sbin in the path can cause bigger compatibility issues which offset this inconvenience. diff --git a/etc/env.d/50baselayout b/etc/env.d/50baselayout index e8662e0e..b10a2c4d 100644 --- a/etc/env.d/50baselayout +++ b/etc/env.d/50baselayout @@ -1,8 +1,7 @@ # /etc/env.d/50baselayout # Do not edit this file -PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin" -ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" +PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" MANPATH="/usr/local/share/man:/usr/share/man" INFOPATH="/usr/share/info" CONFIG_PROTECT_MASK="/etc/gentoo-release" diff --git a/etc/profile b/etc/profile index 8e92e824..4579bd17 100644 --- a/etc/profile +++ b/etc/profile @@ -18,16 +18,6 @@ export PAGER=${PAGER:-/usr/bin/less} # 077 would be more secure, but 022 is generally quite realistic umask 022 -# Set up PATH depending on whether we're root or a normal user. -# There's no real reason to exclude sbin paths from the normal user, -# but it can make tab-completion easier when they aren't in the -# user's PATH to pollute the executable namespace. -if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then - PATH="${ROOTPATH}" -fi -export PATH -unset ROOTPATH - # process *.sh files in /etc/profiled.d for sh in /etc/profile.d/*.sh ; do [ -r "$sh" ] && . "$sh"
* process files in /etc/profile.d before /etc/bash/bashrc for consistencyWilliam Hubbs2017-10-031-5/+6
| | | | Bug: https://bugs.gentoo.org/show_bug.cgi?id=610898
* version 2.5William Hubbs2017-10-031-1/+1
|
* makefile: do not set DESTDIRWilliam Hubbs2017-08-201-2/+0
|
* update ChangeLogbaselayout-2.4.1William Hubbs2017-06-091-152/+49
|
* version 2.4.1William Hubbs2017-06-091-1/+1
|
* etc/profile: replace PATH with ROOTPATH if the user is rootbaselayout-2.4William Hubbs2017-06-081-3/+1
| | | | | | | This is part of the following bug. X-Gentoo-Bug: 255695 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=255695
* etc/services: add etcd servicesDavid Michael2017-06-081-0/+2
| | | | | X-Gentoo-Bug: 604704 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604704
* etc/env.d: move default settings to 50bbaselayout instead of 00basicWilliam Hubbs2017-06-082-8/+8
| | | | | | | This allows other packages to append or pre-pend any of our defaults. X-Gentoo-Bug: 255695 X-Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=255695
* version 2.4William Hubbs2017-06-081-1/+1
|
* etc/shells: Add mksh to login shellsLars Wendler2016-12-101-0/+1
|
* add ChangeLogbaselayout-2.3William Hubbs2016-09-011-0/+256
|
* Makefile: add changelog targetWilliam Hubbs2016-09-011-1/+5
|
* etc/profile: Make set -u work for the profileMartin Vath2016-09-011-4/+4
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=555762
* etc.Linux/sysctl.comf: disable rp_filter by defaultWilliam Hubbs2016-08-291-2/+2
| | | | | | See https://lwn.net/Articles/578621/ X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=586210
* etc/services: add assignment for ircs-uWilliam Hubbs2016-08-291-0/+1
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592368
* etc/services: add gpsd and xmpp-bosh servicesWilliam Hubbs2016-08-291-0/+3
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=538708
* os-release: Update Gentoo web site and support URLsWilliam Hubbs2016-08-282-4/+4
| | | | https://bugs.gentoo.org/show_bug.cgi?id=545516
* share.Linux/shadow: mark portage user as locked outWilliam Hubbs2016-08-281-0/+1
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=521970
* etc/profile: remove comments about whoamiWilliam Hubbs2016-08-271-4/+0
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=587612
* etc/hosts: document the alias orderWilliam Hubbs2016-08-261-0/+6
| | | | | | | Add documentation showing that the first host alias is the canonical host name. X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536624
* share.BSD/fstab: make device names genericWilliam Hubbs2016-08-261-3/+3
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=442690
* share.Linux/passwd: change "operator" login shell to /sbin/nologinWilliam Hubbs2016-08-261-1/+1
| | | | X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=346483
* share.Linux/fstab: update advice regarding labels and UUIDSMike Gilbert2016-08-251-8/+6
|
* Comment out fstab entries by defaultMike Gilbert2016-08-252-7/+7
| | | | Bug: https://bugs.gentoo.org/578390
* Revert "remove the uucp user"William Hubbs2015-09-102-0/+2
| | | | | | This reverts commit 2ebb0d7b29132822e8bc6f9b67940541a6261f74. This needs more thought; we have consumers in the tree still. I'm not sure whether we should drop it here or fix the consumers first.
* remove the uucp userWilliam Hubbs2015-01-062-2/+0
|
* add the dialout groupWilliam Hubbs2015-01-061-0/+1
|
* Makefile: Add /etc/mtab symbolic link to layout-LinuxWilliam Hubbs2014-08-131-0/+1
| | | | | | | | Add a symbolic link from /etc/mtab to /proc/self/mounts to the layout-Linux target so that it will be built in the stages. X-Gentoo-Bug: 477498 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=477498
* Add input groupWilliam Hubbs2014-08-061-0/+1
| | | | | | | | | | Anyone other than root who wants access to /dev/input/* should be added to this group. I used gid 97 which is the same gid Archlinux uses. X-Gentoo-Bug: 514174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=514174
* Begin updating Makefile to work with gitWilliam Hubbs2014-08-061-27/+12
| | | | | | | | | | | Make live is used to make a tarball of the repository with all local changes. make release is used to make a release once it is tagged. make snapshot is a work in progress; it is supposed to make a tarball of the commit passed to it via GITREF=<commit>. The part that is missing is I haven't decided how to name that tarball.
* Set version in MakefileWilliam Hubbs2014-08-061-1/+1
| | | | | The PV variable in Makefile now holds the version number directly instead of reading it from an external file.
* add /bin/dash as a valid login shellMike Frysinger2014-04-111-0/+1
| | | | svn path=/trunk/; revision=3213
* fstab: mount by LABEL by default #496562 by Sergey S. StarikoffMike Frysinger2014-01-051-3/+12
| | | | svn path=/trunk/; revision=3212
* fstab: drop floppy example as it is rare for this to exist nowadaysMike Frysinger2014-01-051-1/+0
| | | | svn path=/trunk/; revision=3211
* services: change sieve from port 2000 to 4190 #485298 by Hanno BoeckMike Frysinger2013-12-311-2/+4
| | | | svn path=/trunk/; revision=3210
* add tip about using ~/.inputrcMike Frysinger2013-12-221-0/+6
| | | | svn path=/trunk/; revision=3209
* add an alt+k shortcut that does the same thing as alt+backspace to support ↵Mike Frysinger2013-12-221-0/+3
| | | | | | devices (like chromebooks) where alt+backspace is remapped to something else already svn path=/trunk/; revision=3208