Tries to fetch EC2 metadata outside EC2 on xenial

Bug #1564320 reported by William Grant on 2016-03-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
High
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 169.254.169.254. But grub-legacy-ec2 is installed on all Ubuntu Server xenial systems (since http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/ubuntu.xenial/revision/2413), 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/byobu-ctrl-a.in:
    - silence stderr
  * usr/share/byobu/profiles/bashrc:
    - fix color comment
  * usr/bin/byobu-janitor.in:
    - no longer default to enabling ec2 status, LP: #1564320
    - institute better timeouts for metadata wgets, LP: #1564320
  * usr/bin/byobu-select-session.in: LP: #1555446
    - exec the select-session command, to keep from having an sh
      hanging around
  * Applications/Byobu.app/Contents/MacOS/Byobu, AUTHORS,
    debian/copyright, debian/source_byobu.py, etc/profile.d/Z97-
    byobu.sh.in, experimental/byobu-classroom, po/bg.po, po/sv.po,
    usr/bin/byobu-config.in, usr/bin/byobu-ctrl-a.in, usr/bin/byobu-
    disable.in, usr/bin/byobu-disable-prompt.in, usr/bin/byobu-
    enable.in, usr/bin/byobu-enable-prompt.in, usr/bin/byobu-export.in,
    usr/bin/byobu.in, usr/bin/byobu-janitor.in, usr/bin/byobu-
    keybindings, usr/bin/byobu-launcher.in, usr/bin/byobu-launcher-
    install.in, usr/bin/byobu-launcher-uninstall.in, usr/bin/byobu-
    launch.in, usr/bin/byobu-layout.in, usr/bin/byobu-prompt.in,
    usr/bin/byobu-quiet.in, usr/bin/byobu-reconnect-sockets.in,
    usr/bin/byobu-select-backend.in, usr/bin/byobu-select-profile.in,
    usr/bin/byobu-select-session.in, usr/bin/byobu-shell.in,
    usr/bin/byobu-silent.in, usr/bin/byobu-status-detail.in,
    usr/bin/byobu-status.in, 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/config.py.in, usr/lib/byobu/include/constants,
    usr/lib/byobu/include/cycle-status, usr/lib/byobu/include/dirs.in,
    usr/lib/byobu/include/icons, usr/lib/byobu/include/mondrian,
    usr/lib/byobu/include/notify_osd, usr/lib/byobu/include/select-
    session.py, 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/toggle-utf8.in,
    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,
    usr/...

Read more...

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