[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2025-01-08 Thread Lukas Märdian
Another workaround for ubuntu-settings package would be to mark the /lib/netplan/00-network-manager-all.yaml file as a "conffile", e.g. in debian/ubuntu-settings.conffiles This way modifications would be ignored by debsums. But it might have side-effects of asking the user on upgrade to accept/rej

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-26 Thread Dirk Su
** Tags added: jira-stella-466 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: https:

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-14 Thread Dave Jones
I'd concur with Lukas that netplan shouldn't be messing with stuff outside of /etc or /run as anything outside those can reasonably be assumed to be under the control of the package manager. Even if the comment is removed, will netplan leave a newline at the end of the file, or maybe not (enough t

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-14 Thread Lukas Märdian
see also bug #2083893 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: https://bugs.la

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-12 Thread Atlas Yu
** Tags added: jira-sutton-312 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: https:

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-11 Thread Lukas Märdian
Unfortunately, the underlying libyaml does not support parsing or emitting comments, so we'd need to come up with some custom solution for Netplan: https://github.com/yaml/libyaml/issues/42 Still, comment #5 holds true. ** Bug watch added: github.com/yaml/libyaml/issues #42 https://github.com/

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-10 Thread Dirk Su
** Tags added: jira-somerville-1138 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: h

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-11-03 Thread Dirk Su
** Tags added: jira-somerville-1267 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: h

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-10-17 Thread Yao Wei
** Tags added: jira-somerville-1221 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: h

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-10-17 Thread Yao Wei
** Tags added: jira-somerville-1014 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: h

[Bug 2078759] Re: Ability to use comments in YAML generated by Netplan

2024-10-15 Thread Dirk Su
** Tags added: jira-stella-159 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: https: