Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603270 - media-video/flumotion: mask for removal (init script should use checkpath instead of mkdir/chown/chmod)
Summary: media-video/flumotion: mask for removal (init script should use checkpath ins...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard: Masked for removal on 2017-02-18
Keywords: PMASKED
Depends on:
Blocks: gst-0.10-removal 605100
  Show dependency tree
 
Reported: 2016-12-20 23:24 UTC by Michael Orlitzky
Modified: 2017-02-18 04:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2016-12-20 23:24:24 UTC
The init script for flumotion uses a series of mkdir, chown, and chmod to create its runtime directory:

  start() {
      ebegin "Starting Flumotion"
      if [ ! -d /var/run/flumotion ] ; then
          mkdir /var/run/flumotion
          chown flumotion:flumotion /var/run/flumotion
          chmod 755 /var/run/flumotion
      fi

A call to "checkpath" from OpenRC (man openrc-run) would be more appropriate here. It's more portable, being part of OpenRC, and generally more secure because chown and chmod will act on symlinks (but checkpath won't).
Comment 1 Mart Raudsepp gentoo-dev 2016-12-20 23:55:42 UTC
This is instead a last rite candidate.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-02-18 04:12:35 UTC
Package removed.