View previous topic :: View next topic |
Author |
Message |
fluffysheap n00b
Joined: 10 Dec 2017 Posts: 9
|
Posted: Tue Mar 22, 2022 7:08 am Post subject: Mystery filesystem remount |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3918
|
Posted: Tue Mar 22, 2022 5:49 pm Post subject: |
|
|
Which partition is being remounted do you think?
do you see any "steam" user? _________________
|
|
Back to top |
|
|
fluffysheap n00b
Joined: 10 Dec 2017 Posts: 9
|
Posted: Wed Mar 23, 2022 7:45 am Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22694
|
Posted: Wed Mar 23, 2022 3:18 pm Post subject: |
|
|
Perhaps steam is playing games with user namespaces, chroot, and bind mounts. |
|
Back to top |
|
|
|