[Devel] [PATCH rh7 v3] ve/devpts: Assign container's @devpts_sb on first mount

Vladimir Davydov vdavydov at parallels.com
Thu Jul 23 00:53:21 PDT 2015


On Wed, Jul 22, 2015 at 08:50:20PM +0300, Cyrill Gorcunov wrote:
> Modern systemd based containers (such as fedora-21, centos-7) already
> mounting initial devpts filesystem with @newinstance option but it
> turned out that ubuntu-14 lts doesn't, which makes restore procedure
> to fail because we're using get_exec_env as a namespace mark and the
> kernel mounts new superblock for container internally. This is done
> to isolate devpts between containers but somehow incomplete.
> 
> Lets revert commit 2c27d20125f51256d59ec2b278a905321dc64914
> to make code closer to native one and assign container's superblock
> @devpts_sb at first moutn call.

Please, send the two patches, the revert and the fix, separately. This
will make it easier to drop 2c27d2012 during rebase.

Thanks.



More information about the Devel mailing list