SUMMARY: System accounting broken by 2.6 recommended patches?

From: Daniel Lorenzini (lorenzd@gcm.com)
Date: Fri Aug 14 1998 - 13:36:31 CDT


Greetings,

My thanks go to Michael Neef (Michael.Neef@neuroinformatik.ruhr-uni-bochum.DE)
who correctly diagnosed the problem as being caused by cron patch 105393-05.
I backed it out and the problem disappeared. According to Michael the problem
exists in 105393-04 also.

Apparently Sun is not aware of this because I cannot find a reference
to this on Sunsolve, and 105393-05 is the latest version.

Regards,

Dan Lorenzini Greenwich Capital Markets
dal@gcm.com 600 Steamboat Road
203-625-6088 Greenwich, CT 06830
--------
Original message dated: Thu, 13 Aug 1998 09:43:24 EDT
--------
>
> Greetings,
>
> I recently applied the 2.6 recommended patches to some of our machines
> and following that system accounting seems to be broken. The machines
> are Sparc 2's, 10's and Ultra 5's. The error is reported in
> /var/adm/messages:
>
> Aug 12 02:30:05 gsnis012 adm: ************ ACCT ERRORS : see /var/adm/acct/nite/active0812********
>
> The contents of /var/adm/acct/nite/active0812 is:
>
> 0812
> Wed Aug 12 02:30:04 EDT 1998
> -rw-rw-r-- 1 adm adm 2052 Aug 12 00:52 /var/adm/wtmp
> -rw-rw-r-- 1 adm adm 1607412 Aug 12 00:52 /var/adm/wtmpx
> -rw-rw-r-- 1 adm adm 0 Aug 10 02:30 fee
> -rw-r--r-- 1 adm adm 267040 Aug 12 02:30 pacct
> -rw-r--r-- 1 adm adm 649000 Aug 9 11:00 pacct1
> ERROR: turnacct switch returned rc=1
>
> The contents of /var/adm/acct/nite/fd2log is:
>
> mv: cannot rename pacct: Permission denied
> pacct: Device busy
> accton failed
> rm: pacct not removed: Permission denied
> mv: cannot access pacct2
>
> When I run /usr/lib/acct/runacct by hand, as user adm, it seems to work
> okay. It was working fine from cron before the patches were applied.
>
> Here is the output of crontab -l adm:
>
> 0 * * * * /usr/lib/acct/ckpacct
> 30 2 * * * /usr/lib/acct/runacct 2> /var/adm/acct/nite/fd2log
> 30 9 * * 5 /usr/lib/acct/monacct
>
> The output of showrev -p is:
>
> Patch: 105757-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105755-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105746-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105736-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105724-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105722-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105718-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105705-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWhea
> Patch: 105686-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105621-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWarc
> Patch: 105615-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105568-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105562-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWnisu
> Patch: 105518-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105516-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105490-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWbtool, SUNWhea, SUNWtoo, SUN
       ***Wosdem
> Patch: 105405-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWarc
> Patch: 105401-04 Obsoletes: 105524-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWarc, SUNWnisu
> Patch: 105397-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105393-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105216-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105210-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWarc
> Patch: 105401-15 Obsoletes: 105524-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWnisu
> Patch: 105562-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWnisu
> Patch: 105210-11 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWarc
> Patch: 105216-03 Obsoletes: Requires: 105401-07 Incompatibles: Packages: SUNWcsu
> Patch: 105395-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105615-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105621-07 Obsoletes: 105686-02, 105845-01, 106064-01, 106075-01 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr,
       *** SUNWarc, SUNWhea, SUNWnisu
> Patch: 105665-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105667-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 106049-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 106271-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWnisu
> Patch: 105755-06 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 106301-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 106448-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105490-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWarc, SUNWbtool, SUNWhea, SUNWtoo, SUN
       ***Wosdem, SUNWxcu4
> Patch: 106226-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 105393-05 Obsoletes: 106033-01 Requires: 105621-04 Incompatibles: Packages: SUNWcsu
> Patch: 105181-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr, SUNWcar, SUNWhea
> Patch: 105847-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105845-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105836-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105797-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105786-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105780-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105778-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105776-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105742-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105720-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105693-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105604-01 Obsoletes: Requires: 105181-02 Incompatibles: Packages: SUNWcsr, SUNWhea
> Patch: 105600-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105572-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105564-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105529-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105528-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105486-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105379-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105214-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105654-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105181-06 Obsoletes: 105636-01, 105776-01 Requires: Incompatibles: Packages: SUNWcsr, SUNWcar, SUNWhea
> Patch: 105379-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105786-05 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105720-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105797-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
> Patch: 105600-05 Obsoletes: Requires: 105181-05 Incompatibles: Packages: SUNWcsr, SUNWhea
> Patch: 105604-05 Obsoletes: Requires: 105181-05 Incompatibles: Packages: SUNWcsr, SUNWhea
> Patch: 105633-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt
> Patch: 105618-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt
> Patch: 105400-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt, SUNWplow1
> Patch: 105284-12 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun
> Patch: 105464-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxwopt, SUNWxwman
> Patch: 105669-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
> Patch: 105630-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
> Patch: 105160-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
> Patch: 106242-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtbas
> Patch: 105416-01 Obsoletes: Requires: Incompatibles: Packages: SUNWaccu
> Patch: 105800-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
> Patch: 106193-01 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
> Patch: 105421-01 Obsoletes: Requires: Incompatibles: Packages: SUNWapppr
> Patch: 105472-01 Obsoletes: Requires: Incompatibles: Packages: SUNWatfsu
> Patch: 105837-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte
> Patch: 105837-02 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte
> Patch: 105566-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdmn
> Patch: 105497-01 Obsoletes: Requires: Incompatibles: Packages: SUNWoldst
> Patch: 106222-01 Obsoletes: Requires: Incompatibles: Packages: SUNWoldst
> Patch: 105377-03 Obsoletes: Requires: Incompatibles: Packages: SUNWbcp
> Patch: 105492-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcg6
> Patch: 105798-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcpr
> Patch: 105558-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst
> Patch: 105338-04 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdst, SUNWdthev, SUNWdtma
> Patch: 105743-01 Obsoletes: Requires: Incompatibles: Packages: SUNWfns
> Patch: 105651-02 Obsoletes: Requires: Incompatibles: Packages: SUNWhea
> Patch: 105795-01 Obsoletes: Requires: Incompatibles: Packages: SUNWhmd, SUNWhmdu
> Patch: 105375-03 Obsoletes: Requires: Incompatibles: Packages: SUNWluxal, SUNWluxop
> Patch: 105375-09 Obsoletes: Requires: Incompatibles: Packages: SUNWluxal, SUNWluxop
> Patch: 105552-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu
> Patch: 105403-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu
> Patch: 105552-02 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu
> Patch: 106235-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu
> Patch: 105637-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpmu
> Patch: 105570-01 Obsoletes: Requires: Incompatibles: Packages: SUNWrtvc, SUNWrtvcl
> Patch: 105357-01 Obsoletes: Requires: Incompatibles: Packages: SUNWses
> Patch: 105357-02 Obsoletes: Requires: Incompatibles: Packages: SUNWses
> Patch: 105356-02 Obsoletes: Requires: Incompatibles: Packages: SUNWssadv
> Patch: 105223-01 Obsoletes: Requires: Incompatibles: Packages: SUNWssadv, SUNWssaop
> Patch: 105356-06 Obsoletes: Requires: Incompatibles: Packages: SUNWssadv
> Patch: 105926-01 Obsoletes: Requires: Incompatibles: Packages: SUNWsutl
> Patch: 106125-05 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt
> Patch: 105426-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtnfc
> Patch: 106040-08 Obsoletes: 105189-03 Requires: Incompatibles: Packages: SUNWxim, SUNWxi18n
> Patch: 105407-01 Obsoletes: Requires: Incompatibles: Packages: SUNWvolu
> Patch: 105189-01 Obsoletes: Requires: Incompatibles: Packages: SUNWxi18n
> Patch: 106303-01 Obsoletes: Requires: Incompatibles: Packages: SUNWypu
>
> Is this a known problem? I'd like to patch some more machines soon.
> Thanks.
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:46 CDT