hybrid-detect changes file in /usr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-common (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
hybrid-detect writes to /usr/share, which not be written to after package installation. hybrid-detect may fail to function properly if used on hybrid systems with read-only /usr partitions.
[Fix]
Write to /var/lib instead.
[Regression Potential]
Scope of possible regression is very limited; this only affects the hybrid-detect utility, which is only relevant on certain kinds of hybrid systems.
[Original Report]
When running debsums on my system I noticed the following entry:
debsums: changed file /usr/share/
I tracked it down to hybrid-detect changing that file at runtime. This is definitely wrong as nothing should ever write to /usr after package installation. I'd suggest moving this to /var/lib instead.
Changed in nvidia-common (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
This bug was fixed in the package nvidia-common - 1:0.2.45
---------------
nvidia-common (1:0.2.45) quantal; urgency=low
* Don't write to /usr/share for hybrid graphics
detection, use /var/lib instead (LP: #976779).
-- Alberto Milone <email address hidden> Tue, 15 May 2012 14:30:07 +0200