From owner-freebsd-x11@freebsd.org Sat Feb 17 13:12:12 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 371B8F0C1B9 for ; Sat, 17 Feb 2018 13:12:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E73397D2D6 for ; Sat, 17 Feb 2018 13:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9E6B7F0C1B5; Sat, 17 Feb 2018 13:12:11 +0000 (UTC) Delivered-To: x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AE41F0C1B3 for ; Sat, 17 Feb 2018 13:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19C7C7D2D0 for ; Sat, 17 Feb 2018 13:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7608119B01 for ; Sat, 17 Feb 2018 13:12:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1HDCAtu017793 for ; Sat, 17 Feb 2018 13:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1HDCAVc017792 for x11@FreeBSD.org; Sat, 17 Feb 2018 13:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 225985] XDM missing a rc service: submitting a simple tested draft Date: Sat, 17 Feb 2018 13:12:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: edmonddantes@gmx.us X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 13:12:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225985 Bug ID: 225985 Summary: XDM missing a rc service: submitting a simple tested draft Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: edmonddantes@gmx.us Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Hi,=20 along with some other XDM users, I noticed the x11/xdm package does not ext= ract a rc script in /usr/local/etc/rc.d, hence it's mandatory to enable an netry= in /etc/ttys no start XDM at login by default. I'm currently using a simple service I created myself (tested and working), you may want to revise it and include something similar in the official XDM port. My XDM a service is defined as follows: Thursday at 11:41 AM#2 forquare said: I've noted that there is no xdm service file in any of the rc.d directories= I can find (in /etc/rc.d and /usr/local/etc/rc.d) on either of the machines I= 've tried...Is there something additional I need to install? Hi, finally another XDM user! I usually start it from /etc/ttys as per default, turning on the 8th entry, I've never attempted to start as rc service, nad I can confirmx11/xdm port doesn't extract any script inside /usr/local/etc/rc.d, and on the other had= , it seems there's no default xdm service in FreeBSD, otherwise rc.conf(5) would have mentioned it, and it doesn't; also see this thread on freebbsd-questio= ns mailing list. Hence, is it possible SirDice had forgotten about having made= his own script when he stated so? Anyway I suppose you could safely make one as well...I'm far less competent than you here, but something like: Code: #!/bin/sh . /etc/rc.subr # PROVIDE: xdm # REQUIRE: DAEMON LOGIN FILESYSTEMS moused # KEYWORD: nojail shutdown name=3Dxdm rcvar=3D${name}_enable command=3D"/usr/local/bin/${name}" command_args=3D"-nodaemon" pidfile=3D"/var/run/${name}.pid" required_files=3D"/usr/local/etc/X11/xdm/xdm-config" export PATH=3D"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" load_rc_config $name run_rc_command "$1" --=20 You are receiving this mail because: You are the assignee for the bug.=