Bug 2144226 - SELinux is triggered when Automatic Date & Time is toggled
Summary: SELinux is triggered when Automatic Date & Time is toggled
Keywords:
Status: CLOSED DUPLICATE of bug 2083900
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 37
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-20 01:55 UTC by Daniel Mendizabal
Modified: 2022-12-01 13:58 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-01 13:58:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Mendizabal 2022-11-20 01:55:09 UTC
Description of problem:
SELinux is triggered and a custom policy needs to be created to solve the problem:

require {
	type systemd_gpt_generator_t;
	class capability sys_admin;
}

#============= systemd_gpt_generator_t ==============
allow systemd_gpt_generator_t self:capability sys_admin;


How reproducible:
1. Open Gnome Settings
2. Choose Date & Time
3. Switch Automatic Date & Time ON and OFF 


Actual results:
Time and Date is off

Expected results:
Time and Date to be in synced with online server

Comment 1 Lukáš Nykrýn 2022-11-28 13:53:27 UTC
I think this is a known bug (I don't have the link on my hand), but it should be fixed soon in selinux-policy.

Comment 2 David Tardon 2022-12-01 13:58:48 UTC

*** This bug has been marked as a duplicate of bug 2083900 ***


Note You need to log in before you can comment on or make changes to this bug.