Skip to contentSkip to conversation

Mounting /proc w/ kernel 3.4.0 - "uid" parameter no longer valid?

DISCUSSION D. Stussy 2 participants 2 messages May 24, 2012

lore
Share & tools
lore

D. Stussy

author
#0 lore raw

proc: unrecognized mount option "uid=1" or missing value

This works under 3.3.6 and earlier (I never tried 3.3.7). It appears that the "uid" mount option was removed. WHY? More importantly, where is this change listed? I didn't see it in the git log.

This is really bad as I rebooted a remotely colocated server and since the procfs is not mounted, I cannot log in via SSH to correct the problem.

OK, so there's not that much point in changing the UID of the procfs files, but I preferred to set their default ownership to a non-privileged user.

#1 lore raw
Quoted 11 lines · D. Stussy

proc: unrecognized mount option "uid=1" or missing value

This works under 3.3.6 and earlier (I never tried 3.3.7). It appears that the "uid" mount option was removed. WHY? More importantly, where is this change listed? I didn't see it in the git log.

This is really bad as I rebooted a remotely colocated server and since the procfs is not mounted, I cannot log in via SSH to correct the problem.

OK, so there's not that much point in changing the UID of the procfs files, but I preferred to set their default ownership to a non-privileged user.

There has never been a uid= option to /proc in Linus's tree. I believe if you look you will find this feature was from a patch (perhaps from your distro) that added that support.

Eric