Discussion:
[tomoyo-users-en 627] Tomoyo Linux on Mageia 5_x64
Claus Reheis
2015-07-23 15:17:52 UTC
Permalink
Hi all,

I am trying to set up tomoyo linux on my Mageia 5 box to get to know
this interesting approach for system security.

I installed:

lib64tomoyotools3-2.5.0-6.mga5
tomoyo-tools-2.5.0-6.mga5

and executed:

/usr/lib64/tomoyo/init_policy

what went fine without error!

After I modified /boot/grub/menu.lst:

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=3506ccee-b77c-
4cff-b234-623e3ece46b2 splash quiet noiswmd resume=UUID=788d2a81-a62b-
4a55-9ff4-9e1e0586133c vga=788 TOMOYO_trigger=/usr/lib/systemd/systemd
security=tomoyo
root (hd0,0)

and rebooted, but tomoyo audit service fails to start:

systemctl status -l tomoyo-auditd.service
● tomoyo-auditd.service - LSB: TOMOYO Linux MAC logging daemon
Loaded: loaded (/etc/rc.d/init.d/tomoyo-auditd)
Active: failed (Result: exit-code) since Don 2015-07-23 16:43:47
CEST; 27min ago
Process: 2560 ExecStart=/etc/rc.d/init.d/tomoyo-auditd start
(code=exited, status=1/FAILURE)

tomoyo-auditd[2560]: ccs-auditd wird gestartet: tomoyo-auditd
[remote_ip:remote_port]

tomoyo-auditd[2560]: See /etc/tomoyo/tools/auditd.conf for
configuration.

tomoyo-auditd[2560]: [FEHLER]

systemd[1]: tomoyo-auditd.service: control process exited, code=exited
status=1

systemd[1]: Failed to start LSB: TOMOYO Linux MAC logging daemon.

systemd[1]: Unit tomoyo-auditd.service entered failed state.

systemd[1]: tomoyo-auditd.service failed


Can you please give me advice? I will report the problem and (with
your help) the solution on Mageia Bugzilla!

Thank you


Claus
Claus Reheis
2015-07-23 17:35:00 UTC
Permalink
Hello Tetsuo Handa,

Absolutely true!

I am wondering why this messed config is still there...
Tomoyo would deserve more love in Mageia;)

Thanks meanwhile,

Claus
 Hello.
 It seems to me that this is same with what you experienced with Mageia 4.
 http://osdn.jp/projects/tomoyo/lists/archive/users-en/2014-March/000578.html
  Hi all,
  I am trying to set up tomoyo linux on my Mageia 5 box to get to know
  this interesting approach for system security.
  lib64tomoyotools3-2.5.0-6.mga5
  tomoyo-tools-2.5.0-6.mga5
  /usr/lib64/tomoyo/init_policy
  what went fine without error!
  title linux
  kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=3506ccee-b77c-
  4cff-b234-623e3ece46b2 splash quiet noiswmd resume=UUID=788d2a81-a62b-
  4a55-9ff4-9e1e0586133c vga=788 TOMOYO_trigger=/usr/lib/systemd/systemd
  security=tomoyo
  root (hd0,0)
  systemctl status -l tomoyo-auditd.service
  ● tomoyo-auditd.service - LSB: TOMOYO Linux MAC logging daemon
     Loaded: loaded (/etc/rc.d/init.d/tomoyo-auditd)
     Active: failed (Result: exit-code) since Don 2015-07-23 16:43:47
  CEST; 27min ago
    Process: 2560 ExecStart=/etc/rc.d/init.d/tomoyo-auditd start
  (code=exited, status=1/FAILURE)
  tomoyo-auditd[2560]: ccs-auditd wird gestartet: tomoyo-auditd
  [remote_ip:remote_port]
  tomoyo-auditd[2560]: See /etc/tomoyo/tools/auditd.conf for
  configuration.
  tomoyo-auditd[2560]: [FEHLER]
  systemd[1]: tomoyo-auditd.service: control process exited, code=exited
  status=1
  systemd[1]: Failed to start LSB: TOMOYO Linux MAC logging daemon.
  systemd[1]: Unit tomoyo-auditd.service entered failed state.
  systemd[1]: tomoyo-auditd.service failed
  Can you please give me advice? I will report the problem and (with
  your help) the solution on Mageia Bugzilla!
  Thank you
  Claus
  _______________________________________________
  tomoyo-users-en mailing list
  http://lists.osdn.me/mailman/listinfo/tomoyo-users-en
Loading...