[Bug 266245] x11/nvidia-hybrid-graphics: xorg rc script broken since 88b0ae2bb9c6

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Sep 2022 02:51:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266245

            Bug ID: 266245
           Summary: x11/nvidia-hybrid-graphics: xorg rc script broken
                    since 88b0ae2bb9c6
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: theron.tarigo@gmail.com

Created attachment 236385
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236385&action=edit
fix

$ /usr/local/etc/rc.d/nvidia_xorg status
reports
> nvidia_xorg is not running
despite correct PID in /var/run/nvidia_xorg.pid .
ps shows
> root    25347   0.0  0.2  6395424  69136  -  I    22:42      0:00.28 /usr/local/libexec/Xorg -sharevts -novtswitch -noreset -config /var/cache/nvidia-headless/xorg.conf -configdir xorg-nvidia-headless.conf.d :8
/usr/local/etc/rc.d/nvidia_xorg has wrong procname, it should be
> procname="/usr/local/libexec/Xorg"
since Xorg binary moved in 88b0ae2bb9c6

-- 
You are receiving this mail because:
You are the assignee for the bug.