Bug 1897504

Summary: Add vncserver wrapper script again to allow non-root users to start and stop the service
Product: Red Hat Enterprise Linux 8 Reporter: amit yadav <ayadav>
Component: tigervncAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Martin Krajnak <mkrajnak>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.3CC: jgrulich, jkoten, mkrajnak, pbhosale, rik.theys, sbarcomb, tpelka
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tigervnc-1.11.0-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:28:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description amit yadav 2020-11-13 08:55:33 UTC
Description of problem:

The "vncserver" script was removed in RHEL8.3. Now the non-root users are not able to manually start the vnc service. Please include the script again to restore the functionality. 

Version-Release number of selected component (if applicable):
tigervnc-server-1.10.1-7.el8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install the tigervnc packages on the RHEL8.3.0 system
2. Login into the system as non-root user and try to run vncserver command


Actual results:
The  "vncserver" script is not available.

Expected results:
The  "vncserver" script should be available. So that the non-root user can manually start the vnc service

Additional info:

Comment 9 Martin Krajnak 2020-11-27 12:42:19 UTC
Thanks for fixing that Jan, 

tigervnc-1.11.0-3.el8.x86_64

Comment 10 Rik Theys 2020-12-11 13:15:30 UTC
Hi,

Can we have the fixes also in RHEL/CentOS 8.3 ?
The package from Stream requires a newer selinux-policy package :-/.

Regards,
Rik

Comment 11 Jan Grulich 2020-12-11 13:24:12 UTC
(In reply to Rik Theys from comment #10)
> Hi,
> 
> Can we have the fixes also in RHEL/CentOS 8.3 ?
> The package from Stream requires a newer selinux-policy package :-/.
> 
> Regards,
> Rik

The dependency on selinux-policy is always set to the version we build tigervnc against. I guess this is not necessary and we can drop the version requirement. I will check.

Comment 12 Rik Theys 2020-12-11 13:33:17 UTC
Hi Jan,

In the mean time, I wanted to rebuild the src.rpm on 8.3 but I can't find it anywhere.

Where can I find the src.rpm for the packages in Stream?

Regards,
Rik

Comment 13 Jan Grulich 2020-12-15 16:32:53 UTC
(In reply to Rik Theys from comment #12)
> Hi Jan,
> 
> In the mean time, I wanted to rebuild the src.rpm on 8.3 but I can't find it
> anywhere.
> 
> Where can I find the src.rpm for the packages in Stream?
> 
> Regards,
> Rik

I don't think these are publicly available. Also, I have been in touch with people working on SELinux and I've been told it's actually a good approach to rely on selinux-policy-%{version} we built Tigervnc against.

Comment 15 errata-xmlrpc 2021-05-18 15:28:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: tigervnc security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1783