[Bug 1320306] Re: system-image-cli failing on goldfish (utopic image 28)
Steve Langasek
steve.langasek at canonical.com
Fri May 16 18:36:43 UTC 2014
Reproduced this with build 32 on the devel-proposed channel as well. I
guess you should be able to reproduce this locally with ubuntu-emulator.
Anyway, logs attached. the u-d-m ERROR log suggests that u-d-m may no
longer be happy running as root (without a dbus session bus); and
running system-image-cli as non-root fails with a different error
(filesystem perms for logging):
$ system-image-cli -v
Traceback (most recent call last):
File "/usr/bin/system-image-cli", line 9, in <module>
load_entry_point('system-image==2.2', 'console_scripts', 'system-image-cli')()
File "/usr/lib/python3/dist-packages/systemimage/main.py", line 122, in main
initialize(verbosity=args.verbose)
File "/usr/lib/python3/dist-packages/systemimage/logging.py", line 86, in initialize
with open(config.system.logfile, 'a', encoding='utf-8'):
PermissionError: [Errno 13] Permission denied: '/var/log/system-image/client.log'
$
** Attachment added: "logs.tar.gz"
https://bugs.launchpad.net/ubuntu/+source/system-image/+bug/1320306/+attachment/4114063/+files/logs.tar.gz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1320306
Title:
system-image-cli failing on goldfish (utopic image 28)
Status in Ubuntu Download Manager:
New
Status in Ubuntu system image (server/client/updater):
New
Status in “system-image” package in Ubuntu:
New
Bug description:
I'm getting unhappy errors trying to upgrade a goldfish emulator
instance using system-image. If I try to update from the UI, I get a
'Credentials not found / Please log into your Ubuntu One account'
message that I've never seen before; if I try to do it from the
commandline, I get the following:
root at ubuntu-phablet:~# system-image-cli --build 0 -c devel-proposed -v
[systemimage] May 16 17:22:20 2014 (14702) running state machine [devel-proposed/generic]
[systemimage] May 16 17:22:20 2014 (14702) No valid image master key found, downloading
[systemimage] May 16 17:22:24 2014 (14702) [0x7624b510] Requesting group download:
https://system-image.ubuntu.com/gpg/image-master.tar.xz -> /android/cache/recovery/keyring.tar.xz
https://system-image.ubuntu.com/gpg/image-master.tar.xz.asc -> /android/cache/recovery/keyring.tar.xz.asc
[systemimage] May 16 17:22:25 2014 (14702) [0x7624b510] Running group download reactor
[systemimage] May 16 17:22:29 2014 (14702) [0x7624b510] Group download reactor done
[systemimage] May 16 17:22:29 2014 (14702) Reactor canceled
[systemimage] May 16 17:22:29 2014 (14702) uncaught exception in state machine
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 124, in __next__
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 201, in _get_blacklist_1
'image-master', 'gpg/image-master.tar.xz', 'archive-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 107, in get_keyring
(ascxz_src, ascxz_dst),
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 228, in get_files
raise Canceled
systemimage.download.Canceled
[systemimage] May 16 17:22:29 2014 (14702) system-image-cli exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/main.py", line 240, in main
list(state)
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 124, in __next__
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 201, in _get_blacklist_1
'image-master', 'gpg/image-master.tar.xz', 'archive-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 107, in get_keyring
(ascxz_src, ascxz_dst),
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 228, in get_files
raise Canceled
systemimage.download.Canceled
the current image is:
# cat /etc/system-image/channel.ini
[service]
base: system-image.ubuntu.com
http_port: 80
https_port: 443
channel: devel
build_number: 28
channel_target: ubuntu-touch/utopic
version_detail: ubuntu=20140514.1,device=20140513.2,version=28
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1320306/+subscriptions
More information about the foundations-bugs
mailing list