Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375113 - net-proxy/polipo-1.0.4.1 uses deprecated --chuid option of start-stop-daemon
Summary: net-proxy/polipo-1.0.4.1 uses deprecated --chuid option of start-stop-daemon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: s-s-d-deprecated
  Show dependency tree
 
Reported: 2011-07-13 16:56 UTC by Kai Damm
Modified: 2011-12-31 21:12 UTC (History)
1 user (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 Kai Damm 2011-07-13 16:56:49 UTC
Since openrc-0.8.3, the following warning is given when polipo starts:

WARNING: -c/--chuid is deprecated and will be removed in the future, please use
-u/--user instead


# grep -R -- --chuid /etc/init.d

/etc/init.d/polipo-  43-        ebegin "Starting Polipo HTTP proxy"
/etc/init.d/polipo:  44:        start-stop-daemon --start --chuid polipo \
/etc/init.d/polipo-  45-                --background --pidfile /var/run/polipo.pid --make-pidfile \


Related to https://bugs.gentoo.org/show_bug.cgi?id=373183.

The init script should be updated.
Comment 1 Kai Damm 2011-07-13 16:59:05 UTC
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6-kallisto-20110528-01 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-kallisto-20110528-01-x86_64-06-17-with-gentoo-2.0.2
Timestamp of tree: Sun, 10 Jul 2011 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.8.5-r4, 1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps y -j4 --load-average=4"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ http://mirror.opteamax.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.opteamax.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5 -l 4"
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://io/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr berkdb bidi branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups custom-optimization cxx dbus declarative dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gdu gif gnutls gpm graphviz gtk iconv imagemagick ipv6 java jbig jpeg jpeg2k kde kipi lame lcms ldap libcaca libnotify lm_sensors lzma lzo mad matroska mikmod mmx mng modplug modules mp3 mp4 mpeg mpi mtp mudflap multilib musepack ncurses nls nptl nptlonly nsplugin offensive ogg ogm openal openexr opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 raw readline sdl semantic-desktop session speex spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vcd vorbis wmf x264 xcb xcomposite xine xml xmp xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="cmipci hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Andrew Savchenko gentoo-dev 2011-11-05 19:12:02 UTC
The same here, update is trivial, please, fix init script.
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2011-12-31 21:12:49 UTC
Fixed in CVS. Thanks!