Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547906 - net-misc/netifrc-0.22 - won't work net-misc/macchanger-1.7.0
Summary: net-misc/netifrc-0.22 - won't work net-misc/macchanger-1.7.0
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
Whiteboard: netifrc:macchanger
: 547020 (view as bug list)
Depends on:
Reported: 2015-04-27 14:51 UTC by Toralf Förster
Modified: 2016-10-24 23:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Fix net-misc/netifrc-0.2.2 (/lib/netifrc/net/ for macchanger-1.7.0 (,2.20 KB, text/plain)
2015-10-29 11:52 UTC, noc

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2015-04-27 14:51:38 UTC
The long story is here :

upgrading to 0.2.3 at an otherwise stable hardened Gentoo amd64 helped.

Although I get an rfkill error line:
t44 ~ # /etc/init.d/net.wlp3s0 restart 
 * Caching service dependencies ...                                                               [ ok ]
 * Bringing down interface wlp3s0
 *   Running predown ...
 *   Stopping dhcpcd on wlp3s0 ...                                                                [ ok ]
 *   Stopping wpa_cli on wlp3s0 ...                                                               [ ok ]
 *   Stopping wpa_supplicant on wlp3s0 ...                                                        [ ok ]
 * Bringing up interface wlp3s0
 *   Changing MAC address of wlp3s0 ...
RTNETLINK answers: Operation not possible due to RF-kill                                          [ ok ]
 *     changed to 00:90:9D:35:F4:B1
 *   Starting wpa_supplicant on wlp3s0 ...
Successfully initialized wpa_supplicant                                                           [ ok ]
 *   Starting wpa_cli on wlp3s0 ...                                                               [ ok ]
 *   Backgrounding ... ...
 * WARNING: net.wlp3s0 has started, but is inactive

 it works now as documented with an entry like

in /etc/conf.d/net.

t44 ~ # emerge --info netifrc
Portage 2.2.18 (python 3.3.5-final-0, hardened/linux/amd64, gcc-4.8.4, glibc-2.20-r2, 3.19.5-hardened x86_64)
                         System Settings
System uname: Linux-3.19.5-hardened-x86_64-Intel-R-_Core-TM-_i5-4300U_CPU_@_1.90GHz-with-gentoo-2.2
KiB Mem:    12053240 total,   6873824 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 27 Apr 2015 13:45:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

    location: /usr/local/portage
    masters: gentoo

    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 0

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: 9999

CFLAGS="-O2 -pipe -march=native"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
EMERGE_DEFAULT_OPTS="--keep-going=y --nospinner --tree --quiet-build --deep --autounmask --autounmask-unrestricted-atoms --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cli corefonts cracklib crypt cups custom-cflags custom-optimization cxx dbus dnssec dri drmkms dvd ecc ffmpeg fontconfig fortran fpm gdbm git gnuplot gtk gudev gui hardened help iconv icu isag jpeg justify libvirtd logrotate mbox minizip mmx mmxext modules multilib mysql ncurses nls nptl ogg opengl openmp pam pax_kernel pcre pcre16 plasma png policykit pwquality qemu qt3support qt5 readline scrypt session spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 svg system-cairo system-icu system-jpeg system-libvpx system-sqlite tcpd theora thinkpad threads tk tls truetype uml unicode urandom usb usbredir uxa v4l v4l2 video vorbis vpx xa xattr xkb xmp xscreensaver xtpax xvfb xvmc zenmap zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

                        Package Settings

net-misc/netifrc-0.2.3::gentoo was built with the following:
USE="" ABI_X86="64"
Comment 1 Doron Fediuck 2015-04-27 15:46:25 UTC
This may be a duplicate of Bug 504458.
Comment 2 Toralf Förster gentoo-dev 2015-04-29 11:53:34 UTC
(In reply to Doron Fediuck from comment #1)
> This may be a duplicate of Bug 504458.

a guy within IRC says no, it is a new one
Comment 3 noc 2015-10-29 11:52:26 UTC
Created attachment 415694 [details]
Fix net-misc/netifrc-0.2.2 (/lib/netifrc/net/ for macchanger-1.7.0

net-misc/netifrc-0.2.2 (/lib/netifrc/net/

macchanger -V
GNU MAC changer 1.7.0

macchanger -a enp4s1

Current MAC:   e8:cc:32:4a:53:d2 (Micronet  LTD)
Permanent MAC: 00:11:22:33:44:55 (Apple)
New MAC:       50:ce:75:81:87:10 (Measy Electronics Ltd)

Output of new macchanger changed, so we must change /lib/netifrc/net/ accordingly.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-10-24 23:16:04 UTC
*** Bug 547020 has been marked as a duplicate of this bug. ***
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-10-24 23:16:51 UTC
[master edd5210] net/macchanger: support newer macchanger tool.
 1 file changed, 13 insertions(+), 13 deletions(-)