Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #193173
| From | Don Armstrong <don@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Origin of /var/run contents |
| Date | 2018-02-27 19:20 +0100 |
| Message-ID | <vnS14-8Z-9@gated-at.bofh.it> (permalink) |
| References | <vnR50-7Wf-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 27 Feb 2018, Gene Heskett wrote: > Just curious Sven. Why was this not supplied as a manpage or > something, as far back as wheezy? It's pretty common knowledge that initscripts and systemd units which don't run as root have to create temporary directories in /run to track their pid files and sockets before they drop permissions. > Didn't anyone think of the stuff that runs as a user? Stuff that runs as a user should use that user's home directory. [I have a ~/var/ for this purpose, but other things use environmental variables or ~/.something/foopid or similar.] On Tue, 27 Feb 2018, Gene Heskett wrote: > Neither jessie nor stretch have a manpage for systemd.tmpfiles. It's systemd-tmpfiles(8) and tmpfiles.d(5). > And how does that work when /run is a link to /var/run? and it doesn't > work thru links. Confusing without a lot more study. It's the other way around. /var/run should be a symlink to /run, which is a temporary filesystem which goes away on reboot. [It's this way because /var is sometimes a separate filesystem, and pid files need to be written at early boot before /var is mounted.] On Tue, 27 Feb 2018, Gene Heskett wrote: > I have no clue why the /log and /run directory's are root only, but > its for sure a PITA. And the "genius" who decreed that has yet to > surface and offer an explanation. They're root only because otherwise someone could write 1 to something like /run/apache2/apache2.pid and watch as your apache2 init script tried to kill off init. Or something more original and evil. -- Don Armstrong https://www.donarmstrong.com [M]en and nations do behave wisely once they have exhausted all other alternatives. -- Abba Ebban
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Origin of /var/run contents Dave Sherohman <dave@sherohman.org> - 2018-02-27 12:10 +0100
Re: Origin of /var/run contents "Martin S. Weber" <Ephaeton@gmx.net> - 2018-02-27 12:50 +0100
Re: Origin of /var/run contents Dave Sherohman <dave@sherohman.org> - 2018-02-27 14:00 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-02-27 18:50 +0100
Re: Origin of /var/run contents "Martin S. Weber" <Ephaeton@gmx.net> - 2018-02-27 19:30 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-02-27 19:40 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-02-27 19:50 +0100
Re: Origin of /var/run contents Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-27 19:50 +0100
Re: Origin of /var/run contents Sven Joachim <svenjoac@gmx.de> - 2018-02-27 20:00 +0100
Re: Origin of /var/run contents Sven Hartge <sven@svenhartge.de> - 2018-02-27 20:10 +0100
Re: Origin of /var/run contents David Wright <deblis@lionunicorn.co.uk> - 2018-02-27 20:30 +0100
Re: Origin of /var/run contents "Martin S. Weber" <Ephaeton@gmx.net> - 2018-02-27 21:00 +0100
Re: Origin of /var/run contents David Wright <deblis@lionunicorn.co.uk> - 2018-02-28 01:20 +0100
Re: Origin of /var/run contents Mart van de Wege <mvdwege@gmail.com> - 2018-02-27 22:20 +0100
Re: Origin of /var/run contents Sven Hartge <sven@svenhartge.de> - 2018-02-28 09:50 +0100
Re: Origin of /var/run contents Mart van de Wege <mvdwege@gmail.com> - 2018-02-28 12:50 +0100
Re: Origin of /var/run contents Sven Hartge <sven@svenhartge.de> - 2018-02-27 12:50 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-02-27 18:20 +0100
Re: Origin of /var/run contents Don Armstrong <don@debian.org> - 2018-02-27 19:20 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-02-27 19:30 +0100
Re: Origin of /var/run contents Sven Hartge <sven@svenhartge.de> - 2018-02-27 20:10 +0100
Origin of /var/run contents Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2018-03-03 17:40 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-03-03 18:20 +0100
Re: Origin of /var/run contents Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-05 16:10 +0100
Origin of /var/run contents Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2018-03-07 00:50 +0100
Re: Origin of /var/run contents deloptes <deloptes@gmail.com> - 2018-03-07 08:00 +0100
Re: Origin of /var/run contents Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-07 14:40 +0100
Re: Origin of /var/run contents Gene Heskett <gheskett@shentel.net> - 2018-02-27 18:10 +0100
Re: Origin of /var/run contents Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2018-03-03 16:50 +0100
csiph-web