View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000221 | bareos-core | director | public | 2013-08-26 11:37 | 2014-05-29 11:47 |
Reporter | maik | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.04 |
Product Version | 12.4.4 | ||||
Summary | 0000221: No traceback produced for sd, dir on Ubuntu 12.04 | ||||
Description | No traceback files are produced for dir and sd on Ubuntu 12.04 standard installation (Ubuntu 10 not tested, yet). Need to check, if this a Bareos problem or if some special settings are needed on Ubuntu. ---- kill dir and see if it can create backtrace ---- ---- killing: kill -SIGSEGV 4203 --- ----- waiting for PID 4203 ------ PID 4203 took 1s to die ----- waiting for /var/lib/bareos/bareos.4203.traceback ---- ------ File /var/lib/bareos/bareos.4203.traceback appeared in 0s ----- BEGIN of /var/lib/bareos/bareos.4203.traceback ---- Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operation not permitted. /var/lib/bareos/4203: No such file or directory. ---- kill sd and see if it can create backtrace ---- ---- killing: kill -SIGSEGV 4215 --- ----- waiting for PID 4215 ------ PID 4215 took 1s to die ----- waiting for /var/lib/bareos/bareos.4215.traceback ---- ------ File /var/lib/bareos/bareos.4215.traceback appeared in 0s ----- BEGIN of /var/lib/bareos/bareos.4215.traceback ---- Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operation not permitted. /var/lib/bareos/4215: No such file or directory. | ||||
Steps To Reproduce | # PID: pid of director / sd kill -SIGSEGV $PID Check for traceback file /var/lib/bareos/bareos.$PID.traceback | ||||
Additional Information | maybe this is a hint: https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace_Protection | ||||
Tags | No tags attached. | ||||
Ubuntu has changed default ptrace kernel options, you need to: echo 0 > /proc/sys/kernel/yama/ptrace_scope sysctl before debugging on Ubuntu. Needs documentation in distribution specific section. |
|
add to documentation | |
added to documentation | |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-08-26 11:37 | maik | New Issue | |
2013-08-26 12:02 | maik | Note Added: 0000646 | |
2013-08-26 12:02 | maik | Assigned To | => joergs |
2013-08-26 12:02 | maik | Status | new => resolved |
2013-08-26 12:02 | maik | Resolution | open => no change required |
2013-09-06 16:32 | maik | Note Added: 0000659 | |
2014-05-29 11:47 | joergs | Note Added: 0000887 | |
2014-05-29 11:47 | joergs | Status | resolved => closed |
2014-05-29 11:47 | joergs | Assigned To | joergs => |