OneRNG not being used by desktop running Fedora 28
SJA
6001440 at gmail.com
Fri Jul 13 06:41:30 BST 2018
I have followed the verify and use instructions at http://onerng.info/onerng/ but the onerng seems not be used on my Fedora 28 Desktop computer.
My desktop PC is running Fedora 28 (fully updated)
Evidence for saying that onerng device is not being used:
* onerng led does not dim when doing dd if=/dev/random of=/dev(null
* rngd -l reports:
Entropy sources that are available but disabled
4: NIST Network Entropy Beacon
Available and enabled entropy sources:
5: JITTER Entropy generator
To assist in diagnosis, I inserted a log call at the very beginning of onerng.sh that records the parameters. I also replaced duplicate exit 1 lines to use unique exit codes.
I attach a log extract that follows unplugging and plugging in the device.
Can anyone point me in the right direction please?
-------------- next part --------------
Jul 13 07:14:08 dirac kernel: usb 1-1.1: USB disconnect, device number 3
Jul 13 07:14:08 dirac upowerd[1666]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
Jul 13 07:14:08 dirac SJA[3099]: root >>kill<< >>ttyACM0<<
Jul 13 07:14:08 dirac upowerd[1666]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
Jul 13 07:14:08 dirac upowerd[1666]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Jul 13 07:14:10 dirac kernel: usb 1-1.1: new full-speed USB device number 10 using ehci-pci
Jul 13 07:14:10 dirac kernel: usb 1-1.1: New USB device found, idVendor=1d50, idProduct=6086, bcdDevice= 0.09
Jul 13 07:14:10 dirac kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=3
Jul 13 07:14:10 dirac kernel: usb 1-1.1: Product: 00
Jul 13 07:14:10 dirac kernel: usb 1-1.1: Manufacturer: Moonbase Otago http://www.moonbaseotago.com/random
Jul 13 07:14:10 dirac kernel: usb 1-1.1: SerialNumber: 00
Jul 13 07:14:10 dirac kernel: cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device
Jul 13 07:14:10 dirac mtp-probe[3119]: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Jul 13 07:14:10 dirac mtp-probe[3119]: bus: 1, device: 10 was not an MTP device
Jul 13 07:14:10 dirac SJA[3122]: root >>1-1.1<< >><<
Jul 13 07:14:10 dirac systemd-udevd[3118]: Process '/sbin/onerng.sh 1-1.1' failed with exit code 42.
Jul 13 07:14:10 dirac SJA[3128]: root >>ttyACM0<< >><<
Jul 13 07:14:10 dirac upowerd[1666]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
Jul 13 07:14:10 dirac upowerd[1666]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
Jul 13 07:14:10 dirac upowerd[1666]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1
Jul 13 07:14:10 dirac audit[3132]: USER_ACCT pid=3132 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_localuser acct="root" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd res=success'
Jul 13 07:14:10 dirac systemd[1]: Created slice User Slice of root.
Jul 13 07:14:10 dirac systemd[1]: Starting User Manager for UID 0...
Jul 13 07:14:10 dirac systemd-logind[843]: New session 4 of user root.
Jul 13 07:14:10 dirac systemd[1]: Started Session 4 of user root.
Jul 13 07:14:10 dirac audit[3134]: USER_ACCT pid=3134 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 13 07:14:10 dirac audit[3134]: USER_ROLE_CHANGE pid=3134 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='pam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023>
Jul 13 07:14:10 dirac systemd[3134]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Jul 13 07:14:10 dirac audit[3134]: USER_START pid=3134 uid=0 auid=0 ses=5 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/lib/systemd/systemd" hostname=? addr=>
Jul 13 07:14:10 dirac systemd[3134]: Reached target Paths.
Jul 13 07:14:10 dirac systemd[3134]: Starting D-Bus User Message Bus Socket.
Jul 13 07:14:10 dirac systemd[3134]: Reached target Timers.
Jul 13 07:14:10 dirac systemd[3134]: Listening on D-Bus User Message Bus Socket.
Jul 13 07:14:10 dirac systemd[3134]: Reached target Sockets.
Jul 13 07:14:10 dirac systemd[3134]: Reached target Basic System.
Jul 13 07:14:10 dirac systemd[3134]: Reached target Default.
Jul 13 07:14:10 dirac systemd[3134]: Startup finished in 68ms.
Jul 13 07:14:10 dirac systemd[1]: Started User Manager for UID 0.
Jul 13 07:14:10 dirac audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=user at 0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 13 07:14:10 dirac atd[3132]: pam_unix(atd:session): session opened for user root by (uid=0)
Jul 13 07:14:10 dirac audit[3132]: USER_START pid=3132 uid=0 auid=0 ses=4 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd res=suc>
Jul 13 07:14:10 dirac audit[3132]: CRED_ACQ pid=3132 uid=0 auid=0 ses=4 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_env,pam_localuser,pam_unix acct="root" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd res=success'
Jul 13 07:14:10 dirac SJA[3169]: root >>daemon<< >>ttyACM0<<
Jul 13 07:14:15 dirac OneRNG[3182]: firmware verification passed OK - version=3
Jul 13 07:14:16 dirac audit[3132]: CRED_DISP pid=3132 uid=0 auid=0 ses=4 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_env,pam_localuser,pam_unix acct="root" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd res=success'
Jul 13 07:14:16 dirac atd[3132]: pam_unix(atd:session): session closed for user root
Jul 13 07:14:16 dirac audit[3132]: USER_END pid=3132 uid=0 auid=0 ses=4 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/sbin/atd" hostname=? addr=? terminal=atd res=succ>
More information about the Discuss
mailing list