Bug 270234

Summary: sysutils/fsc: segmentation fault
Product: Ports & Packages Reporter: Slawomir Wojciech Wojtczak <vermaden>
Component: Individual Port(s)Assignee: Oleksii Samorukov <samm>
Status: Open ---    
Severity: Affects Only Me CC: grahamperrin
Priority: --- Keywords: crash
Version: LatestFlags: bugzilla: maintainer-feedback? (samm)
Hardware: amd64   
OS: Any   

Description Slawomir Wojciech Wojtczak 2023-03-15 08:49:55 UTC
Used with example config:

% cat /usr/local/etc/fscd.conf            
sshd
powerd

====



FreeBSD version.

% uname -a                
FreeBSD w520.local 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64

====



Started by hand.

# rm /var/run/fsc*

% ls -l /var/run/fscd.*
zsh: no matches found: /var/run/fscd.*

# fscd            
sshd is running as pid 98715.
powerd is running as pid 47037.

Usage:
service [-j <jail name or id>] -e
service [-j <jail name or id>] -R
service [-j <jail name or id>] [-v] -l | -r
service [-j <jail name or id>] [-v] <rc.d script> start|stop|etc.
service -h

-j      Perform actions within the named jail
-e      Show services that are enabled
-R      Stop and start enabled /usr/local/etc/rc.d services
-l      List all scripts in /etc/rc.d and /usr/local/etc/rc.d
-r      Show the results of boot time rcorder
-v      Verbose

zsh: segmentation fault  doas fscd

% ls -l /var/run/fscd.*
-rw-r--r-- 1 root wheel 5 2023-03-15 09:46 /var/run/fscd.pid
srwx------ 1 root wheel 0 2023-03-15 09:46 /var/run/fscd.sock

====



Started by service(8).

# rm /var/run/fsc*

# service fscd status                                     
fscd is not running.

# service fscd start 

# service fscd status
fscd is not running.

# service fscd stop  
fscd not running? (check /var/run/fscd.pid).

# service fscd start 

# service fscd stop  
fscd not running? (check /var/run/fscd.pid).



Hope that helps.

Regards.