From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9BA7F158041 for ; Thu, 11 Apr 2024 07:57:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24EFFE2A1E; Thu, 11 Apr 2024 07:57:51 +0000 (UTC) Received: from dormouse.elm.relay.mailchannels.net (dormouse.elm.relay.mailchannels.net [23.83.212.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84780E29F7 for ; Thu, 11 Apr 2024 07:57:50 +0000 (UTC) X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C1887C1730 for ; Thu, 11 Apr 2024 07:57:47 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1712822267; a=rsa-sha256; cv=none; b=tkRC6Osw93gb4j9JVHYPTeSiIqddBjXC7u+AGX+JP6kTtYQHPxmoW4XBTYa80cglwl4X7B zweNz3P1e4FzxZlykzzirsMg4HPDggNPs3+pAa8I5hK3wtu/PhaAoZgBKGXHVQd0WKcuMA vabIufD+sJLaHNosiPJbyYzlibmn3UZzqGdFU6s/YmUqFNPuCQ9ZY0uneqn6PY0ELC/du2 EUnVxvTev9+EBSNBXJsty5beZhbqxS07l0fBTBrb0YCTv2HnIxtkc673Kf0npi88QzIzcc 5JBd7Pps16yxkTJ46Y2mB9z8Y8QrbAisMEBjQ/hQ07b7pgwJnmd3SIWiujoR1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1712822267; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=IL6BLpSjYms6QqcLZzhue5qP31wCf3pXVAxANgrprXI=; b=vQopYwcwnJ6rwilIpEKhmQVV0y481ifCLXAOtajFlphQfcmRPq/VefMJn72GVvlmMHD/rz FsXW9pGjpNu2lESH8SBs1/tKr40qJYlZnui2Oo4GxBlG+rw0sPzYpRMyagUi6Sizbnnecr tB02NCfGoaaCcarxkPOrST3e3AWg2ruJojIj2EbYQphCg/dI0DIpvzC/mExHKSknXDouyg gKcryhxl7S3RtfoKrzJ2BUJ54B+oK77vFGSaS6d1Q7B8tQj6nHYDBLZCatRNysdrt2kkQh cn0igC3QakggJx2vTwQkEhDtF/WSNwelCHhzC2Q9u0bKP6EesOv1F5ipbKn78w== ARC-Authentication-Results: i=1; rspamd-878bcf566-7fh86; auth=pass smtp.auth=thundermail smtp.mailfrom=confabulate@kintzios.com X-Sender-Id: thundermail|x-authsender|confabulate@kintzios.com X-MC-Relay: Neutral X-MailChannels-SenderId: thundermail|x-authsender|confabulate@kintzios.com X-MailChannels-Auth-Id: thundermail X-Little-Cold: 0a9c4bcf133c83f1_1712822267429_1561399877 X-MC-Loop-Signature: 1712822267429:1750216315 X-MC-Ingress-Time: 1712822267428 Received: from mailclean11.thundermail.uk (mailclean11.thundermail.uk [149.255.60.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.102.214.171 (trex/6.9.2); Thu, 11 Apr 2024 07:57:47 +0000 Received: from cloud238.thundercloud.uk (cloud238.thundercloud.uk [149.255.62.116]) by mailclean11.thundermail.uk (Postfix) with ESMTPS id 94DA44002F for ; Thu, 11 Apr 2024 08:57:41 +0100 (BST) Authentication-Results: cloud238.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=rogueboard.localnet Received-SPF: pass (cloud238.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] acct-user/man usermod: user 'man' does not exist in /etc/passwd Date: Thu, 11 Apr 2024 08:57:31 +0100 Message-ID: <4885224.GXAFRqVoOG@rogueboard> In-Reply-To: <8f2f20df-05f5-b512-c30b-f7b90614ca11@gmail.com> References: <8f2f20df-05f5-b512-c30b-f7b90614ca11@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1885545.tdWV9SEqCh"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <171282226120.2004717.5804239741788661447@cloud238.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Rspamd-Queue-Id: 94DA44002F X-Rspamd-Server: mailclean11 X-Spamd-Result: default: False [-1.61 / 999.00]; SIGNED_PGP(-2.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; ONCE_RECEIVED(0.10)[]; MX_GOOD(-0.01)[]; R_SPF_ALLOW(0.00)[+mx]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:34931, ipnet:149.255.60.0/22, country:GB]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; R_DKIM_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.958]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_ALLOW(0.00)[kintzios.com,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[gentoo-user@lists.gentoo.org]; HAS_REPLYTO(0.00)[confabulate@kintzios.com] X-Rspamd-Action: no action X-Archives-Salt: 0b4757c1-1f54-47fa-a638-e94fc3933585 X-Archives-Hash: 731c912403d64bc505cea24ad3d4059c --nextPart1885545.tdWV9SEqCh Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Date: Thu, 11 Apr 2024 08:57:31 +0100 Message-ID: <4885224.GXAFRqVoOG@rogueboard> In-Reply-To: <8f2f20df-05f5-b512-c30b-f7b90614ca11@gmail.com> References: <8f2f20df-05f5-b512-c30b-f7b90614ca11@gmail.com> MIME-Version: 1.0 On Thursday, 11 April 2024 02:23:22 BST Dale wrote: > Howdy, > > This failed once before but I didn't worry about it. However, since the > profile update, it still fails. I'd like to figure out how to fix it. > I tried doing a emerge -C and then emerging it again. No help. This is > the output. It's not to long, whole thing. :-D > >>> Completed installing acct-user/man-1-r3 into > > /var/tmp/portage/acct-user/man-1-r3/image OK, so far so good. :-) > * Final size of build directory: 0 KiB > * Final size of installed tree: 4 KiB > > ./ > ./usr/ > ./usr/lib/ > ./usr/lib/sysusers.d/ > ./usr/lib/sysusers.d/acct-user-man.conf > > >>> Done. > > * checking 1 files for package collisions > > >>> Merging acct-user/man-1-r3 to / > > error writing passwd entry: Invalid argument > * User man already exists > --- /usr/ > --- /usr/lib/ > --- /usr/lib/sysusers.d/ > > >>> /usr/lib/sysusers.d/acct-user-man.conf > > * Removing user man from group(s): root What?! Group 'root' should only have user 'root' as its member: # grep root:x /etc/group root:x:0:root > * To retain the user's group membership in the local system > * config, override with ACCT_USER_MAN_GROUPS or > * ACCT_USER_MAN_GROUPS_ADD in make.conf. > * Documentation reference: > * > https://wiki.gentoo.org/wiki/Practical_guide_to_the_GLEP_81_migration#Overri > de_user_groups * Updating user man > usermod: user 'man' does not exist in /etc/passwd This is not right, unless you removed 'man' manually? # grep man /etc/passwd man:x:13:15:System user; man:/dev/null:/sbin/nologin > usermod: failed to unlock /etc/gshadow > * usermod: user 'man' does not exist in /etc/passwd > * usermod: failed to unlock /etc/gshadow # stat /etc/passwd File: /etc/passwd Size: 1636 Blocks: 4 IO Block: 4096 regular file Device: 259,2 Inode: 18587 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) # stat /etc/shadow File: /etc/shadow Size: 815 Blocks: 2 IO Block: 4096 regular file Device: 259,2 Inode: 18602 Links: 1 Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root) # stat /etc/gshadow File: /etc/gshadow Size: 636 Blocks: 2 IO Block: 4096 regular file Device: 259,2 Inode: 18562 Links: 1 Access: (0400/-r--------) Uid: ( 0/ root) Gid: ( 0/ root) Check what yours look like, then try to correct them. It would be a good idea to fsck the partition too and check smartctl, in case you have fs corruption. --nextPart1885545.tdWV9SEqCh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmYXl+sACgkQseqq9sKV ZxlG/xAAtInX/dAOhGVm5v9iK7/OOG4nzJ6BakPEtrfEHQVRskmyysK1cJbiD5De sCiDtGWUMBzYNjVvCujFSDIXU0vlAbYi17xBSqVIzskQ8qJ8Jbh9hb7LATbLuKjT BVY7IiClK9DxNGe0u/dC/6B7EbmtrNlRI+G2FvLq6WGzi7Sc05eeH8LbL9LBpFek 2yZ/PIvJAfiWUpcGKxcirn9DVj4d7tHCrm1KMdkQVxOohqyTKIqLzx8NmNxYQvmN yl8dZL0SlOBwC4r5eKJjvRH89MaUajkDP8N80nRBN91KFBTl2zcmQTF5kzJ1Q9y9 zQx2rfn9Nozb6SlncZNJw4mEVxFLRJejHqZbiU0q1ZVKFjCHSrBgFyjZKBSsE5pM l5b7nLTIHqleIb9QgN2PpqS5vTAUdFMqOsvJhh0eHqXD/bu+l4074FAl7RckI7+Z nzDXI1KXQXKlqarIg5fMdSWCU7KKp7Rj2fUHBSuNY/MFuhUZ1zKff2/wBio5G1mV JRvzumG0nm85lUXR7Q7pizl+EqG6Q+mB7g78h7nSjcrDi90tU0VHqQyzjVQ6ywrS Ezk04b/UPx9MnXRCoXEnaNx+hldtPx4Crm7eqFCT7iFnEGwW3Odcie2b1o3l54Vf uzSUDpXQeDEONPcFgpJuyRusx42yVCgucX/Ayc6CfRaU9jDCt8w= =b3JU -----END PGP SIGNATURE----- --nextPart1885545.tdWV9SEqCh--