Commit ce60800
authored
Ignore failures in enabling a systemd service (#320)
With Trixie, there will be services that will be defined in /run/systemd/generator (this is a workaround for dealing with restrictions from systemd placed on service generators and for multi-ASIC units). Enabling such services fails because it's assumed to be always enabled.
Therefore, if the enable command for some service fails, don't treat it as a hard error, and continue.
Additionally, change the featured.timer to restart featured every 1 second instead of instantaneously. This prevents a CPU and syslog flood from happening on initial bringup of certain topologies (multi ASIC and T2) on KVM; physical devices are likely unaffected.1 parent ee9ef3f commit ce60800
File tree
2 files changed
+16
-2
lines changed- data/debian
- scripts
2 files changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
441 | 455 | | |
442 | 456 | | |
443 | 457 | | |
| |||
0 commit comments