On 02/19/2015 11:04 PM, jd1008 wrote:
> 
> On 02/19/2015 09:56 AM, Matthew Miller wrote:
>> On Fri, Feb 20, 2015 at 12:46:31AM +1030, Tim wrote:
>>>> Neither, it's a function of it being on tmpfs and being rebooted -
>>>> it's not persistent. Whereas /var/tmp is managed by
>>>> systemd-tmpfiles-clean.timer.
>>> And on those systems that are left running 24 hours a day?
>> Note that systemd-tmpfiles also cleans /tmp in its default
>> configuration. See /usr/lib/tmpfiles.d/tmp.conf, which contains (with
>> some other stuff):
>>
>>    d /tmp 1777 root root 10d
>>    d /var/tmp 1777 root root 30d
>>
>>
> What about
> 
> /usr/bin/systemd-tmpfiles
> /usr/lib/tmpfiles.d
> /usr/lib/dracut/modules.d/98systemd/dracut-tmpfiles.conf
> /usr/lib/systemd/system/systemd-tmpfiles-clean.service
> /usr/lib/systemd/system/systemd-tmpfiles-clean.timer
> /usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service
> /usr/lib/systemd/system/systemd-tmpfiles-setup.service
> /usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service
> 
> /usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service
> /usr/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer
> 
> Which of these should be disabled in order to make my /tmp files to
> survive reboot?
> 

Generally it is the *.conf file which needs to be created/edited to
change the default configuration settings for services. So it looks like
/usr/lib/tmpfiles.d/tmp.conf is your friend for this objective.

'man systemd-tmpfiles' will help you with more information

-- 
Regards,

Rejy M Cyriac (rmc)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to