From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KFn9X3yx; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id E2ACD5A004E for ; Mon, 24 Feb 2025 20:38:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1740425883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JNGC6WxTX/CnXhwhCjTN33AkY0eAiytHFOdcTDautHQ=; b=KFn9X3yxEskpcgkWXsdWn+OxfKrTOg9PdKvQ5BpUO8aYzg5dYS5EMGlAJ+yTl5X8FwoA0F KWGzSxTbwETiCEw3BUjMV+hlzbBOLDGwH3yUWBsR5ak5gZfcQArWIsY73/tvLvK3t4PDpq 1lWYdcPBCtMQB7LO63r8SLN8zvn7vKw= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-516-MDMq-W6UM8CLa0ZxlVv9GA-1; Mon, 24 Feb 2025 14:38:02 -0500 X-MC-Unique: MDMq-W6UM8CLa0ZxlVv9GA-1 X-Mimecast-MFC-AGG-ID: MDMq-W6UM8CLa0ZxlVv9GA_1740425881 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-38f44be93a8so2538858f8f.1 for ; Mon, 24 Feb 2025 11:38:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740425881; x=1741030681; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JNGC6WxTX/CnXhwhCjTN33AkY0eAiytHFOdcTDautHQ=; b=hSP6Qm/s/Ym7BKlrneghyEbfhQeURdbZhbIVRxTiRYk6wmURU0kJMCXK9LwBJlnRtb eOyRS4rBMPXcSKBE3Hedp+EMqsxfDMegH3BFf+SjdcoTS+UjDS4GWylhrOROVDreYBH2 YcXcPgqFt5vNjZtgv9ki+K6VhQotyis6z3QZinQFIvd8AP+50I5OrGnIXtJ47yjO+5j8 mV2AsttUE2zYei37LNBVOEmGXPzY44vEX5P59pyEJ/e8YwibTYLdweXV5GwUZ9K9Dcg/ hSgHejvQ7kFn3NGDUYNQR+HQ78BiZQK08FFYVbor0XgpcPNdDpxu/Qb0VPP3EMKsIt3U U5RQ== X-Gm-Message-State: AOJu0YwXYP+PN+Q1yVtpq7ZZtb+gzpsjlCaUDRO+j04E/lgAzAyaLxlL dpqSo3GIwcDdJjqafzQ0wXD09s1h39zmVq+7xpd88jXjFKCGcyhwSkX5d4o9wrCejjI8bEmHz9O 3HB3hgOCqOln3CIU4Xn9gi/w+N7aiAn1PKdpMKOTt+jlJ7h1RnQ== X-Gm-Gg: ASbGnctk85362Ue8pU4xbbyezefIcqpVD45qM+022b+QgjAxiPbQGS7MYLZAj+F8QyX LDXnkJKwDagZEAxNNDlQxzqhL/RBrhbibGNgMCsndUX6Yy3mViE3MF+ldEn1NJ6EDcj3l0Sj3c2 Tj+A+z4V1otdtjpunGxVMWm/BehsWnilOn6lyHsKhxkdLjMioelZgmsN8YioOF65QmFjT7QelzK osRZELJRIeYnU/j/ee8zOXMprkFvPwUnGLJ9j3Y4qwKE8VuVuin46wH2sqiFlxDq66yZ0ykCL/j sP8DWugiWQR8h4b2J+lfHSU6P00= X-Received: by 2002:a05:600c:1c18:b0:439:96b2:e8f with SMTP id 5b1f17b1804b1-439ae21d19fmr116755045e9.28.1740425881006; Mon, 24 Feb 2025 11:38:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIwE99OtVy4/YGpsrGAWa/dnaA52pRcbsUcIc3+6bOSQYOicbZJrhGZnJFMFWxWgoPSjoCdw== X-Received: by 2002:a05:600c:1c18:b0:439:96b2:e8f with SMTP id 5b1f17b1804b1-439ae21d19fmr116754965e9.28.1740425880693; Mon, 24 Feb 2025 11:38:00 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ab129a497sm1725445e9.0.2025.02.24.11.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2025 11:38:00 -0800 (PST) Date: Mon, 24 Feb 2025 20:37:58 +0100 From: Stefano Brivio To: Michal Privoznik Subject: Re: [PATCH] seccomp.sh: Silence stty errors Message-ID: <20250224203758.032a8672@elisabeth> In-Reply-To: References: Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: la394yllBbQ2JGRTez-WklD168uqwX8oLCD1LvsIuIQ_1740425881 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: UXUHUKZTWF447UFAOFF3HN7HOUGWKXXP X-Message-ID-Hash: UXUHUKZTWF447UFAOFF3HN7HOUGWKXXP X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, 21 Feb 2025 12:53:13 +0100 Michal Privoznik wrote: > When printing list of allowed syscalls the width of terminal is > obtained for nicer output (see commit below). The width is > obtained by running 'stty'. While this works when building from a > console, it doesn't work during rpmbuild/emerge/.. as stdout is > usually not a console but a logfile and stdin is usually > /dev/null or something. This results in stty reporting errors > like this: > > stty: 'standard input': Inappropriate ioctl for device > > Redirect stty's stderr to /dev/null to silence it. > > Fixes: 712ca3235329b049bf9a4e481ba38a4c64768e8b > Signed-off-by: Michal Privoznik Applied, thanks! > --- > > I've noticed the error when running emerge on my local system, but then > also found it on a recent koji build: > > https://kojipkgs.fedoraproject.org//packages/passt/0%5E20250217.ga1e48a0/2.fc41/data/logs/x86_64/build.log Funny, I'm not sure what's the magic involved, but for some reason it doesn't happen on Debian builds: https://buildd.debian.org/status/fetch.php?pkg=passt&arch=mips64el&ver=0.0%7Egit20250217.a1e48a0-1&stamp=1739783665&raw=0 -- Stefano