From 2b9355d63d2db7d49792643acdb5b1f94f2dae27 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sat, 22 Mar 2014 21:49:34 -0700 Subject: [PATCH] fix(profiles): Disable pam in -usr images. pam complicates our tiny little OS, I don't think we actually have a need for pam so instead of fixing it to move configs to /usr just disable it. If someone comes up with a need we can fix pam later. --- .../coreos-overlay/profiles/coreos/targets/usr/make.defaults | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/make.defaults index bb4a6de016..8ad8dfec7f 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/make.defaults @@ -4,5 +4,9 @@ # Enable tweaks to install everything under /usr USE="symlink-usr" +# Currently we have no particular need for pam and it is the biggest +# thing we have left in /etc. Disable for now, we can revisit later. +USE="${USE} -pam" + # Append -usr to disk layout names (use base-usr, not base) COREOS_DISK_LAYOUT_SUFFIX="-usr"