Skip to content

Installimage fails. Permissions for /etc/netplan/01-netcfg.yaml are too open (Ubuntu 22.04) #96

Closed
@guettli

Description

@guettli

We use /root/.oldroot/nfs/images/Ubuntu-2204-jammy-amd64-base.tar.gz

[11:30:16] fatal: netplan generate stderr not empty:                                                                                  
[11:30:16] :                                                                                                                          
[11:30:16] :   ** (generate:3): WARNING **: 11:30:16.178: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configurat
ion should NOT be accessible by others.                                                                                               
[11:30:16] => FAILED

Running chmod 600 /etc/netplan/01-netcfg.yaml before executing installimage does not help, since it is not about the /etc directory in the rescue system. It is about the /etc directory of the Ubuntu 22.04 tgz.

Do you have an idea how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions