From nobody Wed Apr 03 10:55:15 2024 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V8hVz34HVz5GYGv for ; Wed, 3 Apr 2024 10:55:55 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V8hVy34zMz4CfK for ; Wed, 3 Apr 2024 10:55:54 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="M5/rdLIB"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=marietto2008@gmail.com Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-5d81b08d6f2so4897778a12.0 for ; Wed, 03 Apr 2024 03:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712141752; x=1712746552; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=OTqRRna9B7XsuwC0YqGOlN0glLgrUV5yIWa+Cx3Twhk=; b=M5/rdLIBC9SIvx7K6BwUqZMMnVZ8LhNVaaaDA68acb5pODrxpPeAvPEj+0PNy64jx8 ETktVNnVFHskMSjUk8RvaH6TnYv/Gi20YOJ+2/RVz4fK/y9QmKb1WwDe4USwAg+2n48s AqWPMK5PJcm8F+aS7OrKARP6zDErmpaW/3iyEO3/50exaQRYROKASFAa+J1YfcZKP5pC z+Ug2zmEYxyL5Lq2B+F21QJpRnDlRJP3e4li7f3e/+IXJ5iCyj3QYnLLjNKg04zCqq1X Vkw75GjqWSi9rhFxSTE1d1mmvPRcg+JS6JMeV6tyYG95PJ44IibXBcCoXljzq/BEPtKY EPYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712141752; x=1712746552; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OTqRRna9B7XsuwC0YqGOlN0glLgrUV5yIWa+Cx3Twhk=; b=plH3JveV7Sc+v4A2vHEdUEGdP83Cfa60Z5+P86UFfhmpFXoZxCiwjYvsXUqzM0CS0W Z/iwHq/HnZ7772E9X3hghf72nU7eE+g7daerRt2D5Z9M+LCULbWwgZI+qe13nLw2gVta cP/VKWriyPeqa+sNjK6Gz/oTkdAgq1ThSmgm3tCftHb8ruzLOuUnWAuk/q8AiOmRpqKO Kok65knvyoTaXEnp9Eo+OVy7R4NRntBn4kYE581Pyi/WldfbkWtvWwhDonhpIeR33HXp /IBC5HjgZ3M4l6COSQ6iOIBV+dOzyAxDiojnTSM7kKAk14gVrOe6zLrHDcmidSfyK7dU Hkvw== X-Gm-Message-State: AOJu0YzdVc6BgdWBcqZeo/y+gBmyH/azSaUarjTQlcrc6LNGeGyGaYOO f33fNYsjcUAY1yqUrkUbCnYWWg1WwP3w2FDhXfKmoYThqWUz9Qgy33fsEljK9ygAPzmrwzUN6sN Zeukr3HNrSlvp2cgOE82hPqmL502Xje/ypHjsRA== X-Google-Smtp-Source: AGHT+IEtJlubPPZe7aARDBiJyRbiIR3uiS7TjNQeruElJZ9IblQhUc4jPz76aTFeMOCT2tkz2VNZBBxx8LXOrQSVVfk= X-Received: by 2002:a05:6a20:c70e:b0:1a7:1e0b:cfbf with SMTP id hi14-20020a056a20c70e00b001a71e0bcfbfmr2695409pzb.23.1712141752513; Wed, 03 Apr 2024 03:55:52 -0700 (PDT) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 From: Mario Marietto Date: Wed, 3 Apr 2024 12:55:15 +0200 Message-ID: Subject: Trying to add SystemD to Linux installed on the Linuxulator... To: FreeBSD virtualization Content-Type: multipart/alternative; boundary="000000000000f6bb2706152f10c3" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.88)[-0.881]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::531:from] X-Rspamd-Queue-Id: 4V8hVy34zMz4CfK --000000000000f6bb2706152f10c3 Content-Type: text/plain; charset="UTF-8" Hello. There was a time when the developers were working on the WSL vers. 2 (Windows Subsystem for Linux),and they hadn't developed SystemD yet. And I remember well that there was an external developer that had created a dirty but working hack to add it to WSL2. Yesterday I thought,why not try to adapt it and make it work on Linux (on the CentOS,maybe or on Ubuntu) that we have installed on our Linux emulation layer on FreeBSD ? I'm a hobbyist,I'm not sure if it is really needed. I want to leave the judgement to you. In the meantime I'll paste the script. I'm not able to adapt the script for the purpose only by myself,but I can help.... full script here : https://github.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-systemd-script.sh -- Mario. --000000000000f6bb2706152f10c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello.

There was a time when the developers were working on the WSL vers. 2=20 (Windows Subsystem for Linux),and they hadn't developed SystemD=20 yet. And I remember well that there was an external developer that had=20 created a dirty but working hack to add it to WSL2. Yesterday I thought,wh= y not try to adapt it and make it work on Linux (on the =20 CentOS,maybe or on Ubuntu) that we have installed on our Linux =20 emulation layer on FreeBSD ? I'm a hobbyist,I'm not sure if it is r= eally needed. I want to leave the judgement to you. In the meantime I'll=20 paste the script. I'm not able to adapt the script for the purpose onl= y by myself,but I can help....

full script here :

https://git= hub.com/DamionGans/ubuntu-wsl2-systemd-script/blob/master/ubuntu-wsl2-syste= md-script.sh


--
Mario.
--000000000000f6bb2706152f10c3--