public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-catalyst] [PATCH 4/4] stage4/groups: improve log message
  @ 2022-04-21  7:08 99%   ` Daniel Cordero
  0 siblings, 0 replies; 1+ results
From: Daniel Cordero @ 2022-04-21  7:08 UTC (permalink / raw
  To: gentoo-catalyst

When creating a user with no additional groups, don't print a misleading message
saying the user will be created with an equals sign in the username.
---
 catalyst/base/stagebase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index d4875491..9814ebcc 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -947,7 +947,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
             uacmd = ["useradd", "-R", self.settings['chroot_path'], "-m", x]
             if grp != '':
                 uacmd = ["useradd", "-R", self.settings['chroot_path'], "-m", "-G", grp, usr]
-            log.notice("Creating user: '%s'", f"{usr}={grp}")
+            log.notice("Creating user: '%s' in group(s): %s", usr, grp)
             cmd(uacmd, env=self.env)
 
     def ssh_public_keys(self):
-- 
2.35.1



^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-04-20 23:26     [gentoo-catalyst] [PATCH 1/3] catalyst: support 3 new options Matt Turner
2022-04-21  7:08     ` [gentoo-catalyst] [PATCH 1/4] stage4: fix handling of groups, users and keys Daniel Cordero
2022-04-21  7:08 99%   ` [gentoo-catalyst] [PATCH 4/4] stage4/groups: improve log message Daniel Cordero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox