Bug 2421873 - warning: user/group vnstat does not exist - using root
Summary: warning: user/group vnstat does not exist - using root
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: vnstat
Version: epel10
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adrian Reber
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-12 21:31 UTC by Robert Scheck
Modified: 2025-12-12 21:31 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2025-12-12 21:31:29 UTC
Description of problem:
$ dnf install vnstat -y
Extra Packages for Enterprise Linux 10 - Testing - x86_64                                                                                                                                       136 kB/s | 101 kB     00:00    
Dependencies resolved.
================================================================================================================================================================================================================================
 Package                                            Architecture                                       Version                                                   Repository                                                Size
================================================================================================================================================================================================================================
Installing:
 vnstat                                             x86_64                                             2.13-1.el10_1                                             epel-testing                                             147 k

Transaction Summary
================================================================================================================================================================================================================================
Install  1 Package

Total download size: 147 k
Installed size: 359 k
Downloading Packages:
vnstat-2.13-1.el10_1.x86_64.rpm                                                                                                                                                                 1.1 MB/s | 147 kB     00:00    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                           605 kB/s | 147 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                        1/1 
  Installing       : vnstat-2.13-1.el10_1.x86_64                                                                                                                                                                            1/1 
warning: user vnstat does not exist - using root
warning: group vnstat does not exist - using root
warning: user vnstat does not exist - using root
warning: group vnstat does not exist - using root

  Running scriptlet: vnstat-2.13-1.el10_1.x86_64                                                                                                                                                                            1/1 
Creating group 'vnstat' with GID 989.
Creating user 'vnstat' (vnStat user) with UID 989 and GID 989.


Installed:
  vnstat-2.13-1.el10_1.x86_64                                                                                                                                                                                                   

Complete!
$ 

Version-Release number of selected component (if applicable):
vnstat-2.13-1.el10_1

How reproducible:
Everytime on first installation of vnstat on a new system.

Actual results:
warning: user vnstat does not exist - using root
warning: group vnstat does not exist - using root
warning: user vnstat does not exist - using root
warning: group vnstat does not exist - using root

Expected results:
No warnings.

Additional info:
https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_creation_of_users_and_groups_with_scriptlets
might be the solution?


Note You need to log in before you can comment on or make changes to this bug.