From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) by lists.alpinelinux.org (Postfix) with ESMTP id 51BC7F84CD5 for ; Sun, 3 Mar 2019 05:37:40 +0000 (UTC) Received: by mail-ua1-f50.google.com with SMTP id j7so1592374uak.8 for ; Sat, 02 Mar 2019 21:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=GyPsjtKmEMjTTPEG4wshP/Kh8Bb+1aRMoMm0M8P1Wl4=; b=ej/ejAyyStt4WIgLvKmQvSFEFr7DC58uGq87G7ktrKEsiSdkcu73t+jeL2EUUpjeAH 2fEF3sXWnD9qwezp34U2D5ivRGbTMcx6k5kfuHNcWb2VZuAexqZvKYSBTLwIUL3XHAlf DSPz/eG2CQnuRYQrlSJwr0Y0LRWBJbll9SSFUZ+JkxLGTgJOBc+XjWvxiKj2GUlAgBN2 Y0UnUKmis+d5TDkSA9xALIxNSpwSN03jBtJOBo0VDlZapksewvCoznG8yInt/RU7OMVZ p8KBnsa3cACUYjSquPrbo8/kKrXzsWlm6+qJ+ck1hn9jnDlup90Gwl/OoK8FCZNOiJKS vlAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=GyPsjtKmEMjTTPEG4wshP/Kh8Bb+1aRMoMm0M8P1Wl4=; b=ZmCJ0risF/OZfDtELqg8S3fDuD3YV9ZqTaAkfHTnPHKW47qd5Lrw1D7WljUBi5aKXH OC7jbvf0AfoIe/BKp9t3+0Wf7Cx6xRKystJR/jpH4zc7mqSnLG5GECRzRJPcsmPsSar2 Bq3oUgzvy9BRgQ78vU4FUKR6Lf1XhGUxv1yoJOjXNDyPUsD1dHGQFGdf6+aPn3B3Mq9p Gb8K1Eh6XtZWl8Z4tke/X7P1PYGVRkZBsyzi8KbC49aN4euoZV/Y3ZB9XvRHmhanz3Zy AOIZuSR3qPdb3FgTp4kDwSAQnxl05fbWRuRpeDVaSYiLw/SvCAcigI7YmpD0KTcCPNAS dy5Q== X-Gm-Message-State: APjAAAWBO929OV6GP3e/EtdTR30s/Q0xUPkJ0FpcDTe91lt0KXZcQjzi 3egRsZqxFuwV3FcXlSNkwBORB7p4Gn5FsnyH943eYA== X-Google-Smtp-Source: APXvYqz/nGcG9aqjUYlnk7ZPSxr6F9O2ENbL4YPn/WjEKDB44oZ64/Z2cXFbq8dn8LpKxfe2K8bebyqq6oLOSbSdqoQ= X-Received: by 2002:ab0:2650:: with SMTP id q16mr6675553uao.120.1551591459684; Sat, 02 Mar 2019 21:37:39 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 From: Magicloud Magiclouds Date: Sun, 3 Mar 2019 13:35:58 +0800 Message-ID: Subject: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, While working on automatically setup an alpinelinux, I found that, `setup-apkrepos -f` falls back to interactive mode if something is wrong when retrieving mirror list. I think this is unexpected. One, headless or unattended setup hangs because this step is waiting for user. Two, it does not exit with error, so the automation script cannot detect the error easily and patch things up. I did not submit this as a bug since I'd like to have your opinion. Thanks. --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 930C6F84D8A for ; Thu, 14 Mar 2019 13:46:48 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 14BBC9E1E00; Thu, 14 Mar 2019 13:46:48 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 17EB79E00FA; Thu, 14 Mar 2019 13:46:46 +0000 (UTC) Date: Thu, 14 Mar 2019 14:46:41 +0100 From: Natanael Copa To: Magicloud Magiclouds Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. Message-ID: <20190314144641.49614cc1@ncopa-desktop.copa.dup.pw> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 3 Mar 2019 13:35:58 +0800 Magicloud Magiclouds wrote: > Hi, > > While working on automatically setup an alpinelinux, I found that, > `setup-apkrepos -f` falls back to interactive mode if something is > wrong when retrieving mirror list. > > I think this is unexpected. One, headless or unattended setup hangs > because this step is waiting for user. Two, it does not exit with > error, so the automation script cannot detect the error easily and > patch things up. > > I did not submit this as a bug since I'd like to have your opinion. Thanks. > Yeah, I think this can be considered a bug. Please report it on https://bugs.alpinelinux.org -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-vk1-f193.google.com (mail-vk1-f193.google.com [209.85.221.193]) by lists.alpinelinux.org (Postfix) with ESMTP id BB9E7F85507 for ; Fri, 15 Mar 2019 03:32:06 +0000 (UTC) Received: by mail-vk1-f193.google.com with SMTP id i68so1895004vke.6 for ; Thu, 14 Mar 2019 20:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vYiGlREQ5/I4PnYskqn+1bPlOQsdP9xyiIoPC0MzfSw=; b=RJwJdJa4PnAJuhDcUN3w/hDMjnXKIwv5FAeZ3rZePHJjBiUQJiG+/b5l6xzY/YiBUu X/tgFcPIeHqBkeTZvczicukKnw0TYakg8eOtR1J/Z3UKk4Zw+uV+Iu7FEk6QN1HfPSjw E3QdZdTLSkt35Ze1x04y93WroDznR3zCvmyp09QpxpwcKCxxUJvutnt4RayQHCd4ASXD Da/HfHwma6yU2sBmUsN802hMpBlWFPM7LZF5dU9Bv1WnN1R1OpzCnC0jmy4bu31Z9rdu BWrjI4lidSO6fTTA6HrSlkIiTFPBky9Bmm/gVyVyZQWZbXQDD90eShC/R9FFPpdy9n1p TTJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vYiGlREQ5/I4PnYskqn+1bPlOQsdP9xyiIoPC0MzfSw=; b=ZMLF+MBjB2xu2Ar0mQQmebylRdI6R+TjmiLNZ4cFC4ZppAkxSM4ZdS/vr5aG9MfPPq rxZae7xi6wC3wW2FGUwi+itBsE6iqW8l7yQusj/p8x9Goho7i7ygPgiIG4SQn3aa1sXf 4DjJxQ/4Z4ZtlTuHgHbS8VKqOZpaUA3FNHle5mIMjlrNWtYHaBM/Q35AgdynPIhtC+6A fzfuI/zcTjujh6mbcxyk7mB/azyJ6xrzLHXjlbvwUhZzOe76Yu+RZ43NIsAg7XFdg5r0 sLrKoy29AqCnlB1Ggaeug53kVtd5lH7PUpOlgD6beR8vU7xbSrA3ZJe++HEXiS21QSAj 0B2w== X-Gm-Message-State: APjAAAWcug43jzXz07cyFBwGrERMtIggxeiwbpUXBJ4ai1l1EX88DCoH E5VvSeT/JKVvOwCDEYsrnAhnvN8tgMERY94sLO0= X-Google-Smtp-Source: APXvYqyygoHMnxGboaRnum7Hg8FrKhZrJqjzK3E7rrzPSeIK5STS97WRrjmjJoJ+KPHpqi2yh9eskt+e+pNDSAzbpBI= X-Received: by 2002:a1f:eb85:: with SMTP id j127mr1021397vkh.24.1552620726083; Thu, 14 Mar 2019 20:32:06 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20190314144641.49614cc1@ncopa-desktop.copa.dup.pw> In-Reply-To: <20190314144641.49614cc1@ncopa-desktop.copa.dup.pw> From: Magicloud Magiclouds Date: Fri, 15 Mar 2019 11:30:03 +0800 Message-ID: Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: Natanael Copa , tmhoang@linux.ibm.com, Drew DeVault Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, I was not aware that the thread was replied. I have some opinions on read-only image kick start. I will check Drew's script first. Then a feature request for discussing. PS: Tuan, I think ssh_key is quite hard to use, actually. It accepts a URL, or a pub key string. Since pub key string contains spaces (ssh-rsa ABCDEFG hostname), while some boot loader cannot pass this string correctly (with double quote, or escaping), it is not practically a useful way. On Thu, Mar 14, 2019 at 9:46 PM Natanael Copa wrote= : > > On Sun, 3 Mar 2019 13:35:58 +0800 > Magicloud Magiclouds wrote: > > > Hi, > > > > While working on automatically setup an alpinelinux, I found that, > > `setup-apkrepos -f` falls back to interactive mode if something is > > wrong when retrieving mirror list. > > > > I think this is unexpected. One, headless or unattended setup hangs > > because this step is waiting for user. Two, it does not exit with > > error, so the automation script cannot detect the error easily and > > patch things up. > > > > I did not submit this as a bug since I'd like to have your opinion. Tha= nks. > > > > Yeah, I think this can be considered a bug. Please report it on https://b= ugs.alpinelinux.org > > -nc --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id EE0C9F84E34 for ; Mon, 18 Mar 2019 12:53:38 +0000 (UTC) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2ICjMqI085914 for ; Mon, 18 Mar 2019 08:53:37 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2raa2j5a38-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 18 Mar 2019 08:53:37 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 18 Mar 2019 12:53:32 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 18 Mar 2019 12:53:30 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x2ICrWW533816764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 18 Mar 2019 12:53:32 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9368C4204D; Mon, 18 Mar 2019 12:53:32 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 76B234204C; Mon, 18 Mar 2019 12:53:32 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.224.35]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 18 Mar 2019 12:53:32 +0000 (GMT) Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: Magicloud Magiclouds Cc: alpine-devel@lists.alpinelinux.org References: <20190314144641.49614cc1@ncopa-desktop.copa.dup.pw> From: Tuan Hoang Date: Mon, 18 Mar 2019 13:53:32 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19031812-0020-0000-0000-00000324B41A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19031812-0021-0000-0000-00002176C71B Message-Id: <73c6c5af-e514-b56a-9075-230f46c94e68@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-18_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=6 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903180096 On 3/15/19 4:30 AM, Magicloud Magiclouds wrote: > PS: Tuan, I think ssh_key is quite hard to use, actually. It accepts a > URL, or a pub key string. Since pub key string contains spaces > (ssh-rsa ABCDEFG hostname), while some boot loader cannot pass this > string correctly (with double quote, or escaping), it is not > practically a useful way. > The support for pub key string is there but I don't know if you could paste a RSA key into the kernel parm (limited by 255 char ?). A ssh ed25519 key should work I guess. > On Thu, Mar 14, 2019 at 9:46 PM Natanael Copa wrote: >> >> On Sun, 3 Mar 2019 13:35:58 +0800 >> Magicloud Magiclouds wrote: >> >>> Hi, >>> >>> While working on automatically setup an alpinelinux, I found that, >>> `setup-apkrepos -f` falls back to interactive mode if something is >>> wrong when retrieving mirror list. >>> >>> I think this is unexpected. One, headless or unattended setup hangs >>> because this step is waiting for user. Two, it does not exit with >>> error, so the automation script cannot detect the error easily and >>> patch things up. >>> >>> I did not submit this as a bug since I'd like to have your opinion. Thanks. >>> >> >> Yeah, I think this can be considered a bug. Please report it on https://bugs.alpinelinux.org >> >> -nc > > > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) by lists.alpinelinux.org (Postfix) with ESMTP id 76405F84D4C for ; Sun, 3 Mar 2019 05:41:39 +0000 (UTC) Received: by mail-ua1-f47.google.com with SMTP id g1so1587700uae.10 for ; Sat, 02 Mar 2019 21:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=BmXhM7EFKySyd/2QMTDr55a6UgSBxXuFAmXJKxtWpIo=; b=pwFkvM73JY67ELMTJ2W8wc0cmEDbRSPVl5FcBlSLZK/ZXO6U7qIAvMhGyOQrTt8ssK 0Lcukz/WVcovA3MLdMfAmkpy/vEul0IG/ZX4ERgT5cfQOHWD+dGbx2PwsvZDlz1kjaWp 57/heCnYBH/WdEQ6xqGCeMEpz0jDYxLgLBBSQQV0bWoa2K5exF+Es55Jqo21DmFWldZw NUrwmg+mtytfg+rDVbyzHyWtPII+iEaOmbnW66xuQhRwZrqJfQ9jwF5x7/45kostC6Yg qP0rEog3HRVQzmm9pniK3lFEpg5EPi0vDsTCvmzpat7EmPSRPImu5fkDgE8Otn7LKUwK hzug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=BmXhM7EFKySyd/2QMTDr55a6UgSBxXuFAmXJKxtWpIo=; b=H8RXUTnvHFdk+fgkqpQOvyqu5cVTDJm/qfrSfyvBzq3+jS9gXWmbIBm/+HouJhgAYp xn9Civ3kT0+zd66AagutcrTXpHJm3YQicVowVZ/dZZ4MqqCUlrXGVgqbTANO+dMbq6oQ RdSz2hekUEWTzT8fTQniBl4DRAQuDDkjXwkTQ/uOEbMoaZlEM0diXhLkjDtRrht3ZIWT uRlQOpuwGVI0VDO1TYu37veMe5xq33nOBVONdFszDlsFZ/g88+iAsLDKwHHrjdL8HLVZ ipTw9yhSXRoyQ6TVNRlUUA+lXnJDAI2UIFFMQg6tXQrVmQrX+k0S/Go9yHTHTNu5qs+n Q9+w== X-Gm-Message-State: APjAAAW2xeBOlVFB13b+qwoOMQ8ZYaeFnKNtsDW7K1xKORmLAGkv90LE TZZ1lZ1I6ZYiRNgUe44BxrZf0sPGq2XZ/jxvQK0NAw== X-Google-Smtp-Source: APXvYqx+ntz5ExHidjMu8zBzQj2lYWJEwUUiJiaJQASFyDLUL6gnvxkzzIJpAeN7n6QNzxrAVgRsZkDl6LWRvG+haKA= X-Received: by 2002:a67:d690:: with SMTP id o16mr2464653vsj.160.1551591698889; Sat, 02 Mar 2019 21:41:38 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: In-Reply-To: From: Magicloud Magiclouds Date: Sun, 3 Mar 2019 13:39:58 +0800 Message-ID: Subject: [alpine-devel] Re: Should `setup-apkrepos -f` exit if fails. To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry the subject missed the word "exit". On Sun, Mar 3, 2019 at 1:35 PM Magicloud Magiclouds wrote: > > Hi, > > While working on automatically setup an alpinelinux, I found that, > `setup-apkrepos -f` falls back to interactive mode if something is > wrong when retrieving mirror list. > > I think this is unexpected. One, headless or unattended setup hangs > because this step is waiting for user. Two, it does not exit with > error, so the automation script cannot detect the error easily and > patch things up. > > I did not submit this as a bug since I'd like to have your opinion. Thank= s. > > -- > =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 > =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E > > And for G+, please use magiclouds#gmail.com. --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 57829F8162F for ; Fri, 8 Mar 2019 15:49:07 +0000 (UTC) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x28FY8vv110598 for ; Fri, 8 Mar 2019 10:49:07 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2r3s7feu3a-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Mar 2019 10:49:06 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Mar 2019 15:49:05 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 8 Mar 2019 15:49:03 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x28Fn2Kj44957776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 Mar 2019 15:49:02 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C00E7A4055 for ; Fri, 8 Mar 2019 15:49:02 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D1A4A4051 for ; Fri, 8 Mar 2019 15:49:02 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.96.210]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Fri, 8 Mar 2019 15:49:02 +0000 (GMT) Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org References: From: Tuan Hoang Date: Fri, 8 Mar 2019 16:49:02 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19030815-0020-0000-0000-0000032047C1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030815-0021-0000-0000-000021726279 Message-Id: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-08_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903080109 Hello, Personally speaking, I like automated installation feature landed on Alpine. But for now, the installer scripts do not support it to my knowledge. Seems like you have already made some progress with that endeavor, would you mind sending a patch or opening an issue or pr and we can discuss about it ? Tuan On 3/3/19 6:35 AM, Magicloud Magiclouds wrote: > Hi, > > While working on automatically setup an alpinelinux, I found that, > `setup-apkrepos -f` falls back to interactive mode if something is > wrong when retrieving mirror list. > > I think this is unexpected. One, headless or unattended setup hangs > because this step is waiting for user. Two, it does not exit with > error, so the automation script cannot detect the error easily and > patch things up. > > I did not submit this as a bug since I'd like to have your opinion. Thanks. > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by lists.alpinelinux.org (Postfix) with ESMTP id E38BBF84D3A for ; Fri, 8 Mar 2019 15:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1552060418; bh=7jgselTGtxxHkzgL0kyqFSD7h9jUE/wWstk7ApwsPlM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Wp5bzp3snMhN5iguk28JWJFwDG+iVSqtoCA+q/ybRx+xMz8ofNZTlm93jI7Khg7Id i5wNXIdTmruAueN8ujIq9COoUeSaKSw041mh1xQBYqChaZEfnKig0cHHrXeX8WkYRG 1YK1v6nGJS3NJMCWHdCh2NpyfvYtn3P9etUirl30= Date: Fri, 8 Mar 2019 10:52:07 -0500 From: Drew DeVault To: Tuan Hoang Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. Message-ID: <20190308155207.GA7260@homura.localdomain> References: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> X-GNU: Terry Pratchett A little bit late to this thread, but I found the installation scripts wholely unsuitable for unattended installation. You're probably better off ditching them. Here's the script I use: https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/alpine/genimg Feel free to adapt it to your needs. IMO given the simplicity of doing these steps manually, I think that the setup-* scripts should be considered useful only in an interactive install. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id D27CBF84DB7 for ; Fri, 8 Mar 2019 16:00:52 +0000 (UTC) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x28FxDmt116117 for ; Fri, 8 Mar 2019 11:00:52 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2r3sp761dw-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Mar 2019 11:00:51 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Mar 2019 16:00:50 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 8 Mar 2019 16:00:48 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x28G0lkY31850618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 Mar 2019 16:00:47 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CD95342042 for ; Fri, 8 Mar 2019 16:00:47 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A37604203F for ; Fri, 8 Mar 2019 16:00:47 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.96.210]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Fri, 8 Mar 2019 16:00:47 +0000 (GMT) Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org References: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> <20190308155207.GA7260@homura.localdomain> From: Tuan Hoang Date: Fri, 8 Mar 2019 17:00:47 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <20190308155207.GA7260@homura.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19030816-0020-0000-0000-0000032048BD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030816-0021-0000-0000-000021726382 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-08_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903080110 I would love to hear opinions from Alpine dev team on this matter. What's in my mind is something like established method like kickstart (and preseed too?). Something like, you have an init service that watches for kernel parm 'auto_inst'. If there is, it starts the automated installer for you (and somehow can reuse our setup-* scripts), with a provided configuration file. Could be like 'auto_inst=https://yoursite.com/auto_inst.conf'. I think this would be a nice fit for Alpine. On 3/8/19 4:52 PM, Drew DeVault wrote: > A little bit late to this thread, but I found the installation scripts > wholely unsuitable for unattended installation. You're probably better > off ditching them. Here's the script I use: > > https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/alpine/genimg > > Feel free to adapt it to your needs. IMO given the simplicity of doing > these steps manually, I think that the setup-* scripts should be > considered useful only in an interactive install. > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 11939F81600 for ; Fri, 8 Mar 2019 16:03:47 +0000 (UTC) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x28G0gaY037415 for ; Fri, 8 Mar 2019 11:03:46 -0500 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0b-001b2d01.pphosted.com with ESMTP id 2r3sq7wxm8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Mar 2019 11:03:46 -0500 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Mar 2019 16:03:45 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 8 Mar 2019 16:03:43 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x28G3giC61472842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 Mar 2019 16:03:42 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AAE5D11C04A for ; Fri, 8 Mar 2019 16:03:42 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8BFAD11C050 for ; Fri, 8 Mar 2019 16:03:42 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.96.210]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Fri, 8 Mar 2019 16:03:42 +0000 (GMT) Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org References: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> <20190308155207.GA7260@homura.localdomain> From: Tuan Hoang Date: Fri, 8 Mar 2019 17:03:42 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19030816-4275-0000-0000-00000318A852 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030816-4276-0000-0000-00003827070C Message-Id: <876d757e-76a4-4be1-b12e-3c9218cb8885@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-08_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903080110 On 3/8/19 5:00 PM, Tuan Hoang wrote: > I would love to hear opinions from Alpine dev team on this matter. > > What's in my mind is something like established method like kickstart > (and preseed too?). > > Something like, you have an init service that watches for kernel parm > 'auto_inst'. If there is, it starts the automated installer for you (and > somehow can reuse our setup-* scripts), with a provided configuration > file. Could be like 'auto_inst=https://yoursite.com/auto_inst.conf'. I > think this would be a nice fit for Alpine. > As simple as firstboot init service we are having and its corresponding kernel parm 'ssh_key'. https://git.alpinelinux.org/aports/tree/main/openrc/firstboot.initd > > On 3/8/19 4:52 PM, Drew DeVault wrote: >> A little bit late to this thread, but I found the installation scripts >> wholely unsuitable for unattended installation. You're probably better >> off ditching them. Here's the script I use: >> >> https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/images/alpine/genimg >> >> Feel free to adapt it to your needs. IMO given the simplicity of doing >> these steps manually, I think that the setup-* scripts should be >> considered useful only in an interactive install. >> >> >> --- >> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org >> Help: alpine-devel+help@lists.alpinelinux.org >> --- >> > > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 17:23:44 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 52FACF84D8B for ; Thu, 14 Mar 2019 14:43:34 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 230189E1D4F; Thu, 14 Mar 2019 14:43:34 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 4064C9E00FA; Thu, 14 Mar 2019 14:43:32 +0000 (UTC) Date: Thu, 14 Mar 2019 15:43:25 +0100 From: Natanael Copa To: Tuan Hoang Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] unattended installs (WAS: Should `setup-apkrepos -f` if fails.) Message-ID: <20190314154325.70bb543b@ncopa-desktop.copa.dup.pw> In-Reply-To: References: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> <20190308155207.GA7260@homura.localdomain> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 8 Mar 2019 17:00:47 +0100 Tuan Hoang wrote: > I would love to hear opinions from Alpine dev team on this matter. > > What's in my mind is something like established method like kickstart > (and preseed too?). > > Something like, you have an init service that watches for kernel parm > 'auto_inst'. If there is, it starts the automated installer for you (and > somehow can reuse our setup-* scripts), with a provided configuration > file. Could be like 'auto_inst=https://yoursite.com/auto_inst.conf'. I > think this would be a nice fit for Alpine. We currently have support for "answer" files. This was added as a hack, and I would like to replace it. I think it would be cool if you could provide alpine with an coud-init yaml file and it would install it based on that. I don't know if cloud-init format is the best or if there are any other alternatives to consider. I just think we should not invent our own format for this. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---