Permalink
...
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
Debian/apt
CharizTeam/apt
Conan-Kudo/apt
DJHartley/apt
DStape/apt
Dominik-K/apt
DonKult/apt
ELWIN-MAO/apt
FreedomBen/apt
JamesLinus/apt
JohnCoatesOSS/apt
KubaKaszycki/apt
Lidar3D/apt
MALLER-LAGOON/apt
OzdemirOSREPO/apt
Python3pkg/apt
Smarthuman/apt
Ziul/apt
abc3267454/apt
adrian17/apt
alecrosic/apt
api-walker/apt
ashang/apt
auradu2011/apt
bitmybytes/apt
blackrhinux/apt
chipaca/apt
chu11/apt
cool-forks/apt
corburn/apt
daffabima/apt
daffabima67/apt
dombenson/apt
eckeman/apt
elopio/apt
ericcurtin/apt
fatman2021/apt
flixr/apt
freetom/apt
fsateler/apt
gnawhleinad/apt
haiiev/apt
hustdc/apt
ikozhukhov/apt
jagalindo/apt
jamiepg1/apt
jinwentan/apt
josegonzalez/apt
julian-klode/apt
lamby/apt
lexruee/apt
lolm8promlg/apt
mahihossain/apt
muzena/apt
ohhmm/apt
ollie314/apt
outan/apt
paperlessreceipts/apt
patcable/apt
raghu999/apt
rogerchina/apt
rollingstones/apt
runt18/apt
servicesgpr/apt
shelbywallie2/apt
sk/apt
spk/apt
stefb965/apt-1
t-fohrer/apt
tidatida/apt
tobiadolph/apt
vivekanand1101/apt
vlajos/apt
vn971/apt
vnwildman/apt
willismonroe/apt
xiamy1535/apt
xserveraws/apt
yakunink/apt
Nothing to show
Choose a base branch
Nothing to show
Choose a Head Repository
Debian/apt
CharizTeam/apt
Conan-Kudo/apt
DJHartley/apt
DStape/apt
Dominik-K/apt
DonKult/apt
ELWIN-MAO/apt
FreedomBen/apt
JamesLinus/apt
JohnCoatesOSS/apt
KubaKaszycki/apt
Lidar3D/apt
MALLER-LAGOON/apt
OzdemirOSREPO/apt
Python3pkg/apt
Smarthuman/apt
Ziul/apt
abc3267454/apt
adrian17/apt
alecrosic/apt
api-walker/apt
ashang/apt
auradu2011/apt
bitmybytes/apt
blackrhinux/apt
chipaca/apt
chu11/apt
cool-forks/apt
corburn/apt
daffabima/apt
daffabima67/apt
dombenson/apt
eckeman/apt
elopio/apt
ericcurtin/apt
fatman2021/apt
flixr/apt
freetom/apt
fsateler/apt
gnawhleinad/apt
haiiev/apt
hustdc/apt
ikozhukhov/apt
jagalindo/apt
jamiepg1/apt
jinwentan/apt
josegonzalez/apt
julian-klode/apt
lamby/apt
lexruee/apt
lolm8promlg/apt
mahihossain/apt
muzena/apt
ohhmm/apt
ollie314/apt
outan/apt
paperlessreceipts/apt
patcable/apt
raghu999/apt
rogerchina/apt
rollingstones/apt
runt18/apt
servicesgpr/apt
shelbywallie2/apt
sk/apt
spk/apt
stefb965/apt-1
t-fohrer/apt
tidatida/apt
tobiadolph/apt
vivekanand1101/apt
vlajos/apt
vn971/apt
vnwildman/apt
willismonroe/apt
xiamy1535/apt
xserveraws/apt
yakunink/apt
Nothing to show
Choose a head branch
1.2.y
1.3.y
1.4.y
1.5.y
attic/cmake
bugfix/acquire-error
bugfix/acquire-priority-queue
bugfix/apt-key-config-many-fd
bugfix/apt-key-config
bugfix/apt-key-config2
bugfix/big-lock
bugfix/clog
bugfix/cmake
bugfix/cross-arch-candidate
bugfix/fix-or-in-build-dep-parsing
bugfix/gcc
bugfix/gpg-versions
bugfix/happy-eyeballs
bugfix/https-proxy-environ
bugfix/internal-seek
bugfix/lp-1653094-https-quote
bugfix/portable-docbook
bugfix/proxy-popen
bugfix/run-update-scripts-if-not-all-failed
bugfix/sane-quoting
bugfix/sha1-deprecated
bugfix/sigint
bugfix/translate-common-manpage-stuff
bugfix/verify-trust-chain
bugfix/versionhash-overflow
bugfix/748936-correct-arch-patterns
cmake-no-globbing
cmake-prepare
coverty_scan
debian/experimental-no-abi-break
debian/experimental
debian/jessie
debian/sid-gcc5
debian/sid
debian/wheezy
feature/apt-cache-policy-show-current-state
feature/blake2b
feature/configurable-hash-trust
feature/extended-cache
feature/force-compressor
feature/freeze-config-optiom
feature/http-https
feature/https-http-part2
feature/https-proxy
feature/move-methods
feature/noinstall-notautomic
feature/rpm
feature/seccomp
for-1.2/apt-key
for-1.2/locale
for-1.2/1.4
for-1.6/gcov-error-file
jessie-backports
lp1615482
lp1686470
master-pu
master
misc/error-message-rework
misc/forward-string-view
misc/include-cleanup
misc/increase-manual-scores
misc/rework-filefd-lzma
misc/select-to-poll
misc/thread-local
misc/unused
misc/wait-online
performance/cachegen
performance/crc16-sliced
performance/hex2num
performance/no-packagetable
performance/no-useless-buffering
performance/perfect-hash
performance/perfect-hash2
performance/random
performance/store-string-size
performance/tagfile
performance/trie
portability/fink
portability/freebsd
portability/macos
pu/cmake-fixes
pu/compressed-indexes
pu/dpkg-1.19
pu/drop-store-symlinks
pu/happy-eyeballs
pu/happy-eyeballs2a
pu/happy-eyeballs2
pu/method-socket
pu/mmap-no-executable
pu/ninja
pu/proxy-auto-detect
pu/rules-requires-root-no
pu/seccomp-sigaction
pu/transient-error-fixes
pu/transitional-transport-https
refactor/gpgv
reformat-test
shippable
strip-zero-epochs-from-hash
travis-docker
travis-llvm
travis-test2
travis-test3
ubuntu/master
ubuntu/trusty
ubuntu/zesty
Nothing to show
- 1 commit
- 1 file changed
- 0 commit comments
- 1 contributor
Commits on Apr 21, 2017
systemd: Rework timing and add After=network-online
The timeout values were so large that the timer could run at any random time of the day, possibly easily interfering with business hours, and causing trouble. Reduce them to 30 minutes of random delay and an accuracy to the default value (1 minute). Also drop the 18:00 event. People still actively use their device during that time, and for servers, there might be less attendance than in the regular 06:00 time slot, so longer time to fix things if something breaks. During a boot, the service might be run to catch up with a timer that would have normally elapsed. Due to no dependencies, it would have run before the network is online - that's bad. Adding an After and a Wants fixes that for boots, but still leaves the same issue for Resume. LP: #1615482
Unified
Split
Showing
with
4 additions
and 3 deletions.
- +4 −3 debian/apt-daily.timer
View
7
debian/apt-daily.timer
| @@ -1,10 +1,11 @@ | ||
| [Unit] | ||
| Description=Daily apt activities | ||
| +After=network-online.target | ||
| +Wants=network-online.target | ||
| [Timer] | ||
| -OnCalendar=*-*-* 6,18:00 | ||
| -RandomizedDelaySec=12h | ||
| -AccuracySec=1h | ||
| +OnCalendar=*-*-* 6:00 | ||
| +RandomizedDelaySec=30m | ||
| Persistent=true | ||
| [Install] | ||