Re: Amrecover hangs after restore -- ALWAYS_SET_PATH

Nathan Stratton Treadway <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
On Thu, Dec 17, 2020 at 10:38:58 -0500, Gene Heskett wrote:
> On Thursday 17 December 2020 09:24:58 Richard Sass wrote:
> 
> > Gene:
> >
> > BUT Whats line 2 above, I've wasted a year looking for that, it does
> > not grep in the whole src code tree.
> >
> > configuration error - unknown item 'ALWAYS_SET_PATH' (notify
> > administrator)

Presumably this comes from the "su" command itself rather than from any
binary you've built from source.

(You can check this by running something simple via su, e.g.
  $ su amanda -c "echo test message"
)


> >
> > Perhaps this will help
> >
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905564
> Its of no help on this stretch install.
> gene@coyote:~$ sudo -i
> [sudo] password for gene:
> root@coyote:~$ su amanda -c "geany bak-indices-configs"
> configuration error - unknown item 'ALWAYS_SET_PATH' (notify 
> administrator)
> 
> So where should it be put, and whose perms on stretch?

If you are trying to eliminate that error message, it seems like you
want to delete/deactivate the corresponding line (rather that put
something new anywhere).

What do 
  $ grep ALWAYS_SET_PATH /etc/login.defs /etc/default/*
  $ ls -l /etc/login.defs /detc/defaults/su
show?

					Nathan



----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.