Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460462 - >=x11-misc/parcellite-1.0.2-rc6 cannot run in different user sessions
Summary: >=x11-misc/parcellite-1.0.2-rc6 cannot run in different user sessions
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL: http://sourceforge.net/p/parcellite/b...
Whiteboard:
Keywords: EBUILD, PATCH
Depends on: 481144
Blocks:
  Show dependency tree
 
Reported: 2013-03-05 23:06 UTC by Tomas Psika
Modified: 2014-04-23 15:29 UTC (History)
0 users

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


Attachments
modified ebuild (parcellite-1.1.4-r1.tar.gz,2.28 KB, application/octet-stream)
2013-03-05 23:08 UTC, Tomas Psika
Details
bugfix (parcellite-svn-r349-fix-multiple-instances.patch,3.94 KB, patch)
2013-03-05 23:09 UTC, Tomas Psika
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Psika 2013-03-05 23:06:58 UTC
Since x11-misc/parcellite-1.0.2-rc6 there is not possible to launch parcellite in different user sessions.

x11-misc/parcellite-1.0.2-rc6 segfaults, x11-misc/parcellite-1.1.4 regularly exits.

Version 1.1.4 especially vulnerable because of implementation based on looking through /proc filesystem disregarding users.

Steps to reproduce:

First session:

  # whoami
  my_user
  # parcellite                 # 1.1.4
  running parcellite not found
  PRI fifo 6
  CLI fifo 7 PRI fifo 6

  ...

Another session:

  # whoami
  my_another_user
  # parcellite                 # 1.0.2-rc6
  Unable to open fifo: No such device or address
  Unable to open fifo: No such device or address
  Error opening fifo. Exit
  Mmemory access exception (SIGSEGV)
# parcellite                 # 1.1.4
parcellite found
Unable to open fifo: No such device or address
Unable to open fifo: No such device or address
CLI fifo -1 PRI fifo -1
Error opening fifo. Exit

Bug reported here:
  https://sourceforge.net/p/parcellite/bugs/81

Patch against svn HEAD attached or accessible here:
  http://psika.cz/files/parcellite-svn-r349-fix-multiple-instances.patch

Modified parcellite-1.1.4 ebuild (parcellite-1.1.4-r1.ebuild) attached.

Haven't tried patching 1.0.2-r6, but is could work too.

It could be merged to official portage tree (or bug overlay) or just being prepared for anybody who need to run parcellite within multiple users and does not like waiting till official (and of course complete) bugfix release.

This is not official bugfix. Just temporary fix for quite annoying bug.

Reproducible: Always
Comment 1 Tomas Psika 2013-03-05 23:08:05 UTC
Created attachment 341052 [details]
modified ebuild
Comment 2 Tomas Psika 2013-03-05 23:09:42 UTC
Created attachment 341054 [details, diff]
bugfix
Comment 3 Julian Ospald 2013-03-08 16:15:37 UTC
I want to wait until upstream responds to that patch.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-19 12:54:58 UTC
From the 1.1.5 ChangeLog:

 +Tentative Fix for bug 81, Cannot run for  multiple users, on multiple X sessions.

Does it work? I really hope so because I have just removed the old stable 1.0.*. :-\
Comment 5 Tomas Psika 2013-08-17 19:53:08 UTC
Issue (parcellite bug #81) will be fixed upstream within version 1.1.7.

http://sourceforge.net/p/parcellite/bugs/81/?page=1
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-04-23 15:29:12 UTC
1.1.7 is the current stable, so I believe we can close this now as per Comment #4 and Comment #5