pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39707: games/rollemup fails to install (paranoid checking gone beserk).



>Number:         39707
>Category:       pkg
>Synopsis:       games/rollemup fails to install (paranoid checking gone beserk)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 10:55:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (pkgsrc current today)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        games/rollemup has some data files with rather liberal
        permission settings.   Well, at least more liberal than
        the pkgsrc police seem willing to permit (perhaps only
        if PKG_DEVELOPER is set, I did not check without it).

        While rollemup is probably no longer available to most
        people (I believe the distfile vanished, and it was always
        a "no premission to redistribute" object) it remains useful
        to keep in pkgsrc (and keep working) for those of us who
        do have a copy of the distfile.

>How-To-Repeat:
        Attempt to install games/rollemup (if you have the distfile).

        I am doing that using pkg_comp and NetBSD 3.0 release sets
        installed, using libkver, but none of that will be relevant to
        this problem, except perhaps that pkg_comp causes PKG_DEVELOPER
        to be set.

        Expect to see ...

=> Registering installation for rollemup-1.0nb3
rollemup-1.0nb3 requires installed package suse_compat-10.0nb3
rollemup-1.0nb3 requires installed package suse_x11-10.0nb4
=> Checking file-check results for rollemup-1.0nb3
=> Checking for non-existent script interpreters in rollemup-1.0nb3
=> Checking file permissions in rollemup-1.0nb3
warning: /usr/pkg/share/games/Rollemup/Media: group-writable directory.
warning: /usr/pkg/share/games/Rollemup: group-writable directory.
warning: /usr/pkg/share/games/Rollemup/README: group-writable file.
error: /usr/pkg/share/games/Rollemup/README: world-writable file.
warning: /usr/pkg/share/games/Rollemup/Upload: group-writable directory.
1 errors and 4 warnings.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/games/rollemup
*** Error code 1

>Fix:
        Most probably just chmod the README file before/after
        installation - I don't imagine it really needs to be
        rw-rw-rw- as it is - but on the other hand I also don't
        really see what harm it could do (so people could stick random
        stuff in a file that no-one ever looks at - and I guess do some
        disk quota avoidance ... but that's about it.)

        The other files - the directories - (giving warnings) probably
        need to be left group writable.  At least, I'm assuming there
        is/was some logical reason for it (README was probably just a mistake).



Home | Main Index | Thread Index | Old Index