[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2024-06-17 Thread Mate Kukri
It is hard to tell when this regressed (if it wasn't always an issue), but I can confirm that it is certainly still a bug on Oracular. ** Changed in: grub2 (Ubuntu) Assignee: (unassigned) => Mate Kukri (mkukri) ** Changed in: grub2 (Ubuntu) Importance: Medium => Low ** Tags removed:

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-10-14 Thread Matthieu Clemenceau
** Tags added: fr-306 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1868138 Title: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub To

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-04-06 Thread Steve Langasek
** Tags added: regression-update ** Changed in: grub2 (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1868138 Title: 18.04LTS upgrade of

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-21 Thread Francis Ginther
** Tags added: id-5e74bf26da55cf464815d182 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1868138 Title: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-20 Thread C de-Avillez
"This bug report is missing data. The reproducer given is invalid, as it escapes the quoted string, as opposed to the newline." Yes, it is broken, and it was my fault. I typed the lines instead of copy I apologise. But, as the poster themselves confirm just after this, it does break if the '\"ยด

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-20 Thread pgnd
as noted above, these configs have been in place " on a long-time-in- production Ubuntu 1804LTS server instance" the configs have been in-place, with line breaks, for years. across countless upgrades, on ~100+ servers. including grub* packages. upgrades have ONLY started failing with most

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-20 Thread Dimitri John Ledkov
/etc/default/grub is ucf/debconf managed conffile, which has always been processed by grub2 maintainer scripts, and there was no change in behaviour of that in bionic. You may not have ever noticed this before, because you might have only applied the config change without re-running

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-20 Thread Julian Andres Klode
So given that 8.13 is affected - which was released a year ago, and it's a highly unusual configuration, this is not in need of an urgent hotfix. ** Changed in: grub2 (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread pgnd
> IMHO broken files please clarify under what circumstances you think it's appropriate/OK to modify user-config files, breaking them? because that's what's being done here. the installer is overwriting the /etc/default/grub file. > highly unusual abuse of POSIX shell semantics, horesefeathers

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread Julian Andres Klode
I think the fix here is to fix the info manual to state that it should not normally be assignment lines, but must always be assignment lines, and maybe abort hard if we encounter exotic syntax like that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread Julian Andres Klode
Anyway, both GRUB_CMDLINE_LINUX="moo bar" and GRUB_CMDLINE_LINUX="foo \ bar" break. I have looked at OPs claim that this is a new regression, and verified that this is a wrong assertion - it was broken in 8.13: ubuntu@boo1:~$ sudo apt install ./*.deb Reading package lists... Done Building

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread Julian Andres Klode
This bug report is missing data. The reproducer given is invalid, as it escapes the quoted string, as opposed to the newline. It also does not show that this is a regression in the 8.15 upload, as nothing in that upload changed. The last change to logic here was made in 8.13, so any such bug must

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread pgnd
in comments from ubuntu-devel [17:50] Continuation lines seem wrong to have in that file [17:50] If you add a continuation line between 8.14 and 8.15, you can remove the continuation line again [17:51] A future update should probably handle that, but a continuation

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread pgnd
comment from hggdh in #irc, 'the last change on install was for 2.02-2ubuntu8.13' re: impact ... sure, NO-continuation-lines-used is the likely majority but, impact varies. fwiw, here anyway, our internal prio's a bit higher. 100+ ubu servers with continuation lines in their grub cfg ... in

[Bug 1868138] Re: 18.04LTS upgrade of grub-common:amd64 FAILs in post-install; incorrectly REWRITES user's /etc/default/grub

2020-03-19 Thread C de-Avillez
This is a regression Marking triaged, easily reproducible: *BEFORE* dist-upgrade: 1. edit /etc/default/grub 2. change GRUB_COMLINE_LINUX_DEFAULT from: GRUBCMDLINE_LINUX_DEFAULT="quiet splash" to: GRUB_CMDLINE_LINUX_DEFAULT="quiet \" splash" 3. run a dist-upgrade Expected result: