From owner-freebsd-current@freebsd.org Sat Aug 6 17:10:29 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F06AFBB0A1C for ; Sat, 6 Aug 2016 17:10:29 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x22e.google.com (mail-yb0-x22e.google.com [IPv6:2607:f8b0:4002:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1F1B1B7C for ; Sat, 6 Aug 2016 17:10:29 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x22e.google.com with SMTP id g133so24058899ybf.2 for ; Sat, 06 Aug 2016 10:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:cc; bh=m68CHGI8l9GncYGMDaL2S9+9SjSVgH2I3xgBDQpZp28=; b=inDmLOKamjPYWNRkPaBHGARxerXjV1Vnag35p/DwINzCwFTixvxpdxPufVlFajYGfk hh1Zp1KxYK+R9oXslh5PeCzPP4+TJ43XPtWRctjREk3EFZ6jwzlrr5hJEQnNw+ze2GUH h74DeIqlN3KZ76iC/t0h+6CjlBu9hEJ2ugMHxLwfr8Fkw4ApAqRiPmqBim0ICQWspB9s wOFnQCJUes9iDpBJtycCl30YdpxxX/06eP8MYIqzGkS5QwTD5fvxk67VoRuRlThAEspI tBmdqDqB39o6lxRohqPBMB+825XBKUlqfmsdCcn0o+UZLyHvQvh7NlS+idEG2UmVjUjx uDCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:cc; bh=m68CHGI8l9GncYGMDaL2S9+9SjSVgH2I3xgBDQpZp28=; b=XpAZ9XXIj4haCmHd5BJpwhCv1v1a5hoXm/9uLj/IkJuDRj0d+QPB5k7COHm2U9Rkbu MrwvX+GVq8aDFVSTFPrpROC5tcHSLGUEp6S7q3CVeSCh10ZpDa+lu1UdF5cjmio+kgMc LQIMUVjMo3Snc3nT5n8K1HCEsu6nbCrW/hBijoh/d4AbzSPb8xk3vxlPnAMOneBRORfC kOb9oRVFTneCQnetJbJbAQM/4cM7RVUH/tPkUB6kumFH0HuhZgTsN+EN5Uj55FNKgHe/ bRVflXXYnj742FF+ocrCZfQi+01GNtoeGHt1ggRm6M+0wL1fCf+Rm1viSIlkxGx/5lGW 8U8g== X-Gm-Message-State: AEkooutDw/bildvFTAmSUpVJMR6dUkpc4OBsLZMM5oD7ghkvkrSUbm9JUU9kEFjbNB3a3oSJoVLC6qkWlngAoQ== X-Received: by 10.37.80.205 with SMTP id e196mt16282968ybb.55.1470503428684; Sat, 06 Aug 2016 10:10:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.51.150 with HTTP; Sat, 6 Aug 2016 10:10:28 -0700 (PDT) From: Ultima Date: Sat, 6 Aug 2016 13:10:28 -0400 Message-ID: Subject: rc scripts new login_class, default can break old rc scripts Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2016 17:10:30 -0000 I recently upgraded one of my boxes to FreeBSD 11 r303750 (beta-3). After the upgrade I noticed that one of the services would no longer start... After digging into it, I found that the new var ${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 old rc scripts. So my question is this, should old rc scripts adapt to this new default, or should the default be changed to avoid issues like I just found? The port this issue was found is audio/teamspeak3-server. If installed on FreeBSD 11+ it will fail to start with... 2016-08-06 17:07:27.946432|CRITICAL|ServerLibPriv | |Server() DatabaseError out of memory Ultima