Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

Startup delayed by usermod for several minutes #9

Open
someCynic opened this issue Sep 25, 2018 · 0 comments
Open

Startup delayed by usermod for several minutes #9

someCynic opened this issue Sep 25, 2018 · 0 comments

Comments

@someCynic
Copy link

While starting up the following command is run:

usermod -o -u {UID} abc

This command takes about 5 minutes to run on a raspberry pi 3 model B+, I suspect because it's making changes to Plex's Library folder.

This looks similar to the issue in linuxserver/docker-plex fixed on 11.01.07, given the changelog: "Use Plex environemt variables from pms docker, change abc home folder to /app to alleviate usermod chowning library folder by default (thanks gbooker, plexinc)."

The fix was to change the abc user's home to /app:

echo "**** ensure abc user's home folder is /app ****" && \
usermod -d /app abc && \
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant