simoh wrote: 
> Hello Krisbee,
> 
> I can mount a share with the web GUI, but there is no entry in
> /etc/fstab. Bound to be a permissions issue, as I installed SOA on a
> base Arch installation on a RPi 2.
> 
> What is your output from
> 
> > 
Code:
--------------------
  >   > [aur@raspi soa-web]$ sudo grep "^[^#;]" /etc/sudoers
  > root ALL=(ALL) ALL
  > %wheel ALL=(ALL) NOPASSWD: ALL
  > [aur@raspi soa-web]$ 
  > 
--------------------
> > 
> 
> Cheers, Simon.

OK, I suppose Triode will catch up with the PRI 2 in due course.  I
haven't used SOA for months, but have just put it on a single core RPi. 
This is default install output:


Code:
--------------------
    
  [root@soa-rpi /]# grep "^[^#;]" /etc/sudoers
  root ALL=(ALL) ALL
  %wheel ALL=(ALL) NOPASSWD: ALL
  
--------------------


What do you see in the journal when you mount an NFS share via the
WebGUI?


Code:
--------------------
    
  Feb 19 21:03:27 soa-rpi sudo[828]: root : TTY=unknown ; PWD=/ ; USER=root ; 
COMMAND=/usr/sbin/mount -t nfs -o ro,rsize=8192,wsize=8192 
192.168.0.20://media/musdata/Test /mnt/disk1
  Feb 19 21:03:27 soa-rpi sudo[828]: pam_unix(sudo:session): session opened for 
user root by (uid=0)
  Feb 19 21:03:27 soa-rpi sudo[828]: pam_unix(sudo:session): session closed for 
user root
  Feb 19 21:03:27 soa-rpi sudo[840]: root : TTY=unknown ; PWD=/ ; USER=root ; 
COMMAND=/usr/sbin/cp /tmp/config.tmp-luagui /etc/fstab
  Feb 19 21:03:27 soa-rpi sudo[840]: pam_unix(sudo:session): session opened for 
user root by (uid=0)
  Feb 19 21:03:27 soa-rpi sudo[840]: pam_unix(sudo:session): session closed for 
user root
  Feb 19 21:03:28 soa-rpi sudo[845]: root : TTY=unknown ; PWD=/ ; USER=root ; 
COMMAND=/usr/sbin/[ -f /etc/credentials/cifs-mnt-disk1 ]
  Feb 19 21:03:28 soa-rpi sudo[845]: pam_unix(sudo:session): session opened for 
user root by (uid=0)
  Feb 19 21:03:28 soa-rpi sudo[845]: pam_unix(sudo:session): session closed for 
user root
  
--------------------


It's odd if the mount command is successful, but your fstab write fails.
What ever "user" the web interface operates as, I suppose it must be in
the "wheel" group for the "sudo" to work.


------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=101624

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to