public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jochen van Geldern <dd8pz@imail.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] [gelöst} Re: Unterverzeichnis in /tmp
Date: Sat, 2 May 2020 23:16:42 +0200	[thread overview]
Message-ID: <20200502231642.184329e0@work> (raw)
In-Reply-To: <slrnrar7dp.2ffuu.martin@clover.invalid>

Am Sat, 2 May 2020 16:20:17 -0000 (UTC)
schrieb Martin Vaeth <martin@mvath.de>:

> Jochen van Geldern <dd8pz@imail.de> schrieb:
> > Ist einfacher als was der Matthias geschieben hat.  
> 
> Ja, dafür wurde tmpfiles (opentmpfiles oder systemd-tmpfiles)
> entwickelt. Natürlich brauchst Du ein Initsystem, das opentmpfiles
> oder systemd-tmpfiles aufruft. Bei aktuellen Versionen von openrc
> (oder systemd) ist das der Fall.
> 
> > In mein Falle also:
> >
> > d /tmp/mydir 1777 root root -  
> 
> Ja.
> 
> 
Nun etwas muss man noch getan werden:
1. tmpfiles imd opentmpfiles Installieren:

work /home/dd8pz # emerge virtual/tmpfiles

Calculating dependencies /
...
work /home/dd8pz # emerge sys-apps/opentmpfiles

Calculating dependencies /
...

2. Dienst aktivieren:
work /home/dd8pz # rc-service opentmpfiles-setup start
 * Setting up tmpfiles.d entries ...
work /home/dd8pz # rc-update add opentmpfiles-setup default
 * service opentmpfiles-setup added to runlevel default
work /home/dd8pz # 

Danach wurde das Verzeichnis erstellt, und (Zwar jetzt nicht
Geteste), aber mit 99,99% Sicherheit wird es auch beim jeden Neustart
wieder erstellt.


  reply	other threads:[~2020-05-02 21:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-02 10:38 [gentoo-user-de] Unterverzeichnis in /tmp Jochen van Geldern
2020-05-02 10:51 ` Matthias Hanft
2020-05-02 10:56   ` Jochen van Geldern
2020-05-02 11:10     ` Matthias Hanft
2020-05-02 11:14       ` Jochen van Geldern
2020-05-02 11:38 ` [gentoo-user-de] " Martin Vaeth
2020-05-02 11:51   ` Jochen van Geldern
2020-05-02 16:20     ` Martin Vaeth
2020-05-02 21:16       ` Jochen van Geldern [this message]
2020-05-03  8:53         ` [gentoo-user-de] Re: [gelöst} " Martin Vaeth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200502231642.184329e0@work \
    --to=dd8pz@imail.de \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox