Re: [OpenIndiana-discuss] Massive numbers of man files, , missing on 151a4

2012-05-07 Thread Hans J. Albertsson
Alan Coopersmith gave some interesting info just now: some (not all) 
files appeared in /var/pkg/lost+found/.


The missing man files weren't there, but most (80 %?) of the missing 
/usr/local tree was.


I had no idea that dir was there. There you go, manuals should be read.
i e rtfm not waefrtfm.

On 2012-05-07 16:33, openindiana-discuss-requ...@openindiana.org wrote:
Message: 2 Date: Mon, 07 May 2012 15:31:19 +0200 From: "Hans J. 
Albertsson"  To: 
openindiana-discuss@openindiana.org Subject: Re: [OpenIndiana-discuss] 
Massive numbers of man files, missing on 151a4 Message-ID: 
<4fa7cea7.3060...@branneriet.se> Content-Type: text/plain; 
charset=ISO-8859-1; format=flowed No, that's not it: I thought of that 
possibility, but my /usr/local is just another directory /usr. And 
where did the man files go?? I'm actually thinking I would have liked 
to be able to trace what updatemanager did, after the fact. Still, I 
now know I must do a snapshot at every step of any fishy pkg stuff. 
And I've got the files back, and things work. Next time I'll be more 
observant. On 2012-05-07 14:50, 
openindiana-discuss-requ...@openindiana.org wrote:

>  Message: 5
>  Date: Mon, 07 May 2012 07:21:32 -0400
>  From: James Carlson
>  To: Discussion list for OpenIndiana
>    
>  Subject: Re: [OpenIndiana-discuss] Massive numbers of man files,
>missing on 151a4
>  Message-ID:<4fa7b03c.4010...@workingcode.com>
>  Content-Type: text/plain; charset=ISO-8859-1
>
>  Hans J. Albertsson wrote:

>>  >I  managed to determine (ocular inspection of "ls" in several 
snapshots)
>>  >that the only files missing were about 1200 man pages in man1, and the
>>  >entire /usr/local tree.
>>  >  
>>  >And I think it must have happened as I removed the sfe version of

>>  >imagemagick.

