Skip to content

mount /proc in chroot at build time #2093

@JedMeister

Description

@JedMeister

During v19.x dev I've noticed that during builds, an "error" related to /proc not being mounted occurs multiple times. It only shows up as an "error" when installing packages. It does occur later in the build process too, but it's only a "warning" then. Here's the error message during package install (the warning later has slightly different wording, but is essentially the same):

/proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches.

IMO we should address this sooner rather than later - and mount /proc within the chroot (or do some research and consider one of the other options noted in the message).

TBH I wasn't quite sure whether to tag this as a "bug" or a "feature" because it does not seem to cause any actual problems. OTOH it's possible that I just haven't noticed the issues? Regardless, IMO it seems likely that it's only a matter of time before it actually does cause issues...

Metadata

Metadata

Assignees

No one assigned

    Labels

    fabTurnKey appliance fabrication tool - preinstalled in TKLDevfeaturetkldev

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions