Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244595

Re: Bullseye - who and users return nothing

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From "Gareth Evans" <donotspam@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: Bullseye - who and users return nothing
Date Tue, 25 Jan 2022 16:00:03 +0100
Message-ID <DJvsD-3CF-9@gated-at.bofh.it> (permalink)
References <DJ4iK-3DD-5@gated-at.bofh.it> <DJ6Xh-5h8-31@gated-at.bofh.it> <DJiYq-48P-11@gated-at.bofh.it> <DJtK9-2BU-1@gated-at.bofh.it> <DJtTQ-2FU-7@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Tue Jan 25 14:54:28 2022
Old-Return-Path <donotspam@fastmail.fm>
X-Amavis-Spam-Status No, score=-6.137 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SARE_MLH_Stock10=1.66] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Me-Sender <xms:EA_wYeKsvgENIiuyX5KKVVXFYPm02SvesjQvlDjp7HMJrZPYWHP_xQ> <xme:EA_wYWLE0LHWQHeDoH8nVNJP7qYFCvxKIxy5oLi79NuDGtlu8wEMB2Pn9mKtXUfgz ezSFXwGMXNokQ>
X-Me-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgedvvddrvdelgdeilecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfifgrrhgv thhhucfgvhgrnhhsfdcuoeguohhnohhtshhprghmsehfrghsthhmrghilhdrfhhmqeenuc ggtffrrghtthgvrhhnpeffieffudfgtdehjeetfedutdfhvdetjeejiedvtdffveevteel jedtveefhefhleenucffohhmrghinhepghhithhhuhgsrdhiohdpuggvsghirghnrdhorh hgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugho nhhothhsphgrmhesfhgrshhtmhgrihhlrdhfmh
X-Me-Proxy <xmx:EA_wYesBDERHFzpFM-vxJJjb7fbWpk19vUDqEihGU_iiu12qQoJbrw> <xmx:EA_wYTZfXZaJDBuLTre6rcNVsxE5yIOth7e6xuVsZ0qmugNd2RsVDw> <xmx:EA_wYVbSV7-Qy27N6SFHWjc7jlXMHySoLuU2kIF16xx8gnri3SJH8w> <xmx:EA_wYekR740nA7kFBy9nk2vpEag4FSsJusfueINOIdQHAUzVfHhpzQ>
X-Mailer MessagingEngine.com Webmail Interface
User-Agent Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-user@lists.debian.org> archive/latest/785394
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/5b3414b2-da9e-41de-bbee-47ba9ee3235e@www.fastmail.com
Approved robomod@news.nic.it
Lines 64
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 25 Jan 2022 14:53:38 +0000
X-Original-Message-ID <5b3414b2-da9e-41de-bbee-47ba9ee3235e@www.fastmail.com>
X-Original-References <f65c6649-e7a0-46f2-9fad-d7c457aefb3e@www.fastmail.com> <Ye6fWoludzdLCBqw@wooledge.org> <9ac41b7d-5715-49aa-991a-16417d4ab708@www.fastmail.com> <278d7f6f-be2a-4490-bb24-78b359231e42@www.fastmail.com> <Ye/3EzNbVX8pvCrs@wooledge.org>
Xref csiph.com linux.debian.user:244595

Show key headers only | View raw


On Tue 25 Jan 2022, at 13:11, Greg Wooledge <greg@wooledge.org> wrote:
> On Tue, Jan 25, 2022 at 01:06:42PM +0000, Gareth Evans wrote:
>> Just realised I gave contradicting info earlier - I said both that I upgraded from Buster (which is literally true) and that
>> 
>> "But for root on ZFS per 
>> 
>> https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html (adjusted for Bullseye)  <<<<<<
>> 
>> ..."
>> 
>> which isn't, because Bullseye arrived via dist-upgrade, rather than a fresh installation.
>> 
>> My mistake may have prompted Andrei's suggestion which I then explained away partly in relation to having upgraded - sorry.
>
> I don't know anything about ZFS.  That said, it's *conceivable* that
> your / ownership has been broken this entire time, and you never noticed
> until now.  Either because you never ran "who", or because 

> systemd in
> buster didn't check the parent directory ownerships, but the one in
> bullseye does.

That's interesting.

FWIW, trying to get a timeframe...

My email re bullseye upgrade hiccups back in August

https://lists.debian.org/debian-user/2021/08/msg00979.html

indicates that I upgraded to Bullseye on 17th Aug 2021.  There were at most a few days of experimenting with restoring Buster snapshots and re-upgrading, but that was certainly done with by October, when QEMU logs show VM usage.   

I've never had to 

modprobe tun 

to start a VM before today, and Bash history shows who usage on 22/12/21.  Given this info and that the / ownership fix fixed both problems, I think that suggests a recent(ish) event as the cause.

>
> Food for thought.
>
> (It's not clear to me how setting up ZFS on / would involve your
> unprivileged username, though.  Sounds more like a "boot from rescue
> media and do everything in a root shell" sort of job.  

It is, but...

"5. Create a user account:

username=YOUR_USERNAME
zfs create rpool/home/$username
adduser $username
cp -a /etc/skel/. /home/$username
chown -R $username:$username /home/$username
..."

https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html

:)


> So I'm more
> inclined to think the damage was done by some sort of backup/recovery
> gone wrong, as previously speculated.)

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-24 11:00 +0100
  Re: Bullseye - who and users return nothing Greg Wooledge <greg@wooledge.org> - 2022-01-24 13:50 +0100
    Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 02:40 +0100
    Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 02:40 +0100
      Re: Bullseye - who and users return nothing Greg Wooledge <greg@wooledge.org> - 2022-01-25 04:00 +0100
        Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 04:10 +0100
          Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 04:10 +0100
            Re: Bullseye - who and users return nothing Greg Wooledge <greg@wooledge.org> - 2022-01-25 04:30 +0100
              Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 05:10 +0100
                Re: Bullseye - who and users return nothing Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-01-25 05:20 +0100
                Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 05:30 +0100
                Re: Bullseye - who and users return nothing David Wright <deblis@lionunicorn.co.uk> - 2022-01-25 06:00 +0100
                Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 06:40 +0100
                Re: Bullseye - who and users return nothing Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-25 11:50 +0100
                Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 13:20 +0100
      Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 14:10 +0100
        Re: Bullseye - who and users return nothing local10 <local10@tutanota.com> - 2022-01-25 14:20 +0100
        Re: Bullseye - who and users return nothing Greg Wooledge <greg@wooledge.org> - 2022-01-25 14:20 +0100
          Re: Bullseye - who and users return nothing "Gareth Evans" <donotspam@fastmail.fm> - 2022-01-25 16:00 +0100

csiph-web