Bug 266245 - x11/nvidia-hybrid-graphics: xorg rc script broken since 88b0ae2bb9c6
Summary: x11/nvidia-hybrid-graphics: xorg rc script broken since 88b0ae2bb9c6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Kevin Bowling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-06 02:51 UTC by Theron Tarigo
Modified: 2023-07-21 01:14 UTC (History)
4 users (show)

See Also:
theron.tarigo: maintainer-feedback+


Attachments
fix (957 bytes, text/plain)
2022-09-06 02:51 UTC, Theron Tarigo
theron.tarigo: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Theron Tarigo 2022-09-06 02:51:01 UTC
Created attachment 236385 [details]
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
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-12-30 00:41:03 UTC
Triage: 

* the patch-ready keyword is deprecated

* the dashboard shows this ports bug as ready to be taken by a committer.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-07-21 01:13:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0195d57f8db774e63fb0e81e7a3cea544b8e59e0

commit 0195d57f8db774e63fb0e81e7a3cea544b8e59e0
Author:     Theron Tarigo <theron.tarigo@gmail.com>
AuthorDate: 2023-07-21 01:12:03 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-07-21 01:12:03 +0000

    x11/nvidia-hybrid-graphics: fix rc script

    xorg rc script broken since 88b0ae2bb9c6

    PR:             266245

 x11/nvidia-hybrid-graphics/Makefile             | 2 +-
 x11/nvidia-hybrid-graphics/files/nvidia_xorg.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)