Manual Install of dump1090-fa on Fedora 28, x64_86 (Intel PC)

I faced two issue, one resolved, other still un-resoved

  1. Dump1090-fa failed to start by systemctl, both at boot and by manual command. I solved it by commenting out line User=dump1090 in file dump1090-fa.service. I dont understand why as I have created user dump1090 by command sudo adduser --system dump1090. Please see details below. Oliver @obj may shed some light.

  2. Lighttpd integration of dump1090-fa is giving headaches. I followed the same method as I have used for Debian 9.5 x86_64, which work ok on Debian, but no success on Fedora28 x86_64.

(1) ENABLED SSH AND INSTALLED NANO

sudo dnf install openssh-server
#Package openssh-server-7.7p1-2.fc28.x86_64 is already installed, skipping.
sudo systemctl enable sshd.service
sudo dnf install nano

(2) INSTALLED PACKAGES TO FULFILL DEPENDENCIES & TOOLS TO BUILD

sudo dnf install libusb-devel   
sudo dnf install ncurses-devel  
sudo dnf install rtl-sdr
sudo dnf install cmake

(3) BUILT LIBRTLSDR FROM SOURCE (FEDORA REPOSITORY DOES NOT HAVE IT)

sudo mkdir ~/build-librtlsdr   
cd ~/build-librtlsdr  
sudo git clone https://github.com/steve-m/librtlsdr.git   
cd librtlsdr  
sudo mkdir build && cd build  
sudo cmake ../  
sudo make  
sudo make install 

sudo cp /usr/local/lib/pkgconfig/librtlsdr.pc  /usr/share/pkgconfig/librtlsdr.pc  

(4) BUILD DUMP1090-FA EXECUTEABLE FROM SOURCE CODE

sudo mkdir ~/build-dump-fa  
cd ~/build-dump-fa  
sudo git clone https://github.com/flightaware/dump1090.git  
cd dump1090  
sudo make BLADERF=no  

(5) ADDED MISSING RTL-SDR.RULES

sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"   

sudo reboot

(6) TESTED

cd ~/build-dump-fa/dump1090
sudo ./dump1090

Mon Aug 27 13:53:50 2018 EDT  dump1090-fa  starting up.
rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832UFA, SN 00000001)
Found Rafael Micro R820T tuner
rtlsdr: tuner gain set to 49.6 dB

(7) CONFIGURATION

sudo adduser --system dump1090 

sudo cp -r ~/build-dump-fa/dump1090/dump1090  /usr/bin/dump1090-fa  
sudo cp ~/build-dump-fa/dump1090/debian/dump1090-fa.default /etc/default/dump1090-fa  
sudo cp ~/build-dump-fa/dump1090/debian/dump1090-fa.service  /lib/systemd/system/dump1090-fa.service  
sudo systemctl enable dump1090-fa.service  



sudo reboot

(8) TESTED, FAILURE

[abcd@fedora ~]$ sudo systemctl status dump1090-fa -l
â—Ź dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/usr/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2018-08-27 13:25:43 EDT; 2s ago
     Docs: https://flightaware.com/adsb/piaware/
  Process: 4228 ExecStart=/usr/bin/dump1090-fa $RECEIVER_OPTIONS $DECODER_OPTIONS $NET_OPTIONS $JSO>
 Main PID: 4228 (code=exited, status=1/FAILURE)

(9) WORKAROUND TO OVERCOME FAILURE

[abcd@fedora ~]$ sudo nano /usr/lib/systemd/system/dump1090-fa.service

Commented out line User=dump1090

[abcd@fedora ~]$ sudo systemctl daemon-reload
[abcd@fedora ~]$ sudo systemctl restart dump1090-fa

(10) TESTED AFTER WORKAROUND, SUCCESS

[abcd@fedora ~]$ sudo systemctl status dump1090-fa -l
â—Ź dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/usr/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2018-08-27 13:32:25 EDT; 4s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 5297 (dump1090-fa)
    Tasks: 3 (limit: 2359)
   Memory: 5.1M
   CGroup: /system.slice/dump1090-fa.service
           └─5297 /usr/bin/dump1090-fa --device-index 0 --gain -10 --ppm 0 --net-bo-port 30005 --ma>

Aug 27 13:32:25 fedora systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Aug 27 13:32:25 fedora dump1090-fa[5297]: Mon Aug 27 13:32:25 2018 EDT  dump1090-fa  starting up.
Aug 27 13:32:25 fedora dump1090-fa[5297]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL28>
Aug 27 13:32:26 fedora dump1090-fa[5297]: Found Rafael Micro R820T tuner
Aug 27 13:32:27 fedora dump1090-fa[5297]: rtlsdr: enabling tuner AGC

(11) INSTALLATION OF LIGHTTPD

[abcd@fedora dump1090]$ sudo dnf install lighttpd

Installing:
 lighttpd                      x86_64           1.4.50-1.fc28               updates           451 k
Installing dependencies:
 compat-lua-libs               x86_64           5.1.5-10.fc28               fedora            166 k
 gamin                         x86_64           0.1.10-30.fc28              fedora            127 k
 lighttpd-filesystem           noarch           1.4.50-1.fc28               updates            23 k
 mariadb-connector-c           x86_64           3.0.5-1.fc28

........
........
Installed:
  lighttpd.x86_64 1.4.50-1.fc28                    compat-lua-libs.x86_64 5.1.5-10.fc28
  gamin.x86_64 0.1.10-30.fc28                      lighttpd-filesystem.noarch 1.4.50-1.fc28
  mariadb-connector-c.x86_64 3.0.5-1.fc28

Complete!

(12) CONFIGURATION OF LIGHTTPD AND INTEGRATION OF SKYVIEW

Did not succeed yet. Facing many issues. Will post method when succeed to resolve issues.

.
.

1 Like

I would guess it is a permissions problem, you may need to add the dump1090 user to a special group (“plugdev”, possibly) to get access to the rtlsdr USB device.

Thanks Oliver for the tip.
Right now I am away from my computer, will try it tonight or tommorow.

ATTEMPT-1:

I did not find any group named “plugdev” in fedora when I listed all groups by following command

[abcd@fedora ~]$ cut -d: -f1 /etc/group | sort 

abcd
abrt
adm
apache
audio
avahi
bin
brlapi
cdrom
cgred
chrony
colord
daemon
dbus
dialout
dip
disk
dnsmasq
dump1090
floppy
ftp
games
gdm
geoclue
gluster
gnome-initial-setup
input
kmem
kvm
libvirt
lighttpd
lock
lp
mail
man
mem
nm-openconnect
nm-openvpn
nobody
openvpn
pipewire
polkitd
printadmin
pulse
pulse-access
pulse-rt
qemu
radvd
render
root
rpc
rpcuser
rtkit
rtlsdr
saslauth
slocate
sshd
ssh_keys
sys
systemd-coredump
systemd-journal
systemd-network
systemd-resolve
tape
tcpdump
tss
tty
usbmuxd
users
utempter
utmp
vboxsf
video
wheel

.
.
However I found group “audio”, and added it to “dump1090” by following command

[abcd@fedora ~]$ sudo usermod -a -G audio dump1090

[abcd@fedora ~]$ groups dump1090
dump1090 : dump1090 audio

.
Un-commented line User=dump1090, and rebooted.
Checked status of dump1090-fa, found FAILED
.

ATTEMPT-2

Listed devices, found dvb listed there, with owner root and group root.