>  One way I've seen this sort of thing happen is when an administrator
>  uses a symlink for a common directory (such as /usr/local), and a
>  package delivers a directory entry for that same path.  The packaging
>  system will happily blow the symlink away.
>
>  If that's what you've been doing, I suggest using mounts instead of
>  symlinks.  The simplest thing to do is to make /usr/local (or whatever
>  is being symlink'd) be a separate zfs file system.  Alternatively, if
>  separate file systems are not your taste for some reason, consider using
>  a lofs mount.  (Of course, getting that mount in place at boot time may
> be slightly tougher to do on a modern Open Indiana system, as zfs works
>  outside of the /etc/vfstab scheme.)
>
>  -- James Carlson 42.703N 71.076W


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4

2012-05-07 Thread Alan Coopersmith
On 05/ 7/12 06:31 AM, Hans J. Albertsson wrote:
> No, that's not it: I thought of that possibility, but my /usr/local is just
> another directory /usr.
> And where did the man files go??

Did any of the missing files get moved under /var/pkg/lost+found/ ?

That's where pkg puts unexpected, unpackaged files when it's removing a
directory the package system thinks should be deleted because you removed
all the packages delivered to it.

-- 
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4

2012-05-07 Thread Hans J. Albertsson
No, that's not it: I thought of that possibility, but my /usr/local is 
just another directory /usr.

And where did the man files go??

I'm actually thinking I would have liked to be able to trace what 
updatemanager did, after the fact.


Still, I now know I must do a snapshot at every step of any fishy pkg stuff.

And I've got the files back, and things work. Next time I'll be more 
observant.


On 2012-05-07 14:50, openindiana-discuss-requ...@openindiana.org wrote:

Message: 5
Date: Mon, 07 May 2012 07:21:32 -0400
From: James Carlson
To: Discussion list for OpenIndiana
    
Subject: Re: [OpenIndiana-discuss] Massive numbers of man files,
missing on 151a4
Message-ID:<4fa7b03c.4010...@workingcode.com>
Content-Type: text/plain; charset=ISO-8859-1

Hans J. Albertsson wrote:

>  I  managed to determine (ocular inspection of "ls" in several snapshots)
>  that the only files missing were about 1200 man pages in man1, and the
>  entire /usr/local tree.
>  
>  And I think it must have happened as I removed the sfe version of

>  imagemagick.

One way I've seen this sort of thing happen is when an administrator
uses a symlink for a common directory (such as /usr/local), and a
package delivers a directory entry for that same path.  The packaging
system will happily blow the symlink away.

If that's what you've been doing, I suggest using mounts instead of
symlinks.  The simplest thing to do is to make /usr/local (or whatever
is being symlink'd) be a separate zfs file system.  Alternatively, if
separate file systems are not your taste for some reason, consider using
a lofs mount.  (Of course, getting that mount in place at boot time may
  be slightly tougher to do on a modern Open Indiana system, as zfs works
outside of the /etc/vfstab scheme.)

-- James Carlson 42.703N 71.076W 


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4

2012-05-07 Thread James Carlson
Hans J. Albertsson wrote:
> I  managed to determine (ocular inspection of "ls" in several snapshots)
> that the only files missing were about 1200 man pages in man1, and the
> entire /usr/local tree.
> 
> And I think it must have happened as I removed the sfe version of
> imagemagick.

One way I've seen this sort of thing happen is when an administrator
uses a symlink for a common directory (such as /usr/local), and a
package delivers a directory entry for that same path.  The packaging
system will happily blow the symlink away.

If that's what you've been doing, I suggest using mounts instead of
symlinks.  The simplest thing to do is to make /usr/local (or whatever
is being symlink'd) be a separate zfs file system.  Alternatively, if
separate file systems are not your taste for some reason, consider using
a lofs mount.  (Of course, getting that mount in place at boot time may
 be slightly tougher to do on a modern Open Indiana system, as zfs works
outside of the /etc/vfstab scheme.)

-- 
James Carlson 42.703N 71.076W 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files, missing on 151a4

2012-05-07 Thread Hans J. Albertsson
I  managed to determine (ocular inspection of "ls" in several snapshots) 
that the only files missing were about 1200 man pages in man1, and the 
entire /usr/local tree.


And I think it must have happened as I removed the sfe version of 
imagemagick.


I'm ok now, I think.

I still wonder what could have happened?
On 2012-05-07 02:56, openindiana-discuss-requ...@openindiana.org wrote:

Message: 6
Date: Sun, 06 May 2012 20:48:26 +0200
From: "Hans J. Albertsson"
To:openindiana-discuss@openindiana.org
Subject: Re: [OpenIndiana-discuss] Massive numbers of man files
missing on  151a4
Message-ID:<4fa6c77a.20...@branneriet.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I should add that I cannot remember why I had both the standard
imagemagick from openindiana.org AND the sfe version.
This is fishy, I distinctly remember deciding that I wanted to remove
the openindiana.org one and replace it with the sfe one.
Not for any rational reason, I just planned on playing with the sfe one
a bit. And I have done that, and did not have a problem.
And I was quite convinced I hade removed the openindiana.org one.

Still, something like that can be planned but never executed on account
of being interrupted, or a cat walking across my keyboard when I went
for a coffee, but I don't think so.

On 2012-05-06 20:42, Hans J. Albertsson wrote:

>  actually it is much more of a problem than just the below man files.
>
>  all of /usr/local has disappeared, and select trees and single files.
>
>  The complete story:
>
>  I run various things from directories in /usr/local, and I know for a
>  fact they all worked perfectly this morning.
>
>  For some reason I thought I'd try upgrading OI151a3 to a4, and the
>  updatemanager application listed a set of problematic packages:
>  Imagemagick, drupal6, joomla and Bash-completion.
>  The last three were leftovers overlooked when I discarded the contrib
>  repository, and had directory property conflicts with other packages.
>  I removed those three by clicking one at a time and uninstalling them
>  thru the packagemanager.
>
>  Imagemagick had a massive set of conflicts listed between itself and
>  the sfe version. I removed the sfe version thru the package manager.
>
>  After this I ran updatemanager and rebooted into the new BE. There I
>  ran pkg fix, just to check what it looked like. After that I tried man
>  pkg, which failed.
>  Then all the services I ran out of /usr/local were gone.
>
>  I rebooted back into the previous BE, but it's all gone there, too.
>  It's also gone from the snapshot created by the update manager this
>  morning.
>
>  It's very little actual data missing. Just a few hundred MB.
>
>  I have most of it available in a month-old snapshot of /, but that
>  thing with directory permissions got me thinking maybe it's all there,
>  just hidden somewhere... ???
>
>  Suggest a rational way to get all the data back!
>  Or some interesting way, at least.
>
>  I'm nearly comfortable running zfs as an admin, but no expert, and not
>  very conversant with the inner structure of zfs pools or data sets.
>  I haven't ever really had to restore data from snapshots in an active
>  root pool.
>
>
>
>
>  On 2012-05-06 15:42, Hans J. Albertsson wrote:

>>  After updating to OI151a4 using updatemanager, I find most manual
>>  files in man1 missing!
>>
>>  Is this my own faulty management practices, or has anyone else seen
>>  the same?
>>
>>  pfexec pkg fix
>>
>>  lists tons of missing man1 files


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4

2012-05-06 Thread Hans J. Albertsson
I should add that I cannot remember why I had both the standard 
imagemagick from openindiana.org AND the sfe version.
This is fishy, I distinctly remember deciding that I wanted to remove 
the openindiana.org one and replace it with the sfe one.
Not for any rational reason, I just planned on playing with the sfe one 
a bit. And I have done that, and did not have a problem.

And I was quite convinced I hade removed the openindiana.org one.

Still, something like that can be planned but never executed on account 
of being interrupted, or a cat walking across my keyboard when I went 
for a coffee, but I don't think so.


On 2012-05-06 20:42, Hans J. Albertsson wrote:

actually it is much more of a problem than just the below man files.

all of /usr/local has disappeared, and select trees and single files.

The complete story:

I run various things from directories in /usr/local, and I know for a 
fact they all worked perfectly this morning.


For some reason I thought I'd try upgrading OI151a3 to a4, and the 
updatemanager application listed a set of problematic packages: 
Imagemagick, drupal6, joomla and Bash-completion.
The last three were leftovers overlooked when I discarded the contrib 
repository, and had directory property conflicts with other packages. 
I removed those three by clicking one at a time and uninstalling them 
thru the packagemanager.


Imagemagick had a massive set of conflicts listed between itself and 
the sfe version. I removed the sfe version thru the package manager.


After this I ran updatemanager and rebooted into the new BE. There I 
ran pkg fix, just to check what it looked like. After that I tried man 
pkg, which failed.

Then all the services I ran out of /usr/local were gone.

I rebooted back into the previous BE, but it's all gone there, too.
It's also gone from the snapshot created by the update manager this 
morning.


It's very little actual data missing. Just a few hundred MB.

I have most of it available in a month-old snapshot of /, but that 
thing with directory permissions got me thinking maybe it's all there, 
just hidden somewhere... ???


Suggest a rational way to get all the data back!
Or some interesting way, at least.

I'm nearly comfortable running zfs as an admin, but no expert, and not 
very conversant with the inner structure of zfs pools or data sets.
I haven't ever really had to restore data from snapshots in an active 
root pool.





On 2012-05-06 15:42, Hans J. Albertsson wrote:
After updating to OI151a4 using updatemanager, I find most manual 
files in man1 missing!


Is this my own faulty management practices, or has anyone else seen 
the same?


pfexec pkg fix

lists tons of missing man1 files


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4

2012-05-06 Thread Hans J. Albertsson

actually it is much more of a problem than just the below man files.

all of /usr/local has disappeared, and select trees and single files.

The complete story:

I run various things from directories in /usr/local, and I know for a 
fact they all worked perfectly this morning.


For some reason I thought I'd try upgrading OI151a3 to a4, and the 
updatemanager application listed a set of problematic packages: 
Imagemagick, drupal6, joomla and Bash-completion.
The last three were leftovers overlooked when I discarded the contrib 
repository, and had directory property conflicts with other packages. I 
removed those three by clicking one at a time and uninstalling them thru 
the packagemanager.


Imagemagick had a massive set of conflicts listed between itself and the 
sfe version. I removed the sfe version thru the package manager.


After this I ran updatemanager and rebooted into the new BE. There I ran 
pkg fix, just to check what it looked like. After that I tried man pkg, 
which failed.

Then all the services I ran out of /usr/local were gone.

I rebooted back into the previous BE, but it's all gone there, too.
It's also gone from the snapshot created by the update manager this morning.

It's very little actual data missing. Just a few hundred MB.

I have most of it available in a month-old snapshot of /, but that thing 
with directory permissions got me thinking maybe it's all there, just 
hidden somewhere... ???


Suggest a rational way to get all the data back!
Or some interesting way, at least.

I'm nearly comfortable running zfs as an admin, but no expert, and not 
very conversant with the inner structure of zfs pools or data sets.
I haven't ever really had to restore data from snapshots in an active 
root pool.





On 2012-05-06 15:42, Hans J. Albertsson wrote:
After updating to OI151a4 using updatemanager, I find most manual 
files in man1 missing!


Is this my own faulty management practices, or has anyone else seen 
the same?


pfexec pkg fix

lists tons of missing man1 files


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Massive numbers of man files missing on 151a4

2012-05-06 Thread ramble1035 @dslextreme.com
I see lots of output from "pkg fix", but it all seems to be
complaining about missing license files.  And there are 1216 files in
/usr/share/man/man1.

It looks like there's something else going on.

  -- C

(My system is a new install from distribution of 151a with immediate updates.)


On Sun, May 6, 2012 at 6:42 AM, Hans J. Albertsson
 wrote:
> After updating to OI151a4 using updatemanager, I find most manual files in
> man1 missing!
>
> Is this my own faulty management practices, or has anyone else seen the
> same?
>
> pfexec pkg fix
>
> lists tons of missing man1 files
>
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Massive numbers of man files missing on 151a4

2012-05-06 Thread Hans J. Albertsson
After updating to OI151a4 using updatemanager, I find most manual files 
in man1 missing!


Is this my own faulty management practices, or has anyone else seen the 
same?


pfexec pkg fix

lists tons of missing man1 files

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss