[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm --setperms -vv -a and rpm --setugids -vv -a doesn't produce verbose output



When 4.0.3 is officially released I'll have to upgrade, it looks like.

- Wally Winzer Jr.

Jeff Johnson wrote:

> On Mon, Jul 16, 2001 at 12:54:49AM -0700, Auteria Wally Winzer Jr. wrote:
> > I want to see the files that are being changed.  Within the rpm man
> > pages -vv is supposed to work with every option, yet it doesn't.
> > It produces output like the following (rpm-3.0.6):
> >
> > 1002 wwinzer@Sun-E3000:~ ==> sudo rpm --setperms -vv sendmail
> > sh: D:: not found
> > sh: D:: not found
> > 1003 wwinzer@Sun-E3000:~ ==> sudo rpm --setugids -vv sendmail
> > sh: D:: not found
> > sh: D:: not found
> > 1004 wwinzer@Sun-E3000:~ ==> sudo rpm --setperms -vv imap_ssl
> > sh: D:: not found
> > sh: D:: not found
> >
> > Without the -vv it works fine, since it runs w/ no output.
> > Is this a bug within rpm v3/v4?
> >
>
> You're expecting all rpm options to be implemented in rpm, that's
> not the case with --setperms/--setugids, which are implemented as
> a shell script using popt alieases.
>
> > Can someone provide the solution, if any?
>
> There is no obvious solution, except to reimplement all of rpm's goofy
> little options in rpm itself, and that's not gonna happen.
>
> What is happening is that rpm popt aliases are now explicitly documented
> as such (from rpm-4.0.3-0.71):
>
> Options implemented via popt alias/exec:
>   --scripts                        list install/erase scriptlets from
>                                    package(s)
>   --setperms                       set permissions of files in a package
>   --setugids                       set user/group ownership of files in a
>                                    package
>   --conflicts                      list capabilities this package conflicts
>                                    with
>   --obsoletes                      list other packages removed by installing
>                                    this package
>   --provides                       list capabilities that this package provides
>   --requires                       list capabilities required by package(s)
>   --info                           list descriptive information from package(s)
>   --changelog                      list change logs for this package
>   --triggers                       list trigger scriptlets from package(s)
>   --last                           list package(s) by install time, most
>                                    recent first
>   --filesbypkg                     list all files from each package
>   --redhatprovides                 find package name that contains a provided
>                                    capability (needs rpmdb-redhat package
>                                    installed)
>   --redhatrequires                 find package name that contains a required
>                                    capability (needs rpmdb-redhat package
>                                    installed)
>   --buildpolicy=<policy>           set buildroot <policy> (e.g. compress man
>                                    pages)
>   --with=<option>                  enable configure <option> for build
>   --without=<option>               disable configure <option> for build
>
> 73 de Jeff
>
> --
> Jeff Johnson    ARS N3NPQ
> jbj@jbj.org     (jbj@redhat.com)
> Chapel Hill, NC
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []