Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 133198
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: App-Backup Team <app-backup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Serge <net1957@free.fr>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133198 depends on: Show dependency tree
Bug 133198 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-13 06:23 0000
After corection (bug 133120) the install was ok but :

Fatal error: Call to undefined function posix_getpid() in
/var/www/bobs.sk.loc/htdocs/bobs/systemcheck.php on line 243

I did correct the inc\config.php file :
$sys_conf["siteroot"]           = '/var/www/bobs.sk.loc/htdocs/bobs';
and corrected the rights needed by apache (System check tell me that)

and create the vhost entry for the site.

The system check info page
(http://bobs.sk.loc/bobs/systemcheck.php?server=&share=)is Ok for all others
checks.


emerge --info give :


Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir1.ovh.net/gentoo-distfiles/
http://pandemonium.tiscali.de/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups dri
eds emboss encode esd expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk
gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg
ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png pppd python qt
quicktime readline reflection sdl session spell spl ssl tcpd truetype
truetype-fonts type1-fonts udev vhosts vorbis xml xml2 xmms xorg xv zlib
linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

The world file is :

sys-apps/slocate
sys-kernel/gentoo-sources
www-apps/twiki
net-analyzer/nagios
net-misc/dhcpcd
dev-lang/php
app-backup/bobs
app-portage/gentoolkit
sys-boot/grub
app-admin/syslog-ng
net-analyzer/cacti

------- Comment #1 From Lisa Seelye (RETIRED) 2006-05-15 05:44:55 0000 -------
This is because PHP is compiled with --disable-posix (for security, I reckon).
The POSIX functions in PHP can be made available by using USE='posix' when you
emerge dev-lang/php.  (You can set this per package in
/etc/portage/package.use)

There are security implications to useing the POSIX functions (see
http://php.net/manual/en/ref.posix.php for why.)

I can change the ebuild to ensure you've got PHP compiled with +posix.  The
change I've made now will simply issue a warning to the user

You might want to submit a patch upstream with an explanation of why using
POSIX functions is a security risk, citing the PHP documentation.

Fixed in CVS (Warning implemented)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug