nvidia-331.postrm calls `stop nvidia-persistenced`, but upstart job has been removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-331 (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
nvidia-
The reason is the nvidia-331.postrm script hasn't been updated to reflect that nvidia-persistenced is now started via udev rather than Upstart (the Upstart job has been removed).
The offending lines in nvidia-331.postrm:
# Remove the nvidia-persistenced user
if id "$NVPD_USER" > /dev/null 2>&1; then
stop nvidia-persistenced || true
userdel "$NVPD_USER"
fi
When /usr/bin/
I believe the correct fix is:
# Remove the nvidia-persistenced user
if id "$NVPD_USER" > /dev/null 2>&1; then
userdel "$NVPD_USER"
fi
Or for extra safety, I like this fix even better:
# Remove the nvidia-persistenced user
if id "$NVPD_USER" > /dev/null 2>&1; then
userdel "$NVPD_USER" || true
fi
Although /usr/bin/
Same problem exists with nvidia-
Changed in nvidia-graphics-drivers-331 (Ubuntu): | |
importance: | Undecided → Critical |
Ah, one thing I had wrong.... /usr/bin/ stop-nvidia- persistenced needs to be called in nvidia-331.prerm, not nvidia-331.postrm