Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307649 - sys-apps/syslog-notify could create FIFO in pkg_postinst() to support sys-apps/paludis (as per PMS)
Summary: sys-apps/syslog-notify could create FIFO in pkg_postinst() to support sys-app...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Markos Chandras (RETIRED)
URL: https://dev.gentoo.org/~ulm/pms/head/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 17:46 UTC by James Smith
Modified: 2012-09-04 19:11 UTC (History)
0 users

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 James Smith 2010-03-03 17:46:08 UTC
>>> Checking whether we can merge to / .............
!!! Cannot write '/var/tmp/paludis/sys-apps-syslog-notify-0.1/image/var/spool/syslog-notify' to '/var/spool' because it is not a recognised file type

Reproducible: Always

Steps to Reproduce:
1.paludis -i syslog-notify
2.
3.

Actual Results:  
Not proceeding with install due to merge sanity check failing


Expected Results:  
Clean install

/var/spool is owned by root (drwxr-xr-x)
Comment 1 Wormo (RETIRED) gentoo-dev 2010-03-15 06:52:09 UTC
You should post system info (for instance, version of paludis) and then we'll turn to paludis maintainer for advice, since it looks like paludis isn't happy about creating the named FIFO. 
Comment 2 James Smith 2010-03-16 02:21:43 UTC
(In reply to comment #1)
> You should post system info (for instance, version of paludis) and then we'll
> turn to paludis maintainer for advice, since it looks like paludis isn't happy
> about creating the named FIFO. 
> 

I eventually got it working by using emerge, thanks for the advice.

paludis 0.44.2.
Comment 3 Pacho Ramos gentoo-dev 2012-04-06 15:01:32 UTC
Is this still valid with paludis-0.72.2? If not, feel free to close this bug
Comment 4 James Smith 2012-04-06 22:50:22 UTC
Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sys-apps/syslog-notify-0.1:0::gentoo --destination installed --x-of-y 1 of 2:
  * When installing 'sys-apps/syslog-notify-0.1:0::gentoo':
  * When merging 'sys-apps/syslog-notify-0.1:0::gentoo' at '/var/tmp/paludis/sys-apps-syslog-notify-0.1/image' to VDB repository 'installed':
  * Not proceeding with install due to merge sanity check failing (paludis::ActionFailedError)

>>> Checking whether we can merge to / .............
!!! Cannot write '/var/tmp/paludis/sys-apps-syslog-notify-0.1/image/var/spool/syslog-notify' to '/var/spool' because it is not a recognised file type

undo-prelink> /usr/share/paludis/hooks/auto/undo-prelink.hook: line 27: --log-level: command not found

Failed install to / for sys-apps/syslog-notify-0.1:0::gentoo

Thanks, not working with Cave either.
Comment 5 Robert Piasek (RETIRED) gentoo-dev 2012-04-21 20:46:15 UTC
This is actually problem with ebuild itself. It's trying to install file type not permitted by PMs specification:

https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-15600012.6


12.6 Other Files

Ebuilds must not attempt to install any other type of file (FIFOs, device nodes etc).
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-05-19 06:11:38 UTC
I'm not sure why this got assigned to me, but moving to hwoarang who is listed in metadata.xml

@hwoarang: I suppose move the mkfifo from src_install() to pkg_postinst() and remember "${ROOT}"
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2012-09-04 19:11:59 UTC
Sorry it took so long to fix this. Haven't realized it was assigned to me. It should be ok now. No revbump. Please try to merge 0.2 and let me know if it works for you or not