From owner-freebsd-questions@freebsd.org Sat May 13 19:03:33 2017 Return-Path: Delivered-To: freebsd-questions@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 1ACCAD6BC82 for ; Sat, 13 May 2017 19:03:33 +0000 (UTC) (envelope-from no-reply@thedubaibazaar.com) Received: from mail.thedubaibazaar.com (thedubaibazaar.com [37.58.72.222]) by mx1.freebsd.org (Postfix) with SMTP id A4C64378 for ; Sat, 13 May 2017 19:03:32 +0000 (UTC) (envelope-from no-reply@thedubaibazaar.com) dkim-signature: v=1; a=rsa-sha256; d=thedubaibazaar.com; s=key1; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type; bh=GZmSETOQ8ADwxTqkErNrOAF6xwKsgB2qu8IcP3+tldY=; b=raB3qqX5adZ7gNDCqz4Xu/23AcTmm+WQts5QO27oRbMhuzFrhlqDeRqgR2mLQ6qkCFWeKUNcejuuDVhW2kyU6kprHSsoNIwxoEWORFg54HGjPiPzUjqzuFOEBm8Twn7ePi4cxdWNDrTXIG6ayiMz3alpkAPZb9nKH1c9KnWTEBegHzHA7QPnYndaXQa2yV63j9sJlrUuzJ2Z7xhV+orTntM6mpXfcOYfJqvF/YLjQ24hwDEGhk79GpsIc0 nBPAIKSeV3ANKGPCkuhqMXab3AZ8vHKfgpu/XMxJ1kNkGQhjn4n4FywGuoM8BJKyKW6TEL0ld6RWvR81oP2dv5C30bbw== Received: from Azure-WSUS.Azure-WSUS.b3.internal.cloudapp.net (Unknown [40.76.79.59]) by mail.thedubaibazaar.com with ESMTPA ; Sat, 13 May 2017 12:56:53 -0500 Message-ID: <771C932D-970D-436F-BA67-F200E62AB42D@mail.thedubaibazaar.com> MIME-Version: 1.0 Subject: Account Limited ! To: freebsd-questions@FreeBSD.org From: "Support " Date: Sat, 13 May 2017 17:56:47 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Description: Mail message body X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2017 19:03:33 -0000 = = PayPal = Your PayPal account has been limited you have to solve the problem in 24 h= ours = Hello PayPal customer, = We are sorry to inform you that you can not access all your paypal advantag= es like sending money and purchasing,due to account limitation . = Why my account PayPal=99 is limited? Because we think that your account is in danger from stealing and unauthori= zed uses. = What can I do to resolve the problem? You have to confirm all your account details on our secure server by click = the link bellow and following all the steps = LOGIN NOW = =20 From owner-freebsd-questions@freebsd.org Sat May 13 20:11:25 2017 Return-Path: Delivered-To: freebsd-questions@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 5B57BD6B152 for ; Sat, 13 May 2017 20:11:25 +0000 (UTC) (envelope-from mike@wolman.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0161C333 for ; Sat, 13 May 2017 20:11:24 +0000 (UTC) (envelope-from mike@wolman.co.uk) Received: from [192.168.3.50] ([80.229.66.11]) by avasout08 with smtp id KwBE1v0020EahWw01wBF8R; Sat, 13 May 2017 21:11:16 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=JPdLi4Cb c=1 sm=1 tr=0 a=sNOkzuqjfbpz3c/qSHODpA==:117 a=sNOkzuqjfbpz3c/qSHODpA==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=Bb0mn9rhT_7BpuVrUb4A:9 a=QEXdDO2ut3YA:10 To: freebsd-questions@freebsd.org From: Mike Wolman Subject: reroot to ggate device Message-ID: <18494456-b319-660f-7f4c-89a0958b8138@wolman.co.uk> Date: Sat, 13 May 2017 21:11:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2017 20:11:25 -0000 Hi, I am trying to reroot to a ggate device something like: root@:~ # ggatec create -o rw 192.168.3.11 /tmp/omega2-ggate-fs.img ggate0 root@:~ # kenv vfs.root.mountfrom=ufs:/dev/ggate0 vfs.root.mountfrom="ufs:/dev/ggate0" root@:~ # reboot -r May 13 20:02:59 reroot: rerooted by root Stopping cron. Stopping devd. Writing entropy file:. Writing early boot entropy file:/etc/rc.shutdown: WARNING: write failed (read-only fs?) Terminated . Trying to mount root from ufs:/dev/ggate0 []... Obviously this doesnt work as init kills the ggate0 devices backend ggatec process when rerooting. In init.c for reroot: error = kill(-1, SIGKILL); From kill (2) man page: If pid is -1: If the user has super-user privileges, the signal is sent to all processes excluding system processes (with P_SYSTEM flag set) ... Is it possible to set a userland programs p_flag to P_SYSTEM somehow? Or is it possible/sensible to edit init to accept a pid as an argument not to kill when rerooting? Or is this just not feasible without hacking init as in this idea:https://github.com/freqlabs/nbd-init