Bug 1212801

Summary: drop lockdev
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ludwig Nussel <lnussel>
Component: BasesystemAssignee: Ludwig Nussel <lnussel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fstrba, guillaume.gardet, joop.boonen, meissner, simonf.lees, werner
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ludwig Nussel 2023-06-28 07:56:05 UTC
lockdev came from Debian but was dropped there so is dead:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734086

So let's get rid of it and the issues related to it's setgid helper and /var/lock. The suggested alternative is to just call flock(), like this:
https://github.com/Pulse-Eight/libcec/blob/bf5a97d7673033ef6228c63109f6baf2bdbe1a0c/src/libcec/platform/posix/serialport.cpp#L143

There's also a flock command line tool so shell scripts can also still install compatible locks if needed.

The affected packages in Factory are:

  ckermit
  libcec
  libgphoto2
  minicom
  rxtx-java
  uucp
Comment 1 OBSbugzilla Bot 2023-06-28 18:45:02 UTC
This is an autogenerated message for OBS integration:
This bug (1212801) was mentioned in
https://build.opensuse.org/request/show/1095861 Factory / rxtx-java
Comment 2 OBSbugzilla Bot 2023-07-10 12:15:03 UTC
This is an autogenerated message for OBS integration:
This bug (1212801) was mentioned in
https://build.opensuse.org/request/show/1097929 Factory / libgphoto2
Comment 3 OBSbugzilla Bot 2023-07-12 11:25:02 UTC
This is an autogenerated message for OBS integration:
This bug (1212801) was mentioned in
https://build.opensuse.org/request/show/1098345 Factory / uucp
Comment 4 Ludwig Nussel 2023-08-15 11:35:09 UTC
gone!