exclude pcpqa user who cannot login because of SELinux

(cherry picked from commit 48049851a3c7e413bef117eed5837c25c07c3928)
This commit is contained in:
ouyanglearnning 2022-04-14 13:49:17 +08:00 committed by openeuler-sync-bot
parent 3ecf97bd91
commit 8c12ca1090
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,26 @@
From 2807b7704fe1abbd1eb68eb6c8f6c2f430bdf12b Mon Sep 17 00:00:00 2001
From: ouyangminxiang <ouyangminxiang@kylinos.com.cn >
Date: Wed, 30 Mar 2022 15:47:25 +0800
Subject: [PATCH] exclude pcpqa user who cannot login because of SELinux
---
src/user-classify.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/user-classify.c b/src/user-classify.c
index 9db1c9a..cbfe177 100644
--- a/src/user-classify.c
+++ b/src/user-classify.c
@@ -51,7 +51,8 @@ static const char *default_excludes[] = {
"man",
"at",
"gdm",
- "gnome-initial-setup"
+ "gnome-initial-setup",
+ "pcpqa"
};
static gboolean
--
2.33.0

View File

@ -1,12 +1,14 @@
Name: accountsservice Name: accountsservice
Version: 0.6.55 Version: 0.6.55
Release: 1 Release: 2
Summary: D-Bus service for accessing the list of user accounts and information attached to those accounts. Summary: D-Bus service for accessing the list of user accounts and information attached to those accounts.
License: GPLv3+ License: GPLv3+
URL: https://www.freedesktop.org/wiki/Software/AccountsService/ URL: https://www.freedesktop.org/wiki/Software/AccountsService/
Source0: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz Source0: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
Patch1: 0001-exclude-pcpqa-user-who-cannot-login-because-of-SELin.patch
BuildRequires: gtk-doc polkit-devel libxslt pkgconfig(dbus-1) systemd systemd-devel BuildRequires: gtk-doc polkit-devel libxslt pkgconfig(dbus-1) systemd systemd-devel
BuildRequires: meson gobject-introspection-devel gettext-devel glib2-devel BuildRequires: meson gobject-introspection-devel gettext-devel glib2-devel
Requires: polkit shadow-utils Requires: polkit shadow-utils
@ -37,7 +39,7 @@ are contained in %{name}-devel package.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} %autosetup -n %{name}-%{version} -p 1
%build %build
%meson -Dgtk_doc=true -Duser_heuristics=true %meson -Dgtk_doc=true -Duser_heuristics=true
@ -87,6 +89,9 @@ are contained in %{name}-devel package.
%{_datadir}/gtk-doc/html/libaccountsservice/* %{_datadir}/gtk-doc/html/libaccountsservice/*
%changelog %changelog
* Wed Mar 30 2022 ouyangminxiang <ouyangminxiang@kylinsec.com.cn> - 0.6.55-2
- exclude pcpqa user who cannot login because of SELinux
* Thu Jan 28 2021 yanglu <yanglu60@huawei.com> - 0.6.55-1 * Thu Jan 28 2021 yanglu <yanglu60@huawei.com> - 0.6.55-1
- Version update - Version update