From 8a5ec7b1076034938712500ac4fe55b9f86ae966 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 18 Jan 2023 23:18:19 -0500 Subject: some profile updates --- Makefile | 12 +++++++++--- etc/profile-a-l/dig.profile | 1 + etc/profile-a-l/host.profile | 1 + etc/profile-m-z/nslookup.profile | 1 + etc/profile-m-z/ping.profile | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 57a692817..ad20921ba 100644 --- a/Makefile +++ b/Makefile @@ -274,13 +274,19 @@ TEST_TARGETS=$(patsubst %,test-%,$(TESTS)) $(TEST_TARGETS): $(MAKE) -C test $(subst test-,,$@) -test: test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters + +# extract some data about the testing setup: kernel, network connectivity, pwd +lab-setup:; uname -r; pwd; whoami; cat /etc/resolv.conf; cat /etc/hosts; ping -c 3 yahoo.com; dig yahoo.com; host yahoo.com; nslookup yahoo.com; + + +test: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters echo "TEST COMPLETE" -test-noprofiles: test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters +test-noprofiles: lab-setup test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment test-apps test-apps-x11 test-apps-x11-xorg test-filters echo "TEST COMPLETE" -test-github: test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment + +test-github: lab-setup test-profiles test-fcopy test-fnetfilter test-fs test-utils test-sysutils test-environment echo "TEST COMPLETE" ########################################## diff --git a/etc/profile-a-l/dig.profile b/etc/profile-a-l/dig.profile index 048b92800..90db2caa6 100644 --- a/etc/profile-a-l/dig.profile +++ b/etc/profile-a-l/dig.profile @@ -48,6 +48,7 @@ tracelog disable-mnt private-bin bash,dig,sh private-dev +private-etc resolv.conf,login.defs,passwd # Add the next line to your dig.local on non Debian/Ubuntu OS (see issue #3038). #private-lib private-tmp diff --git a/etc/profile-a-l/host.profile b/etc/profile-a-l/host.profile index 09af8f0f5..b1689b67e 100644 --- a/etc/profile-a-l/host.profile +++ b/etc/profile-a-l/host.profile @@ -42,6 +42,7 @@ tracelog disable-mnt private private-bin bash,host,sh +private-etc resolv.conf,login.defs,passwd private-dev private-tmp diff --git a/etc/profile-m-z/nslookup.profile b/etc/profile-m-z/nslookup.profile index 37d9f593c..8eeccf870 100644 --- a/etc/profile-m-z/nslookup.profile +++ b/etc/profile-m-z/nslookup.profile @@ -45,6 +45,7 @@ tracelog disable-mnt private-bin bash,nslookup,sh +private-etc resolv.conf,login.defs,passwd private-dev private-tmp diff --git a/etc/profile-m-z/ping.profile b/etc/profile-m-z/ping.profile index 2a7967de7..1a6178bae 100644 --- a/etc/profile-m-z/ping.profile +++ b/etc/profile-m-z/ping.profile @@ -57,7 +57,7 @@ private private-cache private-dev # /etc/hosts is required in private-etc; however, just adding it to the list doesn't solve the problem! -#private-etc alternatives,ca-certificates,crypto-policies,hosts,pki,resolv.conf,ssl +private-etc alternatives,ca-certificates,crypto-policies,hosts,pki,resolv.conf,ssl,passwd,login.defs private-lib private-tmp -- cgit v1.2.3-70-g09d2