backend/satellite_tools/spacewalk-debug | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
New commits: commit 32041195b357640ca763cdc6fb49ad94bd1d5032 Author: Jan Pazdziora jpazdziora@redhat.com Date: Fri Apr 13 15:44:36 2012 +0200
812329 - add sudoers.d to the debug, there can be important information there.
diff --git a/backend/satellite_tools/spacewalk-debug b/backend/satellite_tools/spacewalk-debug index 786bb6d..506fba0 100755 --- a/backend/satellite_tools/spacewalk-debug +++ b/backend/satellite_tools/spacewalk-debug @@ -175,9 +175,9 @@ if [ -d /root/ssl-build ] ; then fi
# /etc/sudoers -if [ -f /etc/sudoers ] ; then - echo " * copying /etc/sudoers" - cp -fa /etc/sudoers $DIR/conf +if [ -f /etc/sudoers -o -d /etc/sudoers.d ] ; then + echo " * copying /etc/sudoers*" + cp -faRd /etc/sudoers* $DIR/conf fi
# /etc/passwd
commit 034b2b11438c39d70effbf54a9a6ccb0894123c6 Author: Jan Pazdziora jpazdziora@redhat.com Date: Fri Apr 13 15:38:11 2012 +0200
812329 - The /etc/tnsnames.ora file might not exists.
Addressing # spacewalk-debug Collecting and packaging relevant diagnostic information. Warning: this may take some time... * copying configuration information cp: cannot stat `/etc/tnsnames.ora': No such file or directory
diff --git a/backend/satellite_tools/spacewalk-debug b/backend/satellite_tools/spacewalk-debug index 07d210a..786bb6d 100755 --- a/backend/satellite_tools/spacewalk-debug +++ b/backend/satellite_tools/spacewalk-debug @@ -97,7 +97,9 @@ echo " * copying configuration information" cp -fapRd /etc/httpd/conf* $DIR/conf/httpd cp -fapRd /etc/rhn $DIR/conf/rhn cp -fapRd /etc/sysconfig/rhn $DIR/conf/rhn/sysconfig -cp -fapRd /etc/tnsnames.ora $DIR/conf +if [ -f /etc/tnsnames.ora ] ; then + cp -fad /etc/tnsnames.ora $DIR/conf +fi
echo " * copying logs" cp -fapRd /var/log/httpd $DIR/httpd-logs
spacewalk-commits@lists.fedorahosted.org