Bug 5310 - Using /tmp is evil
Summary: Using /tmp is evil
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gnupg2 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 major
Assignee: Alexey Gladkov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 13:23 MSD by Sir Raorn
Modified: 2005-09-01 14:13 MSD (History)
3 users (show)

See Also:


Attachments
Use $TMPDIR instead of /tmp (1.97 KB, patch)
2004-10-12 13:25 MSD, Sir Raorn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2004-10-12 13:23:55 MSD
Мне кажется неправильным держить сокеты в /tmp.
Comment 1 Sir Raorn 2004-10-12 13:25:51 MSD
Created attachment 605 [details]
Use $TMPDIR instead of /tmp

Данный патч заставляет gpg-agent и scagent использовать $TMPDIR или $TMP в
качестве временного каталога. С фаллбэком в /tmp
Comment 2 Sergey V Turchin 2004-10-12 14:22:32 MSD
Ок! Спасибо! 
Comment 3 Sergey V Turchin 2004-11-02 20:10:55 MSK
fixed in gnupg2-1.9.12-alt1 
Comment 4 Sergey V Turchin 2005-01-21 15:43:11 MSK
Я убрал патч в gnupg2-1.9.15 
Они убрали оттуда sprintf 
А вообще он падал, оказывается. Правда не знаю, из-за патча или из-за sprintf 
Comment 5 Vitaly Lipatov 2005-09-01 12:06:58 MSD
Так и сокеты остались в /tmp? 
Comment 6 Sergey V Turchin 2005-09-01 14:13:49 MSD
(In reply to comment #5) 
> Так и сокеты остались в /tmp?  
Да