Package: adjtimex
Version: 1.29-11.1
Severity: normal
Dear Maintainer,
* What led up to the situation?
Logging in
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
adjtimex: Invalid argument
for this kernel:
USER_HZ = 100 (nominally 100 ticks per second)
9000 <= tick <= 11000
-32768000 <= frequency <= 32768000
#ENDO OF MESSAGE -- cut --
No more output. A newline is missing from the error message.
Kernel is:
Linux kassi 6.11.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23)
x86_64 GNU/Linux
* What outcome did you expect instead?
No warning (as before the new kernel).
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.10-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages adjtimex depends on:
ii debconf [debconf-2.0] 1.5.87
ii libc6 2.40-3
adjtimex recommends no packages.
Versions of packages adjtimex suggests:
pn ntpdate <none>
-- Configuration Files:
/etc/init.d/adjtimex changed:
test -x /sbin/adjtimex || exit 0
. /lib/lsb/init-functions
LANG=C
export LANG
SCRIPT=/etc/init.d/adjtimex
LOGFILE=/var/log/adjtimex.log
export RETVAL
TICK=10000
FREQ=0
COUNT=2
INTERVAL='30 30 60 90 150 240 390 630'
cfg=/etc/default/adjtimex
if [ -r $cfg ]; then
. $cfg
fi
DAEMON=/usr/bin/stdbuf
PROGRAM=/usr/local/sbin/adjtimex
NAME=adjtimex
PIDFILE=/run/adjtimex.pid
get_options() {
sed -n '$ p' $1 | awk 'NF == 7 {
if (($6 ~ /^[1-9][0-9]+$/) && ($7 ~ /^-?[0-9]+$/)) {
printf "--tick=%d --frequency=%d", $6, $7; exit}
}
NF == 4 {
if (($3 ~ /^[1-9][0-9]+$/) && ($4 ~ /^-?[0-9]+$/)) {
printf "--tick=%d --frequency=%d", $3, $4; exit}
}
{printf "--tick=%s --frequency=%s",'" $TICK, $FREQ"'}'
}
do_start() {
[ -f $PIDFILE ] && { echo $PIDFILE exists ; RETVAL=1; return $RETVAL; } || :
daemon_args="--background --no-close --make-pidfile --pidfile $PIDFILE \
--oknodo --quiet --exec $DAEMON --start"
echo -n " Regulating the system clock ..."
options=$(printf "%s" "--tick=$TICK --frequency=$FREQ")
if [ "$INTERVAL" ] ; then
echo " Update tick and frequency regularly."
else
$PROGRAM $options --utc;
echo ' done.'
return
fi
{ printf '######## Start\n'; date '+%s' | tr -d '\n'; printf " "; date;
} >> $LOGFILE
for item in $INTERVAL ; do
$PROGRAM $options --utc;
$PROGRAM --utc --interval=$item --compare=$COUNT >> $LOGFILE
options=$(get_options $LOGFILE)
done
last_interval=$item
$PROGRAM $options --utc
/sbin/start-stop-daemon $daemon_args -- -o L $PROGRAM -A \
--interval=$last_interval --utc >> $LOGFILE
}
do_stop() {
if [ "$INTERVAL" ] ; then
{ printf '######### END '; date; } >> $LOGFILE ;
fi
if [ -f "$PIDFILE" ] ; then
/sbin/start-stop-daemon --quiet --pidfile $PIDFILE \
--stop
RETVAL=$?
else
RETVAL=0
fi
rm -f $PIDFILE
}
case "$1" in
(start)
log_daemon_msg "Starting $NAME"
( do_start ) &
RETVAL=$?
case "$RETVAL" in
(0) log_end_msg 0 ;;
(1) log_progress_msg "already started"
log_end_msg 0 ;;
(*) log_end_msg $RETVAL ;;
esac
;;
(stop)
log_daemon_msg "Stopping $NAME"
do_stop
case "$RETVAL" in
(0) log_end_msg 0 ;;
(1) log_progress_msg "already stopped"
log_end_msg 0 ;;
(*) log_end_msg $RETVAL ;;
esac
;;
(restart|force-reload)
$0 stop
$0 start
;;
(*)
echo ${SCRIPT}: unknown command $1 >&2
echo "Usage: /etc/init.d/adjtimex {start|stop|restart|force-reload}" >&2
exit 3
;;
esac
exit 0
-- debconf information:
adjtimex/compare_rtc: false