!11 [sync] PR-7: exclude pcpqa user who cannot login because of SELinux

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-12-14 02:04:02 +00:00 committed by Gitee
commit f1d38406b9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
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.
License: GPLv3+
URL: https://www.freedesktop.org/wiki/Software/AccountsService/
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: meson gobject-introspection-devel gettext-devel glib2-devel
Requires: polkit shadow-utils
@ -37,7 +39,7 @@ are contained in %{name}-devel package.
%package_help
%prep
%autosetup -n %{name}-%{version}
%autosetup -n %{name}-%{version} -p 1
%build
%meson -Dgtk_doc=true -Duser_heuristics=true
@ -87,6 +89,9 @@ are contained in %{name}-devel package.
%{_datadir}/gtk-doc/html/libaccountsservice/*
%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
- Version update