Bug 8684 - Missing become_root() in ctdbd_traverse()
Summary: Missing become_root() in ctdbd_traverse()
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Clustering (show other bugs)
Version: 3.6.1
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 08:35 UTC by Stefan Metzmacher
Modified: 2012-01-10 20:03 UTC (History)
1 user (show)

See Also:


Attachments
Patch for v3-6-test (1.13 KB, patch)
2012-01-02 08:39 UTC, Stefan Metzmacher
vl: review+
Details
Patch for v3-5-test (1.13 KB, patch)
2012-01-02 08:40 UTC, Stefan Metzmacher
vl: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2012-01-02 08:35:43 UTC
If ctdbd_traverse() gets called the main db_context is already open,
which means we already have access to the database.

We need to become_root() for to open the traverse ctdb connection.
Comment 1 Stefan Metzmacher 2012-01-02 08:39:42 UTC
Created attachment 7219 [details]
Patch for v3-6-test
Comment 2 Stefan Metzmacher 2012-01-02 08:40:17 UTC
Created attachment 7220 [details]
Patch for v3-5-test
Comment 3 Stefan Metzmacher 2012-01-09 14:02:39 UTC
Karolin, please pick for the releases.
Comment 4 Karolin Seeger 2012-01-10 20:03:06 UTC
Pushed to both branches.
Closing out bug report.

Thanks!