Commit Graph

176 Commits

Author SHA1 Message Date
Ludwig Nussel
b772e8ab10 make apparmor optional 2023-02-16 15:15:10 +01:00
Dominique Leuenberger
5f70fad843 Accepting request 1057026 from Base:System
Replace transitional %usrmerged macro with regular version check (boo#1206798) (forwarded request 1055724 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/1057026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=85
2023-01-10 13:59:14 +00:00
Dr. Werner Fink
fcebba836b Accepting request 1055724 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1055724
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=143
2023-01-09 10:21:59 +00:00
Dominique Leuenberger
b44b2a60e2 Accepting request 1042561 from Base:System
- Update to 23.6:
  * buildsys: Fix DEJAGNU work-around Debian #1015089
  * killall: Use kill if pidfd_send_signal fails Debian #1015228
  * fuser: Do not mention nonexistent - reset option #42
  * fuser: Use modern statn where possible
  * pstree: Better AppArmor support !30
  * killall: Check truncated names !28
  * killall: Use openat and pidfd_send_signal #37
  * killall: Don't check paths of sockets #35
  * pstree: Check for process with show_parents #38
  * pstree: Don't disable compaction with show pgids #34
  * pstree: Fix storage leak !29
- Enable new apparmor support
- Remove patch now upstream
  0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
- Port patch psmisc-22.21-pstree.patch
- Port patch psmisc-v23.4.dif which now becomes psmisc-v23.6.dif
- Merge patch socket-fix.patch with ported patch
  0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch

OBS-URL: https://build.opensuse.org/request/show/1042561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=84
2022-12-14 13:10:40 +00:00
Dr. Werner Fink
433a057a23 Update to psmisc-v23.6
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=142
2022-12-13 08:15:24 +00:00
Dr. Werner Fink
e3f42a6aa5 Update to psmisc-v23.6
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=141
2022-12-13 08:15:06 +00:00
Dominique Leuenberger
c7e8f885bf Accepting request 1038188 from Base:System
- Add patch socket-fix.patch
  * Add test to check for named sockets as file as well as on mounts
  * Fix code to find named sockets
- The former test requires nc at build aka netcat from openbsd to
  create a named socket on the fly

OBS-URL: https://build.opensuse.org/request/show/1038188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=83
2022-11-26 17:45:05 +00:00
Dr. Werner Fink
14915a367d Find named sockets even on mounts
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=140
2022-11-25 11:52:03 +00:00
Dominique Leuenberger
b79ffaec74 Accepting request 957096 from Base:System
- Change patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch 
  * Add a fallback if the system call name_to_handle_at() is
    not supported by the used file system.

- Change patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch 
  * Determine the namespace of a process only once to speed
    up the parsing of fdinfo (bsc#1194172).
- Adopt patch 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch

OBS-URL: https://build.opensuse.org/request/show/957096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=82
2022-02-24 17:18:29 +00:00
Dr. Werner Fink
9d6e21a714 fallback of name_to_handle_at
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=139
2022-02-23 13:51:28 +00:00
Dr. Werner Fink
3269f8ae05 Work on bsc#1194172
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=138
2022-02-01 12:42:17 +00:00
Dominique Leuenberger
26abc8baab Accepting request 947699 from Base:System
- Update to 23.4:
  * killall: Dynamically link to selinux and use security attributes
  * pstree: Do not crash on missing processes !21
  * pstree: fix layout when using -C !24
  * pstree: add time namespace !25
  * pstree: Dynamically link to selinux and use attr
  * fuser: Get less confused about duplicate dev_id !10
  * fuser: Only check pathname on non-block devices !31
- Rebase 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
- Rebase 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
- Port psmisc-22.21-pstree.patch
- Delete psmisc-v23.3-selinux.patch as not needed anymore
- Rename psmisc-v23.3.dif which is now psmisc-v23.4.dif with correct offsets

OBS-URL: https://build.opensuse.org/request/show/947699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=81
2022-01-22 07:17:59 +00:00
Dr. Werner Fink
c53acbc14b Remove old tar ball
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=137
2022-01-20 14:03:33 +00:00
Dr. Werner Fink
58465a0da5 Update to psmisc 23.4
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=136
2022-01-20 14:03:03 +00:00
Dominique Leuenberger
bbfb7528dc Accepting request 894798 from Base:System
- Do not change CAP within spec file (boo#1186258) 

- Change patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch 
  * Fix bsc#1185208 to make private mount namespaces work as well
    as to distinguish NFS mounts from same remote device share.

OBS-URL: https://build.opensuse.org/request/show/894798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=80
2021-05-23 21:30:40 +00:00
Dr. Werner Fink
4760922bcc .
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=135
2021-05-21 12:18:19 +00:00
Dr. Werner Fink
93014c9d88 CAP
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=134
2021-05-20 07:22:55 +00:00
Dominique Leuenberger
8810130169 https://bugzilla.opensuse.org/show_bug.cgi?id=1186258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=79
2021-05-19 15:30:13 +00:00
Dominique Leuenberger
1711188769 Accepting request 893186 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/893186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=78
2021-05-18 16:26:43 +00:00
Dr. Werner Fink
31db52b3ca bsc#1185208
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=131
2021-05-07 15:08:34 +00:00
Dominique Leuenberger
e9a1fb55d6 Accepting request 877289 from Base:System
- Change patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  * Fix bsc#1178407: fuser does not show open kvm storage image files
    such as qcow2 files. Patch from Ali Abdallah <ali.abdallah@suse.com>

OBS-URL: https://build.opensuse.org/request/show/877289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=77
2021-03-10 07:50:38 +00:00
Dr. Werner Fink
56ed79f0a5 Fix bsc#1178407
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=129
2021-03-05 14:12:24 +00:00
Dominique Leuenberger
4d191d2219 Accepting request 863141 from Base:System
- Now with 23.3 peekfd is build even for aarch64 

- Rework 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  and split off the patch psmisc-v23.3-selinux.patch 
- Rework 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
- New patch psmisc-v23.3-selinux.patch
- Rename patch psmisc-v23.2.dif which is now psmisc-v23.3.dif

- Update to 23.3:
  * killall: check also truncated 16 char comm names Debian
  * fuser: Return early if have nulls
  * peekfd: Add support for ARM64
  * pstree: Add color by age
  * fuser: Use larger inode sizes
- Rebase 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
- Rebase 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
- Rebase psmisc-22.21-pstree.patch

OBS-URL: https://build.opensuse.org/request/show/863141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=76
2021-01-18 10:27:42 +00:00
Dr. Werner Fink
ddaf11107c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=127
2021-01-14 15:49:40 +00:00
Dr. Werner Fink
c9f9c2947c rework former submit
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=126
2021-01-14 12:02:55 +00:00
Dr. Werner Fink
fe076b1282 Accepting request 859586 from home:polslinux:branches:Base:System
- Update to 23.3:
  * killall: check also truncated 16 char comm names Debian
  * fuser: Return early if have nulls
  * peekfd: Add support for ARM64
  * pstree: Add color by age
  * fuser: Use larger inode sizes
- Rebase 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
- Rebase 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
- Rebase psmisc-22.21-pstree.patch

OBS-URL: https://build.opensuse.org/request/show/859586
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=125
2021-01-11 08:22:06 +00:00
Dominique Leuenberger
28d2fe938b Accepting request 853760 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=75
2020-12-09 21:12:10 +00:00
Dr. Werner Fink
ba5aa3b00f Accepting request 849668 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849668
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=123
2020-11-20 13:11:36 +00:00
Dominique Leuenberger
3a181c447b Accepting request 798507 from Base:System
- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  * Allow not unique mounts as well as not unique mountpoint (bsc#1170247)

OBS-URL: https://build.opensuse.org/request/show/798507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=74
2020-04-29 18:43:31 +00:00
Dr. Werner Fink
1d38b76e6a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=121
2020-04-27 14:59:38 +00:00
Dr. Werner Fink
c9cdb3a11c Allow not unique mounts as well as not unique mountpoint
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=120
2020-04-27 14:58:59 +00:00
Dominique Leuenberger
67d4c6f4ad Accepting request 731946 from Base:System
- Do not recommend lang package. The lang package already has a
  supplements. (forwarded request 731940 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/731946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=73
2019-09-26 18:35:25 +00:00
Dr. Werner Fink
e7b4dde9cf Accepting request 731940 from home:lnussel:branches:Base:System
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731940
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=118
2019-09-19 12:13:57 +00:00
Dominique Leuenberger
b21fa3ab02 Accepting request 653088 from Base:System
- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  * Always initialize head of simple linked list (bsc#1098697)
  * stat(2) on binary does not see subvol dev

OBS-URL: https://build.opensuse.org/request/show/653088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=72
2018-12-10 11:21:53 +00:00
Dr. Werner Fink
e872579636 Always initialize head of simple linked list
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=116
2018-11-30 14:26:22 +00:00
Dominique Leuenberger
a1a47a5c91 Accepting request 649178 from Base:System
- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  to handle sub volumes of the btrFS (bsc#1112780)

OBS-URL: https://build.opensuse.org/request/show/649178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=71
2018-11-19 22:28:36 +00:00
Dr. Werner Fink
f13b879ded handle sub volumes of the btrFS
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=114
2018-11-15 06:48:52 +00:00
Dr. Werner Fink
dee14919e6 handle sub volumes of the btrFS
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=113
2018-11-14 11:26:45 +00:00
Dominique Leuenberger
2d4a0a330a Accepting request 646331 from Base:System
- Modify patch 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
  to support older systems with statx kernel support 

- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  to respect autofs as well as afs file system 
- Add patch 0002-Use-new-statx-2-system-call-to-avoid-hangs-on-NFS.patch
  to use statx(2) system call since kernel 4.12. Now it is possible
  to avoid sync with remote file servers as well as trigger autofs
  mounts due stat(x) calls.

- Support also btrFS entries in mountinfo, that is use stat(2) to
  determine the device of the mounted subvolume (bsc#1098697, bsc#1112780) 

- Update to version 23.2
  * misc: Command names increased from 16 to 64 characters
  * buildsys: signals.c depends on signames.h !16
  * docs: Fix fuser.1 groff errors Debian #900225
  * killall: look at all namespaces by default
  * killall: Fix -INT option parsing #11
  * killall: ignore -n 0 #15
  * killall: another crack at fixing getopt #12 #13
  * peekfd: Attach to all threads option !15
  * pslog: Define PATH_MAX if required Debian:#905797
- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
- Remove patches now upstream solved
  * psmisc-23.0-killall-signals.patch
  * psmisc-23.0-killall.patch
- Modify and rename patch psmisc-23.0.dif which now becomes psmisc-v23.2.dif

OBS-URL: https://build.opensuse.org/request/show/646331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=70
2018-11-06 13:01:50 +00:00
Dr. Werner Fink
e208f05622 let it build even without statx around
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=111
2018-11-05 08:39:03 +00:00
Dr. Werner Fink
6fc55b0b96 statx for older glibc versions
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=110
2018-11-05 07:52:51 +00:00
Dr. Werner Fink
d16db3722d New statx(2) used for fuser
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=109
2018-11-02 13:41:02 +00:00
Dr. Werner Fink
8471e53670 Support BtrFS
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=108
2018-10-23 10:13:58 +00:00
Dr. Werner Fink
07c0ab41a5 Update to psmisc-23.2 + mountinfo commit
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=107
2018-10-22 11:18:33 +00:00
Dominique Leuenberger
792e92dcf4 Accepting request 637680 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/637680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=69
2018-10-01 07:06:34 +00:00
Dr. Werner Fink
db5abdfcfa Copying
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=105
2018-09-17 12:59:09 +00:00
Dominique Leuenberger
8420f886b2 Accepting request 618536 from Base:System
- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  to make fuser option -m <block_device> work even with mountinfo
  (bsc#1098697)

OBS-URL: https://build.opensuse.org/request/show/618536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=68
2018-06-25 09:35:21 +00:00
Dr. Werner Fink
e294a33a3b futty
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=103
2018-06-22 16:48:11 +00:00
Dr. Werner Fink
4753dc8186 bsc#1098697
OBS-URL: https://build.opensuse.org/package/show/Base:System/psmisc?expand=0&rev=102
2018-06-22 16:43:06 +00:00
Dominique Leuenberger
3cfaef8ba7 Accepting request 610044 from Base:System
- Modify patch 0001-Use-mountinfo-to-be-able-to-use-the-mount-identity.patch
  to let fuser -m also work for private mounts as well (boo#1093665)

OBS-URL: https://build.opensuse.org/request/show/610044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/psmisc?expand=0&rev=67
2018-05-23 14:06:44 +00:00