what is /etc/.gnupg ?

2008-05-26 Thread Paul Bijnens


Instead of compiling from sources, as I did up to now, I tried the
rpm from zmanda on a new host I'm preparing.

Downloaded:  amanda-backup_client-2.6.0p1-1.rhel5.i386.rpm

When installing, I got these lines:

...
May 26 2008 16:55:46: The directory '/var/lib/amanda/.gnupg' created 
successfully.
May 26 2008 16:55:46: Ensuring correct permissions for '/etc/.gnupg'.
May 26 2008 16:55:46: '/var/lib/amanda/.gnupg' Installation successful.
...

The middle line, mentioning "/etc/.gnupg", is, I suppose, not correct.

Minor error, as it's only the message.  The permissions of the directory
'/var/lib/amanda/.gnupg' are correct after installing, AFAIK.


--
Paul Bijnens, xplanation Technology ServicesTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***


Re: what is /etc/.gnupg ?

2008-05-26 Thread Jean-Louis Martineau

Paul,

The error is only in the output message, see the attached patch.

Jean-Louis

Paul Bijnens wrote:


Instead of compiling from sources, as I did up to now, I tried the
rpm from zmanda on a new host I'm preparing.

Downloaded:  amanda-backup_client-2.6.0p1-1.rhel5.i386.rpm

When installing, I got these lines:

...
May 26 2008 16:55:46: The directory '/var/lib/amanda/.gnupg' created 
successfully.

May 26 2008 16:55:46: Ensuring correct permissions for '/etc/.gnupg'.
May 26 2008 16:55:46: '/var/lib/amanda/.gnupg' Installation successful.
...

The middle line, mentioning "/etc/.gnupg", is, I suppose, not correct.

Minor error, as it's only the message.  The permissions of the directory
'/var/lib/amanda/.gnupg' are correct after installing, AFAIK.




Index: packaging/rpm/amanda.spec
===
--- packaging/rpm/amanda.spec	(revision 1046)
+++ packaging/rpm/amanda.spec	(working copy)
@@ -649,7 +649,7 @@
 fi
 fi
 if [ ${ret_val} -eq 0 ]; then
-echo "`date +'%b %e %Y %T'`: Ensuring correct permissions for '%{SYSCONFDIR}/.gnupg'." >>${TMPFILE}
+echo "`date +'%b %e %Y %T'`: Ensuring correct permissions for '%{AMANDAHOMEDIR}/.gnupg'." >>${TMPFILE}
 chown %{amanda_user}:%{amanda_group} %{AMANDAHOMEDIR}/.gnupg >>${TMPFILE} 2>&1
 ret_val=$?
 if [ ${ret_val} -eq 0 ]; then
@@ -1052,7 +1052,7 @@
 fi
 fi
 if [ ${ret_val} -eq 0 ]; then
-echo "`date +'%b %e %Y %T'`: Ensuring correct permissions for '%{SYSCONFDIR}/.gnupg'." >>${TMPFILE}
+echo "`date +'%b %e %Y %T'`: Ensuring correct permissions for '%{AMANDAHOMEDIR}/.gnupg'." >>${TMPFILE}
 chown %{amanda_user}:%{amanda_group} %{AMANDAHOMEDIR}/.gnupg >>${TMPFILE} 2>&1
 ret_val=$?
 if [ ${ret_val} -eq 0 ]; then
@@ -1419,7 +1419,7 @@
 fi
 fi
 if [ ${ret_val} -eq 0 ]; then
-echo "`date +'%b %e %Y %T'`: Ensuring correct permissions for '%{SYSCONFDIR}/.gnupg'." >>${TMPFILE}
+echo "`date +'%b %e %Y %T'`: Ensuring correct permissions for '%{AMANDAHOMEDIR}/.gnupg'." >>${TMPFILE}
 chown %{amanda_user}:%{amanda_group} %{AMANDAHOMEDIR}/.gnupg >>${TMPFILE} 2>&1
 ret_val=$?
 if [ ${ret_val} -eq 0 ]; then