Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390581 - app-backup/tsm-6.3.0.0: version bump
Summary: app-backup/tsm-6.3.0.0: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: ftp://ftp.software.ibm.com/storage/ti...
Whiteboard:
Keywords:
Depends on:
Blocks: 375041
  Show dependency tree
 
Reported: 2011-11-14 22:53 UTC by Martin von Gagern
Modified: 2012-05-14 16:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Diff of ebuilds (tsm-6.3.0.0.diff,3.78 KB, patch)
2011-11-14 22:53 UTC, Martin von Gagern
Details | Diff
tsm-6.3.0.0-r1 (tsm-6.3.0.0-r1.ebuild,6.12 KB, text/plain)
2012-01-25 12:50 UTC, Tero Pelander
Details
Reworked ebuild (2012-05-13-a.sh,18.95 KB, text/plain)
2012-05-13 17:16 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-11-14 22:53:25 UTC
Created attachment 292559 [details, diff]
Diff of ebuilds

There is a new version of the IBM Tivoli Storage Manager Backup-Archive Client, version 6.3.0.0. The atached patch changes the ebuild accordingly. Note that the new version appears to be 64bit only, so the old version should probably stay around a while longer.

Client did install on my system, and at least basic functionality has been tested: the command line backups seem to work as they used to. No promises on anything more advanced, or anything at all, come to that, though.

Note that the ebuild generates a lot of QA warnings. The package being closed source, I doubt there is much we can do about those, though.
Comment 1 Tero Pelander 2012-01-25 12:50:45 UTC
Created attachment 299841 [details]
tsm-6.3.0.0-r1

An upgraded version of the ebuild. All dependencies have been checked and QA problems flagged. The only annoyance left is that you need to run /sbin/ldconfig manually. (There is an "einfo" for it in the ebuild.)

