apparmor.service fails on Linux Mint 21.3 XFCE — missing abstractions/snap_browsers included by Evince profile

Đang mở
#152 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
linux, python

Hướng nghiên cứu

The report identifies /etc/apparmor.d/usr.bin.evince and the missing /etc/apparmor.d/abstractions/snap_browsers file. Start by checking how mintsystem packages or configures the Evince profile and whether it has tests for systems without snapd. Done means AppArmor profiles load on Linux Mint 21.3 XFCE when snapd is absent, without relying on a manual edit.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary: On Linux Mint 21.3 XFCE apparmor.service fails to start with "At least one profile failed to load". The evince AppArmor profile /etc/apparmor.d/usr.bin.evince contains "#include <abstractions/snap_browsers>" (line 32) but the snap_browsers abstraction file is not present because Mint blocks/removes snapd by default. The missing include causes the AppArmor parser to fail and prevents profiles from loading.

Steps to reproduce:

Install or update Linux Mint 21.3 XFCE (snapd blocked by nosnap.pref).
Run: sudo systemctl status apparmor.service

Observed: apparmor.service fails to load with "At least one profile failed to load". Journal shows parsing failure due to missing /etc/apparmor.d/abstractions/snap_browsers.

Expected: AppArmor should load profiles; packages should not ship profiles that require snap abstractions when snapd is intentionally absent, or Mint should supply a safe fallback.

Temporary workaround: comment out the include line in /etc/apparmor.d/usr.bin.evince.

Ngôn ngữ chính
Python
Star
58
Fork
43
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/mintsystem

Tất cả issue của linuxmint/mintsystem

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.