Bug 1326018 - OSError: Unable to set password for new user: status=-7
Summary: OSError: Unable to set password for new user: status=-7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f426c8e89e0d2b3493800fcbbaf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-11 15:22 UTC by mothermodz
Modified: 2016-04-11 15:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-11 15:33:18 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (867.15 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: anaconda.log (25.72 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: environ (537 bytes, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: journalctl (431.62 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: lsblk_output (2.77 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: nmcli_dev_list (2.20 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: os_info (518 bytes, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: program.log (107.50 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: storage.log (190.15 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: ifcfg.log (4.40 KB, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details
File: packaging.log (134 bytes, text/plain)
2016-04-11 15:22 UTC, mothermodz
no flags Details

Description mothermodz 2016-04-11 15:22:36 UTC
Version-Release number of selected component:
anaconda-core-23.19.10-1.fc23.x86_64

The following was filed automatically by anaconda:
anaconda 23.19.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.4/site-packages/pyanaconda/users.py", line 371, in setUserPassword
    raise OSError("Unable to set password for new user: status=%s" % proc.returncode)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/users.py", line 379, in setRootPassword
    return self.setUserPassword("root", password, isCrypted, isLocked, algo, root)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/kickstart.py", line 1618, in execute
    users.setRootPassword(self.password, self.isCrypted, self.lock, algo, iutil.getSysroot())
  File "/usr/lib64/python3.4/site-packages/pyanaconda/install.py", line 94, in doConfiguration
    ksdata.rootpw.execute(storage, ksdata, instClass, u)
  File "/usr/lib64/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
OSError: Unable to set password for new user: status=-7

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-23-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-libs-3.4.3-5.fc23.x86_64
product:        Fedora
release:        Fedora release 23 (Twenty Three)
type:           anaconda
version:        23

Potential duplicate: bug 1276376

Comment 1 mothermodz 2016-04-11 15:22:41 UTC
Created attachment 1146020 [details]
File: anaconda-tb

Comment 2 mothermodz 2016-04-11 15:22:42 UTC
Created attachment 1146021 [details]
File: anaconda.log

Comment 3 mothermodz 2016-04-11 15:22:43 UTC
Created attachment 1146022 [details]
File: environ

Comment 4 mothermodz 2016-04-11 15:22:45 UTC
Created attachment 1146023 [details]
File: journalctl

Comment 5 mothermodz 2016-04-11 15:22:46 UTC
Created attachment 1146024 [details]
File: lsblk_output

Comment 6 mothermodz 2016-04-11 15:22:47 UTC
Created attachment 1146025 [details]
File: nmcli_dev_list

Comment 7 mothermodz 2016-04-11 15:22:48 UTC
Created attachment 1146026 [details]
File: os_info

Comment 8 mothermodz 2016-04-11 15:22:49 UTC
Created attachment 1146027 [details]
File: program.log

Comment 9 mothermodz 2016-04-11 15:22:51 UTC
Created attachment 1146028 [details]
File: storage.log

Comment 10 mothermodz 2016-04-11 15:22:52 UTC
Created attachment 1146029 [details]
File: ifcfg.log

Comment 11 mothermodz 2016-04-11 15:22:53 UTC
Created attachment 1146030 [details]
File: packaging.log

Comment 12 David Shea 2016-04-11 15:33:18 UTC
A status of -7 indicates that chpasswd exited on SIGBUS, and it looks like the reason is that your hard drive is failing. There are several messages in the syslog along the lines of:

pr 11 15:10:31 localhost kernel: ata1.00: exception Emask 0x0 SAct 0x6000 SErr 0x0 action 0x0
Apr 11 15:10:31 localhost kernel: ata1.00: irq_stat 0x40000008
Apr 11 15:10:31 localhost kernel: ata1.00: failed command: READ FPDMA QUEUED
Apr 11 15:10:31 localhost kernel: ata1.00: cmd 60/00:68:f0:38:3d/01:00:08:00:00/40 tag 13 ncq 131072 in
res 51/40:a0:4f:39:3d/00:00:08:00:00/40 Emask 0x409 (media error) <F>
Apr 11 15:10:31 localhost kernel: ata1.00: status: { DRDY ERR }
Apr 11 15:10:31 localhost kernel: ata1.00: error: { UNC }
Apr 11 15:10:31 localhost kernel: ata1.00: configured for UDMA/133
Apr 11 15:10:31 localhost kernel: sd 0:0:0:0: [sda] tag#13 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Apr 11 15:10:31 localhost kernel: sd 0:0:0:0: [sda] tag#13 Sense Key : Medium Error [current] [descriptor]
Apr 11 15:10:31 localhost kernel: sd 0:0:0:0: [sda] tag#13 Add. Sense: Unrecovered read error - auto reallocate failed
Apr 11 15:10:31 localhost kernel: sd 0:0:0:0: [sda] tag#13 CDB: Read(10) 28 00 08 3d 38 f0 00 01 00 00
Apr 11 15:10:31 localhost kernel: blk_update_request: I/O error, dev sda, sector 138230095
Apr 11 15:10:31 localhost kernel: ata1: EH complete


Note You need to log in before you can comment on or make changes to this bug.