[abcd@fedora ~]$ ls -la /dev/
total 4
drwxr-xr-x. 21 root    root        3780 Aug 28 12:12 .
dr-xr-xr-x. 18 root    root        4096 Apr 25 02:33 ..
crw-r--r--.  1 root    root     10, 235 Aug 28 11:59 autofs
drwxr-xr-x.  2 root    root         140 Aug 28 11:59 block
drwxr-xr-x.  2 root    root          60 Aug 28 11:59 bsg
crw-------.  1 root    root     10, 234 Aug 28 11:59 btrfs-control
drwxr-xr-x.  3 root    root          60 Aug 28  2018 bus
drwxr-xr-x.  2 root    root        3520 Aug 28 12:12 char
crw-------.  1 root    root      5,   1 Aug 28 12:00 console
lrwxrwxrwx.  1 root    root          11 Aug 28 11:59 core -> /proc/kcore
drwxr-xr-x.  3 root    root          60 Aug 28  2018 cpu
crw-------.  1 root    root     10,  62 Aug 28 11:59 cpu_dma_latency
crw-------.  1 root    root     10, 203 Aug 28 11:59 cuse
drwxr-xr-x.  6 root    root         120 Aug 28 11:59 disk
brw-rw----.  1 root    disk    253,   0 Aug 28 11:59 dm-0
brw-rw----.  1 root    disk    253,   1 Aug 28 11:59 dm-1
drwxr-xr-x.  3 root    root          80 Aug 28 11:59 dri
drwxr-xr-x.  3 root    root          60 Aug 28 12:12 dvb
crw-rw----.  1 root    video    29,   0 Aug 28 11:59 fb0
lrwxrwxrwx.  1 root    root          13 Aug 28 11:59 fd -> /proc/self/fd
drwxr-xr-x.  2 root    root          80 Aug 28 11:59 fedora_localhost-live
crw-rw-rw-.  1 root    root      1,   7 Aug 28 11:59 full
crw-rw-rw-.  1 root    root     10, 229 Aug 28 11:59 fuse
crw-------.  1 root    root    245,   0 Aug 28 11:59 hidraw0
crw-------.  1 root    root     10, 228 Aug 28 11:59 hpet
drwxr-xr-x.  3 root    root           0 Aug 28 12:00 hugepages
crw-------.  1 root    root     10, 183 Aug 28 11:59 hwrng
lrwxrwxrwx.  1 root    root          25 Aug 28 11:59 initctl -> /run/systemd/initctl/fifo
drwxr-xr-x.  4 root    root         360 Aug 28 12:12 input
crw-r--r--.  1 root    root      1,  11 Aug 28 11:59 kmsg
crw-rw----+  1 root    rtlsdr  243,   0 Aug 28 12:12 lirc0
lrwxrwxrwx.  1 root    root          28 Aug 28 11:59 log -> /run/systemd/journal/dev-log
crw-rw----.  1 root    disk     10, 237 Aug 28 11:59 loop-control
crw-rw----.  1 root    lp        6,   0 Aug 28 11:59 lp0
crw-rw----.  1 root    lp        6,   1 Aug 28 11:59 lp1
crw-rw----.  1 root    lp        6,   2 Aug 28 11:59 lp2
crw-rw----.  1 root    lp        6,   3 Aug 28 11:59 lp3
drwxr-xr-x.  2 root    root         100 Aug 28 11:59 mapper
crw-------.  1 root    root     10, 227 Aug 28 11:59 mcelog
crw-r-----.  1 root    kmem      1,   1 Aug 28 11:59 mem
crw-------.  1 root    root     10,  59 Aug 28 11:59 memory_bandwidth
drwxrwxrwt.  2 root    root          40 Aug 28  2018 mqueue
drwxr-xr-x.  2 root    root          60 Aug 28 11:59 net
crw-------.  1 root    root     10,  61 Aug 28 11:59 network_latency
crw-------.  1 root    root     10,  60 Aug 28 11:59 network_throughput
crw-rw-rw-.  1 root    root      1,   3 Aug 28 11:59 null
crw-------.  1 root    root     10, 144 Aug 28 11:59 nvram
crw-r-----.  1 root    kmem      1,   4 Aug 28 11:59 port
crw-------.  1 root    root    108,   0 Aug 28 11:59 ppp
crw-rw-rw-.  1 root    tty       5,   2 Aug 28 12:12 ptmx
drwxr-xr-x.  2 root    root           0 Aug 28 11:59 pts
crw-rw-rw-.  1 root    root      1,   8 Aug 28 11:59 random
drwxr-xr-x.  2 root    root          60 Aug 28  2018 raw
lrwxrwxrwx.  1 root    root           4 Aug 28 11:59 rtc -> rtc0
crw-------.  1 root    root    250,   0 Aug 28 11:59 rtc0
brw-rw----.  1 root    disk      8,   0 Aug 28 11:59 sda
brw-rw----.  1 root    disk      8,   1 Aug 28 11:59 sda1
brw-rw----.  1 root    disk      8,   2 Aug 28 11:59 sda2
crw-rw----.  1 root    disk     21,   0 Aug 28 11:59 sg0
drwxrwxrwt.  2 root    root          40 Aug 28 11:59 shm
crw-------.  1 root    root     10, 231 Aug 28 11:59 snapshot
drwxr-xr-x.  3 root    root         180 Aug 28 11:59 snd
lrwxrwxrwx.  1 root    root          15 Aug 28 11:59 stderr -> /proc/self/fd/2
lrwxrwxrwx.  1 root    root          15 Aug 28 11:59 stdin -> /proc/self/fd/0
lrwxrwxrwx.  1 root    root          15 Aug 28 11:59 stdout -> /proc/self/fd/1
crw-rw-rw-.  1 root    tty       5,   0 Aug 28 12:06 tty
crw--w----.  1 root    tty       4,   0 Aug 28 11:59 tty0
crw--w----.  1 gdm     tty       4,   1 Aug 28 11:59 tty1
crw--w----.  1 root    tty       4,  10 Aug 28 11:59 tty10
crw--w----.  1 root    tty       4,  11 Aug 28 11:59 tty11
crw--w----.  1 root    tty       4,  12 Aug 28 11:59 tty12
crw--w----.  1 root    tty       4,  13 Aug 28 11:59 tty13
crw--w----.  1 root    tty       4,  14 Aug 28 11:59 tty14
crw--w----.  1 root    tty       4,  15 Aug 28 11:59 tty15
crw--w----.  1 root    tty       4,  16 Aug 28 11:59 tty16
crw--w----.  1 root    tty       4,  17 Aug 28 11:59 tty17
crw--w----.  1 root    tty       4,  18 Aug 28 11:59 tty18
crw--w----.  1 root    tty       4,  19 Aug 28 11:59 tty19
crw--w----.  1 root    tty       4,   2 Aug 28 11:59 tty2
crw--w----.  1 root    tty       4,  20 Aug 28 11:59 tty20
crw--w----.  1 root    tty       4,  21 Aug 28 11:59 tty21
crw--w----.  1 root    tty       4,  22 Aug 28 11:59 tty22
crw--w----.  1 root    tty       4,  23 Aug 28 11:59 tty23
crw--w----.  1 root    tty       4,  24 Aug 28 11:59 tty24
crw--w----.  1 root    tty       4,  25 Aug 28 11:59 tty25
crw--w----.  1 root    tty       4,  26 Aug 28 11:59 tty26
crw--w----.  1 root    tty       4,  27 Aug 28 11:59 tty27
crw--w----.  1 root    tty       4,  28 Aug 28 11:59 tty28
crw--w----.  1 root    tty       4,  29 Aug 28 11:59 tty29
crw--w----.  1 root    tty       4,   3 Aug 28 11:59 tty3
crw--w----.  1 root    tty       4,  30 Aug 28 11:59 tty30
crw--w----.  1 root    tty       4,  31 Aug 28 11:59 tty31
crw--w----.  1 root    tty       4,  32 Aug 28 11:59 tty32
crw--w----.  1 root    tty       4,  33 Aug 28 11:59 tty33
crw--w----.  1 root    tty       4,  34 Aug 28 11:59 tty34
crw--w----.  1 root    tty       4,  35 Aug 28 11:59 tty35
crw--w----.  1 root    tty       4,  36 Aug 28 11:59 tty36
crw--w----.  1 root    tty       4,  37 Aug 28 11:59 tty37
crw--w----.  1 root    tty       4,  38 Aug 28 11:59 tty38
crw--w----.  1 root    tty       4,  39 Aug 28 11:59 tty39
crw--w----.  1 root    tty       4,   4 Aug 28 11:59 tty4
crw--w----.  1 root    tty       4,  40 Aug 28 11:59 tty40
crw--w----.  1 root    tty       4,  41 Aug 28 11:59 tty41
crw--w----.  1 root    tty       4,  42 Aug 28 11:59 tty42
crw--w----.  1 root    tty       4,  43 Aug 28 11:59 tty43
crw--w----.  1 root    tty       4,  44 Aug 28 11:59 tty44
crw--w----.  1 root    tty       4,  45 Aug 28 11:59 tty45
crw--w----.  1 root    tty       4,  46 Aug 28 11:59 tty46
crw--w----.  1 root    tty       4,  47 Aug 28 11:59 tty47
crw--w----.  1 root    tty       4,  48 Aug 28 11:59 tty48
crw--w----.  1 root    tty       4,  49 Aug 28 11:59 tty49
crw--w----.  1 root    tty       4,   5 Aug 28 11:59 tty5
crw--w----.  1 root    tty       4,  50 Aug 28 11:59 tty50
crw--w----.  1 root    tty       4,  51 Aug 28 11:59 tty51
crw--w----.  1 root    tty       4,  52 Aug 28 11:59 tty52
crw--w----.  1 root    tty       4,  53 Aug 28 11:59 tty53
crw--w----.  1 root    tty       4,  54 Aug 28 11:59 tty54
crw--w----.  1 root    tty       4,  55 Aug 28 11:59 tty55
crw--w----.  1 root    tty       4,  56 Aug 28 11:59 tty56
crw--w----.  1 root    tty       4,  57 Aug 28 11:59 tty57
crw--w----.  1 root    tty       4,  58 Aug 28 11:59 tty58
crw--w----.  1 root    tty       4,  59 Aug 28 11:59 tty59
crw--w----.  1 root    tty       4,   6 Aug 28 11:59 tty6
crw--w----.  1 root    tty       4,  60 Aug 28 11:59 tty60
crw--w----.  1 root    tty       4,  61 Aug 28 11:59 tty61
crw--w----.  1 root    tty       4,  62 Aug 28 11:59 tty62
crw--w----.  1 root    tty       4,  63 Aug 28 11:59 tty63
crw--w----.  1 root    tty       4,   7 Aug 28 11:59 tty7
crw--w----.  1 root    tty       4,   8 Aug 28 11:59 tty8
crw--w----.  1 root    tty       4,   9 Aug 28 11:59 tty9
crw-rw----.  1 root    dialout   4,  64 Aug 28 11:59 ttyS0
crw-rw----.  1 root    dialout   4,  65 Aug 28 11:59 ttyS1
crw-rw----.  1 root    dialout   4,  74 Aug 28 11:59 ttyS10
crw-rw----.  1 root    dialout   4,  75 Aug 28 11:59 ttyS11
crw-rw----.  1 root    dialout   4,  76 Aug 28 11:59 ttyS12
crw-rw----.  1 root    dialout   4,  77 Aug 28 11:59 ttyS13
crw-rw----.  1 root    dialout   4,  78 Aug 28 11:59 ttyS14
crw-rw----.  1 root    dialout   4,  79 Aug 28 11:59 ttyS15
crw-rw----.  1 root    dialout   4,  80 Aug 28 11:59 ttyS16
crw-rw----.  1 root    dialout   4,  81 Aug 28 11:59 ttyS17
crw-rw----.  1 root    dialout   4,  82 Aug 28 11:59 ttyS18
crw-rw----.  1 root    dialout   4,  83 Aug 28 11:59 ttyS19
crw-rw----.  1 root    dialout   4,  66 Aug 28 11:59 ttyS2
crw-rw----.  1 root    dialout   4,  84 Aug 28 11:59 ttyS20
crw-rw----.  1 root    dialout   4,  85 Aug 28 11:59 ttyS21
crw-rw----.  1 root    dialout   4,  86 Aug 28 11:59 ttyS22
crw-rw----.  1 root    dialout   4,  87 Aug 28 11:59 ttyS23
crw-rw----.  1 root    dialout   4,  88 Aug 28 11:59 ttyS24
crw-rw----.  1 root    dialout   4,  89 Aug 28 11:59 ttyS25
crw-rw----.  1 root    dialout   4,  90 Aug 28 11:59 ttyS26
crw-rw----.  1 root    dialout   4,  91 Aug 28 11:59 ttyS27
crw-rw----.  1 root    dialout   4,  92 Aug 28 11:59 ttyS28
crw-rw----.  1 root    dialout   4,  93 Aug 28 11:59 ttyS29
crw-rw----.  1 root    dialout   4,  67 Aug 28 11:59 ttyS3
crw-rw----.  1 root    dialout   4,  94 Aug 28 11:59 ttyS30
crw-rw----.  1 root    dialout   4,  95 Aug 28 11:59 ttyS31
crw-rw----.  1 root    dialout   4,  68 Aug 28 11:59 ttyS4
crw-rw----.  1 root    dialout   4,  69 Aug 28 11:59 ttyS5
crw-rw----.  1 root    dialout   4,  70 Aug 28 11:59 ttyS6
crw-rw----.  1 root    dialout   4,  71 Aug 28 11:59 ttyS7
crw-rw----.  1 root    dialout   4,  72 Aug 28 11:59 ttyS8
crw-rw----.  1 root    dialout   4,  73 Aug 28 11:59 ttyS9
crw-------.  1 root    root     10, 239 Aug 28 11:59 uhid
crw-------.  1 root    root     10, 223 Aug 28 11:59 uinput
crw-rw-rw-.  1 root    root      1,   9 Aug 28 11:59 urandom
crw-------.  1 root    root    246,   0 Aug 28 11:59 usbmon0
crw-------.  1 root    root    246,   1 Aug 28 11:59 usbmon1
crw-rw----.  1 vboxadd root     10,  58 Aug 28 11:59 vboxguest
crw-rw-rw-.  1 vboxadd root     10,  57 Aug 28 11:59 vboxuser
crw-rw----.  1 root    tty       7,   0 Aug 28 11:59 vcs
crw-rw----.  1 root    tty       7,   1 Aug 28 11:59 vcs1
crw-rw----.  1 root    tty       7,   2 Aug 28 11:59 vcs2
crw-rw----.  1 root    tty       7,   3 Aug 28 11:59 vcs3
crw-rw----.  1 root    tty       7,   4 Aug 28 11:59 vcs4
crw-rw----.  1 root    tty       7,   5 Aug 28 11:59 vcs5
crw-rw----.  1 root    tty       7,   6 Aug 28 11:59 vcs6
crw-rw----.  1 root    tty       7, 128 Aug 28 11:59 vcsa
crw-rw----.  1 root    tty       7, 129 Aug 28 11:59 vcsa1
crw-rw----.  1 root    tty       7, 130 Aug 28 11:59 vcsa2
crw-rw----.  1 root    tty       7, 131 Aug 28 11:59 vcsa3
crw-rw----.  1 root    tty       7, 132 Aug 28 11:59 vcsa4
crw-rw----.  1 root    tty       7, 133 Aug 28 11:59 vcsa5
crw-rw----.  1 root    tty       7, 134 Aug 28 11:59 vcsa6
drwxr-xr-x.  2 root    root          60 Aug 28 11:59 vfio
crw-------.  1 root    root     10,  63 Aug 28 11:59 vga_arbiter
crw-------.  1 root    root     10, 137 Aug 28 11:59 vhci
crw-------.  1 root    root     10, 238 Aug 28 11:59 vhost-net
crw-------.  1 root    root     10, 241 Aug 28 11:59 vhost-vsock
crw-rw-rw-.  1 root    root      1,   5 Aug 28 11:59 zero

