[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
I've upgraded to ubuntu 20.4.1. Udev verision now is 245.4-4ununtu3.3. Problem persists -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
Other useful info: I've run udevadm test --action=remove /devices/platform/soc/1c14000.usb/usb1/1-1/1-1.2/1-1.2:1.2/ttyUSB2/tty/ttyUSB2 Several times, but everytime I got ACTION=remove DEVNAME=/dev/ttyUSB2 DEVPATH=/devices/platform/soc/1c14000.usb/usb1/1-1/1-1.2/1-1.2:1.2/ttyUSB2/tty/ttyUSB2 MAJOR=188 MINOR=2 SUBSYSTEM=tty run: '/opt/trx/gprs-modem-symlink-handler.bash remove /devices/platform/soc/1c14000.usb/usb1/1-1/1-1.2/1-1.2:1.2/ttyUSB2/tty/ttyUSB2 ttyUSB2' Unload module index Unloaded link configuration context. Which is the correct behaviour. But, again, when in unplugged the modem it doesn't run RUNscript for ttyUSB2. I'm sure it doesn't raises error because in /var/log/syslog the log line starting '/bin/bash /opt/trx/gprs-modem-symlink-handler.bash remove /devices/platform/soc/1c14000.usb/usb1/1-1/1-1.2/1-1.2:1.2/ttyUSB2/tty/ttyUSB2 ttyUSB2' Is missing (only when I have this bad behaviour, so not every disconnection, but randomly). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
Hello, just to be sure, I've tried with different kernel versions (5.3.18 and 5.4.81) and the problem's still here. Same udev version (last) 237-3ubuntu10.43. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
(3 remove tty events and 2 RUN events) ** Attachment added: "Wrong Remove" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+attachment/5439655/+files/Remove_NO.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
here my RUN script /opt/trx/gprs-modem-symlink-handler.bash ** Attachment added: "RUN script" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+attachment/5439653/+files/gprs-modem-symlink-handler.bash -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
Wrong Remove -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
Correct Remove (3 remove tty events and 3 RUN events) ** Attachment added: "Remove OK" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+attachment/5439654/+files/Remove_OK.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
Whooops, I read to avoid pastebin links, I'll attach files from original post. here modem rule in /etc/udev/rules.d/ ** Attachment added: "Modem Rule" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+attachment/5439649/+files/61-gprs-modem.rules -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] Re: Udev Randomly Doesn't Run Run Script on Remove
Thank you for your response. I wasn't able to run properly "apport-collect" due to browser/screen problem (I'm on an embedded device). Here result of ubuntu-bug udev ** Attachment added: "ubuntu-bug udev report" https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+attachment/5439645/+files/apport.udev.rx2s9f5w.apport -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1905688] Re: systemd-timesyncd.service: Timed out waiting for reply from NTP server
P.S. I tried to reproduce it, but I cannot set time beyond 2036 (due to int limit problem), how did you acheive it? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1905688 Title: systemd-timesyncd.service: Timed out waiting for reply from NTP server Status in systemd package in Ubuntu: New Bug description: systemd-timesyncd.service fails to correct time if the system time is later than February 7, 2036. Image: ubuntu-20.10-desktop-amd64.iso systemd: 246.6-1ubuntu1 $ timedatectl status Local time: Fri 2038-11-26 07:58:16 UTC Universal time: Fri 2038-11-26 07:58:16 UTC RTC time: Fri 2038-11-26 07:58:17 Time zone: Etc/UTC (UTC, +) System clock synchronized: no NTP service: active RTC in local TZ: no ubuntu@ubuntu:~$ sudo systemctl status systemd-timesyncd.service ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2038-11-26 07:36:55 UTC; 7min ago Docs: man:systemd-timesyncd.service(8) Main PID: 1257 (systemd-timesyn) Status: "Idle." Tasks: 2 (limit: 9283) Memory: 1.8M CGroup: /system.slice/systemd-timesyncd.service └─1257 /lib/systemd/systemd-timesyncd Nov 26 07:39:09 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com). Nov 26 07:39:19 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com). Nov 26 07:40:34 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com). Nov 26 07:40:44 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com). There is no issue with ntpdate: ubuntu@ubuntu:~$ sudo ntpdate -v ntp.ubuntu.com 26 Nov 08:16:21 ntpdate[8926]: ntpdate 4.2.8p12@1.3728-o (1) 26 Nov 08:16:30 ntpdate[8926]: step time server 91.189.91.157 offset -567993599.624839 sec ubuntu@ubuntu:~$ date Thu Nov 26 08:16:33 AM UTC 2020 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1905688/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1905688] Re: systemd-timesyncd.service: Timed out waiting for reply from NTP server
This is beacuse in 2036 UTC will reach int limit. To solve this bug time sohuld be stored in a long variable -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1905688 Title: systemd-timesyncd.service: Timed out waiting for reply from NTP server Status in systemd package in Ubuntu: New Bug description: systemd-timesyncd.service fails to correct time if the system time is later than February 7, 2036. Image: ubuntu-20.10-desktop-amd64.iso systemd: 246.6-1ubuntu1 $ timedatectl status Local time: Fri 2038-11-26 07:58:16 UTC Universal time: Fri 2038-11-26 07:58:16 UTC RTC time: Fri 2038-11-26 07:58:17 Time zone: Etc/UTC (UTC, +) System clock synchronized: no NTP service: active RTC in local TZ: no ubuntu@ubuntu:~$ sudo systemctl status systemd-timesyncd.service ● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2038-11-26 07:36:55 UTC; 7min ago Docs: man:systemd-timesyncd.service(8) Main PID: 1257 (systemd-timesyn) Status: "Idle." Tasks: 2 (limit: 9283) Memory: 1.8M CGroup: /system.slice/systemd-timesyncd.service └─1257 /lib/systemd/systemd-timesyncd Nov 26 07:39:09 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.94.4:123 (ntp.ubuntu.com). Nov 26 07:39:19 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.89.198:123 (ntp.ubuntu.com). Nov 26 07:40:34 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com). Nov 26 07:40:44 ubuntu systemd-timesyncd[1257]: Timed out waiting for reply from 91.189.89.199:123 (ntp.ubuntu.com). There is no issue with ntpdate: ubuntu@ubuntu:~$ sudo ntpdate -v ntp.ubuntu.com 26 Nov 08:16:21 ntpdate[8926]: ntpdate 4.2.8p12@1.3728-o (1) 26 Nov 08:16:30 ntpdate[8926]: step time server 91.189.91.157 offset -567993599.624839 sec ubuntu@ubuntu:~$ date Thu Nov 26 08:16:33 AM UTC 2020 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1905688/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1906263] [NEW] Udev Randomly Doesn't Run Run Script on Remove
Public bug reported: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. ** Affects: systemd (Ubuntu) Importance: Undecided Status: New ** Tags: option rules run udev -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1906263 Title: Udev Randomly Doesn't Run Run Script on Remove Status in systemd package in Ubuntu: New Bug description: Hello, I'm running ubuntu (Description: Ubuntu 18.04.4 LTS, Release: 18.04) with 5.0.21-sunxi kernel. I've updated udev to latest version (237-3ubuntu10.43 500). I've written the following rule to create (and removing) symlink to modem ports: https://pastebin.com/cUwHrf1f Since many usb modems hase more than one serial i enumerate them with their port number (as just some specific serial can be used to connect) Here link to mu RUN script /opt/trx/gprs-modem-symlink-handler.bash https://pastebin.com/2XTCiV27 What I expect to happen is having many /dev/ttyTRXGPRSMODEM* (enumerated) when I plug-in a modem in the list, and having symlink cleared on removing. every modem listed in rule is using "option" usb serial driver. When i plug in a device I have no issues, everything works fine. But sometimes, on removing, I found that some links are still there (it's not happening everytime). I've enabled debug log with udev and found that sometimes is not calling RUN script: Here the working situation (3 tty remove events and 3 RUN events): https://pastebin.com/EKX5zMh7 And here is the buggy situation (3 tty remove events, but only 2 RUN events) with the same device as the example above: https://pastebin.com/dB7ujQ79 Since it's happening randomly I can't figure out whats causing the problem. I guess it's not the rule because on an old debian 7 release it's working fine, and on the release described above I get others symlinks removed even in the buggy situation (as in the example: two are removed, one not). It seems like sometimes udev ignores totally the run event. Last thing to report: I'm not opening these links! So are not locked or protected. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1906263/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp