[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/reject the changes
to that file (instead of just overriding it with the packaged version).

See https://manpages.debian.org/testing/dpkg-dev/deb-conffiles.5.en.html

-- 
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.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 to change the checksum)? Or change the
structure to an inline list (a perfectly valid transform)?

-- 
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.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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/yaml/libyaml/issues/42

-- 
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.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
https://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
https://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
https://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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:
https://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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://bugs.launchpad.net/oem-priority/+bug/2078759/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs