From owner-freebsd-stable@freebsd.org Sat Aug 6 17:10:29 2016 Return-Path: Delivered-To: freebsd-stable@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 D05B1BB0A1A for ; Sat, 6 Aug 2016 17:10:29 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (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 910161B7B for ; Sat, 6 Aug 2016 17:10:29 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x22d.google.com with SMTP id e125so24040199ybc.0 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=ZjSTtgRFNfymFM1F/NK5m3S00mXJNBIY8BddH1ZhfHI=; b=D6hZthAOyAVBJ2IAD69wiMRJV/8DeDGnMlmhLqd+JOHy3gRSvUZLzrJkghRI/tesNK W8PWYek8I06SS/f9ryZj9Vt/qiqj6zA6kshFB8aOlvzyJbn9su2CndmsuTdPwqzpTvi9 LGz/iXI1FWiX3ESN0blv1Lhvo87gUnsEbFNVzbpm4TfvvpqW2TDeNbGsUEzx03ZB8BDu U7enKhGseN5uWL6/03a+kfqJRhSWr+EhiN62T2YxVNPARJgLRDQZUiCI2O/5bNUPG8gi B+mX82lmak+MO1JUgn/HvDlZE1Q4MH64k+em2WNGv8lKuI2lC5DDybDXhJZ7pf5/44N+ JTCA== 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=ZjSTtgRFNfymFM1F/NK5m3S00mXJNBIY8BddH1ZhfHI=; b=EOiUX5ElROGS6Wm90Xa18iwAjtsylzQWZ1qa4lRaYHlE/4vw55wuQyZlwk21oP7bBe InVUpSl7sY2R38DMzsZbUQhcMUzLpLNq0mI//6teW9uB0sh9b8nltvfVUdQgYNx29ryp 1Xz6vh0NCXwbgycc2i5qrsv9a5Zb/GzVcw6aEbsrFTS8M/Kph9a2pyR1PBkFpD9K9iQs RIksKFnylR+WdyzuPGwCX3VQqkTgoWF+/f6EMSGfas4UbYYaI2TOAQx7LOqzSo7iv/HB oWm0WGSCCV76kZ1OJ1D3q1hxAAsktbK/HkHY0Lb53Ho5c+Lb04ZEc6LtE/Jo3pH4S6XV 5l3g== X-Gm-Message-State: AEkoousuaJWU6pMTf/zuwozalL3sWv/GvLc9TCbWmy+3mFqx7D8JB2zAUaqQBwCbtRiSGtUnTsS1xdmfy0jDxQ== X-Received: by 10.37.80.205 with SMTP id e196mt16282969ybb.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-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2016 17:10:29 -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