changing root user's password got "Segmentation fault"

Bug #1842170 reported by xinliang on 2019-08-31
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
CirrOS
Undecided
Unassigned

Bug Description

How to reproduce:
$ wget -c http://download.cirros-cloud.net/contrib/nowster/20190515/cirros-d190515-aarch64-disk.img
$ virt-install \
  --name cirros-01 \
  --memory 2048 \
  --vcpus 2 \
  --disk /tmp/cirros-d190515-aarch64-disk.img \
  --import
$ sudo passwd root
Changing password for root
New password:
Bad password: too short
Retype password:
Segmentation fault

Extra info:
$ uname -a
Linux cirros 4.4.0-148-generic #174-Ubuntu SMP Tue May 7 12:23:50 UTC 2019 aarch64 GNU/Linux
$ passwd -v
passwd: invalid option -- v
BusyBox v1.29.3 (2019-05-15 20:02:02 UTC) multi-call binary.

xinliang (xin3liang) on 2019-08-31
tags: added: passwd
xinliang (xin3liang) on 2019-09-02
summary: - chanaging root user's password got "Segmentation fault"
+ changing root user's password got "Segmentation fault"
Zhang Danyang (zdy349) wrote :

This bug was fixed at Busybox 1.31.0 by Einar Jón.
The bug will be fixed by update the version of Busybox.

xinliang (xin3liang) wrote :

It should be bellow fix, righ? So we can rebuild cirros with new version Busybox to fix this issue. Thanks.
https://git.busybox.net/busybox/commit/?h=1_31_stable&id=ce51140664d82300d25b096b4a41f01fdfd766b3

Zhang Danyang (zdy349) wrote :

Yes,it works.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers