Package Details: plexpy-git 1.2.13.r4.6265943-1

Git Clone URL: (read-only, click to copy)
Package Base: plexpy-git
Description: A Python based monitoring and tracking tool for Plex Media Server.
Upstream URL:
Keywords: plexpy
Licenses: GPL
Conflicts: plexpy
Provides: plexpy
Submitter: Falstaff
Maintainer: None
Last Packager: Falstaff
Votes: 2
Popularity: 0.000000
First Submitted: 2015-12-05 18:56
Last Updated: 2015-12-19 16:43

Dependencies (2)

Required by (0)

Sources (4)

Latest Comments

jamesan commented on 2015-12-20 05:00

Thanks for the quick fix!

If I can one-up my suggestion, the package can transparently correct itself on the next upgrade by defining the following conditional statement in the post_upgrade() function in the .install script:

[ "$(realpath ~plexpy)" != /var/lib/plexpy ] && usermod --home /var/lib/plexpy plexpy

For those with the invalid home path, it modifies it; for everyone else, there's no effect.

Falstaff commented on 2015-12-19 16:52

jamesan: psck does indeed warns that /home/plexpy doesn't exist. I have modified the '.install' file which corrects the user configuration at the initial package installation. For those who already installed either this package or the plexpy one, the command

$ sudo usermod -d /var/lib/plexpy plexpy

will correct this issue. Thank you jamesan for your cooperation!

jamesan commented on 2015-12-19 14:03

The plexpy user created by this package's install file breaks the integrity of /etc/passwd by creating the plexpy user with a default home directory that doesn't exist. This causes pwck to fail when executed as part of the shadow.service executed daily by its shadow.timer unit.

If the useradd command is modified to include the option, "-d /var/lib/plexpy". this is fixed. Even thought the package does not own that path, it is generated on plexpy's initial execution to store its database and configuration files.