SHA256
1
0
forked from pool/permissions
Commit Graph

271 Commits

Author SHA256 Message Date
cf2725dbc4 Accepting request 1152267 from home:fbonazzi:branches:Base:System
- Update to version 1699_20240223:
  * chkstat: replace ProcMountState enum by simple bool member
  * chkstat: minor style, spelling and documentation fixes
  * chkstat: drop types.h header
  * chkstat: make ProcMountState a private type of ChkStat
  * chkstat: EntryProcessor: rename some member variables for improved readability
  * chkstat: get rid of EntryContext and incorporate it into EntryProcessor
  * chkstat: split-off EntryProcessor from Chkstat main class
  * chkstat: define _GNU_SOURCE via Makefile
  * chkstat: processEntries(): make loop variables const
  * chkstat: split up checkHaveProc()
  * chkstat: ProfileParser: fix a bug when applying capabilities in custom root
  * chkstat: ProfileParser: make adding the root to paths transparent
  * chkstat: ProfileParser: refactor the now reduced codebase
  * chkstat: split off separate ProfileParser
  * chkstat: ProfileEntry: mark dropXID() const to support const ProfileEntry use
  * chkstat: parseProfile(): improve badProfileLine() calls
  * chkstat: drop deprecated capability check
  * chkstat: also move expandProfilePaths() into new VariableExpansions class
  * chkstat: split off variable expansion logic into separate class
  * chkstat: loadVariableExpansions(): a bit of refactoring
  * chkstat: parseSysconfig(): bit of refactoring
  * chkstat: remove deprecated CHECK_PERMISSIONS logic
  * chkstat: move assorted types into dedicated header
  * chkstat: replace #include guards by #pragma once
  * chkstat: split off command line arguments from Chkstat main class
  * chkstat: drop SaneValueArg wrapper
  * chkstat: document new packages.d directory
  * chkstat: drop TODO regarding ProfileEntry being changed on-the-fly
  * chkstat: harmonize FileCapabilities API
  * chkstat: support /usr/share/permissions/package.d for per-package drop-ins
  * chkstat: minor coding style fixes
  * chkstat: improve readability for rstrip() to strip trailing slashes
  * chkstat: remove trailing slashes from paths found on the command line
  * chkstat: add warning messages for rare error situations
  * chkstat: open profiles right away without racy `access()` check.
- Remove fix_version.sh, handle version with services

OBS-URL: https://build.opensuse.org/request/show/1152267
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=333
2024-02-27 12:47:01 +00:00
Wolfgang Frisch
b34329e230 Accepting request 1144678 from home:wfrisch:branches:Base:System
- Drop superfluous mkdir /usr/share/permissions/permissions.d
  This is now created by the Makefile. See also 
  commit 5900bc1ffe6275298ded3c96dee03a5c98e4db1c

OBS-URL: https://build.opensuse.org/request/show/1144678
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=331
2024-02-06 16:44:50 +00:00
Wolfgang Frisch
8ac48615f1 Accepting request 1144612 from home:wfrisch:branches:Base:System
- Created new subpackages -config, -doc and standalone package chkstat 
  where we can start a better versioning scheme and require it from the 
- Replace references to /var/adm/fillup-templates with new 
- kcheckpass/kdesud moved to %_libdir/kde4/libexec 
- Xorg moved from /usr/X11R6/bin to /usr/bin; fixes build of 
- don't build as root 
- added /opt/gnome/sbin/change-passwd 
- fpexec decrease go rights to 11 
- inn scripts: u-w (not needed) 
- require /sbin/SuSEconfig 
  adapted manpage 
