Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296359 - net-misc/dahdi-tools-2.2.0: access violation on /dev/dahdi/ctl
Summary: net-misc/dahdi-tools-2.2.0: access violation on /dev/dahdi/ctl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-10 04:10 UTC by Jaco Kroon
Modified: 2009-12-22 12:30 UTC (History)
2 users (show)

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 Jaco Kroon 2009-12-10 04:10:37 UTC
* dahdi-tools-2.2.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...     [ ok ]
 * checking ebuild checksums ;-) ...   [ ok ]
 * checking auxfile checksums ;-) ...     [ ok ]
 * checking miscfile checksums ;-) ...      [ ok ]

>>> Unpacking source...
>>> Unpacking dahdi-tools-2.2.0.tar.gz to /var/tmp/portage/net-misc/dahdi-tools-2.2.0/work
 * Applying dahdi-tools-2.2.0-ifreq.patch ...    [ ok ]
 * Applying dahdi-tools-2.2.0-modprobe-suffix.patch ...     [ ok ]
>>> Source unpacked in /var/tmp/portage/net-misc/dahdi-tools-2.2.0/work
>>> Compiling source in /var/tmp/portage/net-misc/dahdi-tools-2.2.0/work/dahdi-tools-2.2.0 ...
 * econf: updating dahdi-tools-2.2.0/menuselect/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dahdi-tools-2.2.0/menuselect/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu 

--- snip ./configure and compile output ---

/usr/bin/install -c -D -m 644 system.conf.sample /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image//etc/dahdi/system.conf
###################################################
###
### DAHDI tools installed successfully.
### If you have not done so before, install init scripts with:
###
###   make config
###
###################################################
make -j2 DESTDIR=/var/tmp/portage/net-misc/dahdi-tools-2.2.0/image/ config 
/usr/bin/install -c -D -m 644 init.conf.sample /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image//etc/dahdi/init.conf
/usr/bin/install -c -D -m 644 modules.sample /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image//etc/dahdi/modules
/usr/bin/install -c -D -m 644 xpp/genconf_parameters /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image//etc/dahdi/genconf_parameters
/usr/bin/install -c -D -m 644 modprobe.conf.sample /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image//etc/modprobe.d/dahdi.conf
/usr/bin/install -c -D -m 644 blacklist.sample /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image//etc/modprobe.d/dahdi.blacklist.conf
DAHDI has been configured.

List of detected DAHDI devices:

pci:0000:00:0b.0     wctdm24xxp+  d161:2400 Wildcard TDM2400P

run 'dahdi_genconf modules' to load support for only 
the DAHDI hardware installed in this system.  By 
default support for all DAHDI hardware is loaded at 
DAHDI start. 
>>> Completed installing dahdi-tools-2.2.0 into /var/tmp/portage/net-misc/dahdi-tools-2.2.0/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-6892.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 

F: open_wr
S: deny
P: /dev/dahdi/ctl
A: /dev/dahdi/ctl
R: /dev/dahdi/ctl
C: /usr/sbin/dahdi_cfg -c /dev/fd/0 
--------------------------------------------------------------------------------

>>> Failed to emerge net-misc/dahdi-tools-2.2.0, Log file:

>>>  '/var/tmp/portage/net-misc/dahdi-tools-2.2.0/temp/build.log'
gabriel ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.29.4 i686)
=================================================================
System uname: Linux-2.6.29.4-i686-AMD_Sempron-tm-_Processor_3000+-with-gentoo-1.12.13
Timestamp of tree: Wed, 09 Dec 2009 16:45:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.5.2-r7, 2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://tauri.local.uls.co.za/gentoo-portage/"
USE="apache2 bash-completion bzip2 cli cracklib crypt cups curl cxx dahdi dri gd gpm gzip iconv imagemagick ithreads logrotate math modules mudflap mysql ncurses no-old-linux nptl nptlonly openmp pam pcre pppd readline reflection rtc session span spl ssl sysfs threads vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias autoindex deflate dir env expires headers include info mime mime_magic negotiation rewrite status vhost_alias filter authz_host log_config" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Can get around this with FEATURES=-sandbox but that is obviously not ideal.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-12-10 16:00:11 UTC
Reassigning to maintainer.

Please do not use the "Seucrity" component for such bugs next time. Thanks.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2009-12-22 12:30:58 UTC
+*dahdi-tools-2.2.0-r1 (22 Dec 2009)
+
+  22 Dec 2009; <chainsaw@gentoo.org> -dahdi-tools-2.2.0.ebuild,
+  +dahdi-tools-2.2.0-r1.ebuild,
+  +files/dahdi-tools-2.2.0-no-hardware-fiddling.patch,
+  +files/dahdi-tools-2.2.0-vendorlib.patch:
+  Install in perl vendor directory, not site as per bug #295105. Explicitly
+  block zaptel as per bug #295107 (both by Diego E. "Flameeyes" Pettenò).
+  Work around Gentoo-specific broken linux headers, closes bug #290918 by
+  Chí-Thanh Christopher Nguyễn. Do not fiddle with the hardware in the
+  Makefile, closes bug #296359 by Jaco Kroon.