BOSSERVER(8)
π BOSSERVER(8) π
okay bestie, welcome to bosserver(8), straight outta the AFS Command Reference. this is the manual page for the BOS Server, and we're gonna get you so cozy with it. grab a boba π§
β¨ NAME β¨
bosserver β Initializes the BOS Server. that's it. that's the whole job description. iconic behavior honestly π
πΈ SYNOPSIS πΈ
bosserver
[-noauth]
[-log]
[-enable_peer_stats]
[-auditlog <log path>]
[-audit-interface ( file | sysvmq )]
[-enable_process_stats]
[-allow-dotted-principals]
[-cores[=none|<path>]]
[-restricted]
[-rxmaxmtu <bytes>]
[-rxbind]
[-syslog[=<facility>]>]
[-transarc-logs]
[-pidfiles[=<path>]]
[-nofork]
[-help]
π¦ DESCRIPTION π¦
so bosserver initializes the Basic OverSeer (BOS) Server, aka the bosserver process. in the conventional setup, the binary file lives in the /usr/lib/openafs directory on a file server machine. yes, really, that's where it hangs out.
the BOS Server must run on every file server machine, and it helps automate file server administration by doing these things:
- Monitors the other AFS server processes on the local machine, to make sure they are running correctly. π
- Automatically restarts failed processes, without contacting a human operator. and when it's restarting multiple server processes simultaneously, the BOS Server takes interdependencies into account and initiates restarts in the correct order. it's giving project manager energy fr fr.
- Processes commands from the
bossuite that administrators issue to verify the status of server processes, install and start new processes, stop processes either temporarily or permanently, and restart halted processes. - Manages system configuration information: the files that list the cell's server encryption keys, database server machines, and users privileged to issue commands from the
bosandvossuites.
the BOS Server is configured via the BosConfig configuration file. normally, this file is managed via the bos command suite rather than edited directly. see the BosConfig(5) man page for the syntax of this file. π
β οΈ heads up: the BOS Server will rewrite BosConfig when shutting down, so changes made manually to it will be discarded. no takebacks, no mercy.
instead, if you want to change the BOS Server configuration only for the next restart of bosserver, create a file named /etc/openafs/BosConfig.new. if BosConfig.new exists when bosserver starts, it is renamed to /etc/openafs/BosConfig, removing any existing file by that name, before bosserver reads its configuration. sneaky, but legal β¨
the BOS Server logs a default set of important events in the file /var/log/openafs/BosLog. to record the name of any user who performs a privileged bos command (one that requires being listed in the /etc/openafs/server/UserList file), add the -log flag. to display the contents of the BosLog file, use the bos getlog command. π«Ά
the first time that the BOS Server initializes on a server machine, it creates several files and subdirectories in the local /usr/afs directory, and sets their mode bits to protect them from unauthorized access. each time it restarts, it checks that the mode bits still comply with the settings listed in the following chart. a question mark indicates that the BOS Server initially turns off the bit (sets it to the hyphen), but does not check it at restart.
/usr/afs drwxr?xr-x
/var/lib/openafs/backup drwx???---
/usr/lib/openafs drwxr?xr-x
/var/lib/openafs/db drwx???---
/etc/openafs/server drwxr?xr-x
/etc/openafs/server/KeyFile -rw????---
/etc/openafs/server/UserList -rw?????--
/var/lib/openafs/local drwx???---
/var/log/openafs drwxr?xr-x
if the mode bits do not comply, the BOS Server writes the following warning to the BosLog file:
Bosserver reports inappropriate access on server directories
however, the BOS Server does not reset the mode bits, so the administrator can set them to alternate values if desired (with the understanding that the warning message then appears at startup). it's a warning, not a punishment π
this command does not use the syntax conventions of the AFS command suites. provide the command name and all option names in full. no abbreviating, bestie, we're not doing that here.
π OPTIONS π
-noauthβ turns off all authorization checks, and allows all connecting users to act as administrators, even unauthenticated users. the use of this option is inherently insecure, and should only be used in controlled environments for experimental or debug purposes. seeNoAuth(5). literally do not do this in prod, i'm begging.-logβ records in the/var/log/openafs/BosLogfile the names of all users who successfully issue a privilegedboscommand (one that requires being listed in the/etc/openafs/server/UserListfile).-cores=none|<path>β the argumentnoneturns off core file generation. otherwise, the argument is a path where core files will be stored.-auditlog <log path>β turns on audit logging, and sets the path for the audit log. the audit log records information about RPC calls, including the name of the RPC call, the host that submitted the call, the authenticated entity (user) that issued the call, the parameters for the call, and if the call succeeded or failed. receipts for everything π-audit-interface (file | sysvmq)β specifies what audit interface to use. defaults to"file". seefileserver(8)for an explanation of each interface.-enable_peer_statsβ activates the collection of Rx statistics and allocates memory for their storage. for each connection with a specific UDP port on another machine, a separate record is kept for each type of RPC (FetchFile, GetStatus, and so on) sent or received. to display or otherwise access the records, use the Rx Monitoring API. π-enable_process_statsβ activates the collection of Rx statistics and allocates memory for their storage. a separate record is kept for each type of RPC (FetchFile, GetStatus, and so on) sent or received, aggregated over all connections to other machines. to display or otherwise access the records, use the Rx Monitoring API.-allow-dotted-principalsβ by default, the RXKAD security layer will disallow access by Kerberos principals with a dot in the first component of their name. this is to avoid the confusion where principalsuser/adminanduser.adminare both mapped to theuser.adminPTS entry. sites whose Kerberos realms don't have these collisions between principal names may disable this check by starting the server with this option.-restrictedβ in normal operation, the bos server allows a super user to run any command. when the bos server is running in restricted mode (either due to this command line flag, or when configured bybos_setrestricted(8)) a number of commands are unavailable. note that this flag persists across reboots. once a server has been placed in restricted mode, it can only be opened up by sending theSIGFPEsignal. yeah. a signal. that's the key to the lock π-rxmaxmtu <bytes>β sets the maximum transmission unit for the RX protocol.-rxbindβ bind the Rx socket to the primary interface only. if not specified, the Rx socket will listen on all interfaces.-syslog[=<facility>]>β specifies that logging output should go to syslog instead of the normal log file.-syslog=facilitycan be used to specify to which facility the log message should be sent.-transarc-logsβ use Transarc style logging features. rename the existing log file/var/log/openafs/BosLogto/var/log/openafs/BosLog.oldwhen the bos server is restarted. this option is provided for compatibility with older versions. vintage vibes π°οΈ-pidfiles[=<path>]β create a one-line file containing the process id (pid) for each non-cron process started by the BOS Server. this file is removed by the BOS Server when the process exits. the optional<path>argument specifies the path where the pid files are to be created. the default location is"/var/lib/openafs/local".
the name of the pid files for "simple" BOS Server process types are the BOS Server instance name followed by ".pid".
the name of the pid files for "fs" and "dafs" BOS Server process types are the BOS Server type name, "fs" or "dafs", followed by the BOS Server core name of the process, followed by ".pid". the pid file name for the "fileserver" process is "fs.file.pid". the pid file name for the "volserver" is "fs.vol.pid".
BOS Server instance names are specfied using the bos create command. see bos_create for a description of the BOS Server process types and instance names.
-noforkβ run the BOS Server in the foreground. by default, the BOS Server process will fork and detach the stdio, stderr, and stdin streams.-helpβ prints the online help for this command. all other valid options are ignored.
π EXAMPLES π
the following command initializes the BOS Server and logs the names of users who issue privileged bos commands.
% bosserver -log
that's it. one flag. slay π
π PRIVILEGE REQUIRED π
the issuer most be logged onto a file server machine as the local superuser "root".
π SEE ALSO π
BosConfig(5), BosLog(5), bos(8), bos_create(8), bos_exec(8), bos_getlog(8), bos_getrestart(8), bos_restart(8), bos_setrestricted(8), bos_shutdown(8), bos_start(8), bos_startup(8), bos_status(8), bos_stop(8)
go read the whole friend group, they're all connected π«Ά
π COPYRIGHT π
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
okay bestie that's the whole page!! no cap, you now know more about the BOS Server than 99% of people at the function π§β¨ this lil beauty is from OpenAFS, dated 2026-07-27, and it lives at BOSSERVER(8) forever and ever. mwah π
π¦ where this page comes from
- ubuntu stonking: openafs-fileserver 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms