[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2021-11-17 Thread Seb Bonnard
Correct me if I'm wrong, according to [this
documentation](https://www.gnu.org/software/grub/manual/grub/html_node/Environment-
block.html), on LVM or RAID disk the `/boot/grub/grubenv` file cannot be
modified by GRUB, in that case, by the `save_env` routine. Only the OS
via `grub-reboot`, `grub-editenv` or `grub-set-default` can modify the
`/boot/grub/grubenv` file.

Therefore, the `save_env prev_saved_entry` won't work here (on LVM or
RAID disk), and the system will not be able to boot on the previously
saved entry.

Is that correct ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions


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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-10-11 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.02-2ubuntu8.6

---
grub2 (2.02-2ubuntu8.6) bionic; urgency=medium

  * debian/patches/linuxefi_fix_relocate_coff.patch: fix typo in
relocate_coff() causing issues with relocation of code in chainload.
(LP: #1792575)
  * debian/patches/linuxefi_truncate_overlong_reloc_section.patch: The Windows
7 bootloader has inconsistent headers; truncate to the smaller, correct
size to fix chainloading Windows 7. (LP: #1792575)

grub2 (2.02-2ubuntu8.5) bionic; urgency=medium

  * debian/patches/grub-reboot-warn.patch: Warn when "for the next
boot only" promise cannot be kept. (LP: #788298)

 -- Mathieu Trudel-Lapierre   Thu, 27 Sep 2018
17:00:43 +0200

** Changed in: grub2 (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-10-11 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2-signed - 1.93.7

---
grub2-signed (1.93.7) bionic; urgency=medium

  * Rebuild against grub2 2.02-2ubuntu8.6 (LP: #1792575)

grub2-signed (1.93.6) bionic; urgency=medium

  * Rebuild against grub2 2.02-2ubuntu8.5 (LP: #788298)

 -- Mathieu Trudel-Lapierre   Thu, 27 Sep 2018
13:07:26 -0400

** Changed in: grub2-signed (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-10-09 Thread dann frazier
Retested with 2.02-2ubuntu8.6:

dannf@mdraid:~$ sudo grub-reboot 0

WARNING: Detected GRUB environment block on diskfilter device
0 will remain the default boot entry until manually cleared with:
grub-editenv /boot/grub/grubenv unset next_entry

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-10-09 Thread Mathieu Trudel-Lapierre
@dannf, can you please confirm which version of grub you were using for
the tests?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-10-09 Thread Mathieu Trudel-Lapierre
Verification was done earlier by dannf; this is the same SRU with more
patches included for a different issue.

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-27 Thread Brian Murray
Hello Mike, or anyone else affected,

Accepted grub2 into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/grub2/2.02-2ubuntu8.6
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags removed: verification-done verification-done-bionic
** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-26 Thread dann frazier
Verification:

On a system w/ /boot on an md device:

dannf@mdraid:~$ sudo grub-reboot 0
[sudo] password for dannf: 

WARNING: Detected GRUB environment block on diskfilter device
0 will remain the default boot entry until manually cleared with:
grub-editenv /boot/grub/grubenv unset next_entry


On a system w/ /boot on a /dev/vda:
ubuntu@ubuntu:~$ sudo grub-reboot 2
ubuntu@ubuntu:~$ 

And it worked as expected.


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-25 Thread Steve Langasek
Hello Mike, or anyone else affected,

Accepted grub2 into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/grub2/2.02-2ubuntu8.5
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: grub2 (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

** Also affects: grub2-signed (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: grub2-signed (Ubuntu)
   Status: New => Fix Released

** Changed in: grub2-signed (Ubuntu Bionic)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-18 Thread dann frazier
** Changed in: grub2 (Ubuntu Bionic)
 Assignee: (unassigned) => dann frazier (dannf)

** Changed in: grub2 (Ubuntu)
 Assignee: (unassigned) => dann frazier (dannf)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-18 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.02+dfsg1-5ubuntu4

---
grub2 (2.02+dfsg1-5ubuntu4) cosmic; urgency=medium

  * debian/patches/linuxefi_fix_relocate_coff.patch: fix typo in
relocate_coff() causing issues with relocation of code in chainload.
(LP: #1792575)

 -- Mathieu Trudel-Lapierre   Mon, 17 Sep 2018
07:45:49 -0400

** Changed in: grub2 (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-13 Thread dann frazier
** Description changed:

- Binary package hint: grub-pc
+ [Impact]
+ The grub-reboot manpage says it will "Set the default boot menu entry for 
GRUB, for the next boot only." But, that's a promise it cannot keep when GRUB 
cannot write to the environment block, such as when it is stored on Linux 
software RAID (md) or LVM devices. An administrator of such a system may expect 
grub-reboot to work as documented, only to find that their change is now 
permanent, requiring manual recovery. Users without console access may rely on 
grub-reboot to provide a mechanism for testing a possible-broken boot entry. If 
that entry causes the system to fail to boot, they may find their system 
unrecoverable.
  
- This is related to the following bug:
- https://bugs.launchpad.net/ubuntu/karmic/+source/grub2/+bug/497326
+ [Test Case]
+ Run grub-reboot on an impacted system and check for a warning and 
instructions on manually restoring the default. Also, check for a warning in 
the grub-reboot manpage.
  
- Opening a new bug since the aforementioned bug is related to Karmic.
- Although it was marked as "fixed" over 16 months ago, this feature still
- appears to be broken in Lucid LTS.
- 
- Ubuntu Release:  Ubuntu 10.04.2 LTS
- Architecture:  x86_64
- Package Version:  1.98-1ubuntu10
- 
- Steps taken:
- - Edited /etc/boot/default and changed "GRUB_DEFAULT=0" to 
"GRUB_DEFAULT=saved"
- - Used grub-reboot so that grub would reboot into Windows on the next boot 
only
- - Rebooted from Ubuntu
- - Windows booted as expected
- - Rebooted from Windows
- 
- Expected Results:
- - After rebooting from Windows, my grub default selection should be back to 
Ubuntu (or whatever it was before issuing grub-reboot) since grub-reboot is 
supposed to "set the default boot entry for GRUB, for the next boot only" as 
per the man page.
- 
- Actual Results:
- - Windows remains selected by default at the bootloader screen and boots.  
Note that this prevents users from being able to reboot into Windows and back 
when they are accessing their machines remotely.
- 
- Additional Information:
- - The system I am experiencing this on is set up as follows:
- -   Ubuntu is installed on a Linux mdadm raid 1 mirror (/dev/sda1 and 
/dev/sdb1)
- -   Windows is installed on an Intel Raid 1 mirror (what would have been 
/dev/sdc and /dev/sdd are now /dev/mapper/isw_febcbhicb_Windows)
- 
- ProblemType: Bug
- DistroRelease: Ubuntu 10.04
- Package: grub-pc 1.98-1ubuntu10
- ProcVersionSignature: Ubuntu 2.6.32-31.61-generic 2.6.32.32+drm33.14
- Uname: Linux 2.6.32-31-generic x86_64
- NonfreeKernelModules: fglrx
- Architecture: amd64
- CheckboxSubmission: 60d09ed5715e10eba06ad43865289d68
- CheckboxSystem: f134069bba098730d27f59b402920826
- Date: Wed May 25 15:08:12 2011
- InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
- ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_CA.UTF-8
-  SHELL=/bin/bash
- SourcePackage: grub2
+ [Regression Risk]
+ This is a documentation change only. The documentation is emitted by 
(trivial) code, so a bug in that code could lead to unintentional functional 
changes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2018-09-13 Thread dann frazier
** Also affects: grub2 (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: grub2 (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: grub2 (Ubuntu Bionic)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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

[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2013-02-25 Thread Alin Andrei
It still occurs in Raring with no RAID, just a SSD and a HDD.

** Tags added: raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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


[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2012-09-27 Thread Alesso
The bug is actual still for 12.04 LTS on mirror RAID devices

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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


[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2012-02-03 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: grub2 (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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


[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2011-10-29 Thread Keith Brown
Regarding the problem of grub-reboot not working with /boot on a RAID array 
(and in my case not being able to boot back into Ubuntu), I would be happy with 
a timed default. It wouldn't require GRUB_DEFAULT=saved or grubenv. As I 
imagine it, a user who normally uses e.g. GRUB_DEFAULT=0 would edit 
/etc/default/grub to add something like:

GRUB_TIMED_DEFAULT=6 300   # set the default menu entry to 6 for 300
seconds from when grub.cfg is generated

Then the user would run grub-update and it would result in something
like the following in grub.cfg (using bash command substitution to get
the date but perhaps a special environment variable could be added):

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default=0
if [ $(date +%s) -le 1319894091 ] ; then   # grub-update at Sat Oct 29 15:09:51 
CEST 2011; date is 300 seconds in future
  set default=6
fi
if [ ${prev_saved_entry} ]; then
...

If the user reboots at any point in time in the next 300 seconds then
the default menu entry would be 6, after that it would be 0. To guard
against a user forgetting that a timed default setting is present grub-
update could issue an are you sure prompt.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/788298/+subscriptions

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


[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2011-05-31 Thread Colin Watson
Jordan Uggla points out that his fourth patch in
http://lists.gnu.org/archive/html/grub-devel/2009-12/msg00276.html
addresses part of this, by at least making grub-reboot not do anything
rather than acting like grub-set-default; I'll think about that patch
some more but it seems reasonable.  Making grub-reboot raise an error
immediately is harder but possible.  Actually supporting your
configuration for grub-reboot is hard and may not ever happen, as it
requires writing to the RAID array and GRUB deliberately doesn't
implement that right now due to safety concerns.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

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


[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2011-05-27 Thread Mike C. Delorme
It appears that this bug may not actually be related to bug #497326 as
per the recent update in that thread.  Perhaps this has more to do with
the disk configuration that's being used?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

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


[Bug 788298] Re: grub-reboot changes boot default permanently on Lucid LTS

2011-05-25 Thread Mike C. Delorme
** Attachment added: /etc/default/grub
   https://bugs.launchpad.net/bugs/788298/+attachment/2142670/+files/grub

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788298

Title:
  grub-reboot changes boot default permanently on Lucid LTS

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