From owner-freebsd-emulation@freebsd.org Mon Mar 7 17:10:10 2016 Return-Path: Delivered-To: freebsd-emulation@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 8A2B4AC22C8 for ; Mon, 7 Mar 2016 17:10:10 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (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 2B37CF52; Mon, 7 Mar 2016 17:10:10 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lb0-x230.google.com with SMTP id xr8so41303937lbb.1; Mon, 07 Mar 2016 09:10:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qHAESQxrUgzzKPYFN39WqF77rfom0e63yup8TWM8RDk=; b=JLk5e0s67rvG104yCQ7c++zoozk91cH+74OnKfpvwxEw+843xi/5UKQ/d1UKuGeyYu z76RsDhduAiBNMQLvolz9nA4r+Wj28CJ60s3fnwZRmXESQkrOrrHLXe92OxO5FVExNoD yC4uY+P4Hjti+jAzFzCcR7BA1cO90vQHBD2J1GnBxOZ9s9vmpDH02dtcm7fiHcfJ7pt4 L2Dpfth7c83k/6CUd+varWF/zNZ2IopGbgkoJvwQOblPcd1GKH3vYlrgIscP+r5mMjOs ktNOC2XhHHTmbo1YiCY8ADBVx+xmy1VS8un3WPbpr6k4MCCZXWt2Uogi3V3kz+DwZ4RD WXKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qHAESQxrUgzzKPYFN39WqF77rfom0e63yup8TWM8RDk=; b=Gm7LyywukRMyNbbSUT/FDyd6FE/0VNsL7o8PoIB6udxn+LHqPRTGUsKTVx8HYCBvRV SR7+/XnsSOVATosMl1w4rKgdQUNdzJ367AtRqwLgrnCv9pU0whroJv5yjSxpTWu9nbVY df/d+Ba8BQLrfY0KR28oruNfGZVuFapTQ6fZ5Zf/8d6UHXUWJ8h20UdI2VTFR8ZD72un h/YYFE3+Rf1nRICaz9X3mScghosEAt1Kler/Kkec2wsN8etKJGPhkJ1IrCUYqJ82bwO3 91Eg0PjFYAeVWmJAfQfaacgMpIPa0rNIUkW+ZalyGRYfbt/cgSmPCf1s1Hbs9kmHedFH F+TQ== X-Gm-Message-State: AD7BkJL7ywLZHDGZ1rHVfXIJb2v10U9LWyKJ1NKvpirInfj09ci2oGjwlJ5Qe+lAJANFEIl8zbAtbSo4+sY7TQ== X-Received: by 10.25.19.37 with SMTP id j37mr6591781lfi.115.1457370608066; Mon, 07 Mar 2016 09:10:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.15.156 with HTTP; Mon, 7 Mar 2016 09:09:28 -0800 (PST) In-Reply-To: <20160307163014.GA4366@chd.heemeyer.club> References: <20160306013429.GA9032@chd.heemeyer.club> <20160307073147.GA4152@chd.heemeyer.club> <20160307163014.GA4366@chd.heemeyer.club> From: Miguel C Date: Mon, 7 Mar 2016 17:09:28 +0000 Message-ID: Subject: Re: Sublime no longer working on FreeBSD CURRENT To: Chagin Dmitry Cc: "freebsd-emulation@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 17:10:10 -0000 On Mon, Mar 7, 2016 at 4:30 PM, Chagin Dmitry wrote: > On Mon, Mar 07, 2016 at 03:21:38PM +0000, Miguel C wrote: > > Melhores Cumprimentos // Best Regards > > ----------------------------------------------- > > *Miguel Clara* > > *IT - Sys Admin & Developer* > > > > On Mon, Mar 7, 2016 at 7:31 AM, Chagin Dmitry > wrote: > > > > > On Mon, Mar 07, 2016 at 01:42:46AM +0000, Miguel C wrote: > > > > https://dpaste.de/ucXY > > > > > > > > It seems to fail do to missing "shm" but this should work with the > link > > > to > > > > tmp on devfs.conf, or at least it did before. > > > > > > > yes, it's related to the /dev/shm. please, mount tmpfs to the /tmp, ie > put > > > tmpfs /tmp tmpfs rw,size=1g,mode=1777 0 0 > > > to the /etc/fstab > > > > > > > > > > > Hum I see, was this changed recently? I've been using ZFS in both 10.x > and > > Current and it was working without tmpfs > > > > > > For testing I used tmpfs on "/ram" and change the link line on devfs.conf > > which is now: > > # link shm > > link /ram shm > > > > And sublime works fine like this. > > > nice, > > > In any case I can adapt the port message to check for this or maybe even > > add a better way to check it in sublime.sh > > > already do, PR: ports/207769 > > > And many thanks for the ktrace/kdump parameters those should prove handy > in > > futther debugging of linux ports :) > thanks > Ah cool, I was doing this in the .sh script: cat /usr/local/bin/sublime #!/compat/linux/bin/sh if [ -L "/dev/shm" ];then /usr/local/share/sublime/sublime_text "$@" else echo "Some Linux applications use shared memory. Sublime Text 3 can not function without it, you need to set up a link from /dev/shm to a suitable place, e.g. by adding the following line to /etc/devfs.conf (takes effect on each boot - restart devfs to apply then change now): link /tmp shm " exit 1; fi Which would still pass (wrongfully) cause tmp was not using tmpfs, but I guess that won't be needed anymore, still probably best to keep it for freebsd 10.x