Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mystery filesystem remount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fluffysheap
n00b
n00b


Joined: 10 Dec 2017
Posts: 9

PostPosted: Tue Mar 22, 2022 7:08 am    Post subject: Mystery filesystem remount Reply with quote

I use Steam, which I installed from the steam-overlay (games-util/steam-launcher). I'm posting this in security rather than games because the question is not about playing or installing games but rather some security implications I don't like. Whenever I run Steam, I get upsetting messages in my dmesg log, which indicates that somehow Steam is able to remount filesystems:
[270732.348534] ext4 filesystem being remounted at /newroot/mnt/extra supports timestamps until 2038 (0x7fffffff)

I understand why the filesystem has limited timestamps (and I don't really care, I'm sure I'll retire that disk before 2038), what I don't understand is how Steam is able to remount the filesystem. I don't have any of:
    systemd
    udisks
    any setuid programs in the steam-launcher package
    'user' option in fstab
    passwordless sudo

At first I assumed this was happening through udisks, but I got rid of udisks and it is still happening.

Can anyone give me a clue on how to track down how this is happening? Or is there some other way the message can be triggered?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3918

PostPosted: Tue Mar 22, 2022 5:49 pm    Post subject: Reply with quote

Which partition is being remounted do you think?
Code:

ls /etc/sudoers.d

do you see any "steam" user?
_________________
:)
Back to top
View user's profile Send private message
fluffysheap
n00b
n00b


Joined: 10 Dec 2017
Posts: 9

PostPosted: Wed Mar 23, 2022 7:45 am    Post subject: Reply with quote

It's /mnt/extra, a partition I use for storing bulk data (ISOs and the like). It isn't a partition that's relevant to the system (or to Steam) but it is the only one I have that is formatted with small inodes, so the only one I'd notice a remount of in this way.

/etc/sudoers.d is empty. Also, steam runs as the logged in user, not under its own user account. My login user has a lot of permissions, but it doesn't have THAT permission (I have to use sudo to mount anything, and I'm not a member of 'disk' group).
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22695

PostPosted: Wed Mar 23, 2022 3:18 pm    Post subject: Reply with quote

Perhaps steam is playing games with user namespaces, chroot, and bind mounts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum