Bug 230708 - x11/sddm: rc.d script doesn't set sddm_enable default value
Summary: x11/sddm: rc.d script doesn't set sddm_enable default value
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 14:15 UTC by Colin Percival
Modified: 2018-09-08 10:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments
Set sddm_enable to "NO" by default (403 bytes, patch)
2018-08-17 14:15 UTC, Colin Percival
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Percival freebsd_committer freebsd_triage 2018-08-17 14:15:42 UTC
Created attachment 196289 [details]
Set sddm_enable to "NO" by default

If x11/sddm is installed but sddm_enable is not set to "YES" in /etc/rc.conf, a warning is printed:

/etc/rc: WARNING: $sddm_enable is not set properly - see rc.conf(5).

This is fixed by the attached patch, which sets a default sddm_enable value (like most other rc.d scripts do).
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-09-08 07:53:35 UTC
A commit references this bug:

Author: adridg
Date: Sat Sep  8 07:53:01 UTC 2018
New revision: 479232
URL: https://svnweb.freebsd.org/changeset/ports/479232

Log:
  Reduce rc warnings from x11/sddm by setting default value for sddm_enable

  (Not bumping PORTREVISION because there are more updates to follow shortly)

  PR:		230708
  Submitted by:	cpercival

Changes:
  head/x11/sddm/files/sddm.in