Bug 782476 - Propose that you turn on PrivateTmp=true in service file.
Summary: Propose that you turn on PrivateTmp=true in service file.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: apcupsd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PrivateTmp
TreeView+ depends on / blocked
 
Reported: 2012-01-17 15:16 UTC by Daniel Walsh
Modified: 2012-02-07 19:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-07 14:33:52 UTC
Type: ---


Attachments (Terms of Use)

Description Daniel Walsh 2012-01-17 15:16:53 UTC
I would like to propose using PrivateTmp for apcupsd, to make it more secure
and avoid users from being able to potentially effect it.

http://fedoraproject.org/wiki/Features/ServicesPrivateTmp

Comment 1 Daniel Walsh 2012-02-06 20:45:58 UTC
Any change on this bug.  We are coming up to Feature Freeze, and would like some comment on this bug.

If you do not believe this application uses /tmp than please comment on this and close the bug.  

If you believe this application needs to use /tmp to communicate with other applications or users then you can close this bug with that comment.

If your app does not use systemd, then close this bug with that comment.

If you have no idea, then please add a comment, and change the bug to assigned.

I need to update the status on this feature.


Thanks for your help.

Comment 2 Michal Hlavinka 2012-02-07 14:33:52 UTC
> If you do not believe this application uses /tmp than please comment on this
and close the bug. 

closing

Comment 3 Daniel Walsh 2012-02-07 14:57:54 UTC
Michal, any chance this command does bash redirection?

command << _EOF
...
_EOF

Comment 4 Michal Hlavinka 2012-02-07 15:24:02 UTC
(In reply to comment #3)
> Michal, any chance this command does bash redirection?
> 
> command << _EOF
> ...
> _EOF

This is here-document. Anything between command and _EOF will be put on command's stdin

Comment 5 Daniel Walsh 2012-02-07 19:27:40 UTC
Right and the way this is implemented in Bash is with temporary files in /tmp.


Note You need to log in before you can comment on or make changes to this bug.