Bug 211629 - /etc/rc.subr's login_class default may break some programs
Summary: /etc/rc.subr's login_class default may break some programs
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: FreeBSD Release Engineering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-06 20:10 UTC by Ultima
Modified: 2016-08-31 20:51 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ultima 2016-08-06 20:10:38 UTC
Currently, ${name}_login_class var's defaults to the daemon login class and by default, the daemon class resource limit on memory is set to 128M. This maybe an issue for older rc scripts created before FreeBSD 11.

 Should rc scripts adapt to this new default, or should the default be changed to avoid issues upgrading from 10.3 --> 11? 

A port affected by this change is audio/teamspeak3-server. I'm not aware of any others currently, however I'm sure more are affected. This is an error message from upgrading from FreeBSD 10.3 --> FreeBSD 11 beta 3 with this port.

2016-08-06 17:07:27.946432|CRITICAL|ServerLibPriv |   |Server() DatabaseError out of memory



I also tried to change the default value of teamspeak_login_class to default via rc.conf and the rc script itself and still receive this error message upon startup. Is this the correct way to set it?