[Bug 1680599] [NEW] unattended-upgrades crashes without writing to the log on invalid config file entries

2017-04-06 Thread Dan Valentine
Public bug reported:

If Unattended-Upgrade::Allowed-Origins in 50unattended-upgrades contains
an invalid entry, such as "invalid", unattended-upgrades crashes without
writing to /var/log/unattended-upgrades/unattended-upgrades.log.

# unattended-upgrades --debug
Traceback (most recent call last):
  File "/usr/bin/unattended-upgrades", line 1536, in 
main(options)
  File "/usr/bin/unattended-upgrades", line 1202, in main
allowed_origins = get_allowed_origins()
  File "/usr/bin/unattended-upgrades", line 343, in get_allowed_origins
allowed_origins = get_allowed_origins_legacy()
  File "/usr/bin/unattended-upgrades", line 328, in get_allowed_origins_legacy
(distro_id, distro_codename) = s.split()
ValueError: not enough values to unpack (expected 2, got 1)

0.92ubuntu1.2 on 16.10

** Affects: unattended-upgrades (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  unattended-upgrades crashes without writing to the log on invalid
  config file entries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1680599/+subscriptions

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


[Bug 989396] Re: Package keyboard-configuration post-installation script. Hang on /bin/setupcon --force --save for 10 min then killed

2017-03-30 Thread Dan Valentine
I can confirm that hitting scroll lock allows setup to continue.  This
server has a physical keyboard directly connected to it that is never
used.  Scroll lock was on for some reason so hitting the button turned
it off.  My SSH session was stuck at "Configuring keyboard-
configuration..." until I did that.

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

Title:
  Package keyboard-configuration  post-installation script. Hang on
  /bin/setupcon --force --save for 10 min then killed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/989396/+subscriptions

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