<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16258</bug_id>
          
          <creation_ts>2026-04-21 06:53:14 +0000</creation_ts>
          <short_desc>AB-INT: do_rootfs: useradd / tallylog: Permission denied</short_desc>
          <delta_ts>2026-04-23 14:42:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>5.99</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.0.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105163</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-21 06:53:14 +0000</bug_when>
    <thetext>We have had this issue on the autobuilder for a few days now:

ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: [log_check] core-image-full-cmdline: found 4 error messages in the logfile:
[log_check] b&apos;/srv/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-full-cmdline/1.0/recipe-sysroot-native/usr/sbin/useradd\n/srv/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-full-cmdline/1.0/recipe-sysroot-native/usr/sbin/useradd\nRunning useradd commands...\nNOTE: ptest-runner: Performing useradd with [--prefix /srv/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-full-cmdline/1.0/recipe-sysroot --system --no-create-home --home / --user-group ptest]\npam_tally2: Error opening /var/log/tallylog for update: Permission denied\npam_tally2: Authentication error\nuseradd: failed to reset the tallylog entry of user &quot;ptest&quot;\n/srv/pokybuild/yocto-worker/qemux86/build/build/tmp/work/qemux86-poky-linux/core-image-full-cmdline/1.0/recipe-sysroot-native/usr/sbin/useradd\n&apos;
[log_check] pam_tally2: Error opening /var/log/tallylog for update: Permission denied
[log_check] pam_tally2: Error opening /var/log/tallylog for update: Permission denied
[log_check] pam_tally2: Error opening /var/log/tallylog for update: Permission denied</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105165</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-21 07:08:53 +0000</bug_when>
    <thetext>qemux86 opensuse156-vk-1 master-next&amp;master completed at 2026-04-16 23:39:40+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/3587/steps/15/logs/stdio

qemux86-64-ltp opensuse156-vk-1 mathieu/master-next completed at 2026-04-17 07:04:49+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/3428/steps/13/logs/stdio

meta-virt opensuse156-vk-1 mathieu/master-next completed at 2026-04-19 18:33:44+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/3464/steps/14/logs/stdio

meta-virt opensuse156-vk-1 mathieu/master-next completed at 2026-04-20 16:22:28+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/3469/steps/14/logs/stdio


Following errors differ a bit, but the underlying issue is the same:
Error opening /var/log/tallylog for update: Permission denied\npam_tally2: Authentication error\nuseradd: failed to reset the tallylog entry of user &quot;ptest&quot;

genericarm64 opensuse156-vk-1 master-next completed at 2026-04-17 12:41:31+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/60/builds/3616/steps/13/logs/stdio

multilib opensuse156-vk-1 master-next&amp;master completed at 2026-04-20 12:17:09+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/92/builds/3606/steps/25/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105189</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-22 08:59:47 +0000</bug_when>
    <thetext>qemuarm64 opensuse156-vk-1 mathieu/master-next-tests&amp;mathieu/master-next completed at 2026-04-21 17:49:40+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/36/builds/3633/steps/14/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105217</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-04-23 14:42:46 +0000</bug_when>
    <thetext>https://git.openembedded.org/openembedded-core/commit/?id=ef0856c18378d7ad444e56480bfab953dda52cb0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>