Tries to fetch EC2 metadata outside EC2 on xenial

Bug #1564320 reported by William Grant on 2016-03-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Dustin Kirkland 

Bug Description

byobu's metadata_available decides that a machine is probably an EC2 instance if /usr/sbin/update-grub-legacy-ec2 exists, and in that case tries to probe But grub-legacy-ec2 is installed on all Ubuntu Server xenial systems (since, so the check succeeds on a default bare metal server and a wget that will never succeed is started.

This is thoroughly confusing when you log into a fresh system, run "w", and see that your session is apparently wgetting from a cloud that doesn't actually exist.

Related branches

Changed in byobu (Ubuntu):
importance: Undecided → High
assignee: nobody → Dustin Kirkland  (kirkland)
status: New → In Progress
Changed in byobu (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (4.2 KiB)

This bug was fixed in the package byobu - 5.105-0ubuntu1

byobu (5.105-0ubuntu1) xenial; urgency=medium

  [ Dustin Kirkland ]
  * usr/share/man/man1/byobu.1:
    - update examples
  * debian/control:
    - pastebinit needs to be in the recommends
  * usr/lib/byobu/swap, usr/share/man/man1/byobu.1:
    - switch swap to black on green, white on green
      was unreadable
  * usr/bin/
    - silence stderr
  * usr/share/byobu/profiles/bashrc:
    - fix color comment
  * usr/bin/
    - no longer default to enabling ec2 status, LP: #1564320
    - institute better timeouts for metadata wgets, LP: #1564320
  * usr/bin/ LP: #1555446
    - exec the select-session command, to keep from having an sh
      hanging around
  * Applications/, AUTHORS,
    debian/copyright, debian/, etc/profile.d/Z97-, experimental/byobu-classroom, po/bg.po, po/sv.po,
    usr/bin/, usr/bin/, usr/bin/byobu-, usr/bin/, usr/bin/byobu-, usr/bin/, usr/bin/,
    usr/bin/, usr/bin/, usr/bin/byobu-
    keybindings, usr/bin/, usr/bin/byobu-launcher-, usr/bin/, usr/bin/byobu-, usr/bin/, usr/bin/,
    usr/bin/, usr/bin/,
    usr/bin/, usr/bin/,
    usr/bin/, usr/bin/,
    usr/bin/, usr/bin/,
    usr/bin/, usr/bin/manifest, usr/lib/byobu/apport,
    usr/lib/byobu/arch, usr/lib/byobu/battery, usr/lib/byobu/color,
    usr/lib/byobu/cpu_count, usr/lib/byobu/cpu_freq,
    usr/lib/byobu/cpu_temp, usr/lib/byobu/custom, usr/lib/byobu/date,
    usr/lib/byobu/disk, usr/lib/byobu/disk_io, usr/lib/byobu/distro,
    usr/lib/byobu/ec2_cost, usr/lib/byobu/entropy,
    usr/lib/byobu/fan_speed, usr/lib/byobu/hostname,
    usr/lib/byobu/include/colors, usr/lib/byobu/include/common,
    usr/lib/byobu/include/, usr/lib/byobu/include/constants,
    usr/lib/byobu/include/cycle-status, usr/lib/byobu/include/,
    usr/lib/byobu/include/icons, usr/lib/byobu/include/mondrian,
    usr/lib/byobu/include/notify_osd, usr/lib/byobu/include/select-, usr/lib/byobu/include/shutil, usr/lib/byobu/include/tmux-
    detach-all-but-current-client, usr/lib/byobu/include/tmux-send-
    command-to-all-panes, usr/lib/byobu/include/tmux-send-command-to-all-
    windows, usr/lib/byobu/include/,
    usr/lib/byobu/ip_address, usr/lib/byobu/load_average,
    usr/lib/byobu/logo, usr/lib/byobu/mail, usr/lib/byobu/memory,
    usr/lib/byobu/menu, usr/lib/byobu/network, usr/lib/byobu/notify_osd,
    usr/lib/byobu/processes, usr/lib/byobu/raid,
    usr/lib/byobu/reboot_required, usr/lib/byobu/release,
    usr/lib/byobu/services, usr/lib/byobu/session, usr/lib/byobu/swap,
    usr/lib/byobu/time, usr/lib/byobu/time_utc, usr/lib/byobu/trash,


Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers