| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Missing this makes net-firewall/iptables tests fail.
See: https://bugzilla.netfilter.org/show_bug.cgi?id=1738
Bug: https://bugs.gentoo.org/890628
Closes: https://github.com/gentoo/baselayout/pull/6
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
After discussion in IRC and some comments on the bug report, we decided
this was not such a good idea.
Reverts: 8aa828d0ce8ea8822cb0ba6e26affbc2005281e6.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/853820
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
It is very common for client systems to not have a valid DNS domain
name. This results in agetty printing "unknown_domain", which may
confuse new users.
Closes: https://github.com/gentoo/baselayout/pull/3
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
| |
This is no longer needed since we have dropped support for *BSD.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
| |
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Yash, yet another shell, is a POSIX-compliant command line shell
written in C99 (ISO/IEC 9899:1999). Yash is intended to be the most
POSIX-compliant shell in the world while supporting features for daily
interactive and scripting use.
Closes: https://github.com/gentoo/baselayout/pull/1
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
|
| |
Umask should be set via shadow in /etc/login.defs or via pam.
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/708130
Signed-off-by: William Hubbs <williamh@gentoo.org>
|
|
|
|
|
| |
Since PATH is supposed to be the same for everyone, we can now drop the
code that handles ROOTPATH.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"
|
|
|
|
| |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=610898
|
|
|
|
|
|
|
| |
This is part of the following bug.
X-Gentoo-Bug: 255695
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=255695
|
|
|
|
|
| |
X-Gentoo-Bug: 604704
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604704
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=555762
|
|
|
|
| |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592368
|
|
|
|
| |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=538708
|
|
|
|
| |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=587612
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=3213
|
|
|
|
| |
svn path=/trunk/; revision=3210
|
|
|
|
| |
svn path=/trunk/; revision=3204
|
|
|
|
| |
svn path=/trunk/; revision=3199
|
|
|
|
| |
svn path=/trunk/; revision=3196
|
|
|
|
| |
svn path=/trunk/; revision=3193
|
|
|
|
| |
svn path=/trunk/; revision=3141
|
|
|
|
| |
svn path=/trunk/; revision=3140
|
|
|
|
| |
svn path=/trunk/; revision=3126
|
|
|
|
| |
svn path=/trunk/; revision=3115
|
|
|
|
| |
svn path=/trunk/; revision=3111
|
|
|
|
| |
svn path=/trunk/; revision=3110
|
|
|
|
| |
svn path=/trunk/; revision=3109
|
|
|
|
| |
svn path=/trunk/; revision=3037
|
|
|
|
| |
svn path=/trunk/; revision=2851
|
|
|
|
| |
svn path=/trunk/; revision=2850
|
|
|
|
| |
svn path=/trunk/; revision=2830
|
|
query runlevels, services and state without using bash. We also provide
libeinfo so other programs can easily use our informational functions.
As such, we have dropped the requirement of using bash as the init script
shell. We now use /bin/sh and have strived to make the scripts as portable
as possible. Shells that work are bash and dash. busybox works provided
you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
should disable find too.
zsh and ksh do not work at this time.
Networking support is currently being re-vamped also as it was heavily bash
array based. As such, a new config format is available like so
config_eth0="1.2.3.4/24 5.6.7.8/16"
or like so
config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"
We will still support the old bash array format provided that /bin/sh IS
a link it bash.
ChangeLog for baselayout-1 can be found in our SVN repo.
svn path=/trunk/; revision=2547
|