Bug 8298

Summary: rkhunter fails to start: "Invalid TMPDIR configuration option: No filename given, but it must exist."
Product: [ROSA-based products] ROSA Fresh Reporter: Giovanni Mariani <mc2374>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: RESOLVED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: critical    
Priority: High CC: alzim, darrencleaver
Version: Fresh   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: rkhunter-1.4.4-1.src.rpm ISO-related:
Bad POT generating: Upstream:

Description Giovanni Mariani 2017-08-28 14:04:07 MSK
Description of problem:
Running Rosa 2016.1 x86_64.
The latest version of rkhunter (1.4.4) does not start and throws an error message on console:
"Invalid TMPDIR configuration option: No filename given, but it must exist".

BTW the same message is thrown two times at the installation time, when executing the %post instructions in the spec file:
if [ $1 = 1 ]; then
	# create rkhunter.dat
==>	%{_sbindir}/rkhunter --propupd
	# gather user / group info
==>	echo "\r"|%{_sbindir}/rkhunter --enable group_changes,passwd_changes
	# Suppress warning on fresh install because of missing copies of passwd 
	# and groups file above
	/bin/true
fi


Version-Release number of selected component (if applicable):
rkhunter-1.4.4-1-rosa2016.1

How reproducible:
Always.

Steps to Reproduce:
1. Install rkhunter: in a konsole, do "sudo urpmi rkunter"
2. Watch the above error message (two times)
3. Try to start the program: "rkhunter -c"
4. Error message (same as above) and no action done
Comment 1 daz 2017-09-20 09:47:49 MSK
Hi ,
 I am also getting this message 

Invalid TMPDIR configuration option: No filename given, but it must exist.
Comment 2 Алзим 2018-02-06 23:50:11 MSK
Done
Comment 3 Giovanni Mariani 2018-02-17 21:25:36 MSK
Confirming fixed: closing...