Bug 1212801 - drop lockdev
Summary: drop lockdev
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ludwig Nussel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-28 07:56 UTC by Ludwig Nussel
Modified: 2023-08-15 11:35 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!