Skip to content

Minimize_access to File [/usr/bin] issue #234

@hdep

Description

@hdep

Describe the bug

on some system we got :

//server.domain.net//Stage[main]/Os_hardening::Minimize_access/File[/usr/bin]
Failed to generate additional resources using 'eval_generate': No such file or directory @ rb_file_s_stat - /usr/bin/clhsdb

Looking at the file is a symlink :

root@server:/usr/bin# ls -ltr /usr/bin/clhsdb
lrwxrwxrwx 1 root root 24 juil. 30 09:53 /usr/bin/clhsdb -> /etc/alternatives/clhsdb

Expected behavior
should compile without error

Actual behavior

compilation failed

OS / Environment
Debian 9
mod 'hardening-os_hardening', '2.2.5'

Puppet Version

5.5.17

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions