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

From: Eric W. Biederman
Date: Thu May 24 2012 - 10:18:07 EST


"D. Stussy" <spam+newsgroups@xxxxxxxxxxxxxxxx> writes:

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/