[opensuse] function of tmpfs /run/user/488
Hello List , - what please is function of " tmpfs /run/user/488 " , as shown by command ' df ' ? ............ thanks regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/06/2015 04:38 AM, ellanios82 wrote:
Hello List ,
- what please is function of " tmpfs /run/user/488 " , as shown by command ' df ' ?
Actually its "/run" that is the tmpfs. That's created at boot. Its purpose is for dynamic mounts & dynamic user specific data. It is created by pam_systemd and used for storing files used by running processes for that user. These might be things such as dovecot, X11, pulseaudio and many others. Take a look and see For example If *I* stick a USB stick in the USB slot on the front of my PC and it automounts, as its been set to, it appears under /run/usr/501 (uid for anton is 501) and more specifically /var/run/media/anton/25A2-02EF You will see that there is a lot more under /var/run and /run/ A LOT MORE! before systemd think kind of thing was stored in /tmp, which on many systems is not volatile and which, anyway, can be accessed by all users so other ends have to be taken for privacy and isolation. The use of a tmpfs makes things easier in many ways. When a user logs out, and no active sessions remain, pam_systemd will wipe the /run/user/$uid directory out. With old approach, with various files scattered around /tmp, this was more problematic and error prone. See also the environment variable $XDG_SESSION_ID at http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html which is referenced by the man page PAM_SYSTEMD(8) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/06/2015 03:24 PM, Anton Aylward wrote:
On 06/06/2015 04:38 AM, ellanios82 wrote:
Hello List ,
- what please is function of " tmpfs /run/user/488 " , as shown by command ' df ' ? Actually its "/run" that is the tmpfs. That's created at boot.
Its purpose is for dynamic mounts & dynamic user specific data. It is created by pam_systemd and used for storing files used by running processes for that user. These might be things such as dovecot, X11, pulseaudio and many others. Take a look and see
For example If *I* stick a USB stick in the USB slot on the front of my PC and it automounts, as its been set to, it appears under
/run/usr/501 (uid for anton is 501)
and more specifically /var/run/media/anton/25A2-02EF
You will see that there is a lot more under /var/run and /run/ A LOT MORE!
before systemd think kind of thing was stored in /tmp, which on many systems is not volatile and which, anyway, can be accessed by all users so other ends have to be taken for privacy and isolation. The use of a tmpfs makes things easier in many ways.
When a user logs out, and no active sessions remain, pam_systemd will wipe the /run/user/$uid directory out. With old approach, with various files scattered around /tmp, this was more problematic and error prone.
See also the environment variable $XDG_SESSION_ID at http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html which is referenced by the man page PAM_SYSTEMD(8)
............... - aha - thank you very much regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-06-06 10:38, ellanios82 wrote:
Hello List ,
- what please is function of " tmpfs /run/user/488 " , as shown by command ' df ' ?
You could run "grep 488 /etc/passwd" to find out which user is that one. Being under 1000, it will be an automatic system user, a daemon or service. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVzB0kACgkQja8UbcUWM1zpBwD6AwSX8t8dC94TPueK3kO4yVkx IeA54u4XNnjQ8gp6axgA+wVaSUMvNNs9AW8am3LDxZh5cdahwNEfD2uxwy8ebnJY =oN8N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/06/2015 10:44 AM, Carlos E. R. wrote:
On 2015-06-06 10:38, ellanios82 wrote:
Hello List ,
- what please is function of " tmpfs /run/user/488 " , as shown by command ' df ' ?
You could run "grep 488 /etc/passwd" to find out which user is that one. Being under 1000, it will be an automatic system user, a daemon or service.
Not necessarily. My uid is 500. But then it dates back a long, long while. Back then it was "under 500" rather than "under 1000". As I've upgraded I've preserved /home and hence /home/anton/ unchanged so had to edit /etc/passwd to match. :-) You statement is true if an only if dealing with more recent installs and newly created IDs, assuming the sysadmin has not fiddled with the settings as to where userID start. -- We know nothing about motivation. All we can do is write books about it. --Peter F. Drucker -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-06-06 16:57, Anton Aylward wrote:
You statement is true if an only if dealing with more recent installs and newly created IDs, assuming the sysadmin has not fiddled with the settings as to where userID start.
My educated guess is that ellanio82 system is not that old ;-) (I migrated all my local users to be above 1000, some years later than the default changed. Just in case. I had to grep and chown several hard disks and computers) - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVzDjkACgkQja8UbcUWM1zv6gD+NW0BHgRKf5+QnIF++Rl5J/UE H2/LKTYw6G5kER7VuTwA/3Le1V/24xo4gNLJ9vkVnp0Op2VrPvfWpYF6KHAIz1Ey =2MUx -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-06-06 18:31, ellanios82 wrote:
On 06/06/2015 06:14 PM, Carlos E. R. wrote:
system is not that old ;-)
- indeed : it's tumbleweed
No, that doesn't matter. What does is if you have been upgrading it since 10 or 15 years ago, and I mean upgrading from version to version, not installing fresh each time. Because 10 or 15 years ago, users got numbers in the 100 or 500 range. Now they get it on the 1000. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVzOgMACgkQja8UbcUWM1zE8QD+OsvWixUTx7CWkuoe2sLDl06T x8p4mdXNI9noiLZRFVkBAIQNfRhcsFRmZIK0OQJim/KYo4593Ih7wGMQgWNxCH1h =K4Kk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/06/2015 05:44 PM, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-06-06 10:38, ellanios82 wrote:
Hello List ,
- what please is function of " tmpfs /run/user/488 " , as shown by command ' df ' ? You could run "grep 488 /etc/passwd" to find out which user is that one. Being under 1000, it will be an automatic system user, a daemon or service.
- --
- thanks : result says : Konsole output Konsole output #grep 488 /etc/passwd lightdm:x:488:489:LightDM daemon:/var/lib/lightdm:/bin/false vscan:x:65:488:Vscan account:/var/spool/amavis:/bin/false ............ regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-06-06 18:27, ellanios82 wrote:
On 06/06/2015 05:44 PM, Carlos E. R. wrote:
- thanks : result says :
Konsole output Konsole output #grep 488 /etc/passwd lightdm:x:488:489:LightDM daemon:/var/lib/lightdm:/bin/false vscan:x:65:488:Vscan account:/var/spool/amavis:/bin/false
Then it is lightdm (user:group). - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVzOq4ACgkQja8UbcUWM1xYEgD9H2WQeXFed+zxmBzEeHRaF7Cu LALv+H28vNQUnCbD3kYA/0kFLwEwuQByPSiP8pOHoKwt5MgBfnIAe3gNEnRLyB0X =TVED -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Anton Aylward
-
Carlos E. R.
-
ellanios82