Ticket #7267 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

audit_log_user_command() error when becoming root

Reported by: dsd Owned by: jg
Priority: low Milestone: 8.2.0 (was Update.2)
Component: distro Version: olpc-3
Keywords: Cc:
Action Needed: never set Verified: no
Deployments affected: Blocked By:


Running olpc3-17. When becoming root, e.g. running "sudo su -" at terminal activity, the following (harmless?) message is printed:

audit_log_user_command(): Connection refused

Change History

Changed 6 years ago by dsd

after the above message is printed, I am presented with a root shell, so things is working bar the strange message.

Changed 6 years ago by dsd

The message is indeed harmless, it's caused by a fedora-specific sudo patch which integrates sudo with libaudit.

The message appears because we don't have CONFIG_AUDIT enabled in the kernel (whereas Fedora kernels do). I posted a fix to the upstream bug.

Changed 6 years ago by dsd

  • status changed from new to closed
  • next_action set to never set
  • resolution set to fixed

joyride now has olpcsudo which doesn't have this harmless bug

Note: See TracTickets for help on using tickets.