Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev not installed - needed?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Jul 15, 2017 11:26 am    Post subject: udev not installed - needed? Reply with quote

Having perused the sticky here and not wanting to do yet another misguided thing to my bruised but increasingly functional system I need some guidance on udev.

Apparently it is not installed and since I'm rewiring the whole wifi and network management can of worms -(decided on networkmanager so kde-plasma will be happy) and find that networkmanager:

https://wiki.gentoo.org/wiki/NetworkManager#Service wrote:
requires an implementation of udev and D-Bus. On laptops and desktops, it is typically built with polkit to enable local users to configure it. It also optionally integrates with systemd, upower, ConsoleKit and others.


Now I'm already on shaky ground and when I checked:


It seems I have D-Bus but not udev...

Code:
*  sys-apps/dbus
      Latest version available: 1.10.18
      Latest version installed: 1.10.18
      Size of files: 1,941 KiB
      Homepage:      https://dbus.freedesktop.org/
      Description:   A message bus system, a simple way for applications to talk to each other
      License:       || ( AFL-2.1 GPL-2 )

[ Applications found : 3 ]


Code:
*  sys-fs/udev
      Latest version available: 233
      Latest version installed: [ Not Installed ]
      Size of files: 4,552 KiB
      Homepage:      https://www.freedesktop.org/wiki/Software/systemd
      Description:   Linux dynamic and persistent device naming support (aka userspace devfs)
      License:       LGPL-2.1 MIT GPL-2


I'm alreaey in the midst of a massive remerge to pull dhcpcd and netifrc in preparation for networkmanager and it seems I need to add udev...

Can I please get some guidance on this step and maybe even get put straight if I'm going off wildly half cocked (again;)

Here is my current emerge --info

Code:
xps15 /home/will # emerge --info
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r4, 4.9.34-gentoo x86_64)
=================================================================
System uname: Linux-4.9.34-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.3
KiB Mem:    32655048 total,  27322440 free
KiB Swap:   29296636 total,  29296636 free
Timestamp of repository gentoo: Sat, 15 Jul 2017 01:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo rsync://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
]8P
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5433
Location: Austria

PostPosted: Sat Jul 15, 2017 12:04 pm    Post subject: Reply with quote

Emphasis on:
Quote:
an implementation of udev and D-Bus.


It is impossible for you to have kde-plasma regularly installed without the above.

https://wiki.gentoo.org/wiki/KDE#Device_manager
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2421

PostPosted: Sat Jul 15, 2017 1:26 pm    Post subject: Re: udev not installed - needed? Reply with quote

stardotstar wrote:


It seems I have D-Bus but not udev...

You have virtual/udev.
See https://gitweb.gentoo.org/repo/gentoo.git/tree/virtual/udev/udev-217.ebuild and this wiki article.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7387
Location: Goose Creek SC

PostPosted: Sat Jul 15, 2017 8:36 pm    Post subject: Reply with quote

run rc-update show or rc-status when the question is what is running or intended to run arises
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39027
Location: 56N 3W

PostPosted: Sat Jul 15, 2017 8:57 pm    Post subject: Reply with quote

stardotstar,

For udev, you need something that satisfies virtual/udev
Code:
RDEPEND="
        !systemd? ( || ( >=sys-fs/eudev-2.1.1 >=sys-fs/udev-217 ) )
        systemd? ( >=sys-apps/systemd-217:0 )"

If you don't have systemd then sys-fs/eudev is preferred over sys-fs/udev.

The Gentoo default is therefore eudev. Do you have that?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sun Jul 16, 2017 3:45 am    Post subject: Reply with quote

OK so I have the following running
Code:
xps15 /etc/portage/package.use # rc-update show
       NetworkManager |      default                           
               binfmt | boot                                   
             bootmisc | boot                                   
          consolefont | boot                                   
                 dbus |      default                           
                devfs |                                 sysinit
                dmesg |                                 sysinit
              dropbox |      default                           
                 fsck | boot                                   
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
              modules | boot                                   
         modules-load | boot                                   
             mount-ro |                        shutdown       
                 mtab | boot                                   
             netmount |      default                           
               procfs | boot                                   
                 root | boot                                   
            savecache |                        shutdown       
                 sshd |      default                           
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
             sysklogd |      default                           
         termencoding | boot                                   
                 udev |                                 sysinit
         udev-trigger |                                 sysinit
              urandom | boot                                   
       wpa_supplicant |      default   


It seems I have virtual/udev and sys-fs/eudev
_________________
]8P
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7387
Location: Goose Creek SC

PostPosted: Sun Jul 16, 2017 12:08 pm    Post subject: Reply with quote

That is actually the list of what is scheduled to start in what run level at boot/init time.
rc-status shows what is running or in some other state.
Notice that NetworkManager is not listed in any run level and will not start automatically. rc-update add NetworkManager default to add it. /etc/init.d NetworkManager start (or restart) to start it manually.
I see no interfering network protocols in your list, that is good.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Mon Jul 17, 2017 4:26 am    Post subject: Reply with quote

I think I assume that the rc-update listing with NetworkManager shown as default means it will start on boot?

It is running as shown by rc-status

Code:
xps15 /home/will # rc-status
Runlevel: default
 dbus                                                                 [  started  ]
 sysklogd                                                             [  started  ]
 wpa_supplicant                                                       [  started  ]
 NetworkManager                                                       [  started  ]
 netmount                                                             [  started  ]
 dropbox                                                              [  started  ]
 sshd                                                                 [  started  ]
 local                                                                [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
Dynamic Runlevel: manual


and I thought I had removed all the other potentially conflicting networking management tools but NetworkManager will not authenticate with any of the ssid it can "see". I can choose to connect and then I get the enter password again and again.

I'm looking to see how I can find logs that show more than the dmesg - which has not turned up anything useful when ddg'd

Code:
[  351.569250] wlp2s0: associated
[  351.569426] wlp2s0: deauthenticating from 58:6d:8f:7a:0d:38 by local choice (Reason: 3=DEAUTH_LEAVING)
[  356.362841] wlp2s0: authenticate with 10:0d:7f:e3:8d:6a
[  356.366399] wlp2s0: send auth to 10:0d:7f:e3:8d:6a (try 1/3)
[  356.376976] wlp2s0: authenticated
[  356.377338] wlp2s0: associate with 10:0d:7f:e3:8d:6a (try 1/3)
[  356.381286] wlp2s0: RX AssocResp from 10:0d:7f:e3:8d:6a (capab=0x411 status=0 aid=5)
[  356.384251] wlp2s0: associated
[  356.384413] wlp2s0: deauthenticating from 10:0d:7f:e3:8d:6a by local choice (Reason: 3=DEAUTH_LEAVING)
[  446.165145] wlp2s0: authenticate with 58:6d:8f:7a:0d:38
[  446.232460] wlp2s0: send auth to 58:6d:8f:7a:0d:38 (try 1/3)
[  446.234209] wlp2s0: authenticated
[  446.235377] wlp2s0: associate with 58:6d:8f:7a:0d:38 (try 1/3)
[  446.238823] wlp2s0: RX AssocResp from 58:6d:8f:7a:0d:38 (capab=0x411 status=0 aid=1)
[  446.241862] wlp2s0: associated
[  446.242002] wlp2s0: deauthenticating from 58:6d:8f:7a:0d:38 by local choice (Reason: 3=DEAUTH_LEAVING)
[  451.031339] wlp2s0: authenticate with 10:0d:7f:e3:8d:6a
[  451.098241] wlp2s0: send auth to 10:0d:7f:e3:8d:6a (try 1/3)
[  451.104863] wlp2s0: authenticated
[  451.105306] wlp2s0: associate with 10:0d:7f:e3:8d:6a (try 1/3)
[  451.110568] wlp2s0: RX AssocResp from 10:0d:7f:e3:8d:6a (capab=0x411 status=0 aid=5)
[  451.113779] wlp2s0: associated
[  451.113898] wlp2s0: deauthenticating from 10:0d:7f:e3:8d:6a by local choice (Reason: 3=DEAUTH_LEAVING)

_________________
]8P
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39027
Location: 56N 3W

PostPosted: Mon Jul 17, 2017 7:41 am    Post subject: Reply with quote

stardotstar,

This network cyling is typical of several WiFi set up tools fighting over the interface.
Disable all the WiFi set up tools you know about then we can look for the one(s) you don't.

Once they are all disabled, WiFi won't start and you can add exactly one to the default runlevel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum