Skip to content

Feature request: secadm_enable="YES" to always load kernel module #42

@utrenkner

Description

@utrenkner

I need secadm in one of my jails. My problem: I thought I did everything necessary, but secadm was not enabled after reboot. This is not a bug, but it is not what I expected:

  1. I installed secadm and secadm-kmod on the host and secadm in the jail.
  2. I set secadm_enable="YES" in both, the host's and the jail's /etc/rc.conf.
  3. I added the needed rules under /usr/local/etc/secadm.rules in the jail
  4. I rebooted

But the rules were not enforced. The problem seems to be that because there is not /usr/local/etc/secadm.rules file on the host, secadm_enable="YES" does not even load the kernel module, which would be needed for secadm in the jail.

My suggestion: Either let secadm_enable="YES" load the kernel module even if no rules file exist. OR provide an empty set of rules with the secadm packages if none exists already.

I now added secadm_load="YES" to /boot/loader.conf to ensure that the kernel module is always loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions