Skip to content

uptime fails when /proc is masked #13292

Description

@oech3
> unshare -rm bash -c "mount -t tmpfs tmpfs /proc && uu-uptime"
uptime: could not retrieve system uptime
> unshare -rm bash -c "mount -t tmpfs tmpfs /proc && /home/a/bin/gnu9.11/gnuuptime"
 21:44:10  up 490 days 23:12,  2 users,  load average: 1.15, 0.98, 0.49

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions