View Bug Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002001 | DCP-o-matic | Bugs | public | 2021-05-12 23:38 | 2023-09-01 21:50 |
Reporter | carl | Assigned To | carl | ||
Priority | immediate | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | Debian | OS Version | 10 | ||
Target Version | 2.16.0 | ||||
Summary | 0002001: Disk writer fails on debian 10 with seteuid() call failed with 1(0) | ||||
Description | even though | ||||
Tags | No tags attached. | ||||
Branch | debug-uid | ||||
Estimated weeks required | |||||
Estimated work required | Undecided | ||||
|
Very odd; a test executable |
|
Built DoM in the Debian 10 VM and the built copy of |
|
So |
|
Same thing seems to happen on Mageia 7. |
|
Making a test program which drops privileges gives the same result in the output of |
|
Building a test package on |
|
|
|
Looks like we need to do |
|
|
|
Doesn't explain why the self-built version works correctly with setuid... |
|
That fix works so needs applying to Mageia also. |
|
Tried it for RPM; Mageia 8 build needs testing, then see if that breaks any other RPM builds. |
|
Maybe can use finer-grained capability?
|
|
i.e. don't setuid to root unless we're actually setuid, otherwise just do the operation. |
|
CAP_DAC_OVERRIDE works. |
|
CAP_FOWNER does not. |
|
CAP_SYS_ADMIN does not |
|
CAP_SYS_RAWIO does not. |
|
12b8695cac964fb57adceb751126c199f8d0fe0f and nearby. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-05-12 23:38 | carl | New Bug | |
2021-05-12 23:38 | carl | Assigned To | => carl |
2021-05-12 23:38 | carl | Status | new => confirmed |
2021-05-12 23:38 | carl | Tag Attached: alpha-2-blocker | |
2021-05-20 13:52 | carl | Tag Attached: alpha-3-blocker | |
2021-05-20 13:52 | carl | Tag Detached: alpha-2-blocker | |
2021-05-22 21:54 | carl | Note Added: 0004360 | |
2021-05-22 23:53 | carl | Note Added: 0004363 | |
2021-05-22 23:53 | carl | Note Added: 0004364 | |
2021-05-23 08:48 | carl | Tag Detached: alpha-3-blocker | |
2021-05-25 14:06 | carl | Note Added: 0004380 | |
2021-05-25 21:59 | carl | Note Added: 0004392 | |
2021-05-25 21:59 | carl | Note Added: 0004393 | |
2021-05-25 22:59 | carl | Note Added: 0004394 | |
2021-05-25 23:42 | carl | Note Added: 0004395 | |
2021-05-25 23:52 | carl | Branch | => debug-uid |
2021-05-25 23:52 | carl | Estimated work required | => Undecided |
2021-05-25 23:52 | carl | Note Added: 0004396 | |
2021-05-25 23:53 | carl | Note Added: 0004397 | |
2021-05-26 00:10 | carl | Note Added: 0004398 | |
2021-05-26 00:14 | carl | Note Added: 0004399 | |
2021-05-26 07:04 | carl | Note Added: 0004400 | |
2021-05-26 07:05 | carl | Note Added: 0004401 | |
2021-05-26 10:22 | carl | Note Added: 0004402 | |
2021-05-26 10:23 | carl | Note Added: 0004403 | |
2021-05-26 10:24 | carl | Note Added: 0004404 | |
2021-05-26 10:25 | carl | Note Added: 0004405 | |
2021-05-26 22:09 | carl | Status | confirmed => resolved |
2021-05-26 22:09 | carl | Resolution | open => fixed |
2021-05-26 22:09 | carl | Note Added: 0004411 | |
2023-09-01 21:50 | carl | Status | resolved => closed |