.
.
Added group root to user dump1090

[abcd@fedora ~]$ sudo usermod -a -G root dump1090
[abcd@fedora ~]$ sudo reboot

After reboot, checked dump1090-fa status, FAILED

FINALLY in file /lib/systemd/system/dump1090-fa.service commented out line User=dump1090, and it is working ok.

That’s because without the user line, you’re running it as root, which is not a great idea.

You’ll need to dig into /sys and see what the permissions on the USB bus devices are

SUCCESS!

First thank you @obj for help and guidance. I really appreciate it.

Here is what happenned:
it was an oversight that I missed rtlsdr in groups list.
Just after posting my last post, I reviewed the groups list again and caught rtlsdr.

[abcd@fedora ~]$ sudo usermod -a -G rtlsdr dump1090

[abcd@fedora ~]$ sudo nano /lib/systemd/system/dump1090-fa.service
#UN-COMMENTED LINE "User=dump1090"

[abcd@fedora ~]$ sudo systemctl daemon-reload
[abcd@fedora ~]$ sudo systemctl restart dump1090-fa
[abcd@fedora ~]$ sudo systemctl status dump1090-fa -l
â—Ź dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/usr/lib/systemd/system/dump1090-fa.service; enabled; vendor>
   Active: active (running) since Tue 2018-08-28 12:44:30 EDT; 3s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 1760 (dump1090-fa)
    Tasks: 3 (limit: 2359)
   Memory: 5.1M
   CGroup: /system.slice/dump1090-fa.service
           └─1760 /usr/bin/dump1090-fa --device-index 0 --gain -10 --ppm 0 --ne>

