Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 23:47:49 -0600
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Oddball error from "batch"
Message-ID:  <762222d2-42bd-1a01-30c7-d6e52833bb14@denninger.net>
In-Reply-To: <e51cb44a-d06c-e6cd-5fe1-ca7bc973ba16@denninger.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2/10/2019 16:01, Karl Denninger wrote:
> Note -- working fine on 11.1 and 11.2, upgraded machine to 12.0-STABLE
> and everything is ok that I'm aware of *except*.....
>
> # batch
> who
> df
> ^D
>
> Job 170 will be executed using /bin/sh
>
> Then the time comes and... no output is emailed to me.
>
> In the cron log file I find:
>
> Feb 10 16:00:00 NewFS atrun[65142]: cannot open input file
> E000aa018a24c3: No such file or directory
>
> Note that scheduled cron jobs are running as expected, and the
> permissions on /var/at are correct (match exactly my 11. 1 and 11.2
> boxes), and in addition of looking BEFORE the job runs the named job
> number IS THERE.
>
> [\u@NewFS /var/at/jobs]# ls -al
> total 13
> drwxr-xr-x  2 daemon  wheel    5 Feb 10 15:55 .
> drwxr-xr-x  4 root    wheel    5 Oct  8  2013 ..
> -rw-r--r--  1 root    wheel    6 Feb 10 15:55 .SEQ
> -rw-------  1 root    wheel    0 Jul  5  2008 .lockfile
> -rwx------  1 root    wheel  615 Feb 10 15:55 E000aa018a24c3
>
> After the error.... the file isn't there.  It was removed (as one would
> expect when the job is complete.)
>
> What the blankety-blank?!

Turns out it's a nasty race in the atrun code.... I have no idea why
this hasn't bit the living daylights out of lots of people before, but
it's sure biting me!

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235657

Includes a proposed fix... :)

-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H

00H^Ōc!5
H0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems CA1!0UCuda Systems LLC 2017 CA0
170817164217Z
270815164217Z0{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CA0"0
	*H
0
h-5B>[;olӴ0~͎O9}9Ye*$g!ukvʶLzN`jL>MD'7U45CB+kY`bd~b*c3Ny-78ju]9HeuέsӬDؽmgwER?&UURj'}9nWD i`XcbGz\gG=u%\Oi13ߝ4
K44pYQr]Ie/r0+eEޝݖ0C15Mݚ@JSZ(zȏNTa(25DD5.l<g[[ZarQQ%Buȴ~~`IohRbʳڟu2MS8EdFUClCMaѳ!}ș+2k/bųE,n当ꖛ\(8WV8	d]b	yXw	܊:I39
00U]^§Q\ӎ0U#0T039N0b010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems CA1!0UCuda Systems LLC 2017 CA	@Ui0U00U0
	*H
:P U!>vJnio-#ן]WyujǑR̀Q
nƇ!GѦFg\yLxgw=OPycehf[}ܷ['4ڝ\[p6\o.B&JF"ZC{;*o*mcCcLY߾`
t*S!񫶭(`]DHP5A~/NPp6=mhk밣'doA$86hm5ӚS@jެEgl
)0JG`%k35PaC?σ
׳HEt}!P㏏%*BxbQwaKG$6h¦Mve;[o-Iی&
I,Tcߎ#t wPA@l0P+KXBպT	zGv;NcI3&JĬUPNa?/%W6G۟N000k#Xd\=0
	*H
0{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CA0
170817212120Z
220816212120Z0W10	UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
	*H
0
T[I-ΆϏdn;Å@שy.us~_ZG%<MYd\gvfnsa1'6Egyjs"C [{~_KPn+<*pv#Q+H/7[-vqDV^U>f%GX)H.|l`M(Cr>е͇6#odc"YljҦln8@5SA0&ۖ"OGj?UDWZ5	dDB7k-)9Izs-JAv
J6L$Ն1SmY.Lqw*SH;EF'DĦH]MOgQQ|Mٙג2Z9y@y]}6ٽeY9Y2xˆ$T=eCǺǵbn֛{j|@LLt1[Dk5:$=	`	M00<+00.0,+0 http://ocsp.cudasystems.net:88880	U00	`HB0U0U%0++03	`HB
&$OpenSSL Generated Client Certificate0U%՞V=؁;bzQ0U#0]^§Q\ӎϡ010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems CA1!0UCuda Systems LLC 2017 CAH^Ōc!5
H0U0karl@denninger.net0
	*H
۠A0-j%--$%g2#ޡ1^>{K+uGEv1ş7Af&b&O;.;A5*U)ND2bF|\=]<sˋL!wrw٧>YMÄ3\mWR hSv!_zvl? 3_ xU%\^#O*Gk̍YI_&Fꊛ@&1n”} ͬ:{hTP3B.;bU8:Z=^Gw8!k-@xE@i,+'Iᐚ:fhztX7/(hY` O.1}a`%RW^akǂpCAufgDixUTЩ/7}%=jnVZvcF<M=
2^GKH5魉
_O4ެByʈySkw=5@h.0z>
W1000{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CAk#Xd\=0
	`HeE0	*H
	1	*H
0	*H
	1
190211054749Z0O	*H
	1B@z6ؼm?a:zrHܴHŸ-1I!0+Y@Us`~0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+7100{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CAk#Xd\=0*H
	10{10	UUS10UFlorida10U
Cuda Systems LLC10UCuda Systems CA1%0#UCuda Systems LLC 2017 Int CAk#Xd\=0
	*H
|sqI7s9R߉4nbKIWtnQ|֚=~nu~͚B	`J{/'U꯻-].]E41=GQh@'<)q2Z0s9rmAk^,+rSRt{ɋofL#?yY>{ۮō<t5w҈DtCRo.tZ?߻v)dEКe_eX0

[AVW9NԂ;pUhj5E\w21ox1pH&$fxӉ7y-3F)UgԊ?ArGN ̤͘~qOebGW)C8~c)t*%2b#E8DWXPV9i[D@)\9	iGF
syafG4فWv(׭(Nr{o$xP4,>:{`ho=oz
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?762222d2-42bd-1a01-30c7-d6e52833bb14>