PacketFence - BTS - PacketFence |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000960 | PacketFence | core | public | 2010-04-16 14:07 | 2015-02-13 15:26 |
|
Reporter | obilodeau | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | open | |
Platform | | OS | | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
fixed in git revision | |
fixed in mtn revision | |
|
Summary | 0000960: pfcmd changes the config files ownership when called at command line |
Description | When I edit a switch using:
./pfcmd 'switchconfig edit 1.2.3.4 vlans="2,3"'
pfcmd changes switches.conf ownership from pf:pf to root:root.
Same behaviour with floating_network_devices.conf |
Steps To Reproduce | |
Additional Information | If this bug is fixed, re-enable the test in lib/pfcmd/checkup.pm to test file configuration ownership. |
Tags | No tags attached. |
Relationships | has duplicate | 0001345 | closed | | Saving from the GUI changes the permissions of the files on the filesystem | has duplicate | 0001407 | resolved | fgaudreault | Switches.conf ownership changes to root after update from GUI. | related to | 0001544 | closed | | SoH configuration page fails to load because of config file permissions | child of | 0000963 | closed | obilodeau | Challenge the assumption that pfcmd must run as root setuid |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-04-16 14:07 | rbalzard | New Issue | |
2010-05-04 14:42 | obilodeau | Note Added: 0001529 | |
2010-05-04 14:50 | obilodeau | Relationship added | child of 0000963 |
2010-05-04 14:52 | obilodeau | Note Added: 0001530 | |
2010-05-04 14:52 | obilodeau | Category | 1.9.x => 1.10.x |
2010-05-04 14:52 | obilodeau | Target Version | 1.9.0 => |
2010-11-19 14:28 | obilodeau | Category | 1.10.x => 2.x |
2010-11-19 14:50 | obilodeau | Category | 2.x => core |
2011-01-18 11:41 | obilodeau | Target Version | => 2.1.0 |
2011-03-03 15:15 | obilodeau | Target Version | 2.1.0 => +1 |
2011-03-03 15:18 | obilodeau | Target Version | +1 => +2 |
2012-01-11 09:06 | obilodeau | Relationship added | has duplicate 0001345 |
2012-01-11 09:15 | obilodeau | Status | new => assigned |
2012-01-11 09:15 | obilodeau | Assigned To | => obilodeau |
2012-01-11 09:33 | obilodeau | Note Added: 0002532 | |
2012-01-11 09:34 | obilodeau | Note Added: 0002533 | |
2012-01-11 09:34 | obilodeau | Reporter | rbalzard => 94jaccha95107 |
2012-01-11 09:34 | obilodeau | Target Version | +2 => |
2012-01-11 09:35 | obilodeau | Reporter | 94jaccha95107 => obilodeau |
2012-01-11 09:37 | obilodeau | Additional Information Updated | |
2012-01-11 09:38 | obilodeau | Note Added: 0002534 | |
2012-04-11 22:17 | obilodeau | Relationship added | duplicate of 0001407 |
2012-04-11 22:17 | obilodeau | Relationship deleted | 0001407 |
2012-04-11 22:18 | obilodeau | Relationship added | has duplicate 0001407 |
2012-09-11 09:39 | obilodeau | Relationship added | related to 0001544 |
2012-10-19 14:01 | fgaudreault | Assigned To | obilodeau => |
2012-10-19 14:01 | fgaudreault | Target Version | => long-term |
2015-02-13 15:26 | lmunro | Note Added: 0003693 | |
2015-02-13 15:26 | lmunro | Status | assigned => closed |
Notes |
|
|
could be normal, right now bin/pfcmd is meant to be a setuid root command |
|
|
|
important if we want to move out of a setuid pfcmd (setting child of bug 0000963).
Targeting for later. |
|
|
|
Using ->ReWriteConfig instead of ->WriteConfig in pfcmd could've fixed it however I just read that both don't perform locking or transaction control so it would be worse if we read an incompletely written file then modify it and write it back. |
|
|
|
removing target. only important to fix if we implement 0000963 |
|
|
|
Disabled verification of the configuration file since pfcmd is setuid and will probably stay that way a little while.
If this bug is fixed, re-enable the test in lib/pfcmd/checkup.pm to test file configuration ownership. |
|
|
(0003693)
|
lmunro
|
2015-02-13 15:26
|
|
Old issues.
Most are not relevant to PF 4 and up.
Let's reopen the ones that matter when we move to github. |
|