You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simply run the server and make some auth attempts, it does not matter if successful or not, more that matters is, if it prints the attempt time into the log.
Check the log, the event times are not correct (depending on your timezone, mine is Europe/Prague).
Tried:
docker variable -e TZ=Europe/Prague
mounting /etc/timezone to the container with the correct TZ
both did not work
what helped was installing additional package for TZ support. Timezone functionality belongs to basic functions nowadays, please include the package in the official version.
Log output from the FreeRADIUS daemon
root@docker:/# docker run \
-d \
-t \
--net bridge \
--ip 10.0.30.9 \
--name freeradius \
--restart always \
-e TZ=Europe/Prague \
-p 1812-1813:1812-1813/udp \
-v /media/AppData/volumes/freeradius_volume/_data/etc-freeradius:/etc/freeradius \
-v /media/AppData/volumes/freeradius_volume/_data/var-log-freeradius:/var/log/freeradius \
-v /media/AppData/Temp:/tmp \
freeradius/freeradius-server
78a7f964b0bdf60d1a21e0cc4153178e2f3bf575628350d3100f5d0f31a5c778
root@docker:/media/AppData/volumes/apache_volume/_data/usr-local-apache2# docker ps | grep radius
78a7f964b0bd freeradius/freeradius-server "/docker-entrypoint.…" 18 seconds ago Up 18 seconds 0.0.0.0:1812-1813->1812-1813/udp, :::1812-1813->1812-1813/udp freeradius
root@docker:/# docker exec -it 78a7f964b0bd bash
root@78a7f964b0bd:/# date
Wed Apr 17 08:45:43 Europe 2024
root@78a7f964b0bd:/# apt update
---
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@78a7f964b0bd:/# apt install tzdata
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
tzdata
0 upgraded, 1 newly installed, 0 to remove and 67 not upgraded.
Need to get 348 kB of archives.
After this operation, 3994 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 tzdata all 2024a-0ubuntu0.22.04 [348 kB]
Fetched 348 kB in 1s (482 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package tzdata.
(Reading database ... 10384 files and directories currently installed.)
Preparing to unpack .../tzdata_2024a-0ubuntu0.22.04_all.deb ...
Unpacking tzdata (2024a-0ubuntu0.22.04) ...
Setting up tzdata (2024a-0ubuntu0.22.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please selectthe geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located.
1. Africa 2. America 3. Antarctica 4. Australia 5. Arctic 6. Asia 7. Atlantic 8. Europe 9. Indian 10. Pacific 11. US 12. Etc
Geographic area: 8
Please selectthe city or region corresponding to your time zone.
1. Amsterdam 6. Belgrade 11. Budapest 16. Gibraltar 21. Jersey 26. Ljubljana 31. Mariehamn 36. Oslo 41. Rome 46. Simferopol 51. Tirane 56. Vatican 61. Zagreb
2. Andorra 7. Berlin 12. Busingen 17. Guernsey 22. Kaliningrad 27. London 32. Minsk 37. Paris 42. Samara 47. Skopje 52. Tiraspol 57. Vienna 62. Zaporozhye
3. Astrakhan 8. Bratislava 13. Chisinau 18. Helsinki 23. Kirov 28. Luxembourg 33. Monaco 38. Podgorica 43. San_Marino 48. Sofia 53. Ulyanovsk 58. Vilnius 63. Zurich
4. Athens 9. Brussels 14. Copenhagen 19. Isle_of_Man 24. Kyiv 29. Madrid 34. Moscow 39. Prague 44. Sarajevo 49. Stockholm 54. Uzhgorod 59. Volgograd
5. Belfast 10. Bucharest 15. Dublin 20. Istanbul 25. Lisbon 30. Malta 35. Nicosia 40. Riga 45. Saratov 50. Tallinn 55. Vaduz 60. Warsaw
Time zone: 39
Current default time zone: 'Europe/Prague'
Local time is now: Wed Apr 17 10:57:49 CEST 2024.
Universal Time is now: Wed Apr 17 08:57:49 UTC 2024.
Run 'dpkg-reconfigure tzdata'if you wish to change it.
root@78a7f964b0bd:/# date
Wed Apr 17 10:57:52 CEST 2024
Relevant log output from client utilities
No response
Backtrace from LLDB or GDB
No response
The text was updated successfully, but these errors were encountered:
What type of defect/bug is this?
Crash or memory corruption (segv, abort, etc...)
How can the issue be reproduced?
Simply run the server and make some auth attempts, it does not matter if successful or not, more that matters is, if it prints the attempt time into the log.
Check the log, the event times are not correct (depending on your timezone, mine is Europe/Prague).
Tried:
both did not work
what helped was installing additional package for TZ support. Timezone functionality belongs to basic functions nowadays, please include the package in the official version.
Log output from the FreeRADIUS daemon
Relevant log output from client utilities
No response
Backtrace from LLDB or GDB
No response
The text was updated successfully, but these errors were encountered: