[systemd-devel] "Failed to determine peer security context: Protocol not available" on kernels with disabled selinux

2015-11-10 Thread Igor Zhbanov
Hi! I see lots of messages (with systemd debug enabled) on the kernel with selinux disabled: systemd[1]: Failed to determine peer security context: Protocol not available As I understand, this happen because getsockopt() returns ENOPROTOOPT, and systemd checks for EOPNOTSUPP. Consider getpeersec

[systemd-devel] [PATCH] Fix for SIGSEGV in systemd-bootchart on short-living processes

2013-10-15 Thread Igor Zhbanov
The function svg_ps_bars() dereferencess NULL pointer in the line endtime = ps->last->sampledata->sampletime; because of partially initialized ps_struct (ps->last == NULL). If some process terminates between scaning /proc directory in the log_sample() function and reading additional inform