- chkstat: don't try to chown if not root 
   for i in permissions permissions.easy permissions.secure 
   awk '/^(#|$)/ { print $0; next; } 
   { if(NF > 3) {printf("error: %s\n",$0);exit};  
- fix group for isdnctrl uucp --> dialout (#28997) 
- /var/mtrack -> /var/lib/mtrack 
- zapping_setup_fb moved to /opt/gnome/sbin 
- added hppa to rpm subsystem in permissions files to be able to 
  finish autobuild 
- two more nethack flavors with sgid games in easy 
- added prereq (#17956) 
- modifications: -s for pppd, world-writeable directories for 
- created package as split off from aaa_base

OBS-URL: https://build.opensuse.org/request/show/1144612
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=330
2024-02-06 13:24:14 +00:00
Wolfgang Frisch
d424ff5880 Accepting request 1144540 from home:pperego:branches:Base:System
- Update to version 20240206:
  * Whitelisting libgtop_server2 (bsc#1218921)
  * Removing bogus whitespaces
  * chkstat: harmonize and transform to a more compact coding and doc style
  * gitignore: also ignore hidden ctags
  * build: Create /usr/share/permissions/permissions.d for packagers
  * profiles: drop /usr/sbin/lockdev which is no longer packaged in Factory
  * profiles: drop /etc/ftpusers which is no longer shipped in netcfg

OBS-URL: https://build.opensuse.org/request/show/1144540
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=329
2024-02-06 13:05:31 +00:00
Wolfgang Frisch
c0b4598e87 Accepting request 1142770 from home:dimstar:Factory
- Create directory /usr/share/permissions/permissions.d for packages
  to place their drop-ins.

OBS-URL: https://build.opensuse.org/request/show/1142770
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=327
2024-01-30 12:51:55 +00:00
Wolfgang Frisch
c9d24eb083 Accepting request 1129913 from home:dgarcia:branches:Base:System
- Remove dependency on /usr/bin/python3, making scripts to depends on
  the real python3 binary, not the link. bsc#1212476

OBS-URL: https://build.opensuse.org/request/show/1129913
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=325
2023-11-30 10:49:23 +00:00
da6259c057 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=323 2023-06-02 10:37:53 +00:00
9723322b7f - Update to version 20230602:
* profiles: remove dropped pppoe-wrapper

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=322
2023-06-02 10:36:58 +00:00
8d90668e27 - Update to version 20230516:
* common permissions: add icingaweb2 setgid directory (bsc#1211314)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=320
2023-05-16 11:06:11 +00:00
10c1a30f69 Accepting request 1082527 from home:wfrisch:branches:Base:System
- Update to version 20230424:
  * profiles: remove dead opiepasswd entry
    (opie was removed via OBS sr#1065964).

OBS-URL: https://build.opensuse.org/request/show/1082527
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=318
2023-05-02 09:29:26 +00:00
a12c51b734 - Update to version 20230217:
* shadow: newgidmap,newuidmap: use capabilities (bsc#1208309)
  * profiles: whitelist kismet capabilities (bsc#1200954) (#171)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=316
2023-02-17 11:13:40 +00:00
d6aae1d6e5 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=314 2022-12-20 13:08:47 +00:00
1a72d7beea address and suppress some rpmlint warnings
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=313
2022-12-20 10:43:28 +00:00
8237e54dc6 - Update to version 20221220:
* profiles: remove outdated kdesud, apptainer entries

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=312
2022-12-20 10:05:07 +00:00
92c47597ad Accepting request 1005229 from home:dirkmueller:Factory
- skip tests on qemu user builds

OBS-URL: https://build.opensuse.org/request/show/1005229
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=310
2022-09-22 08:44:48 +00:00
9c5f7b2461 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=308 2022-09-13 08:45:51 +00:00
fb9861a55a - Update to version 20220912:
* chkstat: also consider group controlled paths (bsc#1203018,
    CVE-2022-31252)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=307
2022-09-13 08:40:04 +00:00
8e9d7d11f8 Accepting request 993671 from home:dimstar:Factory
- Fix dependency from permissions-zypp-plugin to permissions.

OBS-URL: https://build.opensuse.org/request/show/993671
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=305
2022-08-08 07:50:18 +00:00
129b813965 Accepting request 991795 from home:coolo:factory:ring0
- Avoid different Versions for subpackages to fix build-compare
  seeing the src rpm as equal. It replaces VERSION-RELEASE but
  that will fail if subpackages use a different Version

OBS-URL: https://build.opensuse.org/request/show/991795
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=304
2022-08-02 08:12:13 +00:00
6d3f59fe3d OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=303 2022-07-13 13:53:56 +00:00
1410009b24 - Update to version 20220713:
* postfix: add postlog setgid for maildrop binary (bsc#1201385)
  * libexec migration: KDE utilities now properly place their helpers
  * pccardctl: installation path has finally changed to /usr/sbin

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=302
2022-07-13 13:53:20 +00:00
75eab2a589 - Update to version 20220309:
* apptainer whitelisting (bsc#1196145)

- Update to version 20220202:
  * mount.nfs: switch from migration mode to fixed path in /usr/sbin
  * changed gendered pronouns
  * mgetty: faxq-helper now finally reside in /usr/libexec

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=300
2022-03-11 11:16:53 +00:00
58b6579089 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=299 2021-09-01 08:07:14 +00:00
e5129cd8f6 - Update to version 20210901:
* libksysguard5: Updated path for ksgrd_network_helper
  * kdesu: Updated path for kdesud
  * sbin_dirs cleanup: these binaries have already been moved to /usr/sbin
  * mariadb: revert auth_pam_tool to /usr/lib{,64} again
  * cleanup: revert virtualbox back to plain /usr/lib
  * cleanup: remove deprecated /etc/ssh/sshd_config
  * hawk_invoke is not part of newer hawk2 packages anymore
  * cleanup: texlive-filesystem: public now resides in libexec
  * cleanup: authbind: helper now resides in libexec
  * cleanup: polkit: the agent now also resides in libexec
  * libexec cleanup: 'inn' news binaries now reside in libexec

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=298
2021-09-01 07:35:31 +00:00
ff0b388651 - Update to version 20210518:
* whitelist please (bsc#1183669)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=296
2021-05-18 11:16:38 +00:00
f28bbb953b OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=295 2021-05-18 09:06:14 +00:00
e377ed99a1 - Update to version 20210518:
* Fix enlightenment paths for 32-bit architectures

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=294
2021-05-18 08:03:13 +00:00
818fcee281 - Update to version 20210125:
* usbauth: drop compatibility variable for libexec
  * usbauth: Updated path for usbauth-npriv
  * profiles: finish usage of variable for polkit-agent-helper-1

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=292
2021-01-25 12:15:26 +00:00
172fdb46a3 Accepting request 853107 from home:lnussel:branches:Base:System
move man page to where the documented files are

A separate package for a single man page really is overkill.

See also discussion at 
https://lists.opensuse.org/archives/list/packaging@lists.opensuse.org/message/5FSP57UVYLS7BNBDNF4EGHW5TEEZUS5D/

OBS-URL: https://build.opensuse.org/request/show/853107
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=290
2020-12-07 13:52:52 +00:00
Johannes Segitz
c6c0f68644 Accepting request 847754 from home:mgerstner:branches:Base:System
- Update to version 20201111:
  * squid: remove basic_pam_auth which doesn't need special perms (bsc#1171569)
  * mgetty: remove long dead (or never existing) locks directory (bsc#1171882)
  * adjust squid pinger path (bsc#1171569)
  * profiles: remove now superfluous squid pinger paths (bsc#1171569)
  * ksgrd_network_helper: remove obviously wrong path
  * etc/permissions: remove unnecessary, duplicate, outdated entries
  * chkstat: implement support for variables in profile paths in new
    variables.conf
  * man pages: add documentation about variables, update copyrights
  * profiles: use new variables feature to remove redundant entries
  * profiles: prepare /usr/sbin versions of profile entries (bsc#1029961)
  * Makefile: support CXXFLAGS and LDFLAGS override / extension via make/env variables (bsc#1178475)
  * Makefile: compile with LFO support to fix 32-bit emulation on 64-bit hosts (bsc#1178476)
  * README: added information about know limitations of this approach
- adjusted spec file:
  - package new variables.conf
  - apply %{optflags} correctly via CXXFLAGS variable
  - drop FSCAPS_DEFAULT_ENABLED which isn't recognized anymore by the
    refactored chkstat sources. This is now the default.

OBS-URL: https://build.opensuse.org/request/show/847754
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=289
2020-11-11 10:46:39 +00:00
5d5b938d79 - Update to version 20201008:
* cleanup now useless /usr/lib entries after move to /usr/libexec (bsc#1171164)
  * drop (f)ping capabilities in favor of ICMP_PROTO sockets (bsc#1174504)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=287
2020-10-08 09:20:05 +00:00
802df35b01 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=285 2020-09-30 09:56:48 +00:00
8f56b3bee2 - Update to version 20200930:
* whitelist Xorg setuid-root wrapper (bsc#1175867)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=284
2020-09-30 09:28:18 +00:00
6b2d70fbf8 - Update to version 20200909:
* screen: remove /run/uscreens covered by systemd-tmpfiles (bsc#1171879)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=282
2020-09-09 10:01:23 +00:00
9d0d5227c9 - Update to version 20200904:
* Add /usr/libexec for cockpit-session as new path
  * physlock: whitelist with tight restrictions (bsc#1175720)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=280
2020-09-04 10:58:24 +00:00
Malte Kraus
ddf46a06b6 - Update to version 20200826:
* mtr-packet: stop requiring dialout group
  * etc/permissions: fix mtr permission
  * list_permissions: improve output format
  * list_permissions: support globbing in --path argument
  * list_permissions: implement simplifications suggested in PR#92
  * list_permissions: new tool for better path configuration overview

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=278
2020-08-26 15:38:36 +00:00
1226549810 - Update to version 20200811:
* regtest: support new getcap output format in libcap-2.42
  * regtest: print individual test case errors to stderr

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=276
2020-08-11 12:07:22 +00:00
8d415c2c98 - Update to version 20200727:
* etc/permissions: remove static /var/spool/* dirs
  * etc/permissions: remove outdated entries
  * etc/permissions: remove unnecessary static dirs and devices
  * screen: remove now unused /var/run/uscreens

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=274
2020-07-27 12:19:56 +00:00
1490c88424 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=272 2020-07-10 09:53:12 +00:00
79548e974d - Update to version 20200710:
* Revert "etc/permissions: remove entries for bind-chrootenv". This
    currently conflicts with the way the CheckSUIDPermissions rpmlint-check is
    implemented.

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=271
2020-07-10 09:51:12 +00:00
128acfff3a Accepting request 819264 from home:gmbr3:Active
- Removed dbus-libexec.patch: contained in upstream

OBS-URL: https://build.opensuse.org/request/show/819264
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=270
2020-07-08 07:50:44 +00:00
71f7833b2a OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=269 2020-07-07 14:32:39 +00:00
af3b1d9d0a - Update to version 20200624:
* rework permissions.local text (boo#1173221)
  * dbus-1: adjust to new libexec dir location (bsc#1171164)
  * permission profiles: reinstate kdesud for kde5
  * etc/permissions: remove entries for bind-chrootenv
  * etc/permissions: remove traceroute entry
  * VirtualBox: remove outdated entry which is only a symlink any more
  * /bin/su: remove path refering to symlink
  * etc/permissions: remove legacy RPM directory entries
  * /etc/permissions: remove outdated sudo directories
  * singularity: remove outdated setuid-binary entries
  * chromium: remove now unneeded chrome_sandbox entry (bsc#1163588)
  * dbus-1: remove deprecated alternative paths
  * PolicyKit: remove outdated entries last used in SLE-11
  * pcp: remove no longer needed / conflicting entries
  * gnats: remove entries for package removed from Factory
  * kdelibs4: remove entries for package removed from Factory
  * v4l-base: remove entries for package removed from Factory
  * mailman: remove entries for package deleted from Factory
  * gnome-pty-helper: remove dead entry no longer part of the vte package
  * gnokii: remove entries for package no longer in Factory
  * xawtv (v4l-conf): correct group ownership in easy profile
  * systemd-journal: remove unnecessary profile entries
  * thttp: make makeweb entry usable in the secure profile (bsc#1171580)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=268
2020-07-07 14:19:17 +00:00
Malte Kraus
c23ecff997 Accepting request 815294 from home:mkraus:branches:Base:System
- dbus-1: adjust to new libexec dir location (bsc#1171164). This is
  temporarily done through the patch in dbus-libexec.patch because
  we are not completely certain the stability of current git.
- run chkstat test suite during RPM build

OBS-URL: https://build.opensuse.org/request/show/815294
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=266
2020-06-16 16:20:27 +00:00
2c673b8f18 - Update to version 20200526:
* profiles: add entries for enlightenment (bsc#1171686)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=263
2020-05-26 13:04:28 +00:00
3cb7f26448 Accepting request 807566 from home:mgerstner:branches:Base:System
- Update to version 20200520:
  * permissions fixed profile: utempter: reinstate libexec compatibility entry

OBS-URL: https://build.opensuse.org/request/show/807566
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=262
2020-05-20 10:22:24 +00:00
Malte Kraus
b3c2250df9 Accepting request 807173 from home:mgerstner:branches:Base:System
- Update to version 20200519:
  * chkstat: fix sign conversion warnings on 32-bit architectures
  * chkstat: allow simultaneous use of `--set` and `--system`
  * regtest: adjust TestUnkownOwnership test to new warning output behaviour

OBS-URL: https://build.opensuse.org/request/show/807173
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=261
2020-05-19 09:32:14 +00:00
Malte Kraus
5ae3717c19 - Update to version 20200518:
* whitelist texlive public binary (bsc#1171686)

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=260
2020-05-18 12:07:18 +00:00
Malte Kraus
4445ad42e7 Accepting request 805788 from home:mgerstner:branches:Base:System
- Update to version 20200514:
  * fixed permissions: adjust to new libexec dir location (bsc#1171164)
    (affects utempter path)
- Update to version 20200513:
  * major rewrite of the chkstat tool
  * setuid bit for cockpit (bsc#1169614)

OBS-URL: https://build.opensuse.org/request/show/805788
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=259
2020-05-18 11:33:57 +00:00
Malte Kraus
50981bbfa3 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=257 2020-05-07 10:01:14 +00:00