pkgsrc-Bugs archive

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

pkg/43289: sysutils/cfengine2 attempts to write into pkgsrc (typo??)



>Number:         43289
>Category:       pkg
>Synopsis:       sysutils/cfengine2 attempts to write into pkgsrc (typo??)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 11 13:40:00 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386    (pkgsrc current 2010-05-11)
>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:
        sysutils/cfengine2 attempts to install (mkdir at least) into
        var/cfengine/inputs (instead of /var or $PREFIX/var or ...)

        That attempts to create a directory within pkgsrc/sysutils/cfengine2
        which fails for my read-only pkg_comp environment (packages cannot
        modify pkgsrc during their build - nor should they...)

>How-To-Repeat:
        I use pkg_comp with libkver (and NetBSD 4.0 though for this problem
        that might be irrelevant - and pkgsrc modular xorg, though that's
        almost certainly irrelevant).

        In that environment I see ...

 /usr/bin/install -c -o root -g wheel -m 555 'cfagent.conf-advanced.example' 
'/usr/pkg/share/examples/cfengine/cfagent.conf-advanced.example'
 /usr/bin/install -c -o root -g wheel -m 555 'update.conf.example' 
'/usr/pkg/share/examples/cfengine/update.conf.example'
 /usr/bin/install -c -o root -g wheel -m 555 'cfrc.example' 
'/usr/pkg/share/examples/cfengine/cfrc.example'
 /usr/bin/install -c -o root -g wheel -m 555 'cfrun.hosts.example' 
'/usr/pkg/share/examples/cfengine/cfrun.hosts.example'
test -z "/usr/pkg/share/cfengine" || ./install-sh -c -d 
"/usr/pkg/share/cfengine"
 /usr/bin/install -c -o root -g wheel -m 444 'README' 
'/usr/pkg/share/cfengine/README'
 /usr/bin/install -c -o root -g wheel -m 444 'ChangeLog' 
'/usr/pkg/share/cfengine/ChangeLog'
 /usr/bin/install -c -o root -g wheel -m 444 'INSTALL' 
'/usr/pkg/share/cfengine/INSTALL'
 /usr/bin/install -c -o root -g wheel -m 444 'NEWS' 
'/usr/pkg/share/cfengine/NEWS'
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/man/man8
/usr/bin/install -c -o root -g wheel -m 444 
/pkg_comp/obj/pkgsrc/sysutils/cfengine2/4x/cfengine-2.2.10/doc/*.8 
/usr/pkg/man/man8
/usr/bin/install -d -o root -g wheel -m 755 var/cfengine/inputs
install: var: mkdir: Read-only file system
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/cfengine2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/cfengine2
*** Error code 1

Stop.

>Fix:



Home | Main Index | Thread Index | Old Index