Public bug reported:
This bug has been brought to my attention by a UA Canonical customer.
In this current situation, there is no attached UA subscription.
They can repeatly reproduce the error on a newly installed Bionic system
Support (STS/SEG) can't reproduce it so far. Still under testing and
investigation.
# dpkg
ii ubuntu-advantage-tools 27.0.2~18.04.1
amd64 management tools for Ubuntu
Advantage
ii apt 1.6.13
amd64 commandline package manager
ii python3 3.6.7-1~18.04
amd64 interactive high-level
object-oriented language (default python3 version)
# cat path_to_sosreport/sos_command/ubuntu/ua_status
SERVICE AVAILABLE DESCRIPTION
esm-infra yes UA Infra: Extended Security Maintenance (ESM)
fips yes NIST-certified FIPS modules
fips-updates yes Uncertified security updates to FIPS modules
livepatch yes Canonical Livepatch service
This machine is not attached to a UA subscription.
# systemd service
-* ua-messaging.service - Ubuntu Advantage APT and MOTD Messages
Loaded: loaded (/lib/systemd/system/ua-messaging.service; static; vendor
preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-05-20 09:25:13 BST; 57min ago
Process: 54277 ExecStart=/usr/bin/python3
/usr/lib/ubuntu-advantage/ua_update_messaging.py (code=exited, status=1/FAILURE)
Main PID: 54277 (code=exited, status=1/FAILURE)
May 20 09:25:13 python3[54277]: File
"/usr/lib/ubuntu-advantage/ua_update_messaging.py", line 297, in
update_apt_and_motd_messages
May 20 09:25:13 python3[54277]:
util.subp(["/usr/lib/ubuntu-advantage/apt-esm-hook", Unit ypbind.service could
not be found.
"process-templates"])
May 20 09:25:13 python3[54277]: File
"/usr/lib/python3/dist-packages/uaclient/util.py", line 608, in subp
May 20 09:25:13 python3[54277]: out, err = _subp(args, rcs, capture, timeout,
env=env)
May 20 09:25:13 python3[54277]: File
"/usr/lib/python3/dist-packages/uaclient/util.py", line 565, in _subp
May 20 09:25:13 python3[54277]: stderr=err.decode("utf-8"),
May 20 09:25:13 python3[54277]: uaclient.util.ProcessExecutionError: Failed
running command '/usr/lib/ubuntu-advantage/apt-esm-hook process-templates'
[exit(-11)]. Message:
May 20 09:25:13 systemd[1]: ua-messaging.service: Main process exited,
code=exited, status=1/FAILURE
May 20 09:25:13 systemd[1]: ua-messaging.service: Failed with result
'exit-code'.
May 20 09:25:13 systemd[1]: Failed to start Ubuntu Advantage APT and MOTD
Messages.
# logs
2021-05-20 09:25:11,842 - ua_update_messaging.py:(278) [DEBUG]: Updating UA
messages for APT and MOTD.
2021-05-20 09:25:11,842 - util.py:(414) [DEBUG]: Reading file: /etc/os-release
2021-05-20 09:25:11,848 - util.py:(414) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - config.py:(357) [DEBUG]: File does not exist:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - util.py:(414) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - config.py:(357) [DEBUG]: File does not exist:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - util.py:(414) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - config.py:(357) [DEBUG]: File does not exist:
/var/lib/ubuntu-advantage/private/machine-token.json
syslog:May 20 09:25:25 kernel: [58330.647499] apt-esm-hook[54507]: segfault at
0 ip 00007f0045dc5426 sp 00007ffd10d0e738 error 4 in
libc-2.27.so[7f0045d14000+1e7000]
syslog:May 20 09:25:27 kernel: [58332.528175] apt-esm-hook[54512]: segfault at
0 ip 00007f9921565426 sp 00007ffdae974668 error 4 in
libc-2.27.so[7f99214b4000+1e
** Affects: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: seg sts
** Tags added: seg sts
** Description changed:
+ This bug has been brought to my attention by a UA Canonical customer.
+
In this current situation, there is no attached UA subscription.
+ They can repeatly reproduce the error on a newly installed Bionic system
- This is a newly installed Bionic system.
- I can't reproduce it so far.
+ Support (STS/SEG) can't reproduce it so far. Still under testing and
+ investigation.
# dpkg
ii ubuntu-advantage-tools
27.0.2~18.04.1 amd64 management tools
for Ubuntu Advantage
ii apt 1.6.13
amd64 commandline package manager
ii python3 3.6.7-1~18.04
amd64 interactive high-level
object-oriented language (default python3 version)
# cat path_to_sosreport/sos_command/ubuntu/ua_status
SERVICE AVAILABLE DESCRIPTION
esm-infra yes UA Infra: Extended Security Maintenance (ESM)
fips yes NIST-certified FIPS modules
fips-updates yes Uncertified security updates to FIPS modules
livepatch yes Canonical Livepatch service
This machine is not attached to a UA subscription.
-
# systemd service
-* ua-messaging.service - Ubuntu Advantage APT and MOTD Messages
Loaded: loaded (/lib/systemd/system/ua-messaging.service; static; vendor
preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-05-20 09:25:13 BST; 57min
ago
Process: 54277 ExecStart=/usr/bin/python3
/usr/lib/ubuntu-advantage/ua_update_messaging.py (code=exited, status=1/FAILURE)
Main PID: 54277 (code=exited, status=1/FAILURE)
May 20 09:25:13 python3[54277]: File
"/usr/lib/ubuntu-advantage/ua_update_messaging.py", line 297, in
update_apt_and_motd_messages
May 20 09:25:13 python3[54277]:
util.subp(["/usr/lib/ubuntu-advantage/apt-esm-hook", Unit ypbind.service could
not be found.
"process-templates"])
May 20 09:25:13 python3[54277]: File
"/usr/lib/python3/dist-packages/uaclient/util.py", line 608, in subp
May 20 09:25:13 python3[54277]: out, err = _subp(args, rcs, capture,
timeout, env=env)
May 20 09:25:13 python3[54277]: File
"/usr/lib/python3/dist-packages/uaclient/util.py", line 565, in _subp
May 20 09:25:13 python3[54277]: stderr=err.decode("utf-8"),
May 20 09:25:13 python3[54277]: uaclient.util.ProcessExecutionError: Failed
running command '/usr/lib/ubuntu-advantage/apt-esm-hook process-templates'
[exit(-11)]. Message:
May 20 09:25:13 systemd[1]: ua-messaging.service: Main process exited,
code=exited, status=1/FAILURE
May 20 09:25:13 systemd[1]: ua-messaging.service: Failed with result
'exit-code'.
May 20 09:25:13 systemd[1]: Failed to start Ubuntu Advantage APT and MOTD
Messages.
-
# logs
2021-05-20 09:25:11,842 - ua_update_messaging.py:(278) [DEBUG]: Updating UA
messages for APT and MOTD.
2021-05-20 09:25:11,842 - util.py:(414) [DEBUG]: Reading file: /etc/os-release
2021-05-20 09:25:11,848 - util.py:(414) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - config.py:(357) [DEBUG]: File does not exist:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - util.py:(414) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - config.py:(357) [DEBUG]: File does not exist:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - util.py:(414) [DEBUG]: Reading file:
/var/lib/ubuntu-advantage/private/machine-token.json
2021-05-20 09:25:11,848 - config.py:(357) [DEBUG]: File does not exist:
/var/lib/ubuntu-advantage/private/machine-token.json
syslog:May 20 09:25:25 kernel: [58330.647499] apt-esm-hook[54507]: segfault
at 0 ip 00007f0045dc5426 sp 00007ffd10d0e738 error 4 in
libc-2.27.so[7f0045d14000+1e7000]
syslog:May 20 09:25:27 kernel: [58332.528175] apt-esm-hook[54512]: segfault
at 0 ip 00007f9921565426 sp 00007ffdae974668 error 4 in
libc-2.27.so[7f99214b4000+1e
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929123
Title:
segfault in apt-esm-hook
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1929123/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs