Bug 429631 - SDDM crash after hardening
Summary: SDDM crash after hardening
Status: RESOLVED MOVED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.20.3
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: 1.0
Assignee: HD Scania
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-25 10:41 UTC by HD Scania
Modified: 2020-11-26 01:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
My /var/log/sddm.log (1.64 KB, text/x-log)
2020-11-25 10:41 UTC, HD Scania
Details
The Lynis entries for kernel hardening, as of upgraing your scores for Lynis system auditing (1.07 KB, text/plain)
2020-11-25 10:43 UTC, HD Scania
Details
My current sysctl.conf with NO hardenings left, but SDDM is still being dead; see my first logfile that is the most recent SDDM status (290 bytes, text/plain)
2020-11-25 10:46 UTC, HD Scania
Details
My last known working sysctl.conf from a backup on an USB SSD (680 bytes, text/plain)
2020-11-25 10:48 UTC, HD Scania
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HD Scania 2020-11-25 10:41:52 UTC
Created attachment 133634 [details]
My /var/log/sddm.log

SUMMARY
SDDM is being crashed for some system security settings

STEPS TO REPRODUCE
1. Using kernel hardening instructions for /etc/sysctl.conf from Lynis
2. Restarting SDDM using ‘‘sudo service sddm restart’’
3. If SDDM is crashed, comment those hardening entries
4. Re-uncomment hardening entries ONE BY ONE to see if the causes are found

OBSERVED RESULT
SDDM is being dead for some bugs reported from DBus and PAM

EXPECTED RESULT
The system hardened correctly doesn’t crash any desktop functionalities

SOFTWARE/OS VERSIONS
FreeBSD/KDE Plasma: GhostBSD (based on 12.2-STABLE)
(available in About System)
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.75.x
Qt Version: 5.15.x
Comment 1 HD Scania 2020-11-25 10:43:58 UTC
Created attachment 133635 [details]
The Lynis entries for kernel hardening, as of upgraing your scores for Lynis system auditing
Comment 2 HD Scania 2020-11-25 10:46:31 UTC
Created attachment 133636 [details]
My current sysctl.conf with NO hardenings left, but SDDM is still being dead; see my first logfile that is the most recent SDDM status
Comment 3 HD Scania 2020-11-25 10:48:31 UTC
Created attachment 133637 [details]
My last known working sysctl.conf from a backup on an USB SSD
Comment 4 Nicolas Fella 2020-11-25 14:37:43 UTC
Does this actually have anything to do with Plasma?

Sounds like it should be reported to SDDM instead (https://github.com/sddm/sddm/issues)
Comment 5 Nate Graham 2020-11-25 18:42:58 UTC
Yes, please file an issue there on SDDM itself. SDDM is not actually a KDE project and bugs for it are tracked elsewhere, not on the KDE bug tracker.
Comment 6 HD Scania 2020-11-26 00:49:15 UTC
I have an issue there, but people there aren’t that active, so also filing that bug here.
https://github.com/sddm/sddm/issues/1332
(In reply to Nicolas Fella from comment #4)
> Does this actually have anything to do with Plasma?
> Sounds like it should be reported to SDDM instead
> (https://github.com/sddm/sddm/issues)
Comment 7 Nicolas Fella 2020-11-26 01:49:03 UTC
Opening bugs against unrelated projects isn't going to get you anywhere