#1755 Issue closed: pstree command not found

Labels: fixed / solved / done, minor bug

gdha opened issue at 2018-03-12 15:52:

  • rear version (/usr/sbin/rear -V): rear-2.3 >
  • OS version (cat /etc/rear/os.conf or lsb_release -a): RHEL 7.4
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf): n/a
  • Are you using legacy BIOS or UEFI boot? BIOS
  • Brief description of the issue: pstree command not found
grep "command not found" var/log/rear/rear-awsablirl1016.log
./usr/share/rear/lib/_input-output-functions.sh: line 109: pstree: command not found

which is called from function DoExitTasks:

Log "$( pstree -Aplau $MASTER_PID )"

-> not that critical in this case. pstree is part of package psmisc, but it would be overkill to add this to the required packages IMHO.

  • Work-around, if any: n/a

jsmeix commented at 2018-03-13 08:20:

Argh!
I would have sworn I had checked that but in reality I could not have checked it
because also in my ReaR recovery system there is no "pstree"
(I only have "pstree" in my normal original SLES system)
so that this code cannot work during "rear recover".

jsmeix commented at 2018-03-13 15:03:

With https://github.com/rear/rear/pull/1756 merged this issue is fixed.


[Export of Github issue for rear/rear.]