I have been using this in a new server for some time.
Comment 2 Pacho Ramos gentoo-dev 2012-03-06 09:30:12 UTC
I am unfamiliar with this app, is this latest version? Is it still amd64 only? Thanks for the info
Comment 3 Martin von Gagern 2012-03-06 14:24:12 UTC
(In reply to comment #2)
> I am unfamiliar with this app, is this latest version?

ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/v6r3/Linux/LinuxX86/BA/v630/ has a patch release, 6.3.0.5. Pages like http://www-01.ibm.com/support/docview.wss?uid=swg21239415 don't link to those files, but still refer to the 6.3.0.0 download path inside maintenance. ftp://ftp.software.ibm.com/storage/tivoli-storage-management/.message describes the content of the different trees as follows:

   maintenance - contains ptf code for Clients and Servers
   patches     - contains fixtest code for Clients and Servers

Sounds to me like we'd only ever want to roll ebuilds from the patches tree for ~ARCH, never for stable ARCH. It would be easy to have the ebuild decide the path based on the 4th version component: if that is 0, use maintenance, otherwise use patches. That way, a simple rename would be enough for users to grab such a fixtest. Do you think that approach would make sense?

By the way, we probably should set
HOMEPAGE=http://www.ibm.com/software/tivoli/products/storage-mgr/
as this appears to be the most suitable page describing this product.

> Is it still amd64 only?

The primary tarball contains only *.x86_64.rpm files, so there appears to be no support for 32bit x86. There are tarballs for PPC and zSeries in the Linux directory, though. Haven't looked at these so far.

http://www.ibm.com/support/docview.wss?uid=swg21052223 also states that 6.3 only supports amd64; 32bit x86 users should probably be using 6.2 I guess. Latest tsm in portage is 6.2.2.0-r1; latest upstream 6.2.* is 6.2.4.1:
ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/v6r2/Linux/LinuxX86/v624/
Comment 4 Pacho Ramos gentoo-dev 2012-03-09 08:09:05 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I am unfamiliar with this app, is this latest version?
> 
> ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/
> v6r3/Linux/LinuxX86/BA/v630/ has a patch release, 6.3.0.5. Pages like
> http://www-01.ibm.com/support/docview.wss?uid=swg21239415 don't link to
> those files, but still refer to the 6.3.0.0 download path inside
> maintenance.
> ftp://ftp.software.ibm.com/storage/tivoli-storage-management/.message
> describes the content of the different trees as follows:
> 
>    maintenance - contains ptf code for Clients and Servers
>    patches     - contains fixtest code for Clients and Servers
> 
> Sounds to me like we'd only ever want to roll ebuilds from the patches tree
> for ~ARCH, never for stable ARCH. It would be easy to have the ebuild decide
> the path based on the 4th version component: if that is 0, use maintenance,
> otherwise use patches. That way, a simple rename would be enough for users
> to grab such a fixtest. Do you think that approach would make sense?
> 
> By the way, we probably should set
> HOMEPAGE=http://www.ibm.com/software/tivoli/products/storage-mgr/
> as this appears to be the most suitable page describing this product.
> 

The idea would be to always use "patches" tree

> > Is it still amd64 only?
> 
> The primary tarball contains only *.x86_64.rpm files, so there appears to be
> no support for 32bit x86. There are tarballs for PPC and zSeries in the
> Linux directory, though. Haven't looked at these so far.
> 
> http://www.ibm.com/support/docview.wss?uid=swg21052223 also states that 6.3
> only supports amd64; 32bit x86 users should probably be using 6.2 I guess.
> Latest tsm in portage is 6.2.2.0-r1; latest upstream 6.2.* is 6.2.4.1:
> ftp://ftp.software.ibm.com/storage/tivoli-storage-management/patches/client/
> v6r2/Linux/LinuxX86/v624/

Looks like 6.2 tree is still maintained, are you sure 6.2.x are not tagged as "stable" releases and 6.3.x as "testing" or "unstable"?
Comment 5 Martin von Gagern 2012-03-09 10:48:56 UTC
(In reply to comment #4)
> The idea would be to always use "patches" tree

I assume that when 6.3.1.0 arrives, it will appear in the maintenance tree only, and the patches tree will receive a newer update only when 6.3.1.1 comes along. So you should choose the tree based on the last version component, I believe.

> Looks like 6.2 tree is still maintained, are you sure 6.2.x are not tagged
> as "stable" releases and 6.3.x as "testing" or "unstable"?

I'm not 100% sure about anything, but my local tsm server admins told me they had assigned storage on a 6.3 server for me, so they would advise I use a 6.3 client as well. As this is a pretty large setup, I'm confident they are not running versions not ready for production use. Users with access to a 6.2 server as well as users on a 32bit system might both be happy about a 6.2 client, though.
Comment 6 Pacho Ramos gentoo-dev 2012-03-09 20:08:00 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > The idea would be to always use "patches" tree
> 
> I assume that when 6.3.1.0 arrives, it will appear in the maintenance tree
> only, and the patches tree will receive a newer update only when 6.3.1.1
> comes along. So you should choose the tree based on the last version
> component, I believe.

If that is the case, of course :-)

> 
> > Looks like 6.2 tree is still maintained, are you sure 6.2.x are not tagged
> > as "stable" releases and 6.3.x as "testing" or "unstable"?
> 
> I'm not 100% sure about anything, but my local tsm server admins told me
> they had assigned storage on a 6.3 server for me, so they would advise I use
> a 6.3 client as well. As this is a pretty large setup, I'm confident they
> are not running versions not ready for production use. Users with access to
> a 6.2 server as well as users on a 32bit system might both be happy about a
> 6.2 client, though.

Per http://en.wikipedia.org/wiki/IBM_Tivoli_Storage_Manager looks like 6.3 is "stable" also then, we would need to bump both versions

This would be my plan:
- As this package is orphan and no dev wants to maintain it I could be your proxy maintainer, that way, you could contribute to get it fixed and bumped and I would be your committer. This is explained a bit better at:
http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml

In this case, I think I could be your proxy maintainer directly instead of relying on proxy-maint but, if for some reason you prefer to be proxied by proxy-maint team, ok :)

What do you think?

