diff options
Diffstat (limited to 'internal/app/seal_linux.go')
| -rw-r--r-- | internal/app/seal_linux.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/internal/app/seal_linux.go b/internal/app/seal_linux.go index 4e77e79e..c2b580b7 100644 --- a/internal/app/seal_linux.go +++ b/internal/app/seal_linux.go @@ -242,7 +242,6 @@ func (seal *outcome) finalise(ctx context.Context, sys sys.State, config *hst.Co HostNet: true, HostAbstract: true, Tty: true, - AutoEtc: true, Filesystem: []hst.FilesystemConfigJSON{ {&hst.FSBind{ @@ -267,6 +266,15 @@ func (seal *outcome) finalise(ctx context.Context, sys sys.State, config *hst.Co conf.Filesystem = append(conf.Filesystem, hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSEphemeral{Target: nscd}}) } + // do autoetc last + conf.Filesystem = append(conf.Filesystem, + hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSBind{ + Target: container.AbsFHSEtc, + Source: container.AbsFHSEtc, + Special: true, + }}, + ) + config.Container = conf } |
