[Bug 1931501] [NEW] Stack trace when --help flag added to the end of a command

2021-06-09 Thread Casey Marshall
Public bug reported:

If I add --help to the end of an enable command, I get a stack trace:

```
ubuntu@pro1604:~$ sudo ua enable fips --help
ERROR:root:Unhandled exception, please file a bug
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 937, in wrapper
return func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 987, in main
args = parser.parse_args(args=cli_arguments)
  File "/usr/lib/python3.5/argparse.py", line 1735, in parse_args
args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python3.5/argparse.py", line 1767, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.5/argparse.py", line 1955, in _parse_known_args
positionals_end_index = consume_positionals(start_index)
  File "/usr/lib/python3.5/argparse.py", line 1932, in consume_positionals
take_action(action, args)
  File "/usr/lib/python3.5/argparse.py", line 1841, in take_action
action(self, namespace, argument_values, option_string)
  File "/usr/lib/python3.5/argparse.py", line 1138, in __call__
subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/usr/lib/python3.5/argparse.py", line 1767, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.5/argparse.py", line 1973, in _parse_known_args
start_index = consume_optional(start_index)
  File "/usr/lib/python3.5/argparse.py", line 1913, in consume_optional
take_action(action, args, option_string)
  File "/usr/lib/python3.5/argparse.py", line 1841, in take_action
action(self, namespace, argument_values, option_string)
  File "/usr/lib/python3.5/argparse.py", line 1025, in __call__
parser.print_help()
  File "/usr/lib/python3/dist-packages/uaclient/cli.py", line 93, in print_help
super().print_help(file=file)
  File "/usr/lib/python3.5/argparse.py", line 2367, in print_help
self._print_message(self.format_help(), file)
  File "/usr/lib/python3.5/argparse.py", line 2351, in format_help
return formatter.format_help()
  File "/usr/lib/python3.5/argparse.py", line 287, in format_help
help = self._root_section.format_help()
  File "/usr/lib/python3.5/argparse.py", line 217, in format_help
func(*args)
  File "/usr/lib/python3.5/argparse.py", line 217, in format_help
func(*args)
  File "/usr/lib/python3.5/argparse.py", line 524, in _format_action
help_text = self._expand_help(action)
  File "/usr/lib/python3.5/argparse.py", line 611, in _expand_help
return self._get_help_string(action) % params
TypeError: unsupported operand type(s) for %: 'tuple' and 'dict'
Unexpected error(s) occurred.
For more details, see the log: /var/log/ubuntu-advantage.log
To file a bug run: ubuntu-bug ubuntu-advantage-tools
```

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-advantage-tools 26.3~16.04.1
ProcVersionSignature: User Name 4.15.0-1113.126~16.04.1-azure 4.15.18
Uname: Linux 4.15.0-1113-azure x86_64
ApportVersion: 2.20.1-0ubuntu2.30
Architecture: amd64
Date: Wed Jun  9 21:14:41 2021
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubuntu-advantage-tools (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug third-party-packages uec-images xenial

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

Title:
  Stack trace when --help flag added to the end of a command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1931501/+subscriptions

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

[Bug 1927029] Re: ua attach command fails

2021-05-04 Thread Casey Marshall
I suspect it might be an issue with snapd not being ready to execute
snaps, this might help confirm.

Is this a persistent issue or does it eventually resolve with retries?

Did this happen early in the machine uptime, perhaps in cloud-init?

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

Title:
  ua attach command fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1927029/+subscriptions

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

[Bug 1898557] [NEW] Ubuntu focal boot times slower than other distros

2020-10-05 Thread Casey Marshall
Public bug reported:

I've noticed first boot times are significantly slower on Ubuntu Focal
than other distros. The following benchmark was taken on the same host
with in-sync images (so image downloads aren't a factor).

https://paste.ubuntu.com/p/ZdscB88vWY/

I'm opening this bug because I care quite a bit about Ubuntu boot times
on servers and containers and I think we can probably do better.

Opening here as I truly believe this is an Ubuntu distro concern. If
it's inappropriate, please let me know where I should raise this if this
is the wrong place.

Thanks,
Casey

** Affects: ubuntu
 Importance: Undecided
 Status: New

** Description changed:

  I've noticed first boot times are significantly slower on Ubuntu Focal
  than other distros. The following benchmark was taken on the same host
  with in-sync images (so image downloads aren't a factor).
  
- https://paste.ubuntu.com/p/K98mvRcWCQ/
+ https://paste.ubuntu.com/p/ZdscB88vWY/
  
  I'm opening this bug because I care quite a bit about Ubuntu boot times
  on servers and containers and I think we can probably do better.
  
  Opening here as I truly believe this is an Ubuntu distro concern. If
  it's inappropriate, please let me know where I should raise this if this
  is the wrong place.
  
  Thanks,
  Casey

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

Title:
  Ubuntu focal boot times slower than other distros

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

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

[Bug 1642581] Re: Livepatch checkState: check-failed

2020-08-31 Thread Casey Marshall
*** This bug is a duplicate of bug 1886994 ***
https://bugs.launchpad.net/bugs/1886994

** This bug is no longer a duplicate of bug 1655458
   Livepatch gives "Invalid Machine Token" and "check-failed" resulting in no 
payload
** This bug has been marked a duplicate of bug 1886994
   Bionic/Focal VMs get the same machine-id

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

Title:
  Livepatch checkState: check-failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1642581/+subscriptions

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

[Bug 1860620] Re: ubuntu-desktop-minimal should not depend on mysql libs

2020-06-30 Thread Casey Marshall
Why does desktop depend on libsnmp35 though?

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

Title:
  ubuntu-desktop-minimal should not depend on mysql libs

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

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

[Bug 1867573] Re: crash in log of cloned Pro instance: uaclient.exceptions.AlreadyAttachedError:

2020-03-16 Thread Casey Marshall
Since `ua auto-attach` runs on boot, it needs to be improved to detect
changes in instance-id. If the instance-id changes, all prior tokens
should be deleted prior (or as part of) `ua auto-attach`.

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

Title:
  crash in log of cloned Pro instance:
  uaclient.exceptions.AlreadyAttachedError: 

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1867573/+subscriptions

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

[Bug 1866703] [NEW] gnome-shell crashes on lock screen

2020-03-09 Thread Casey Marshall
Public bug reported:

After latest focal updates, gnome-shell crashes and I lose my entire
session when I lock the screen.

c@slate:~$ dpkg -l | grep gnome-shell
ii  gnome-shell3.35.91-1ubuntu2 
   amd64graphical shell for the GNOME desktop

c@slate:~$ lsb_release -rd
Description:Ubuntu Focal Fossa (development branch)
Release:20.04

syslog at the time of crash shows:

Mar  9 15:40:59 slate gnome-shell[14000]: ClutterBoxLayout child 
Gjs_ui_shellEntry_CapsLockWarning natural height: 0.00 < minimum 24.00 
for width 337.00
Mar  9 15:40:59 slate kernel: [ 6402.118795] traps: gnome-shell[14000] trap 
int3 ip:7f7562fb60d5 sp:7fff34854e80 error:0 in 
libglib-2.0.so.0.6400.0[7f7562f7a000+84000]
Mar  9 15:40:59 slate quasselclient[14674]: Error reading events from display: 
Broken pipe
Mar  9 15:40:59 slate gsd-power[14200]: Error reading events from display: 
Broken pipe
Mar  9 15:40:59 slate gsd-media-keys[14199]: Error reading events from display: 
Broken pipe
Mar  9 15:40:59 slate evolution-alarm[14258]: Error reading events from 
display: Broken pipe
Mar  9 15:40:59 slate gsd-wacom[14211]: Error reading events from display: 
Broken pipe
Mar  9 15:40:59 slate update-notifier[15178]: Error reading events from 
display: Broken pipe
Mar  9 15:40:59 slate gsd-color[14190]: Error reading events from display: 
Broken pipe
Mar  9 15:40:59 slate gsd-keyboard[14196]: Error reading events from display: 
Broken pipe
Mar  9 15:40:59 slate systemd[1660]: gsd-power.service: Main process exited, 
code=exited, status=1/FAILURE
Mar  9 15:40:59 slate systemd[1660]: gsd-power.service: Failed with result 
'exit-code'.
Mar  9 15:40:59 slate systemd[1660]: gsd-keyboard.service: Main process exited, 
code=exited, status=1/FAILURE
Mar  9 15:40:59 slate systemd[1660]: gsd-keyboard.service: Failed with result 
'exit-code'.
Mar  9 15:40:59 slate systemd[1660]: gsd-media-keys.service: Main process 
exited, code=exited, status=1/FAILURE
Mar  9 15:40:59 slate systemd[1660]: gsd-media-keys.service: Failed with result 
'exit-code'.
Mar  9 15:40:59 slate systemd[1660]: gsd-wacom.service: Main process exited, 
code=exited, status=1/FAILURE
Mar  9 15:40:59 slate systemd[1660]: gsd-wacom.service: Failed with result 
'exit-code'.
Mar  9 15:40:59 slate systemd[1660]: Stopped target GNOME Keyboard handling.
Mar  9 15:40:59 slate systemd[1660]: Stopped target GNOME Media keys handling.
Mar  9 15:40:59 slate systemd[1660]: Stopped target GNOME Power management 
handling.
Mar  9 15:40:59 slate systemd[1660]: Stopped target GNOME Wacom handling.
Mar  9 15:40:59 slate systemd[1660]: gnome-shell-wayland.service: Main process 
exited, code=dumped, status=5/TRAP
Mar  9 15:40:59 slate gnome-shell[14035]: (EE) failed to read Wayland events: 
Broken pipe
Mar  9 15:40:59 slate gsd-media-keys[16326]: X connection to :0 broken 
(explicit kill or server shutdown).

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.35.91-1ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar  9 15:49:14 2020
DisplayManager: gdm3
InstallationDate: Installed on 2018-08-26 (561 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: mutter-common 3.35.91-1ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to focal on 2020-01-23 (46 days ago)

** Affects: gnome-shell (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal wayland-session

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

Title:
  gnome-shell crashes on lock screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1866703/+subscriptions

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

[Bug 1864770] Re: Please remove hockeypuck from Ubuntu

2020-02-25 Thread Casey Marshall
I'm the upstream maintainer of Hockeypuck. If someone wanted to maintain
the package in Ubuntu or Debian, I'd be supportive, but this is not work
I'm willing to take on. Hockeypuck is primarily distributed as a snap
and docker image.

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

Title:
  Please remove hockeypuck from Ubuntu

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

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

[Bug 1860620] [NEW] ubuntu-desktop-minimal should not depend on mysql libs

2020-01-22 Thread Casey Marshall
Public bug reported:

After upgrading to 20.04 I decided to remove packages that I don't need
or use.

I was surprised to find that mysql client, server and common packages
were installed, as I could not remember having installed mysql -- I
don't use it or develop for it...

When I removed them, ubuntu-desktop-minimal went along for the ride:

c@slate:~$ sudo apt-get purge -y mysql-client-core-5.7 mysql-common 
mysql-server-core-5.7 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package 'mysql-client-core-5.7' is not installed, so not removed
Package 'mysql-server-core-5.7' is not installed, so not removed
The following package was automatically installed and is no longer required:
  libgsound0
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  colord* gnome-control-center* libmysqlclient21* libsane* libsnmp30* 
mysql-common* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 7 to remove and 0 not upgraded.
After this operation, 28.4 MB disk space will be freed.
(Reading database ... 381127 files and directories currently installed.)
Removing ubuntu-desktop-minimal (1.443) ...
Removing gnome-control-center (1:3.34.1-1ubuntu3) ...
Removing colord (1.4.4-1ubuntu1) ...
Removing libsane:amd64 (1.0.27-3.2ubuntu3) ...
Removing libsnmp30:amd64 (5.7.3+dfsg-5ubuntu6) ...
Removing libmysqlclient21:amd64 (8.0.18-0ubuntu5) ...
Removing mysql-common (5.8+1.0.5ubuntu2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.63.3-1) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Processing triggers for man-db (2.9.0-2) ...
Processing triggers for dbus (1.12.16-2ubuntu2) ...
Processing triggers for udev (244-3ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
(Reading database ... 380812 files and directories currently installed.)
Purging configuration files for mysql-common (5.8+1.0.5ubuntu2) ...
Purging configuration files for colord (1.4.4-1ubuntu1) ...

And, reinstalling ubuntu-desktop-minimal wants to brings them back, even
with recommends and suggests turned off:

c@slate:~$ sudo apt install ubuntu-desktop-minimal --no-install-recommends 
--no-install-
--no-install-recommends  --no-install-suggests
c@slate:~$ sudo apt install ubuntu-desktop-minimal --no-install-recommends 
--no-install-suggests 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  colord gnome-control-center libmysqlclient21 libsane libsnmp30 mysql-common
Suggested packages:
  colord-sensor-argyll gnome-user-share realmd libcanberra-gtk-module hplip
Recommended packages:
  gnome-online-accounts gnome-control-center-faces rygel | rygel-tracker 
sane-utils firefox hplip
The following NEW packages will be installed:
  colord gnome-control-center libmysqlclient21 libsane libsnmp30 mysql-common 
ubuntu-desktop-minimal
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,114 kB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

This seems really wrong... and looks like a transitive dependency, as I
don't see it in apt-get showpkg ubuntu-desktop-minimal.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-desktop-minimal 1.443
ProcVersionSignature: Ubuntu 4.15.0-74.84-generic 4.15.18
Uname: Linux 4.15.0-74-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair binder_linux 
ashmem_linux
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 22 19:26:53 2020
InstallationDate: Installed on 2018-08-26 (514 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-meta
UpgradeStatus: Upgraded to focal on 2020-01-23 (0 days ago)

** Affects: ubuntu-meta (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug focal wayland-session

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

Title:
  ubuntu-desktop-minimal should not depend on mysql libs

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

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

[Bug 1833277] [NEW] LIvepatch widget should link to secure boot information on error

2019-06-18 Thread Casey Marshall
Public bug reported:

The livepatch widget will show an error[0] if patches cannot be applied.
They cannot be applied on a Secure Boot system unless the livepatch
signing key is imported. Unfortunately this requires a reboot and some
confirmation in the UEFI settings, so it can't be automated.

`canonical-livepatch help` displays some instructions to fix this:


SECUREBOOT:
   If you are using secure boot, you will also need to import the livepatch 
public keys into your keyring.

   This can be done with the following command:
   sudo mokutil --import 
/snap/canonical-livepatch/current/keys/livepatch-kmod.x509

   After this enter a password if necessary for MOK, then reboot.
   Your BIOS will then guide you through enrolling a new key in MOK.
   At this point you will be able to verify the module signatures.

This is probably something worth linking to from that error message. In
general, we might need a page explaining other reasons the kernel can't
be patched, how to get more details from the system log, etc.

c@slate:~$ canonical-livepatch status
client-version: 9.3.0
architecture: x86_64
cpu-model: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
last-check: 2019-06-18T10:40:35-05:00
boot-time: 2019-06-18T11:05:06-05:00
uptime: 50m59s
status:
- kernel: 4.15.0-51.55-generic
  running: true
  livepatch:
checkState: check-failed
patchState: apply-failed
version: "52.3"
fixes: |-
  * CVE-2019-11477
  * CVE-2019-11478

[0] https://drive.google.com/file/d/1cQbtCNE-
ekoPO159SJDwKrjPGpkSuucm/view?usp=sharing

** Affects: update-notifier (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/1833277

Title:
  LIvepatch widget should link to secure boot information on error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1833277/+subscriptions

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

[Bug 1555760] Re: Too many levels of symbolic links /proc/sys/fs/binfmt_misc

2016-10-17 Thread Casey Marshall
For any poor soul who wanders here, here is the best known workaround
for this issue I've seen to date:

22-09-2016 15:23:18 < stgraber!~stgraber@ubuntu/member/stgraber: cmars:
if you mask (systemctl mask) the systemd units related to binfmt
(systemctl -a | grep binfmt) and reboot, then the problem is gone for
good. This is related to systemd's use of automount and not to binfmt-
misc (which just ships a bunch of binfmt hooks)

FYI, I think this will disable binfmt.

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

Title:
   Too many levels of symbolic links /proc/sys/fs/binfmt_misc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1555760/+subscriptions

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


[Bug 1555760] Re: Too many levels of symbolic links /proc/sys/fs/binfmt_misc

2016-07-19 Thread Casey Marshall
I apt purge'ed binfmt-support from my system and I'm still able to
comment here :) We'll see if this fixes the issue.

If it does, why was it even installed on my system by default to begin
with?

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

Title:
   Too many levels of symbolic links /proc/sys/fs/binfmt_misc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1555760/+subscriptions

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


[Bug 1555760] Re: Too many levels of symbolic links /proc/sys/fs/binfmt_misc

2016-07-19 Thread Casey Marshall
Still seeing this on xenial enough that I've written a script to perform
the umounting when LXD gets stuck. Do I even need binfmt_misc on my
system? Can I just remove it or would that break something?

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

Title:
   Too many levels of symbolic links /proc/sys/fs/binfmt_misc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1555760/+subscriptions

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


[Bug 1555760] Re: Too many levels of symbolic links /proc/sys/fs/binfmt_misc

2016-04-22 Thread Casey Marshall
When is this going to be fixed upstream? I'm having to remount on the
host and restart containers quite often. I can't imagine this will be a
good user experience for new LXD users on xenial.

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

Title:
   Too many levels of symbolic links /proc/sys/fs/binfmt_misc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1555760/+subscriptions

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


[Bug 1569471] [NEW] package python-path (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/python2.7/dist-packages/test_path.py', which is also in package python-path.py 7.2-1ubu

2016-04-12 Thread Casey Marshall
Public bug reported:

apt-get update && apt-get dist-upgrade and this happened

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-path (not installed)
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
Date: Tue Apr 12 10:52:05 2016
ErrorMessage: trying to overwrite 
'/usr/lib/python2.7/dist-packages/test_path.py', which is also in package 
python-path.py 7.2-1ubuntu2~ubuntu16.04.1~ppa1
InstallationDate: Installed on 2016-02-28 (44 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt  1.2.10
SourcePackage: path.py
Title: package python-path (not installed) failed to install/upgrade: trying to 
overwrite '/usr/lib/python2.7/dist-packages/test_path.py', which is also in 
package python-path.py 7.2-1ubuntu2~ubuntu16.04.1~ppa1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: path.py (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package xenial

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

Title:
  package python-path (not installed) failed to install/upgrade: trying
  to overwrite '/usr/lib/python2.7/dist-packages/test_path.py', which is
  also in package python-path.py 7.2-1ubuntu2~ubuntu16.04.1~ppa1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/path.py/+bug/1569471/+subscriptions

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


[Bug 1568305] [NEW] zfs-dkms 0.6.5.6-0ubuntu6: zfs kernel module failed to build

2016-04-09 Thread Casey Marshall
Public bug reported:

Did an apt-get update && apt-get dist-upgrade. My /boot partition did
fill up at some point but I was able to recover with autoremove.

apport opened this bug so I'll send it anyway in case something in it is
helpful. FWIW I've stopped evaluating zfs for the time being because it
doesn't seem to work with ceph in containers so this isn't really a
problem for me atm as long as my laptop still boots.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: zfs-dkms 0.6.5.6-0ubuntu6
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu1
Architecture: amd64
DKMSBuildLog:
 DKMS make.log for zfs-0.6.5.6 for kernel 4.4.0-18-generic (x86_64)
 Sat Apr  9 01:26:39 CDT 2016
 make: *** No targets specified and no makefile found.  Stop.
DKMSKernelVersion: 4.4.0-18-generic
Date: Sat Apr  9 01:26:42 2016
InstallationDate: Installed on 2016-02-28 (41 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
PackageVersion: 0.6.5.6-0ubuntu6
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1
 apt  1.2.10
SourcePackage: zfs-linux
Title: zfs-dkms 0.6.5.6-0ubuntu6: zfs kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: zfs-linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package xenial

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

Title:
  zfs-dkms 0.6.5.6-0ubuntu6: zfs kernel module failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1568305/+subscriptions

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


[Bug 1555760] Re: Too many levels of symbolic links /proc/sys/fs/binfmt_misc

2016-03-31 Thread Casey Marshall
I'm not seeing the symbolic links error, but I am seeing this when
trying to start a trusty container on xenial:
https://github.com/lxc/lxd/issues/1836

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

Title:
   Too many levels of symbolic links /proc/sys/fs/binfmt_misc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/1555760/+subscriptions

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-19 Thread Casey Marshall
I can work around this with my custom build of pcscd with udev disabled,
but it seems that this issue will still affect Debian and Ubuntu users
who install the package.

Can we mark this bug as Confirmed, since my symptoms are so similar to
the descriptions in the Debian bug[1] you've linked above?

Anything else I can do to help?

Thanks,
Casey

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812087

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-08 Thread Casey Marshall
Thanks for the fix. I didn't notice anything in particular that seemed
to cause the issue. I do remember having the issue right after boot &
desktop environment -- in some cases the first thing I did was start
containers in a gnome terminal. Other things I did at various points
last week:

- Usual developer userspace stuff (tmux, vim, git, golang, juju).
- Usual manager stuff (Google hangouts and drive) in firefox.
- Messing with pcscd (build from source, etc) because of a bug where it 
consumes 100% CPU if I plug or unplug any USB device.
- Messing with hdparm and smartctl because the power management burns through 
load cycle count on my x230 otherwise.
- Built some debian packages for a release, uploaded to a launchpad PPA.
- Daily package updates (update, dist-upgrade, autoremove).

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-07 Thread Casey Marshall
Haven't seen it in a few days. I'll reboot and see if I can reproduce
it. It usually happens after rebooting the host, when launching new
containers or existing ones would autostart.

Info you requested. I think the /usr/share/lxc/... might have been a red
herring. I'm exclusively using LXD on this xenial host, not messing with
the old lxc commands.

$ dpkg -l lxc liblxc1 lxd lxd-client lxcfs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersion  Architecture 
Description
+++-===---
ii  liblxc1 2.0.0~rc5-0ubuntu1   amd64
Linux Containers userspace tools (library)
ii  lxc 2.0.0~rc5-0ubuntu1   all  
Transitional package for lxc1
ii  lxcfs   2.0.0~rc2-0ubuntu2   amd64
FUSE based filesystem for LXC
ii  lxd 2.0.0~rc1-0ubuntu3   amd64
Container hypervisor based on LXC - daemon
ii  lxd-client  2.0.0~rc1-0ubuntu3   amd64
Container hypervisor based on LXC - client

$ lxc info
apicompat: 0
auth: trusted
environment:
  addresses:
  - 192.168.88.234:8443
  - 192.168.122.1:8443
  - 10.0.3.1:8443
  architectures:
  - x86_64
  - i686
  certificate: |
-BEGIN CERTIFICATE-
MIIFqjCCA5KgAwIBAgIQXpne6Qjwhg8de+RmyV1+mTANBgkqhkiG9w0BAQsFADA6
MRwwGgYDVQQKExNsaW51eGNvbnRhaW5lcnMub3JnMRowGAYDVQQDDBFyb290QG1h
d2hyaW4tc2tlbDAeFw0xNjAyMjgwMzEyMzdaFw0yNjAyMjUwMzEyMzdaMDoxHDAa
BgNVBAoTE2xpbnV4Y29udGFpbmVycy5vcmcxGjAYBgNVBAMMEXJvb3RAbWF3aHJp
bi1za2VsMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAzv/3uX3JWduq
wmtbyTABmfJkup6Z5Lh4lKPXgL/H2gQ/mlccORKm1eDZhAGmv9UuQGeMRHEneJqD
V9c3f7/9cJBwvz2loKlppWj0ohAzTP91L8paeUSfP4X9EAr702Qjyb2ig+xWv5tM
cJxbdl0zGpjYO1P+xmUdthSidsFrzWQPXptOlcZvak7n0QL5GlkVXdqX+she2Pbs
ONtyTaBSpF3zEYv6cM9ZeJYL4Hl7LEQ1/p8ojpOyaxO8B1Cn/gIbuDqgzRwmei90
Aca06YDF4SHVcl8qFajrwkPF3jWW5pgS8sAJlYoq2+ROhl0CnpdBl4AiJrvfFsIs
RL8dKSuFA6AcLhYooWgMy6UWR8mLbmYHp04ThuBDoRaTt0uGLDlTAfMg7e8Gwpz+
aEwxSzzQhvJYr4e6TSP1C4zXNqS5mUHfm6RtfEccVFmq6vyqZGELAyREce76J88V
FMf/V+KYlQYUxo0JH2k+BYMO4Iigar0+8p8o8drqh6Lks5zTP6idsKa0LSWA4rwm
3+5hjnVJtFa9CVCItJW3r0+nczwtAbjvRojkr7Yb2Kifufhilb+I695qSk+Toug3
HKOODTqc9sbH+urmfr7jBBexACtWVX/tMptWFnBmcqoN4ptSZutY7CPf+KR//9p0
8fFRQP+ItmElJHRFO+madGOBMVrC7j8CAwEAAaOBqzCBqDAOBgNVHQ8BAf8EBAMC
BaAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADBzBgNVHREEbDBq
ggxtYXdocmluLXNrZWyCETE5Mi4xNjguODguMjM0LzI0ghxmZTgwOjozZWE5OmY0
ZmY6ZmU1Njo0N2RjLzY0ggsxMC4wLjMuMS8yNIIcZmU4MDo6NThkNTpjMmZmOmZl
ZTQ6NzJiYy82NDANBgkqhkiG9w0BAQsFAAOCAgEAB6aFItuxlZm5+2/IB2eCVAM0
eQbO6dfvfF2khfiEbWWaKPtkZSYKlDIcoOph35obnNMQjT+y4zlnF/fepvjq8P1R
yGd+Q+GMcXWVRht3uIMW2ZqwNqOujunyn9+Hl1SYi1dV1g/CH9lJt8I7FKIvyieh
siZRe5Zp7TdPREkIJveuz8qB3X87WVh9bqvMpoX91Mgrjzd3qATef/tN0HP+b26Y
XjtRz9rhOkUfJx9b5HsyBLuGOQS979twl9LPKc1WsIrJaavY1JBT7SIwX3W7u7CU
UWueEQoVvA9pkgeL8NXYYoHOkkrfW3oqExkuA1pqucMt8iRjn88njV57Vk576tjZ
+bNqLL6R4xoUvnr9VIwq7tMLvodK/E5WvsmP5GrdMru2sa/xd+fS0137oOYqP4Qb
T296jMcehHg5Gg1ZR1DbTqzWFPKb+CtXU+bqI68Hplq5Lemufsman2C2dthmKwcm
OumpykWiH9vNKauY52VR8iffppBsH7jup1+yVtIOiT4Whp5LGBtZdYri7GE77qv+
qtBL7HdeBJxsBadRIfjdeLZlZPlMX7hV+v8Bzxz9fGuPKSnxDdpoPw1XF+zP1YAn
VeDCRo7oCFV40nVFyb5wCreDoegtSFuQt7/Guv9u/gQSfmGoY1QyjlaHh2pJAAgS
CPRGObnrdrQMMEqLDaI=
-END CERTIFICATE-
  driver: lxc
  driverversion: 2.0.0.rc5
  kernel: Linux
  kernelarchitecture: x86_64
  kernelversion: 4.4.0-10-generic
  server: lxd
  serverpid: 2382
  serverversion: 2.0.0.rc1
  storage: zfs
  storageversion: "5"
config:
  core.https_address: '[::]'
  storage.zfs_pool_name: lxdpool
public: false

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-06 Thread Casey Marshall
Recompiling with --disable-libudev gets rid of the 100% CPU problem and
I can still use my smartcard.

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-04 Thread Casey Marshall
@stforshee I'll uncomment the debugfs mount in my
/usr/share/lxc/config/ubuntu.common.conf (putting it back the way it
was), reboot, and see if I can reproduce it again.

My juju-lxd profile shows:

name: juju-lxd
config:
  boot.autostart: "true"
  security.nesting: "true"
description: ""
devices: {}

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-04 Thread Casey Marshall
Interesting. I removed the /sys/kernel/debug mount and containers seem
to start up just fine:

c@mawhrin-skel:~$ grep kernel/debug /usr/share/lxc/config/ubuntu.common.conf 
# lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0
c@mawhrin-skel:~$ lxc launch ubuntu-trusty t2
Creating t2
Starting t2
c@mawhrin-skel:~$ lxc exec t2 -- ps -ef
UIDPID  PPID  C STIME TTY  TIME CMD
root 1 0  4 19:02 ?00:00:00 /sbin/init
root   453 1  0 19:02 ?00:00:00 upstart-socket-bridge --daemon
root  1507 1  0 19:02 ?00:00:00 upstart-udev-bridge --daemon
root  1513 1  0 19:02 ?00:00:00 /lib/systemd/systemd-udevd --dae
root  1583 1  0 19:02 ?00:00:00 dhclient -1 -v -pf /run/dhclient
root  1606 1  0 19:02 ?00:00:00 /bin/sh /etc/network/if-up.d/ntp
root  1610  1606  0 19:02 ?00:00:00 lockfile-touch /var/lock/ntpdate
root  1619  1606  0 19:02 ?00:00:00 /usr/sbin/ntpdate -s ntp.ubuntu.
root  1772 1  0 19:02 ?00:00:00 /bin/sh /etc/network/if-up.d/ntp
message+  1773 1  0 19:02 ?00:00:00 dbus-daemon --system --fork
root  1775  1772  0 19:02 ?00:00:00 lockfile-create /var/lock/ntpdat
root  1812 1  0 19:02 ?00:00:00 /lib/systemd/systemd-logind
root  1864 1  0 19:02 ?00:00:00 cron
daemon1866 1  0 19:02 ?00:00:00 atd
root  1867 1  0 19:02 ?00:00:00 acpid -c /etc/acpi/events -s /va
root  1870 1  0 19:02 ?00:00:00 /usr/sbin/irqbalance
root  1886 1  0 19:02 ?00:00:00 /usr/sbin/sshd -D
root  1910 1  0 19:02 ?00:00:00 upstart-file-bridge --daemon
root  1925 1  0 19:02 ?00:00:00 /bin/sh /etc/init.d/ondemand bac
root  1937  1925  0 19:02 ?00:00:00 sleep 60
syslog1943 1  2 19:02 ?00:00:00 rsyslogd
root  2023 1  0 19:02 ?00:00:00 /usr/bin/python /usr/bin/cloud-i
root  2025 0  0 19:02 ?00:00:00 ps -ef

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-04 Thread Casey Marshall
** Attachment added: "pcscd binary and core dump"
   
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+attachment/4588521/+files/pcscd-core-bin.tar.bz2

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-04 Thread Casey Marshall
Here's a core dump with the corresponding pcscd binary I built from
source, which was taken in the above-mentioned gdb session.

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-04 Thread Casey Marshall
Oh, here's /var/log/syslog from unplugging and replugging in my camera.
I Ctrl-C killed pcscd after it went to 100% each time.

pcscd segfaulted.

Mar  4 12:04:11 mawhrin-skel pcscd: debuglog.c:289:DebugLogSetLevel() debug 
level=debug
Mar  4 12:04:13 mawhrin-skel kernel: [14604.513268] usb 3-1: USB disconnect, 
device number 6
Mar  4 12:04:13 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools.
Mar  4 12:04:13 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools.
Mar  4 12:04:13 mawhrin-skel laptop-mode: Laptop mode
Mar  4 12:04:13 mawhrin-skel laptop_mode[17937]: Laptop mode
Mar  4 12:04:13 mawhrin-skel laptop-mode: enabled, not active [unchanged]
Mar  4 12:04:13 mawhrin-skel laptop_mode[17937]: enabled, not active [unchanged]
Mar  4 12:04:53 mawhrin-skel systemd[1]: Starting Laptop Mode Tools - Battery 
Polling Service...
Mar  4 12:04:53 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools.
Mar  4 12:04:53 mawhrin-skel systemd[1]: Started Laptop Mode Tools - Battery 
Polling Service.
Mar  4 12:04:53 mawhrin-skel laptop-mode: Laptop mode
Mar  4 12:04:53 mawhrin-skel laptop_mode[17997]: Laptop mode
Mar  4 12:04:53 mawhrin-skel laptop-mode: enabled, not active [unchanged]
Mar  4 12:04:53 mawhrin-skel laptop_mode[17997]: enabled, not active [unchanged]
Mar  4 12:04:53 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools.
Mar  4 12:05:01 mawhrin-skel CRON[18049]: (root) CMD ([ -x /usr/sbin/dma ] && 
/usr/sbin/dma -q1)
Mar  4 12:05:17 mawhrin-skel kernel: [14668.018203] pcscd[17921]: segfault at 
7f447696064c ip 7f447696064c sp 7f447694fed0 error 14 in 
libc-2.21.so[7f4476d85000+1c]
Mar  4 12:05:20 mawhrin-skel pcscd: debuglog.c:289:DebugLogSetLevel() debug 
level=debug
Mar  4 12:05:30 mawhrin-skel kernel: [14681.443071] usb 3-1: new high-speed USB 
device number 7 using xhci_hcd
Mar  4 12:05:31 mawhrin-skel kernel: [14681.844167] usb 3-1: New USB device 
found, idVendor=046d, idProduct=0825
Mar  4 12:05:31 mawhrin-skel kernel: [14681.844175] usb 3-1: New USB device 
strings: Mfr=0, Product=0, SerialNumber=2
Mar  4 12:05:31 mawhrin-skel kernel: [14681.844179] usb 3-1: SerialNumber: 
DD923C60
Mar  4 12:05:31 mawhrin-skel kernel: [14681.845342] uvcvideo: Found UVC 1.00 
device  (046d:0825)
Mar  4 12:05:31 mawhrin-skel kernel: [14681.937806] input: UVC Camera 
(046d:0825) as /devices/pci:00/:00:14.0/usb3/3-1/3-1:1.0/input/input19
Mar  4 12:05:32 mawhrin-skel kernel: [14683.279489] usb 3-1: set resolution 
quirk: cval->res = 384
Mar  4 12:05:32 mawhrin-skel mtp-probe: checking bus 3, device 7: 
"/sys/devices/pci:00/:00:14.0/usb3/3-1"
Mar  4 12:05:32 mawhrin-skel mtp-probe: bus: 3, device: 7 was not an MTP device
Mar  4 12:05:32 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools.
Mar  4 12:05:32 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools.
Mar  4 12:05:32 mawhrin-skel systemd[1]: message repeated 3 times: [ Reloaded 
Laptop Mode Tools.]
Mar  4 12:05:32 mawhrin-skel systemd-udevd[18064]: Process '/usr/sbin/alsactl 
-E HOME=/run/alsa restore 1' failed with exit code 99.
Mar  4 12:05:32 mawhrin-skel laptop-mode: Laptop mode
Mar  4 12:05:32 mawhrin-skel laptop_mode[18067]: Laptop mode
Mar  4 12:05:32 mawhrin-skel laptop-mode: enabled, not active [unchanged]
Mar  4 12:05:32 mawhrin-skel laptop_mode[18067]: enabled, not active [unchanged]
Mar  4 12:05:32 mawhrin-skel pulseaudio[6720]: [pulseaudio] source.c: Default 
and alternate sample rates are the same.
Mar  4 12:05:32 mawhrin-skel rtkit-daemon[6721]: Supervising 3 threads of 1 
processes of 1 users.
Mar  4 12:05:32 mawhrin-skel rtkit-daemon[6721]: Successfully made thread 18136 
of process 6720 (n/a) owned by '1000' RT at priority 5.
Mar  4 12:05:32 mawhrin-skel rtkit-daemon[6721]: Supervising 4 threads of 1 
processes of 1 users.
Mar  4 12:07:09 mawhrin-skel kernel: [14780.487379] pcscd[18060]: segfault at 
7f74fedfa64c ip 7f74fedfa64c sp 7f74fede9ed0 error 14 in 
libc-2.21.so[7f74ff21f000+1c]
Mar  4 12:07:43 mawhrin-skel systemd[1]: Starting Laptop Mode Tools - Battery 
Polling Service...
Mar  4 12:07:43 mawhrin-skel systemd[1]: Reloading Laptop Mode Tools.
Mar  4 12:07:43 mawhrin-skel systemd[1]: Started Laptop Mode Tools - Battery 
Polling Service.
Mar  4 12:07:43 mawhrin-skel laptop-mode: Laptop mode
Mar  4 12:07:43 mawhrin-skel laptop_mode[18161]: Laptop mode
Mar  4 12:07:43 mawhrin-skel laptop-mode: enabled, not active [unchanged]
Mar  4 12:07:43 mawhrin-skel laptop_mode[18161]: enabled, not active [unchanged]
Mar  4 12:07:43 mawhrin-skel systemd[1]: Reloaded Laptop Mode Tools.

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-04 Thread Casey Marshall
Ran it with gdb, reproduced, and then interrupted when it started
consuming 100% CPU:

Thread 1 "pcscd" received signal SIGINT, Interrupt.
0x774e2853 in select () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x774e2853 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00411cfd in ProcessEventsServer 
(pdwClientID=pdwClientID@entry=0x7fffe49c) at winscard_msg_srv.c:223
#2  0x004037f9 in SVCServiceRunLoop () at pcscdaemon.c:128
#3  main (argc=, argv=) at pcscdaemon.c:685
(gdb) info threads
  Id   Target Id Frame 
* 1Thread 0x77fb9740 (LWP 18298) "pcscd" 0x774e2853 in select 
() from /lib/x86_64-linux-gnu/libc.so.6
  2Thread 0x76fb0700 (LWP 18302) "pcscd" 0x774e09ed in poll () 
from /lib/x86_64-linux-gnu/libc.so.6
  3Thread 0x767af700 (LWP 18303) "pcscd" 0x774e09ed in poll () 
from /lib/x86_64-linux-gnu/libc.so.6
  4Thread 0x75fae700 (LWP 18304) "pcscd" 0x774e09ed in poll () 
from /lib/x86_64-linux-gnu/libc.so.6
  5Thread 0x757ad700 (LWP 18305) "pcscd" 0x774e09ed in poll () 
from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread 2
[Switching to thread 2 (Thread 0x76fb0700 (LWP 18302))]
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x76fc064c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x777b666a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#3  0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread 3
[Switching to thread 3 (Thread 0x767af700 (LWP 18303))]
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x76fc064c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x777b666a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#3  0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread 4
[Switching to thread 4 (Thread 0x75fae700 (LWP 18304))]
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x76fb9bc5 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x76fbab53 in libusb_handle_events_timeout_completed () from 
/lib/x86_64-linux-gnu/libusb-1.0.so.0
#3  0x76fbac3f in libusb_handle_events () from 
/lib/x86_64-linux-gnu/libusb-1.0.so.0
#4  0x771d64bc in ?? () from 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
#5  0x771d0b83 in ?? () from 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
#6  0x004064db in EHStatusHandlerThread (rContext=0x61f010) at 
eventhandler.c:464
#7  0x777b666a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#8  0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) thread 5
[Switching to thread 5 (Thread 0x757ad700 (LWP 18305))]
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x774e09ed in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x0040eeaa in poll (__timeout=-1, __nfds=1, __fds=0x757aced0) 
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  HPEstablishUSBNotifications (arg=0x649910) at hotplug_libudev.c:624
#3  0x777b666a in start_thread () from 
/lib/x86_64-linux-gnu/libpthread.so.0
#4  0x774ec01d in clone () from /lib/x86_64-linux-gnu/libc.so.6

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-04 Thread Casey Marshall
It starts consuming 100% CPU after this:

02341452 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed
0217 hotplug_libudev.c:619:HPEstablishUSBNotifications()
0068 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed
0149 hotplug_libudev.c:619:HPEstablishUSBNotifications()
2713 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed
0152 hotplug_libudev.c:619:HPEstablishUSBNotifications()
00020583 hotplug_libudev.c:642:HPEstablishUSBNotifications() USB Device removed
0143 hotplug_libudev.c:619:HPEstablishUSBNotifications()
02634822 ifdhandler.c:1143:IFDHPowerICC() action: PowerDown, 
usb:1050/0115:libudev:1:/dev/bus/usb/003/002 (lun: 0)
0091 eventhandler.c:479:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED

or this:

05000574 ifdhandler.c:1143:IFDHPowerICC() action: PowerDown, 
usb:1050/0115:libudev:1:/dev/bus/usb/003/002 (lun: 0)
0261 eventhandler.c:479:EHStatusHandlerThread() powerState: 
POWER_STATE_UNPOWERED
06904552 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add
0242 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 
0x046D, PID: 0x0825, path: /dev/bus/usb/003/007
0015 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a 
supported smart card reader
0017 hotplug_libudev.c:619:HPEstablishUSBNotifications()
00022668 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add
0214 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 
0x046D, PID: 0x0825, path: /dev/bus/usb/003/007
0013 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a 
supported smart card reader
0017 hotplug_libudev.c:619:HPEstablishUSBNotifications()
6048 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add
0207 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 
0x046D, PID: 0x0825, path: /dev/bus/usb/003/007
0014 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a 
supported smart card reader
0015 hotplug_libudev.c:619:HPEstablishUSBNotifications()
00014614 hotplug_libudev.c:648:HPEstablishUSBNotifications() USB Device add
0200 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 
0x046D, PID: 0x0825, path: /dev/bus/usb/003/007
0016 hotplug_libudev.c:414:HPAddDevice() /dev/bus/usb/003/007 is not a 
supported smart card reader
0014 hotplug_libudev.c:619:HPEstablishUSBNotifications()

Basically, if I plug or unplug a USB device, pcscd immediately starting
using 100% CPU.

Let me know if there is anything else I can send you to help you debug.

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-02 Thread Casey Marshall
I ran pcscd as you suggested, capturing output. Made sure the smart card
was working by using my SSH key. I was then able to reproduce the 100%
cpu condition by plugging in my Logitech USB webcam.

Attached the output, but I redacted the hex dumps before posting here
because I'm not sure if they contain sensitive information. Let me know
if you need the original.

** Attachment added: "pcscd debug output (redacted)"
   
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+attachment/4587143/+files/pcscd.log.redacted

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-01 Thread Casey Marshall
FWIW I've observed the bug outside of Juju. Launching a trusty
container, sshd did not start until I remounted debug on the host. The
main reason it's been observed with juju is, Juju tries to SSH into the
instance right after cloud-init, but upstart in the container isn't
starting sshd so bootstrap hangs.

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-01 Thread Casey Marshall
This is the config from the container that had the issue this morning:

c@mawhrin-skel:~/omnibus-layers$ lxc config show 
juju-145a3177-d1c0-4974-89f6-feaebb3ca87d-machine-0
name: juju-145a3177-d1c0-4974-89f6-feaebb3ca87d-machine-0
profiles:
- default
- juju-lxd
config:
  user.juju-model-uuid: "true"
  user.user-data: |
#cloud-config
output:
  all: '| tee -a /var/log/cloud-init-output.log'
runcmd:
- set -xe
- install -D -m 644 /dev/null '/etc/init/juju-clean-shutdown.conf'
- |-
  printf '%s\n' '
  author "Juju Team "
  description "Stop all network interfaces on shutdown"
  start on runlevel [016]
  task
  console output

  exec /sbin/ifdown -a -v --force
  ' > '/etc/init/juju-clean-shutdown.conf'
- install -D -m 644 /dev/null '/var/lib/juju/nonce.txt'
- printf '%s\n' 'user-admin:bootstrap' > '/var/lib/juju/nonce.txt'
users:
- groups:
  - adm
  - audio
  - cdrom
  - dialout
  - dip
  - floppy
  - netdev
  - plugdev
  - sudo
  - video
  lock_passwd: true
  name: ubuntu
  shell: /bin/bash
  ssh-authorized-keys:
  - ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDNt6t7py1b0vwYVobsx490piX1LrjtCJrcmOH49EKOtTzxxiv1aTRqVOD38pKR8WPWUc6ZTjYtGetqbwhvma8FLWeTjIaPyw8QzKAS963/KNzZRqE+iALtcdA9sJgrp5hxxl00zZ7cD7b2OD5SOzSjyRHJkBxGDnkzE07g+/qXekkPzVHKvAMbaBU+OwnuW3KSy20/y2D/qlWkLfF7FWfeEvb6P8KwIFZagv/yt+QeLONq4FLwowdBIwMDHBKFA3H+dKzld5bs3hGvLNhlFYUdeKs/F+swkYwwi5ycWj7N7clu0wvP9ZZhXlUJ2Fog39GrXznnekPqr4pAwL8m3vr9
Juju:juju-client-key
  sudo:
  - ALL=(ALL) NOPASSWD:ALL
  volatile.base_image: 
510c27eb5e30ac53c6cf8b423d4e145bd2e40b8845e89bd66a5d78e2a087727a
  volatile.eth0.hwaddr: 00:16:3e:9a:00:f9
  volatile.last_state.idmap: 
'[{"Isuid":true,"Isgid":false,"Hostid":165536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":165536,"Nsid":0,"Maprange":65536}]'
  volatile.lo.hwaddr: 00:16:3e:3d:f5:18
devices:
  root:
path: /
type: disk
ephemeral: false

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551897] Re: Excessive CPU utilization

2016-03-01 Thread Casey Marshall
This is what I've got installed ^^

c@mawhrin-skel:~/omnibus-layers$ dpkg -l | grep pcscd
ii  pcscd   1.8.14-1ubuntu1 
  amd64Middleware to access a smart card using PC/SC 
(daemon side)

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

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551897] [NEW] Excessive CPU utilization

2016-03-01 Thread Casey Marshall
Public bug reported:

In xenial, pcscd CPU utilization occasionally goes haywire:

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND 

  
27404 root  20   0  384264   4992   2228 S 100.3  0.0  75:39.03 
/usr/sbin/pcscd --foreground --auto-exit
  

I get this about once a day since installing xenial. I can't quite
connect it to any specific event on the system, it just seems to happen
sporadically -- fan turns on, I run top, and there it is again.

Never had this issue on same hardware incl. smartcard with trusty.

I wonder if it might be this? https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=718473

** Affects: pcsc-lite (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/1551897

Title:
  Excessive CPU utilization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcsc-lite/+bug/1551897/+subscriptions

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


[Bug 1551854] Re: LXD bootstrap issues on xenial

2016-03-01 Thread Casey Marshall
I also confirmed that the mountall error message was duplicated every
time I restarted the machine-0 container -- until remounting on the
host.

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

Title:
  LXD bootstrap issues on xenial

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

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


[Bug 1551854] [NEW] LXD bootstrap issues on xenial

2016-03-01 Thread Casey Marshall
Public bug reported:

I'm using lxd with zfs block storage on xenial, and having issues with
trusty containers. I've witnessed this problem when trying to bootstrap
as well as after rebooting the host and a container failed to start.

In the latter case, the container that failed to start was the juju
controller:

c@mawhrin-skel:~/omnibus-layers$ lxc list   
 [3/3]
+-+-++--++---+
|NAME |  STATE  |  
IPV4  | IPV6 |TYPE| SNAPSHOTS |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-0 | STOPPED |   
 |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-1 | RUNNING | 10.0.3.28 
(eth0)   |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-2 | RUNNING | 10.0.3.85 
(eth0)   |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-3 | RUNNING | 10.0.3.176 
(eth0)  |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-4 | RUNNING | 10.0.3.66 
(eth0)   |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-5 | RUNNING | 10.0.3.31 
(eth0)   |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-6 | RUNNING | 10.0.3.196 
(eth0)  |  | PERSISTENT | 0 |
+-+-++--++---+
| juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-7 | RUNNING | 10.0.3.186 
(eth0)  |  | PERSISTENT | 0 |
| | | 10.0.4.1 
(lxcbr0)  |  ||   |
+-+-++--++---+

I manually started it, but found that no upstart services were started.
Remembering this thread,
https://lists.ubuntu.com/archives/juju/2016-February/006698.html, I
checked /var/log/mountall.log in the machine-0 container, and sure
enough:

root@juju-5f4bd172-ad22-4726-8d84-47185ab31b54-machine-0:~# cat 
/var/log/upstart/mountall.log
mount: permission denied
mountall: mount /sys/kernel/debug [187] terminated with status 32
mountall: Filesystem could not be mounted: /sys/kernel/debug

The problem persists if I stop and start the container. If I remount
/sys/kernel/debug on the host, then stop and start the container,
upstart succeeds and the juju controller starts up.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-8-generic 4.4.0-8.23
ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
Uname: Linux 4.4.0-8-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  c 24562 F pulseaudio
CurrentDesktop: MATE
Date: Tue Mar  1 10:52:45 2016
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=007cedda-f922-4e4c-89b1-57b31f18292e
InstallationDate: Installed on 2016-02-28 (2 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160224)
MachineType: LENOVO 2306CTO
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-8-generic.efi.signed 
root=/dev/mapper/ubuntu--mate--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-8-generic N/A
 linux-backports-modules-4.4.0-8-generic  N/A
 linux-firmware   1.156
RfKill:
 0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/22/2014
dmi.bios.vendor

[Bug 1156704] Re: Virtualenv breaks if python-configparser is installed

2015-04-24 Thread Casey Marshall
This is still broken on trusty.

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

Title:
  Virtualenv breaks if python-configparser is installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-virtualenv/+bug/1156704/+subscriptions

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


[Bug 1381671] Re: reboot tests fail to build on gccgo

2014-11-04 Thread Casey Marshall
^^ in juju master @ a7e1ea03bb98064a5173e2200335d641fde511a5

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

Title:
  reboot tests fail to build on gccgo

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1381671/+subscriptions

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


[Bug 1381671] Re: reboot tests fail to build on gccgo

2014-11-04 Thread Casey Marshall
I am getting the above error when I try to run tests on amd64 with gccgo
4.9.

http://paste.ubuntu.com/8827836/

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

Title:
  reboot tests fail to build on gccgo

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1381671/+subscriptions

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


[Bug 1364562] Re: Intermittent go test crashes on ppc64el

2014-09-02 Thread Casey Marshall
Here's another one:
panic: runtime error: invalid memory address or nil pointer dereference 
  
[0/1099]│···
[signal 0xb code=0x1 addr=0x60] 
  
│···

  
│···
goroutine 5 [running]:  
  
│···
main.includeArgs.pN12_main.builder  
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/build.go:1041   
  
│···
main.build.pN12_main.builder
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/build.go:883
  
│···
main.$nested8   
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/build.go:678
  
│···
main.$nested9   
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/build.go:735
  
│···
created by main.do.pN12_main.builder
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/build.go:722
  
│···

  
│···
goroutine 1 [semacquire]:   
  
│···
main.do.pN12_main.builder   
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/build.go:744
  
│···
main.runTest
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/test.go:508 
  
│···
main.main   
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/main.go:161 
  
│···

  
│···
goroutine 3 [syscall]:  
  
│···
goroutine in C code; stack unavailable  
  
│···

  
│···
goroutine 6 [select]:   
  
│···
main.runTest.pN12_main.builder  
  
│···
/build/buildd/gccgo-go-1.2.1/src/cmd/go/test.go:913 
  

[Bug 1364562] [NEW] Intermittent go test crashes on ppc64el

2014-09-02 Thread Casey Marshall
Public bug reported:

Platform/version:
Ubuntu 14.04
ii  gccgo  4:4.9-1ubuntu6
ppc64el  Go compiler, based on the GCC backend
ii  gccgo-4.9  4.9-20140406-0ubuntu1 
ppc64el  GNU Go compiler
ii  gccgo-go   1.2.1-0ubuntu1
ppc64el  Go tool for use with gccgo
Linux borbein-03 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:09:21 UTC 2014 
ppc64le ppc64le ppc64le GNU/Linux

When I try to run all the juju unit tests (master
1060f2dce3d5f7c6bfc72f203457bfdced794b45) with 'make check' or 'go test
./...', I get a go tool error like this:
http://paste.ubuntu.com/8216719/

I am able to run smaller subset paths, like ./cmd/... however.

** Affects: gccgo-go (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/1364562

Title:
  Intermittent go test crashes on ppc64el

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

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


[Bug 1350620] Re: [Lenovo Thinkpad X230] Rapidly increasing Load_Cycle_Count on battery

2014-08-06 Thread Casey Marshall
Nope, still burnin. A fresh boot it doesn't seem too bad, but this just
happened, coming off of standby (that seems to worsen it):

Wed Aug  6 18:28:53 CEST 2014
193 Load_Cycle_Count0x0012   089   089   000Old_age   Always   
-   113151
Wed Aug  6 18:29:54 CEST 2014
193 Load_Cycle_Count0x0012   089   089   000Old_age   Always   
-   113164
Wed Aug  6 18:30:55 CEST 2014
193 Load_Cycle_Count0x0012   089   089   000Old_age   Always   
-   113174
Wed Aug  6 18:31:55 CEST 2014


** Tags added: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.16.0

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

Title:
  [Lenovo Thinkpad X230] Rapidly increasing Load_Cycle_Count on battery

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

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


[Bug 1350620] Re: [Lenovo Thinkpad X230] Rapidly increasing Load_Cycle_Count on battery

2014-08-03 Thread Casey Marshall
The rate certainly seems slower than before with latest 3.16 kernel
(Linux cloudsong 3.16.0-031600-generic #201408031935 SMP Sun Aug 3
23:36:11 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux).

Is this looking more like a normal cycle pattern, or still more load
cycles than there should be?

root@cloudsong:~# while true; do date; smartctl -a /dev/sda | grep Load_Cycle; 
sleep 60; done
Mon Aug  4 05:56:28 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109254
Mon Aug  4 05:57:28 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109259
Mon Aug  4 05:58:29 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109261
Mon Aug  4 05:59:30 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109261
Mon Aug  4 06:00:30 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109262
Mon Aug  4 06:01:31 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109262
Mon Aug  4 06:02:32 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109264
Mon Aug  4 06:03:32 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109264
Mon Aug  4 06:05:32 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109264
Mon Aug  4 06:06:33 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109265
Mon Aug  4 06:07:33 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109266
Mon Aug  4 06:08:34 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109267
^[[6;5~Mon Aug  4 06:09:35 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109267
Mon Aug  4 06:10:36 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109267
Mon Aug  4 06:11:36 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109268
Mon Aug  4 06:12:37 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109268
Mon Aug  4 06:13:38 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109268
Mon Aug  4 06:14:38 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109268
Mon Aug  4 06:15:39 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109269
Mon Aug  4 06:16:40 CEST 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   109270

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

Title:
  [Lenovo Thinkpad X230] Rapidly increasing Load_Cycle_Count on battery

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

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


[Bug 1350620] Re: [Lenovo Thinkpad X230] Rapidly increasing Load_Cycle_Count on battery

2014-08-01 Thread Casey Marshall
Installed the BIOS update:

root@cloudsong:~# dmidecode -s bios-version && sudo dmidecode -s 
bios-release-date
G2ETA1WW (2.61 )
04/22/2014

Still burning load cycles on battery power:

root@cloudsong:~# while true;
> do
> date
> smartctl -a /dev/sda | grep Load_Cycle
> sleep 60
> done
Fri Aug  1 18:07:11 CDT 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   108038
Fri Aug  1 18:08:12 CDT 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   108042
Fri Aug  1 18:09:13 CDT 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   108046
Fri Aug  1 18:10:13 CDT 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   108048
Fri Aug  1 18:11:14 CDT 2014
193 Load_Cycle_Count0x0012   090   090   000Old_age   Always   
-   108050

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

Title:
  [Lenovo Thinkpad X230] Rapidly increasing Load_Cycle_Count on battery

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

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


[Bug 1350620] [NEW] Thinkpad x230 rapidly increasing Load_Cycle_Count on battery

2014-07-30 Thread Casey Marshall
Public bug reported:

When running my Thinkpad x230 on battery, the Load_Cycle_Count increases
at a high rate: about 10-15 load cycles per minute. I discovered this
issue in a quiet room, where I could hear the clicks (or "death rattle",
as I've come to think of them).

The following commands will stop the load cycle problem:

sudo hdparm -B 254 /dev/sda
sudo hdparm -B 255 /dev/sda

However, it is difficult to keep the system from reverting back to the
load cycle problem.

Steps to reproduce:
1. Boot the laptop on AC, then unplug the power. In a quiet room, you can hear 
the clicks begin soon after you unplug.
2. Boot the laptop on battery. Even with "apm = 255" uncommented in 
/etc/hdparm.conf, the laptop will burn through the load cycles until I manually 
perform the hdparm command.

I had limited results with an upstart job that did the hdparm command --
but it wasn't a complete, reliable solution. It didn't catch the AC-to-
battery power transition, for example.

As a result of this issue, my hard drive is probably going to meet an
early demise:

193 Load_Cycle_Count0x0012   090   090   000Old_age   Always
-   107908

Please help-
Casey

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-32-generic 3.13.0-32.57 [modified: 
boot/vmlinuz-3.13.0-32-generic]
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  cmars  2565 F pulseaudio
CurrentDesktop: XFCE
Date: Wed Jul 30 19:00:13 2014
InstallationDate: Installed on 2014-07-29 (1 days ago)
InstallationMedia: Xubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140723)
MachineType: LENOVO 2306CTO
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic 
root=UUID=fac0754b-bf8e-424a-9485-c1ea9825152f ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-32-generic N/A
 linux-backports-modules-3.13.0-32-generic  N/A
 linux-firmware 1.127.5
RfKill:
 0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/09/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ET95WW (2.55 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2306CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvrG2ET95WW(2.55):bd07/09/2013:svnLENOVO:pn2306CTO:pvrThinkPadX230:rvnLENOVO:rn2306CTO:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2306CTO
dmi.product.version: ThinkPad X230
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug trusty

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

Title:
  Thinkpad x230 rapidly increasing Load_Cycle_Count on battery

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

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


[Bug 1316284] Re: [HP Probook 4540s] Load/Unload Cycle Count

2014-07-29 Thread Casey Marshall
I am reopening this because:

1. My harddrive has already been cooked by this bug and I'll probably
have to buy a new one. I set up an upstart script to run the hdparm
command, but it seems to need it run more often than at just startup.
Check it out:

193 Load_Cycle_Count0x0012   090   090   000Old_age   Always
-   107677

2. Its unreasonable to expect a typical user to run hdparm and set up
this workaround.

3. Thinkpad is one of the few laptops on which Linux in general and
Ubuntu specifically actually works.

4. It's driving away users, see above.

Here are my drive details:

=== START OF INFORMATION SECTION ===
Model Family: Hitachi/HGST Travelstar Z7K500
Device Model: HGST HTS725050A7E630
Serial Number:TF755AWHJ62PXM
LU WWN Device Id: 5 000cca 77fdef365
Firmware Version: GH2ZB550
User Capacity:500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate:7200 rpm
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:Tue Jul 29 21:15:30 2014 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

Title:
  [HP Probook 4540s] Load/Unload Cycle Count

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

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


[Bug 1316284] Re: [HP Probook 4540s] Load/Unload Cycle Count

2014-07-29 Thread Casey Marshall
** Changed in: linux (Ubuntu)
   Status: Invalid => Confirmed

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

Title:
  [HP Probook 4540s] Load/Unload Cycle Count

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

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


[Bug 1316284] Re: [HP Probook 4540s] Load/Unload Cycle Count

2014-05-18 Thread Casey Marshall
I'm also seeing a ridiculous load cycle count increase on my thinkpad
x230 running xubuntu 14.04. I got suspicious when I could hear the faint
click in a quiet room, and it reminded me of the issue from several
years back.

193 Load_Cycle_Count0x0012   094   094   000Old_age   Always
-   63544

It's jumped by about 20 in the last few minutes.

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

Title:
  [HP Probook 4540s] Load/Unload Cycle Count

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

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


[Bug 1316284] Re: [HP Probook 4540s] Load/Unload Cycle Count

2014-05-18 Thread Casey Marshall
This stopped the runaway load cycles as a workaround:

sudo hdparm -B 254 /dev/sda

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  [HP Probook 4540s] Load/Unload Cycle Count

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

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


[Bug 1308262] [NEW] libpam-systemd postinstall stuck on upgrade

2014-04-15 Thread Casey Marshall
Public bug reported:

Just did an "apt-get update && apt-get dist-upgrade" on my trusty
laptop. It's been stuck in the libpam-systemd postinst for 15-20
minutes:

Recent output from dist-upgrade:

Unpacking xpra (0.12.3+dfsg-1ubuntu1) over (0.12.2+dfsg-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up libcgmanager0:i386 (0.24-0ubuntu5) ...
Setting up libcgmanager0:amd64 (0.24-0ubuntu5) ...
Setting up libudev1:amd64 (204-5ubuntu20) ...
Setting up libudev1:i386 (204-5ubuntu20) ...
Setting up udev (204-5ubuntu20) ...
udev stop/waiting
udev start/running, process 30898
Removing 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev'
update-initramfs: deferring update (trigger activated)
Setting up libsystemd-daemon0:amd64 (204-5ubuntu20) ...
Setting up systemd-services (204-5ubuntu20) ...
Setting up libpam-systemd:amd64 (204-5ubuntu20) ...
Installing new version of config file /etc/init/systemd-logind.conf ...
[stuck here]

Relevant processes running:

 | | |  |  |-bash---sudo---apt-get---dpkg
---libpam-systemd:---invoke-rc.d---start

root 28517 17005  0 16:14 pts/26   00:00:00 sudo apt-get dist-upgrade
root 28579 28517  3 16:14 pts/26   00:00:56 apt-get dist-upgrade
root 30803 28579  0 16:15 pts/28   00:00:00 /usr/bin/dpkg --status-fd 69 
--configure libcgmanager0:i386 libcgmanager0:amd64 libudev1:amd64 libudev1:i386 
udev:amd64 libsystemd-daemon0:amd64 systemd-services:amd64 libpam-systemd:amd64 
libsystemd-login0:amd64 chromium-codecs-ffmpeg-extra:amd64 
chromium-browser:amd64 chromium-browser-l10n:all libgudev-1.0-0:amd64 
cgmanager:amd64 liblxc1:amd64 python3-lxc:amd64 lxc:amd64 lxc-templates:amd64 
libva1:amd64 libva-x11-1:amd64 libsystemd-journal0:amd64 ubuntu-minimal:amd64 
gir1.2-gudev-1.0:amd64 libxenstore3.0:amd64 libxen-4.4:amd64 python-qt4:amd64 
python-qt4-dbus:amd64 xpra:amd64
root 30928 30803  0 16:15 pts/28   00:00:00 /bin/sh 
/var/lib/dpkg/info/libpam-systemd:amd64.postinst configure 204-5ubuntu19
root 30942 30928  0 16:15 pts/28   00:00:00 /bin/sh /usr/sbin/invoke-rc.d 
systemd-logind start
root 30984 30942  0 16:15 pts/28   00:00:00 start systemd-logind

System info:

Description:Ubuntu 14.04 LTS
Release:14.04

libpam-systemd:
  Installed: 204-5ubuntu20
  Candidate: 204-5ubuntu20
  Version table:
 *** 204-5ubuntu20 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status

** Affects: systemd (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/1308262

Title:
  libpam-systemd postinstall stuck on upgrade

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

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


[Bug 1295774] Re: ERROR processing policydb rules for profile lxc-container-default, failed to load

2014-03-30 Thread Casey Marshall
This fix resolved the issue for me. Thanks!

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

Title:
  ERROR processing policydb rules for profile lxc-container-default,
  failed to load

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

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


[Bug 1295774] Re: ERROR processing policydb rules for profile lxc-container-default, failed to load

2014-03-24 Thread Casey Marshall
I'm getting the same "Enocoding of mount rule failed" when I restart
apparmor. I'm running Xubuntu 14.04 on my laptop, doing a dist-upgrade
at least daily. I was using LXC user-space containers to isolate non-
free apps, and it was working quite well until a few days ago. Is there
anything I can try or collect that might help?

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

Title:
  ERROR processing policydb rules for profile lxc-container-default,
  failed to load

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

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


[Bug 1296384] [NEW] LXC apparmor profile broken w/recent trusty update

2014-03-23 Thread Casey Marshall
Public bug reported:

I have several user-space LXC 1.0 containers which recently stopped
working (apt-get dist-upgrade 2-3 days ago, maybe?). I've been unable to
start them up, I'm getting:

user@trusty:~$ lxc-start -n sandbox -d
lxc_container: command get_cgroup failed to receive response

Log outut from lxc_start:

lxc-start 1395605212.193 ERRORlxc_apparmor - No such file or directory - 
failed to change apparmor profile to lxc-container-default
lxc-start 1395605212.193 ERRORlxc_sync - invalid sequence number 1. 
expected 4
lxc-start 1395605212.193 ERRORlxc_start - failed to spawn 'sandbox'
lxc-start 1395605212.193 ERRORlxc_commands - command get_cgroup failed to 
receive response

Restarting apparmor seems to indicate a problem with the LXC apparmor
profile:

root@trusty:/sys/fs/cgroup# service apparmor restart
 * Reloading AppArmor profiles  

  Enocoding of mount rule failed
ERROR processing policydb rules for profile lxc-container-default, failed to 
load
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd

Description:Ubuntu Trusty Tahr (development branch)
Release:14.04

lxc:
  Installed: 1.0.1-0ubuntu1
  Candidate: 1.0.1-0ubuntu1
  Version table:
 *** 1.0.1-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status

apparmor:
  Installed: 2.8.95~2430-0ubuntu2
  Candidate: 2.8.95~2430-0ubuntu2
  Version table:
 *** 2.8.95~2430-0ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apparmor 2.8.95~2430-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-19.39-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Mar 23 15:13:57 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-02-19 (32 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140215)
ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-3.13.0-19-generic 
root=UUID=dd7d7dc4-de9a-480a-8653-9175c7c247b2 ro quiet splash
SourcePackage: apparmor
Syslog: Mar 23 14:50:52 cloudsong dbus[912]: [system] AppArmor D-Bus mediation 
is enabled
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apparmor (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug trusty

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

Title:
  LXC apparmor profile broken w/recent trusty update

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

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


[Bug 1282216] [NEW] Package install error in python3-newt on trusty

2014-02-19 Thread Casey Marshall
Public bug reported:

Packages were up to date at time of writing (apt-get update && apt-get
dist-upgrade after xubuntu 14.04 install). Then I installed byobu, which
pulled in python3-newt as a dependency, and I got this package install
error:

Setting up python3-newt (0.52.15-2ubuntu4) ...
Exception ignored in: >
Traceback (most recent call last):
  File "/usr/lib/python3.4/subprocess.py", line 897, in __del__
TypeError: 'NoneType' object is not callable
Exception ignored in: >
Traceback (most recent call last):
  File "/usr/lib/python3.4/subprocess.py", line 897, in __del__
TypeError: 'NoneType' object is not callable

** Affects: newt (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/1282216

Title:
  Package install error in python3-newt on trusty

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

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


[Bug 1274323] [NEW] apt-add-repository cannot add http: repository URL with custom series

2014-01-29 Thread Casey Marshall
Public bug reported:

I ran into this issue working with a private apt repository at
Canonical, in the context of adding a configured repository from a Juju
charm install hook, but it seems like a general issue which may affect
users of apt-add-repository.

I added a custom repo with:

apt-add-repository "http://archive.admin.canonical.com/ubuntu precise-
cat-haproxy main"

This appended the following to /etc/apt/sources.list:

deb http://archive.admin.canonical.com/ubuntu precise main precise-cat-haproxy
deb-src http://archive.admin.canonical.com/ubuntu precise main 
precise-cat-haproxy

But what I wanted was:

deb http://archive.admin.canonical.com/ubuntu precise-cat-haproxy main
deb-src http://archive.admin.canonical.com/ubuntu precise-cat-haproxy main

I could see this affecting other users who maintain their own apt
repositories and want to specify their own series.

Environment details:

root@juju-canonistack-machine-17:~# lsb_release -rd
Description:Ubuntu 12.04.4 LTS
Release:12.04

ii  python-apt   0.8.3ubuntu7.1Python 
interface to libapt-pkg
ii  python-apt-common0.8.3ubuntu7.1Python 
interface to libapt-pkg (locales)

** Affects: python-apt (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/1274323

Title:
  apt-add-repository cannot add http: repository URL with custom series

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1274323/+subscriptions

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


[Bug 1222021] Re: [SRU] xfce4-power-manager does not inhibit systemd from handling buttons and lid events

2014-01-24 Thread Casey Marshall
I'm running 13.10 and familiar with the issue, though I've mostly
ignored it. This package from proposed fixed it for me today. I've got
suspend-on-close for battery power, lock-screen-on-close for AC. Nice
work!

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

Title:
  [SRU] xfce4-power-manager does not inhibit systemd from handling
  buttons and lid events

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1222021/+subscriptions

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


[Bug 1222021] Re: [SRU] xfce4-power-manager does not inhibit systemd from handling buttons and lid events

2014-01-24 Thread Casey Marshall
Oh, and these are the package versions I upgraded to & tested:

ii  xfce4-power-manager 1.2.0-2ubuntu1.1
 amd64power manager for Xfce desktop
ii  xfce4-power-manager-data1.2.0-2ubuntu1.1
 all  power manager for Xfce desktop, arch-indep files

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

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

Title:
  [SRU] xfce4-power-manager does not inhibit systemd from handling
  buttons and lid events

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-power-manager/+bug/1222021/+subscriptions

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


[Bug 1108416] Re: word-based key lookup should be case insensitive

2013-02-26 Thread Casey Marshall
** Changed in: hockeypuck
   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/1108416

Title:
  word-based key lookup should be case insensitive

To manage notifications about this bug go to:
https://bugs.launchpad.net/hockeypuck/+bug/1108416/+subscriptions

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


[Bug 1108416] Re: word-based key lookup should be case insensitive

2013-02-09 Thread Casey Marshall
** Changed in: hockeypuck
   Status: In Progress => 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/1108416

Title:
  word-based key lookup should be case insensitive

To manage notifications about this bug go to:
https://bugs.launchpad.net/hockeypuck/+bug/1108416/+subscriptions

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


[Bug 1108416] Re: word-based key lookup should be case insensitive

2013-02-08 Thread Casey Marshall
** Changed in: hockeypuck
Milestone: 0.9 => 0.8.2

** Changed in: hockeypuck (Ubuntu)
 Assignee: (unassigned) => Casey Marshall (cmars)

** Changed in: hockeypuck
   Status: Confirmed => Won't Fix

** Changed in: hockeypuck
   Status: Won't Fix => 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/1108416

Title:
  word-based key lookup should be case insensitive

To manage notifications about this bug go to:
https://bugs.launchpad.net/hockeypuck/+bug/1108416/+subscriptions

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


[Bug 1108416] Re: word-based key lookup should be case insensitive

2013-02-05 Thread Casey Marshall
** Also affects: hockeypuck (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/1108416

Title:
  word-based key lookup should be case insensitive

To manage notifications about this bug go to:
https://bugs.launchpad.net/hockeypuck/+bug/1108416/+subscriptions

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


[Bug 937931] Re: unable to allocate memory for mutex; resize mutex region

2012-06-02 Thread Casey Marshall
I built SKS 1.1.3 from source (not from apt-get source, downloaded
direct from code.google.com) with BDB 5.3 (downloaded from oracle.com
and compiled) and I got the same error with seven concurrent clients
doing /pks/add and queries in a continuous loop.

I built SKS 1.1.3 against BDB 4.7 from sources and after 18 hours
running, no mutex errors yet under same load.

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

Title:
  unable to allocate memory for mutex; resize mutex region

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

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


[Bug 937931] Re: unable to allocate memory for mutex; resize mutex region

2012-06-01 Thread Casey Marshall
Seeing the same thing on 12.04 precise, on a busy SKS server.

** Changed in: sks (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/937931

Title:
  unable to allocate memory for mutex; resize mutex region

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

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


[Bug 569369] Re: package haveged 0.9-1 failed to install/upgrade: init script can't start daemon

2012-04-24 Thread Casey Marshall
I have verified this fix on a vanilla lucid. After installing from
proposed, haveged installs successfully and starts up.

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

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

Title:
  package haveged 0.9-1 failed to install/upgrade: init script can't
  start daemon

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

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


[Bug 792849] Re: Lenovo ThinkPad T420 random hardlocks with Sandy Bridge graphics

2012-04-03 Thread Casey Marshall
This bug is not fixed oneiric. I am running Xubuntu 11.10 and still
experiencing these random freezes on my T420. Subjectively seems like
certain graphics-heavy applications/plugins make it happen more often.
Also subjectively seems like some of the kernel options and phoronix
drivers make it happen less often.

Today, for example, I had two freezes occur within 15 minutes of each
other when using the new Google+ hangouts interface (on Firefox). I was
able to SSH into the system, but had to reboot in order to get the
display and input devices to work properly.

If there is anything I can share (logs, configuration) that will help,
please let me know. Also, if grabbing an early Precise build would help,
I'd also give that a try...

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

Title:
  Lenovo ThinkPad T420 random hardlocks with Sandy Bridge graphics

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

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