Public bug reported: When ulogd2 has problems reopening the pcap file it will crash immediately or some seconds later - most likely due to first attempt to flush packets to dump file after reopen (file NULL-ptr?).
Reproduce: chown root.root /var/log/ulog/ulogd.pcap chmod 0644 /var/log/ulog/ulogd.pcap # Invoke command similar to logrotate: invoke-rc.d ulogd2 reload Mar 9 00:15:43 localhost ulogd[3567]: can't open pcap file /var/log/ulog/ulogd.pcap: Permission denied Mar 9 00:15:44 localhost kernel: [210247.584746] ulogd[3567]: segfault at 0 ip 00007fbd8379fda0 sp 00007ffff30e8ed0 error 4 in libc-2.19.so[7fbd83731000+1bb000] # lsb_release -rd Description: Ubuntu 14.04.2 LTS Release: 14.04 # apt-cache policy ulogd2-pcap ulogd2-pcap: Installed: 2.0.3-1ubuntu2 Candidate: 2.0.3-1ubuntu2 Version table: *** 2.0.3-1ubuntu2 0 500 http://debarchive-ehealth.d03.arc.local/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status # apt-cache policy ulogd2 ulogd2: Installed: 2.0.3-1ubuntu2 Candidate: 2.0.3-1ubuntu2 Version table: *** 2.0.3-1ubuntu2 0 500 http://debarchive-ehealth.d03.arc.local/ubuntu/ trusty/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: ulogd2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1429778 Title: Ulogd crashes when pcap file has wrong permissions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ulogd2/+bug/1429778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs