vncserver: ignore new session parameter from the new systemd support
This commit is contained in:
parent
3a484bb46b
commit
f0066896c0
@ -1,6 +1,6 @@
|
|||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 1.11.0
|
Version: 1.11.0
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
@ -338,6 +338,9 @@ fi
|
|||||||
%{_datadir}/selinux/packages/vncsession.pp
|
%{_datadir}/selinux/packages/vncsession.pp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 10 07:45:46 CET 2020 Jan Grulich <jgrulich@redhat.com> - 1.11.0-9
|
||||||
|
- vncserver: ignore new session parameter from the new systemd support
|
||||||
|
|
||||||
* Fri Nov 13 14:08:29 CET 2020 Jan Grulich <jgrulich@redhat.com> - 1.11.0-8
|
* Fri Nov 13 14:08:29 CET 2020 Jan Grulich <jgrulich@redhat.com> - 1.11.0-8
|
||||||
- Use /run instead of /var/run which is just a symlink
|
- Use /run instead of /var/run which is just a symlink
|
||||||
|
|
||||||
|
@ -435,6 +435,9 @@ sub LoadConfig {
|
|||||||
next if /^#/;
|
next if /^#/;
|
||||||
if (my ($k, $v) = /^\s*(\w+)\s*=\s*(.+)$/) {
|
if (my ($k, $v) = /^\s*(\w+)\s*=\s*(.+)$/) {
|
||||||
$k = lc($k); # must normalize key case
|
$k = lc($k); # must normalize key case
|
||||||
|
if ($k eq "session") {
|
||||||
|
next;
|
||||||
|
}
|
||||||
if ($warnoverride && $config{$k}) {
|
if ($warnoverride && $config{$k}) {
|
||||||
print("Warning: $configFile is overriding previously defined '$k' to be '$v'\n");
|
print("Warning: $configFile is overriding previously defined '$k' to be '$v'\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user