Bug 1045837

Summary: alsa-state.service prevents system to remount ro in rescue mode
Product: [Fedora] Fedora Reporter: Ali Akcaagac <aliakc>
Component: alsa-utilsAssignee: Jaroslav Kysela <jkysela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: aliakc, jkysela, superquad.vortex2
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-29 14:57:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ali Akcaagac 2013-12-22 13:04:47 UTC
I just switched from Fedora 18 to Fedora 20 and figured out that the system can not be remounted ro by issuing

mount / -o ro,remount

This usually returns "/ busy" as answer. After some investigations I figured out that "alsa-state.service" is the cause of keeping the system busy. This was NOT the case in any older Fedora versions < 18 and took me a long time to figure out. I would like to ask whether alsa-state.service can be reviewed to NOT keep / busy and immidiately allow a remount read-only as it used to be in pre systemd times and all other systems ?

Comment 1 Raymond 2013-12-25 12:00:00 UTC
most likely because of 

alsactl daemon

or 

alsactl rdaemon

Comment 2 Jaroslav Kysela 2013-12-27 15:40:53 UTC
Please, attach output from 'lsof -p <pid>' where <pid> is the alsactl task in time where the busy error is returned from mount...

Comment 3 Ali Akcaagac 2013-12-28 13:29:27 UTC
Hello! Sorry for the late response!

After some more investigations I figured out that not alsa is causing the problems but journald.

https://bugzilla.redhat.com/show_bug.cgi?id=1046313

It looks that whenever journald is being "stopped" it instantly respawns as soon as some new stuff is being sent to be logged. Initially I went from one service to another service to be shut down only to figure out what caused the system from preventing to get re-mounted in read-only and to my surprise whenever I (also) killed alsa-state the system reacted as expected and let me remount in read-only. From what I understand now this is not alsa-state related but rather a "problem" of journald's implementation.

Comment 4 Jaroslav Kysela 2013-12-29 14:57:24 UTC
Thanks, closing as a duplicate.

*** This bug has been marked as a duplicate of bug 1046313 ***