[Devel] [patch 2/2] [PATCH rh7] ve/devpts: Assign containers @devpts_sb on first mount

Vladimir Davydov vdavydov at parallels.com
Thu Jul 23 01:36:42 PDT 2015


On Thu, Jul 23, 2015 at 11:27:11AM +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 assign container's superblock @devpts_sb at its first mount
> call so if devpts was mounted without @newinstance the caller still
> get proper superblock.
> 
> https://jira.sw.ru/browse/PSBM-34931
> 
> Former-patch-by: Vladimir Davydov <vdavydov at virtuozzo.com>
> Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>

Reviewed-by: Vladimir Davydov <vdavydov at parallels.com>



More information about the Devel mailing list