update-pkgcache.py needs to connect as a unique database user
Bug #517098 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Julian Edwards |
Bug Description
update-pkgcache.py is currently connecting as the statistician database user, which makes it impossible to tell its activity from the update-stats.py script.
All scripts should connect as a unique database user.
This involves adding the new user to security.cfg (it can inherit permissions from the statistician user for a quick fix) and hardcoding the new database user into cronscripts/
Related branches
lp://staging/~julian-edwards/launchpad/bug-517098
- Stuart Bishop (community): Approve (db)
- Graham Binns (community): Approve (code)
-
Diff: 25 lines (+7/-1)2 files modifiedcronscripts/update-pkgcache.py (+1/-1)
database/schema/security.cfg (+6/-0)
Changed in soyuz: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 10.03 |
Changed in soyuz: | |
status: | Triaged → In Progress |
assignee: | nobody → Julian Edwards (julian-edwards) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in db-stable r9107 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 9107>