Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148892 - net-misc/hylafax removes $TMPDIR
Summary: net-misc/hylafax removes $TMPDIR
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 02:56 UTC by Jimmy.Jazz
Modified: 2006-10-01 03:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2006-09-24 02:56:14 UTC
Hello,

i didn't investigate too far, but /usr/sbin/faxsetup traps interrupt signals and erases $TMPDIR. Also TMPDIR is used by the system and some applications to define where to write temporary files i.e in /var/tmp or /tmp.

In my case, TMPDIR is set up to /var/tmp on my disk. AFAIK, /tmp i generally locked in memory and could not be removed when the system is running. So it seems not to happen when TMPDIR is /tmp.

If you interrupt faxsetup by sending a signal 15 or ctrl-c, faxsetup traps the signal and removes $TMPDIR directory.

Please, could you check this behavior and confirm the problem. It could lead to a system crash.

Thx, 

Jj
Comment 1 Jimmy.Jazz 2006-09-24 12:34:36 UTC
Was tested with the package net-misc/hylafax-4.3.0 but certainly could append with older version.
Comment 2 Steve Arnold archtester gentoo-dev 2006-09-25 15:43:42 UTC
This is really an upstream bug, and since there's a Hylafax bugzilla, I'd encourage you to submit this bug to the upstream developers.  For now, you can set TMPDIR to a safe value near the top of the script.
Comment 3 Jimmy.Jazz 2006-09-29 01:54:18 UTC
(In reply to comment #2)
> This is really an upstream bug, and since there's a Hylafax bugzilla, I'd
> encourage you to submit this bug to the upstream developers.  For now, you can
> set TMPDIR to a safe value near the top of the script.
> 

Send :)

Jj
Comment 4 Steve Arnold archtester gentoo-dev 2006-10-01 00:28:18 UTC
I already posted a bug and they fixed it in their repo.  Sorry I didn't say anything...
Comment 5 Jimmy.Jazz 2006-10-01 03:56:14 UTC
(In reply to comment #4)
> I already posted a bug and they fixed it in their repo.  Sorry I didn't say
> anything...
> 

Nevermind, i take too much time to replay as well. The most inportant thing is they fixed the problem :)

thx,

Jj