Re: What started moused?

From: Ian Smith <smithi_at_nimnet.asn.au>
Date: Sun, 01 Jan 2023 05:33:36 UTC
On 1 January 2023 2:33:12 pm AEDT, Dan Mahoney <freebsd@gushi.org> wrote:
 > Hey there all.

HNY Dan,

 > On a 12.3 system I have sitting in a datacenter, doing mostly nothing
 > but DNS service, I saw that I have moused running.
 > 
 > As this is a headless machine, and I think even the IPMI isn't super
 > usable, there's no reason to be running this.
 > 
 > ps claims it's at:
 > 
 > root    958   0.0  0.0  11068   2356  -  Is   18Dec22      0:00.00
 > /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
 > 
 > And there are no moused_enable lines in /etc/rc.conf.  Service moused
 > onstop gives me:
 > 
 > /usr/home/danm # service moused onestop
 > moused not running? (check /var/run/moused.pid).
 > 
 > I don't see anything in the manpage about things like "getty"
 > starting this on the system console.
 > 
 > Can someone englighten me?

My guess, repeat guess, is that someone has plugged in a USB mouse (or KVM), and /etc/devd.conf has dutifully matched "ums[0-9]+"?

In which case surgery on devd.conf may be in order if undesirable. Does ps show a ukbd0 as well?

 cheers, Ian