From owner-freebsd-questions@freebsd.org Sun Sep 29 06:26:11 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D45C0F5A42 for ; Sun, 29 Sep 2019 06:26:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46gwXL5xYqz4Bgg for ; Sun, 29 Sep 2019 06:26:10 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.0.131]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1M6DnM-1iCGn4338q-006g76; Sun, 29 Sep 2019 08:26:02 +0200 Date: Sun, 29 Sep 2019 08:26:01 +0200 From: Polytropon To: Paul Schmehl Cc: FreeBSD Questions Subject: Re: How to tell what users Ruby Message-Id: <20190929082601.9152a485.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:PaAUPpmSmWkd9TFR1LpDWtc49VK/qWVoTPQkC1ETxijW1+4Lju5 fFpFZcuWwor7DIZQLIhi0gYSUgtTX0MdMC+T1m6H7nldqZa/fjbZTeuD7DvJhwEpfxmipvU d0dLUMuXifvJaalG95p2BcBrvnTWIQhR1rkabdyLbw+oKvFqEoBLTSP52laNQmoLNQC3ejt DCffIv3KJP0D8XEDAJbRw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eW2SYIdHbG4=:uQpXPIodvcluzMtbc2uCJS EzLkin5MGErUkpps5cG8NttpaWkW8c2eMgjY8uHN3sxrkdgKHlpdNtGl/+U5twx5PIy00DCX0 XgE3o/g5lDW5+abd5T02JxA80pAgQFU6Y6/UIWP6TdthN2fi5x4aL64UFjiggwMWppeibdsOb namQXxMnF+qjTyxHXoJXkJsKoGipaMqMtEa7jY8fXRaVfMZiwionblRnsTfU6xVvDh8fnbweK O3D3nmI/YySfDQePVPE+cq1FJTORpLKYNfMoly5LQOgOFyUJJCOmjYdP8ADkOMCiG5t5kRgCE 3j+2ZarO+YuDnm+TKafJsjM8pcTto8iLqLpugtUoNX41HrLAz5DGf6Wvxa2QowLN7Q1JPus39 syH3x4of3qr/f+dyMXdppldgXvjfzHC9M1OIJ3oVsi6PXs2MZi7VBk5bo/0ss9DcSljX2h0jl ofdbbfBwbKcddK8SS9hzaAlQI+B8C7xszzm1BSsJu8XSoMJAWTxt6qdxNRQFncBvojXuBxSAl C60vLV3yMhMgRubDrjOPATM3MrPT7F0sux0aPvy3rAA6YoukuOUI/X6LyM/7RhkiWtjuzbj8R F5yj7TBm2ut02a70f0aoBvxsHqxxOBSOoc8TZp5RYLNT+tDF3GNLv9UCdjQNgqsvztbEj8+GN wpsp6WCwMuFKZCjH+ENXED2bZpiTjI/2cPZiHn1jwwVsytXvZVxweY3jj8JgKMXMMTGG19kvi krsM4lZ97nGxPv5B45Um2mw3OxwHSTG8G6KzmqnhdiHbEXekL7odap6fDu826UX3V1TJtsGLe 2CCJY0cHVie5VjAUZKR61JTkmyU0CSJS3unhUZz0IdI4UuxJHjBBpM3EeTPGS98s9nLrhQr9T qUZuh6W0DCtbB+KDQlxsQypwEma1MvYFFdD9IqCMU= X-Rspamd-Queue-Id: 46gwXL5xYqz4Bgg X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[131.0.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.59)[0.591,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.95)[0.947,0]; RCVD_IN_DNSWL_NONE(0.00)[134.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[134.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.50)[ip: (1.82), ipnet: 212.227.0.0/16(-1.37), asn: 8560(2.07), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2019 06:26:11 -0000 On Sun, 29 Sep 2019 01:17:52 -0500, Paul Schmehl wrote: > I'm running ruby 2.4 on a server. I want to upgrade to the new default > version, so I checked /usr/ports/UDPATING. > > Among other things, it said this: "f you wish to update to the new default > version, you need to first stop any software that uses ruby." > > Is there a utility I can use that will tell me that? How do I identify what > programs are using ruby? Yes, pkg provides a part of that functionality; check "man pkg-info" for the "--required-by" (or -r) flag. Make a list of the packages that depend on the currently installed Ruby version: # pkg info -r ruby Then check what program from the list is currently running. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...