Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra systemd mounts prevent systems rebooting after #4455 #4483

Closed
MilhouseVH opened this issue Dec 8, 2015 · 5 comments
Closed

Extra systemd mounts prevent systems rebooting after #4455 #4483

MilhouseVH opened this issue Dec 8, 2015 · 5 comments
Milestone

Comments

@MilhouseVH
Copy link
Contributor

After #4455, if you add a systemd mount and try to reboot, the system will hang while rebooting.

Add an nfs mount (following is an example, change paths etc. to suit circumstances):

[Unit]
Description=test nfs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service

[Mount]
What=192.168.1.66:/mnt/sdb2/PVR
Where=/storage/pvr
Options=
Type=nfs

[Install]
WantedBy=multi-user.target

Once the mount service has started and mounted the NFS share, try to reboot the system - It will stop all the services, then hang before rebooting.

If the connman-1.30 bump is reverted, the system does reboot normally. If there is no systemd mount, the system will also reboot normally with connman-1.30.

However, with connman-1.30 AND systemd mount, the system will hang at reboot.

@sraue sraue added this to the 6.0.0 milestone Dec 9, 2015
@lrusak lrusak modified the milestones: 6.0.0, 7.0.0 Dec 15, 2015
@mlade77
Copy link

mlade77 commented Dec 18, 2015

Btw. in my case that happens only when I am using WiFi dongle.
If I use cable that doesn't happen.
#4504

@the-dreamer
Copy link

in my case i have this problems only when i have more than one mount to use. my current workaround seems to be adding some mounts directly in kodi. my pvr / recordings folder is mounted on startup. the other mounts (music & pictures) directly in kodi without mount script.

reboot/shutdown hangs seems to be gone. tried with 01.01.2016 milhouse build and OE7 fritsch egl build.
btw. i saw in my scripts leftovers from xbmc which i have renamed now.

EDIT: It seems to be in 1 of 10 reboots/shutdown also the single recordings mount hangs. For me it seems to be a timing problem.

EDIT 2: i am using only wired ethernet cable.

@MainUser1
Copy link

In my case this also happens when using a wired connection.

I think it should be noted, that network booting OpenELEC from NFS also breaks reboot / shutdown.
There doesn't seem to be a usable workaround in this situation.

I'm more than willing to help if there is something I can do to track this issue down.

@MilhouseVH
Copy link
Contributor Author

If you have this problem can you test build #205 as this build contains a potential fix, and report your results:

RPi1/RPi2: http://forum.kodi.tv/showthread.php?tid=250817
x86: http://forum.kodi.tv/showthread.php?tid=238393

Note: these test builds are based on OE8/Kodi 17, and database upgrades will most likely occur (you can drop the new databases once you revert back to your existing builds).

@chewitt
Copy link
Contributor

chewitt commented Feb 7, 2016

closing as resolved in #4659

@chewitt chewitt closed this as completed Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants