Bug 1063122 - yum install or remove triggers "Reboot/Shutdown" then system freeze
Summary: yum install or remove triggers "Reboot/Shutdown" then system freeze
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 20
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-10 04:49 UTC by Ian Kelling
Modified: 2014-06-23 22:15 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-23 22:15:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
First crash systemd log (16.52 KB, text/plain)
2014-02-10 04:49 UTC, Ian Kelling
no flags Details
Second crash. yum remove samba (18.53 KB, text/plain)
2014-02-10 04:50 UTC, Ian Kelling
no flags Details
display on first crash (143.29 KB, image/jpeg)
2014-02-10 05:01 UTC, Ian Kelling
no flags Details
display on second crash (106.71 KB, image/jpeg)
2014-02-10 05:01 UTC, Ian Kelling
no flags Details
3rd crash after installing ntp (14.83 KB, text/plain)
2014-02-11 04:55 UTC, Ian Kelling
no flags Details

Description Ian Kelling 2014-02-10 04:49:26 UTC
Created attachment 861228 [details]
First crash systemd log

Description of problem:
install/uninstall of samba triggers system crash


Version-Release number of selected component (if applicable):
Not sure what component this bug is really due to. Here are the ones that are mentioned in the system log

yum-3.4.3-132.fc20.src.rpm
systemd-208-9.fc20.src.rpm
PackageKit-0.8.16-1.fc20.src.rpm

How reproducible:
Very

Steps to Reproduce:
1. sudo yum -y install samba
or
1. sudo yum remove samba


Actual results:
System crash after samba installed or removed.

Expected results:
Samba installed or removed without system crash

Additional info: I installed samba, system crashed. Posted to fedora users mailing list asking for help, 2 days later, no suggestions other than it could be systemd. I did yum remove samba so I could then install it again and see if it would repro, but the system crashed in just about the same way on uninstall, and I considered that was enough reproing.

Ctrl-alt-f2 did not work to bring up a terminal and I had to hold the power button down to shutdown the machine.

I know this bug is a big sparse, I'm not sure how to debug this issue, which is why I asked on the fedora users list, but got no help. I'd like to help figure out the root cause of this.

I can only add 1 attachment when filing the bug, but I am uploading the second log and pictures.

Comment 1 Ian Kelling 2014-02-10 04:50:48 UTC
Created attachment 861229 [details]
Second crash. yum remove samba

Comment 2 Ian Kelling 2014-02-10 05:01:14 UTC
Created attachment 861230 [details]
display on first crash

Bad pictures, but I thought it worth noting that the display was different each time.

Comment 3 Ian Kelling 2014-02-10 05:01:42 UTC
Created attachment 861231 [details]
display on second crash

Comment 4 Ian Kelling 2014-02-11 04:55:38 UTC
Created attachment 861666 [details]
3rd crash after installing ntp

Comment 5 Ian Kelling 2014-02-11 04:57:33 UTC
It seems this is unrelated to samba, as the next package I installed, ntp, triggered the same system freeze, and I've attached the log.

Comment 6 Ian Kelling 2014-02-11 05:01:38 UTC
Note, between the first 2 freezes, I installed some packages without a problem. I'm going to make a separate fedora install on a different partition so that hopefully with someone here's help I can use this messed up one to investigate further.

Comment 7 Ian Kelling 2014-02-14 00:02:24 UTC
I have a suspicion that because I am running Xmonad, the system freezes, where it may have recovered to the login screen otherwise, like in this bug I recently filed: https://bugzilla.redhat.com/show_bug.cgi?id=1064741
Using the Xmonad quit function also causes a system freeze. Installing/removing packages seems to intermitendly cause this bug, so I can't reliably repro it.

Comment 8 Zbigniew Jędrzejewski-Szmek 2014-06-18 17:44:00 UTC
Hi Ian,

what do you mean by "crash"? I don't see anything interesting in the logs you attached.

Comment 9 Ian Kelling 2014-06-18 23:08:36 UTC
Hi Zbigniew. By crash, I mean that the screen becomes locked in a static image like those attached to the bug, and the only way out is to hold down the power button / physically cut the power then restore it to do a reboot. Can you suggest a different log file which might be helpful, or some steps / approach I could take to investigate this further?

Comment 10 Lennart Poettering 2014-06-20 00:55:47 UTC
Does the magic sysreq stuff still work if it hangs like you describe?

Comment 11 Ian Kelling 2014-06-23 22:15:58 UTC
It's been long enough that I can't remember. I will be sure to document that it in the future. I did repro it on 2 separate installs when I filed htis, albeit the same machine. I went to repro it again over the weekend, 2 installs, no repro. So, closing this, and back to using fedora 20 again.


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