public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "dsmith at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug runtime/5705] Need more descriptive error messages on non-root systemtap invocation
Date: Mon, 04 Feb 2008 15:07:00 -0000	[thread overview]
Message-ID: <20080204150618.28976.qmail@sourceware.org> (raw)
In-Reply-To: <20080201083922.5705.ananth@in.ibm.com>


------- Additional Comments From dsmith at redhat dot com  2008-02-04 15:06 -------
(In reply to comment #2)
> Looks good.
> If one can find in e.g. the fedora packaging guidelines
> information to the effect of creating new groups during
> .rpm installation, we can plop such code into a new
> -runtime RPM %post piece.

The fedora packaging guidelines for creating users and groups is located here:

<http://fedoraproject.org/wiki/Packaging/UsersAndGroups?highlight=%28Packaging%29>

The systemtap spec file already follows the latest fedora packaging guidelines
and creates the groups at install time.  This functionality was added on
2007-08-14.  It is done in the %pre section, like this:

  %pre
  getent group stapdev >/dev/null || groupadd -r stapdev
  getent group stapusr >/dev/null || groupadd -r stapusr
  exit 0

However, after thinking about it.  This needs to be done for the
systemtap-runtime rpm, not the main systemtap rpm.  So, the %pre section has
been moved to the systemtap-runtime rpm.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5705

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

  parent reply	other threads:[~2008-02-04 15:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01  8:40 [Bug runtime/5705] New: " ananth at in dot ibm dot com
2008-02-01  8:43 ` [Bug runtime/5705] " ananth at in dot ibm dot com
2008-02-01 16:20 ` fche at redhat dot com
2008-02-01 17:19 ` jkenisto at us dot ibm dot com
2008-02-04  9:32 ` ananth at in dot ibm dot com
2008-02-04 13:37 ` ananth at in dot ibm dot com
2008-02-04 13:41 ` ananth at in dot ibm dot com
2008-02-04 15:07 ` dsmith at redhat dot com [this message]
2008-02-05  5:31 ` ananth at in dot ibm dot com
2008-02-05 16:03 ` fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080204150618.28976.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).