I would start point would be to attach updated ebuilds for 6.2.x and 6.3.x to let me review them and commit if ok (or fix them, explain the changes and commit anyway)
Comment 7 Pacho Ramos gentoo-dev 2012-03-09 20:08:53 UTC
Also, both bumps should include fix from bug 375041
Comment 8 Martin von Gagern 2012-03-09 21:44:22 UTC
(In reply to comment #6)
> This would be my plan:
> - As this package is orphan and no dev wants to maintain it I could be your
> proxy maintainer, that way, you could contribute to get it fixed and bumped
> and I would be your committer. This is explained a bit better at:
> http://www.gentoo.org/proj/en/qa/proxy-maintainers/index.xml

Generally fine with me, although I'll need some time to work on those ebuilds. In particular, I'd like to understand this ldconfig stuff Tero has been writing about in comment #1. If you'll proxy my maintainership, I take it that either you or the bug wranglers would make sure to cc new tsm bug reports to me.
Comment 9 Pacho Ramos gentoo-dev 2012-03-10 08:29:26 UTC
For this cases when I am the proxy maintainer I usually set metadata to get bugs assigned to maintainer (you) and proxy-maintainer CCed (me)
Comment 10 Pacho Ramos gentoo-dev 2012-03-24 10:31:24 UTC
Were you able to look at this? ;)
Comment 11 Martin von Gagern 2012-03-25 18:30:45 UTC
(In reply to comment #10)
> Were you able to look at this? ;)

In part: I've got a merged version, hopefully containing the best from both my own ebuild and the one Tero attached in comment #1. The thing I'm least clear about, though, is this ldconfig thing he wrote about. The fact that there apparently isn't a single ebuild in all of the official portage tree that has to worry about the user calling ldconfig makes me believe that tsm shouldn't have to, either. I believe that both env-update and ldconfig are run automatically by emerge, so the user shouldn't have to act at all, but I'd like to verify that fact before completing the ebuild. Do you have any info on that?
Comment 12 Pacho Ramos gentoo-dev 2012-03-26 08:55:08 UTC
But, have you seen any problem when not re-running ldconfig manually? If not, I think we could go without that ugly stuff
Comment 13 Pacho Ramos gentoo-dev 2012-04-16 10:21:04 UTC
(In reply to comment #12)
> But, have you seen any problem when not re-running ldconfig manually? If
> not, I think we could go without that ugly stuff

Any news here?
Comment 14 Pacho Ramos gentoo-dev 2012-05-11 09:02:34 UTC
ping
Comment 15 Martin von Gagern 2012-05-13 17:16:36 UTC
Created attachment 311647 [details]
Reworked ebuild

Sorry it took me so long, but here are ebuilds for both tsm-6.3.0.0 and tsm-6.3.0.5. Modifications since my last attachments:
* Merged my own ebuild and the one from Tero Pelander from comment #1
* Fixed broken symlinks for libgpfs.so libdmapi.so; it might be that these
  were the real reason why Taro had to use ldconfig but I didn't have to before
* Addressed bug 375041 (and thus comment #7) in a very conservative way, making
  /var/log/tsm not group-writable but only the known files in that directory
* Added new USE flags to metadata.xml
* Implemented support for patchlevel versions as per comment #5
* Included full version number in messages files, to avoid name conflicts due
  to different paths as well as due to upstream changing files without renaming

The attached file is a shell script which will generate the files. You can look at the plain text content of the contained files in your browser, and still unpack everything from a single downloaded file. The script will fail if there already is an app-backup directory, so nothing will be overwritten. Is this method of bundling files all right for you, or would you rather I attach several files or create a tarball or something like this?

I haven't tackled 6.2.x yet, but I'll feel better to have 6.3.x on the way (i.e. attached here) before I start working on that one.
Comment 16 Pacho Ramos gentoo-dev 2012-05-13 17:59:26 UTC
Well, I won't be able to check them today. For the next time, attaching files in a tarball or separately is enough (needs less work from you and makes checking easier ;))
Comment 17 Pacho Ramos gentoo-dev 2012-05-14 16:12:26 UTC
+*tsm-6.3.0.5 (14 May 2012)
+*tsm-6.3.0.0 (14 May 2012)
+
+  14 May 2012; Pacho Ramos <pacho@gentoo.org> +tsm-6.3.0.0.ebuild,
+  +tsm-6.3.0.5.ebuild, files/dsmc.conf.d, files/dsmc.init.d,
+  files/dsmcad.init.d, files/tsm.logrotate, metadata.xml, tsm-6.2.2.0-r1.ebuild:
+  Version bump (#390581) that also fixes logrotate config file (#375041), thanks
+  a lot to Martin von Gagern that also becomes maintainer with me as proxy.
+