Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKGS-7388 Does not take care about mirror #1453

Open
Marthym opened this issue Dec 18, 2023 · 1 comment
Open

PKGS-7388 Does not take care about mirror #1453

Marthym opened this issue Dec 18, 2023 · 1 comment
Assignees

Comments

@Marthym
Copy link

Marthym commented Dec 18, 2023

Describe the bug
Lynis doesn't find a security repository, because it doesn't check for mirror informations(see https://manpages.debian.org/sources.list and https://manpages.debian.org/bookworm/apt/apt-transport-mirror.1.en.html ) under Debian.

Version

  • Distribution Debian 12
  • Lynis version 3.0.9

Expected behavior
No warning for PKGS-7388 for

Types: deb deb-src
URIs: mirror+file:///etc/apt/mirrors/debian-security.list
Suites: bookworm-security
Components: main

Output

  -[ Lynis 3.0.9 Results ]-                                                                                                                  
                                                                                                                                             
  Warnings (2):                                                       
  ----------------------------                                        
  ! Can't find any security repository in /etc/apt/sources.list or sources.list.d directory [PKGS-7388]                                      
      https://cisofy.com/lynis/controls/PKGS-7388/       

Additional context

@mboelen
Copy link
Member

mboelen commented May 16, 2024

Thanks for reporting.

What do you have in your /etc/apt/mirrors/debian-security.list file listed?

Looks like this test needs additional testing when local files are used.

@mboelen mboelen self-assigned this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants