ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Oleg Solovyov <mcpain@altlinux.org>
To: Devel <devel@lists.altlinux.org>
Cc: aris@altlinux.org
Subject: [devel] discover и polkit
Date: Wed, 11 May 2022 11:19:52 +0300
Message-ID: <4422576.LvFx2qVVIh@host-135> (raw)

Имею сломанный Workstation K (как сломать: https://bugzilla.altlinux.org/
42231)

После перезагрузки discover предлагает починить систему, но по нажатию на 
кнопку "Восстановить" ничего не происходит, а в журнале следующее:

мар 22 18:40:31 host-240 PackageKit[3489]: uid 500 is trying to obtain 
org.freedesktop.packagekit.repair-system auth (only_trusted:1)
мар 22 18:40:31 host-240 PackageKit[3489]: uid 500 failed to obtain auth

Всю голову сломал в попытках понять, почему оно failed to obtain auth.
polkit на этой же машине заведомо работает - gparted запрашивает пароль и 
после ввода верного запускается.

В KDE Neon кнопка работает, но polkit rule выглядит идентичным.

> $ id
> uid=500(test) gid=500(test) группы=500(test),10(wheel),14(uucp),19(proc),
22(cdrom),71(floppy),80(cdwriter),81(audio),83(radio),100(users),
442(sambashare),449(camera),462(vboxusers),498(xgrp),499(scanner)

Один раз в другом пакете я сталкивался с тем, что у нас "не как у всех" (id 
пользователей начинаются с 500 вместо 1000), здесь может быть то же самое?
И если нет, то в чём может быть проблема?
Спасибо.

             reply	other threads:[~2022-05-11  8:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11  8:19 Oleg Solovyov [this message]
2022-05-11 14:53 ` Oleg Solovyov
2022-05-16 10:27   ` Oleg Solovyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4422576.LvFx2qVVIh@host-135 \
    --to=mcpain@altlinux.org \
    --cc=aris@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git