Hi all,
I just built a fresh image. I'm unable to log in to luci after
authenticating, it states:
***quote**
/usr/lib/lua/luci/dispatcher.lua:449: Failed to execute function
dispatcher target for entry '/'.
The called action terminated with an exception:
/usr/lib/lua/luci/dispatcher.lua:449: Failed to execute firstchild
dispatcher target for entry '/admin'.
The called action terminated with an exception:
/usr/lib/lua/luci/sauth.lua:97: attempt to perform arithmetic on field
'atime' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:449: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function
</usr/lib/lua/luci/dispatcher.lua:194>
***end quote***
Presumably this is because the file system gets mounted, by default,
with noatime:
***quote***
root@alix:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
none on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
root on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on /tmp/root type overlayfs
(ro,noatime,lowerdir=/,upperdir=/tmp/root)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/mtdblock1 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs
(rw,noatime,lowerdir=/,upperdir=/overlay)
}}}
***end quote***
This happened both with ext2 and squashfs on an alix 2d13 using the
newest openwrt trunk, r33035, and the newest luci, 8899. Based on the
Luci timeline, there was specifically a change made to make the
authentication tokens work differently in 8899:
http://luci.subsignal.org/trac/changeset/8899
The failure happens both in IE8 on WindowsXP and Safari 6.0 on OSX 10.8.
Adam
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel