CONFIG_BSD_PROCESS_ACCT is not set in kernel 2.6.22-14-sparc64-smp

Bug #176587 reported by Alex Muntada
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Stefan Bader
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.22-14-sparc64-smp

Just after installing acct package so I could have some accounting I realized that no info was being logged in /var/log/account/pacct.

Then, I tried to enable acctounting manually and I found this:

$ sudo /usr/sbin/accton /var/log/account/pacct
Turning on process accounting, file set to '/var/log/account/pacct'.
accton: Function not implemented

Finally, I confirmed that accounting was not compiled in the kernel:

$ cat /boot/config-2.6.22-14-sparc64-smp | grep -i acct
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_NF_CT_ACCT=y

Why is it so?

CVE References

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Alex,

It looks like this is not set for the sparc kernel config in Hardy either. I'm reasigning to the kernel team. Thanks.

ogasawara@yoji:~/ubuntu-hardy/debian/config$ grep -rn "CONFIG_BSD_PROCESS_ACCT" *
amd64/config:320:CONFIG_BSD_PROCESS_ACCT=y
amd64/config:321:CONFIG_BSD_PROCESS_ACCT_V3=y
hppa/config:155:CONFIG_BSD_PROCESS_ACCT=y
hppa/config:156:CONFIG_BSD_PROCESS_ACCT_V3=y
i386/config:138:CONFIG_BSD_PROCESS_ACCT=y
i386/config:139:CONFIG_BSD_PROCESS_ACCT_V3=y
ia64/config:257:CONFIG_BSD_PROCESS_ACCT=y
ia64/config:258:CONFIG_BSD_PROCESS_ACCT_V3=y
lpia/config:208:CONFIG_BSD_PROCESS_ACCT=y
lpia/config:209:CONFIG_BSD_PROCESS_ACCT_V3=y
powerpc/config:260:CONFIG_BSD_PROCESS_ACCT=y
powerpc/config:261:CONFIG_BSD_PROCESS_ACCT_V3=y
sparc/config:191:# CONFIG_BSD_PROCESS_ACCT is not set

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
milestone: none → hardy-alpha-3
status: New → Triaged
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I'm opened a new task against the actively developed kernel. However, I'm closing the report against linux-source-2.6.22 as it does not meet the criteria for a stable release update. You can learn more about the stable release update process at https://wiki.ubuntu.com/StableReleaseUpdates . Thanks!

Changed in linux-source-2.6.22:
status: New → Won't Fix
Revision history for this message
Alex Muntada (alex.muntada) wrote :

So, if I understood correctly, it should be fixed on Hardy kernel but no update will be made to Gutsy. That's fine with me, acct is not so urgent for me and I will upgrade to Hardy, so there's no problem :)

Just let me know if you want me to try any sparc64 kernel.

Changed in linux:
milestone: hardy-alpha-3 → ubuntu-8.04-beta
Revision history for this message
Ben Collins (ben-collins) wrote :

Stefan, please enable this in the sparc config. Not sure why it was different than the other architectures.

Changed in linux:
assignee: ubuntu-kernel-team → stefan-bader-canonical
status: Triaged → In Progress
Revision history for this message
Stefan Bader (smb) wrote :

Fix commited as b88d9e567ef6d47e25a6895b021b461b2bb4cd40.

Changed in linux:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (20.1 KiB)

This bug was fixed in the package linux - 2.6.24-5.8

---------------
linux (2.6.24-5.8) hardy; urgency=low

  [Alessio Igor Bogani]

  * rt: Update to 2.6.24-rc8-rt1
  * rt: Update configuration files

  [Amit Kucheria]

  * Asix: fix breakage caused in 2.6.24-rc7
  * Add CONFIG_CPUSETS to server-related flavours
    - LP: #182434

  [Chuck Short]

  * SAUCE: ata: blacklist FUJITSU MHW2160BH PL
    - LP: #175834

  [Kees Cook]

  * AppArmor: updated patch series to upstream SVN 1079.

  [Soren Hansen]

  * Updated configs to enable virtio stuff Ignore: yes

  [Stefan Bader]

  * Enabled CONFIG_BSD_PROCESS_ACCT=y for sparc.
    - LP: #176587
  * Enable CONFIG_AUDITSYSCALL=y.
    - LP: #140784
  * Added CONFIG_AUDIT_SYSCALL=y to custom lpia(compat)
  * Enabled CONFIG_HUGETLBFS=y for i386/server amd64/server and ia64.
  * Lower priority of pnpacpi resource messages to warning level.
    - LP: #159241
  * Fix the messed up message level of pnpacpi parser.

  [Tim Gardner]

  * Start new release, bump ABI to -5
  * Disabled iwlwifi preperatory to moving it to l-u-m.
  * Enabled CONFIG_USB_SERIAL_KEYSPAN
  * Disabled CONFIG_CGROUPS.
  * Virtio config settings for -rt.
  * Re-enable IWLWIFI in the kernel.
  * Fixed -rt saa7134-core.c FTBS

  [Upstream Kernel Changes]

  * Input: Handle EV_PWR type of input caps in input_set_capability.
  * Input: jornada680_kbd - fix default keymap
  * increase PNP_MAX_PORT to 40 from 24
  * sched: fix gcc warnings
  * leds: Fix leds_list_lock locking issues
  * leds: Fix locomo LED driver oops
  * x86: fix asm-x86/byteorder.h for userspace export
  * x86: fix asm-x86/msr.h for user-space export
  * ACPI: EC: Enable boot EC before bus_scan
  * ACPI: Make sysfs interface in ACPI power optional.
  * fix lguest rmmod "bad pgd"
  * slub: provide /proc/slabinfo
  * [POWERPC] Fix build failure on Cell when CONFIG_SPU_FS=y
  * slub: register slabinfo to procfs
  * [SCSI] scsi_sysfs: restore prep_fn when ULD is removed
  * Unify /proc/slabinfo configuration
  * scsi: revert "[SCSI] Get rid of scsi_cmnd->done"
  * restrict reading from /proc/<pid>/maps to those who share ->mm or can
    ptrace pid
  * Fix kernel/ptrace.c compile problem (missing "may_attach()")
  * hwmon: (w83627ehf) Be more careful when changing VID input level
  * NFS: Fix a possible Oops in fs/nfs/super.c
  * NFSv4: Fix circular locking dependency in nfs4_kill_renewd
  * NFS: add newline to kernel warning message in auth_gss code
  * NFSv4: nfs4_open_confirm must not set the open_owner as confirmed on
    error
  * NFSv4: Fix open_to_lock_owner sequenceid allocation...
  * gameport: don't export functions that are static inline
  * Input: spitzkbd - fix suspend key handling
  * Input: pass EV_PWR events to event handlers
  * [ARM] 4735/1: Unbreak pxa25x suspend/resume
  * IB/srp: Fix list corruption/oops on module reload
  * Console is utf-8 by default
  * [IA64] Update Altix BTE error return status patch
  * [IA64] Update Altix nofault code
  * [X25]: Add missing x25_neigh_put
  * [XFRM]: Do not define km_migrate() if !CONFIG_XFRM_MIGRATE
  * [CASSINI]: Fix endianness bug.
  * [CASSINI]: Revert 'dont touch page_count'.
  * [CASSINI]: Program parent Inte...

Changed in linux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.