Aug 28 12:44:30 fedora systemd[1]: Started dump1090 ADS-B receiver (FlightAware>
Aug 28 12:44:30 fedora dump1090-fa[1760]: Tue Aug 28 12:44:30 2018 EDT  dump109>
Aug 28 12:44:31 fedora dump1090-fa[1760]: rtlsdr: using device #0: Generic RTL2>
Aug 28 12:44:31 fedora dump1090-fa[1760]: Detached kernel driver
Aug 28 12:44:32 fedora dump1090-fa[1760]: Found Rafael Micro R820T tuner
Aug 28 12:44:32 fedora dump1090-fa[1760]: rtlsdr: enabling tuner AGC

Took further steps to remove unnecessary groups, leaving only groups dump1090 and rtlsdr.
Rebooted, and checked status.

[abcd@fedora ~]$ groups dump1090
dump1090 : dump1090 audio root rtlsdr

[abcd@fedora ~]$ sudo gpasswd -d dump1090 root
[abcd@fedora ~]$ sudo gpasswd -d dump1090 audio

[abcd@fedora ~]$ groups dump1090
dump1090 : dump1090 rtlsdr

[abcd@fedora ~]$ sudo reboot

.
.
Status after reboot, working OK.

[abcd@fedora ~]$ sudo systemctl status dump1090-fa -l

â—Ź dump1090-fa.service - dump1090 ADS-B receiver (FlightAware customization)
   Loaded: loaded (/usr/lib/systemd/system/dump1090-fa.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-08-28 13:09:41 EDT; 4min 24s ago
     Docs: https://flightaware.com/adsb/piaware/
 Main PID: 745 (dump1090-fa)
    Tasks: 3 (limit: 2359)
   Memory: 5.8M
   CGroup: /system.slice/dump1090-fa.service
           └─745 /usr/bin/dump1090-fa --device-index 0 --gain -10 --ppm 0 --net-bo-port 30005 --max-range 360 --net --net-heartbeat 60 --net-ro-s>

Aug 28 13:09:41 fedora systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Aug 28 13:09:41 fedora dump1090-fa[745]: Tue Aug 28 13:09:41 2018 EDT  dump1090-fa  starting up.
Aug 28 13:09:42 fedora dump1090-fa[745]: rtlsdr: using device #0: Generic RTL2832U (Realtek, RTL2832UFA, SN 00000001)
Aug 28 13:09:42 fedora dump1090-fa[745]: Detached kernel driver
Aug 28 13:09:43 fedora dump1090-fa[745]: Found Rafael Micro R820T tuner
Aug 28 13:09:44 fedora dump1090-fa[745]: rtlsdr: enabling tuner AGC
1 Like