Project

General

Profile

Bug #4532

/var/spool/lock Directory missing on nanobsd

Added by Peter Baumann about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
Start date:
03/18/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

We use ALIX Boxes for our OOB (Out of Band) Solution and connected USB-Serial Adapter to the Box.
For the Serial Console connections we use the in the FreeBSD included "tip" tool like here but we get the following error:

  1. tip ucom1
    /var/spool/lock/LCK..cuaU0: No such file or directory
    Can't open lock file.
    all ports busy

As a workaround we created the missing directory:

  1. /etc/rc.conf_mount_rw
  2. mkdir -p /var/spool/lock
  3. chown uucp:dialer /var/spool/lock
  4. /etc/rc.conf_mount_ro

Then the connection is possible to open.

Is it possible in future versions to create this directory?

Also there seems to be a problem when you try to connect a GPS device as seen here: https://redmine.pfsense.org/issues/2443

Associated revisions

Revision d71cded0 (diff)
Added by Chris Buechler almost 4 years ago

create /var/spool/lock on nano so tip works without hassles. Ticket #4532

Revision b96d6738 (diff)
Added by Chris Buechler almost 4 years ago

create /var/spool/lock on nano so tip works without hassles. Ticket #4532

History

#1 Updated by Chris Buechler almost 4 years ago

  • Subject changed from /var/spool/lock Directory missing to /var/spool/lock Directory missing on nanobsd
  • Category changed from Console Menu to Operating System
  • Status changed from New to Resolved
  • Target version set to 2.2.3
  • Affected Version changed from 2.2 to All
  • Affected Architecture deleted (i386)

only missing on nano since its /var/ is a RAM disk. I added its creation and ownership setting to rc.embedded

Also available in: Atom PDF