[OpenIndiana-discuss] pkg update hangs downloading ghostscript

2023-12-14 Thread Oscar del Rio

Hi all,

There might be an issue with /print/filter/ghostscript package that is 
hanging "pkg update".
The update starts well for other packages but then it hangs in 
ghostscript consistently.


I uninstalled ghostscript (not needed on this machine), then "pkg 
update" completed successfully.

Error message:

DOWNLOAD PKGS FILES    XFER (MB)   SPEED
print/filter/ghostscript 342/472    6084/13973 
209.7/603.6  --


Errors were encountered while attempting to retrieve package or file 
data for

the requested operation.
Details follow:

pkg://openindiana.org/print/filter/ghostscript@10.2.1,5.11-2023.0.0.0:20231126T181228Z
  1: Framework error: code: E_RECV_ERROR (56) reason: Recv failure: 
Connection reset by peer
URL: 
'http://pkg.openindiana.org/hipster/openindiana.org/file/1/b1f105c0b8d1e3c2b1820f0efa8fb2a321acc971' 
(happened 3 times)
  2: Framework error: code: E_OPERATION_TIMEOUTED (28) reason: 
Operation too slow. Less than 1024 bytes/sec transferred the last 30 seconds
URL: 
'http://pkg.openindiana.org/hipster/openindiana.org/file/1/b1f105c0b8d1e3c2b1820f0efa8fb2a321acc971'


Cheers,
Oscar

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


Re: [OpenIndiana-discuss] pkg update fails

2023-05-15 Thread Oscar del Rio



On 2023-05-15 4:01 a.m., Predrag Zecevic via openindiana-discuss wrote:

Invalid Package Name: dat`base/mariadb-106/client


Bit flip somewhere that turned 'database' into 'dat`base'?

binary ascii code for 'a' is 0111
binary ascii code for '`' is 0110

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


Re: [OpenIndiana-discuss] Time-slider

2022-06-07 Thread Oscar del Rio

On 2022-06-07 1:36 p.m., I wrote:

On 2022-06-06 3:59 p.m., hput via openindiana-discuss wrote:

Any way to set the pace of snaps myself? It appears that its set to
do 24 hourly snaps a day which for my use is about %90 more than I
need or want.  In fact 2 per day would be about right for me.


Check:

# svcprop auto-snapshot:hourly
zfs/interval astring hours
zfs/keep astring 23
zfs/period astring 1

Change:

# svccfg -s auto-snapshot:hourly setprop zfs/keep=2
# svccfg -s auto-snapshot:hourly setprop zfs/period=8



I forgot to add "refresh"

# svcadm refresh auto-snapshot:hourly

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


Re: [OpenIndiana-discuss] Time-slider

2022-06-07 Thread Oscar del Rio

On 2022-06-06 3:59 p.m., hput via openindiana-discuss wrote:

Any way to set the pace of snaps myself?  It appears that its set to
do 24 hourly snaps a day which for my use is about %90 more than I
need or want.  In fact 2 per day would be about right for me.


Check:

# svcprop auto-snapshot:hourly
zfs/interval astring hours
zfs/keep astring 23
zfs/period astring 1

Change:

# svccfg -s auto-snapshot:hourly setprop zfs/keep=2
# svccfg -s auto-snapshot:hourly setprop zfs/period=8


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


Re: [OpenIndiana-discuss] Fastboot not working on Hipster-2015.03.30 (closed)

2015-04-10 Thread Oscar del Rio

On 04/ 2/15 01:27 AM, Alexander Pyhalov wrote:

Oscar del Rio писал 02.04.2015 02:23:

Fresh install of Hipster-2015.03.30 plus pkg-update (illumos-bde3d61)
on a Dell PowerEdge R220.

Everything seems to be working great, except fastboot.
When rebooting, the following error is shown:

reboot: Failed to process GRUB menu entry for fast reboot.
Invalid format for findroot
reboot: Falling back to regular reboot.



Hello.
Please, file illumos-gate bug. It looks like fast reboot is broken with new 
EFI boot code.


Has someone tested fast reboot with new EFI boot code?


Just to confirm that fast reboot is working again on the latest update 
(OI-Hipster illumos-98110f0)


https://www.illumos.org/issues/5786  (closed)

Thanks!

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


[OpenIndiana-discuss] Fastboot not working on Hipster-2015.03.30

2015-04-01 Thread Oscar del Rio
Fresh install of Hipster-2015.03.30 plus pkg-update (illumos-bde3d61) on a 
Dell PowerEdge R220.


Everything seems to be working great, except fastboot.
When rebooting, the following error is shown:

reboot: Failed to process GRUB menu entry for fast reboot.
Invalid format for findroot
reboot: Falling back to regular reboot.

Not a big deal, just slow reboots, but just thought to mention it in case it 
is a new bug.


rpool is on mirror-drives, full disks:
rpool   ONLINE   0 0 0
  mirror-0  ONLINE   0 0 0
c2t0d0  ONLINE   0 0 0
c2t1d0  ONLINE   0 0 0

Grub menu /rpool/boot/grub/menu.lst:

#-- ADDED BY BOOTADM - DO NOT EDIT --
title OI hipster
findroot (pool_rpool,0)
bootfs rpool/ROOT/openindiana
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#-END BOOTADM

# Unknown partition of type 238 found on /dev/rdsk/c2t0d0p0 partition: 1
# It maps to the GRUB device: (hd0,0) .
# Unknown partition of type 0 found on /dev/rdsk/c2t0d0p0 partition: 2
# It maps to the GRUB device: (hd0,1) .
# Unknown partition of type 0 found on /dev/rdsk/c2t0d0p0 partition: 3
# It maps to the GRUB device: (hd0,2) .
# Unknown partition of type 0 found on /dev/rdsk/c2t0d0p0 partition: 4
# It maps to the GRUB device: (hd0,3) .

title Windows
rootnoverify (hd1,0)
chainloader +1

# Unknown partition of type 0 found on /dev/rdsk/c2t1d0p0 partition: 2
# It maps to the GRUB device: (hd1,1) .
# Unknown partition of type 0 found on /dev/rdsk/c2t1d0p0 partition: 3
# It maps to the GRUB device: (hd1,2) .
# Unknown partition of type 0 found on /dev/rdsk/c2t1d0p0 partition: 4
# It maps to the GRUB device: (hd1,3) .

title openindiana-1
findroot (pool_rpool,0)
bootfs rpool/ROOT/openindiana-1
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive


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


Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?

2015-03-03 Thread Oscar del Rio


On 02/19/15 10:35 AM, Harry Putnam wrote:

Has anyone here managed to build a more recent version of firefox?

My OI 151_9 has version 10.0.12  More uptodate platforms are running
in the 30's... On a recent gentoo box, I see it is 35.0




FYI, Firefox 31.5.0esr has been posted
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest-esr/contrib/


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


Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?

2015-03-03 Thread Oscar del Rio

On 03/ 3/15 02:25 PM, Apostolos Syropoulos via openindiana-discuss wrote:

Hello,

I am trying to compile firefox. So far I haven't managed to finish the 
configuration part!
I am using configure with no options so to discover as many as possible bugs or 
features possible.

a.s.

  


Firefox 31.5-esr's about:buildconfig page:


Build platform
target
i386-pc-solaris2.11

Build tools
Compiler Version Compiler flags

/opt/solarisstudio12.3.rsync/bin/cc Sun C 5.12 SunOS_i386 Patch 148918-07 
2013/08/22 -I/usr/X11/include -D__FUNC__=__func__ -xlibmieee -xstrconst 
-xbuiltin=%all -D__FUNCTION__=__func__ -mt


/opt/solarisstudio12.3.rsync/bin/CC Sun C++ 5.12 SunOS_i386 Patch 
148509-13 2013/08/22 -xlibmil -xlibmopt -lCrun -lCstd 
-features=tmplrefstatic,no%except -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ 
-template=no%extdef -xlibmieee -xbuiltin=%all 
-features=tmplife,tmplrefstatic,extensions,no%except -norunpath 
-D__FUNCTION__=__func__ -template=no%extdef -D_XOPEN_SOURCE=500 
-D__EXTENSIONS__ -xannotate=no -mt -DNDEBUG -DTRIMMED -xO4


Configure arguments

--enable-application=browser --prefix=/usr --libdir=/usr/lib 
--mandir=/usr/share/man --enable-official-branding --enable-updater 
--enable-debug-symbols=no --enable-update-packaging 
--enable-update-channel=esr --disable-tests --enable-jemalloc --enable-dtrace 
--enable-xinerama --disable-crashreporter --disable-pulseaudio 
--disable-gstreamer --without-intl-api --enable-ipc



From firefox 28 (non-esr)

Build tools
Compiler Version Compiler flags

/opt/solarisstudio12.3.rsync/bin/cc Sun C 5.12 SunOS_i386 Patch 148918-07 
2013/08/22 -I/usr/X11/include -D__FUNC__=__func__ -xlibmieee -xstrconst 
-xbuiltin=%all -D__FUNCTION__=__func__ -mt


/opt/solarisstudio12.3.rsync/bin/CC Sun C++ 5.12 SunOS_i386 Patch 
148509-13 2013/08/22 -xlibmil -xlibmopt -lCrun -lCstd 
-features=tmplrefstatic,no%except -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ 
-template=no%extdef -xlibmieee -xbuiltin=%all 
-features=tmplife,tmplrefstatic,extensions,no%except -norunpath 
-D__FUNCTION__=__func__ -template=no%extdef -D_XOPEN_SOURCE=500 
-D__EXTENSIONS__ -xannotate=no -mt -DNDEBUG -DTRIMMED -xO4


Configure arguments

--enable-application=browser --prefix=/usr --libdir=/usr/lib 
--mandir=/usr/share/man --enable-official-branding --enable-updater 
--enable-debug-symbols=no --enable-update-packaging 
--enable-update-channel=release --disable-tests --enable-jemalloc 
--enable-dtrace --enable-xinerama --disable-crashreporter --enable-ipc




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


Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?

2015-03-03 Thread Oscar del Rio

On 03/ 3/15 02:52 PM, Apostolos Syropoulos via openindiana-discuss wrote:

Build tools
CompilerVersionCompiler flags

/opt/solarisstudio12.3.rsync/bin/ccSun C 5.12 SunOS_i386 Patch 148918-07
2013/08/22-I/usr/X11/include -D__FUNC__=__func__ -xlibmieee -xstrconst
-xbuiltin=%all -D__FUNCTION__=__func__ -mt

/opt/solarisstudio12.3.rsync/bin/CCSun C++ 5.12 SunOS_i386 Patch
148509-13 2013/08/22-xlibmil -xlibmopt -lCrun -lCstd
-features=tmplrefstatic,no%except -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
-template=no%extdef -xlibmieee -xbuiltin=%all
-features=tmplife,tmplrefstatic,extensions,no%except -norunpath
-D__FUNCTION__=__func__ -template=no%extdef -D_XOPEN_SOURCE=500
-D__EXTENSIONS__ -xannotate=no -mt -DNDEBUG -DTRIMMED -xO4
  


I am compiling using gcc 4.8.2 (maybe I will upgrade later on). Some may say
that SunStudio is good compiler. I think it is better to stick to the compiler
most people use. After all, I cannot be sure the compiler will be freely 
available
tommorow. On the other hand, GCC will be free for ever!




Maybe first try to reproduce what the Sun/Oracle team does to build every 
release, using Sun CC, then try to port to GCC?




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


Re: [OpenIndiana-discuss] Has anyone successfully built a new firefox on OI?

2015-02-19 Thread Oscar del Rio

On 02/19/15 10:35 AM, Harry Putnam wrote:

Has anyone here managed to build a more recent version of firefox?

My OI 151_9 has version 10.0.12  More uptodate platforms are running
in the 30's... On a recent gentoo box, I see it is 35.0


Have you tried the ESR versions?  (ESR=Extended Support Release)

Tarball

ftp://ftp.mozilla.org/pub/firefox/releases/31.4.0esr/contrib/solaris_tarball/firefox-31.4.0esr.en-US.opensolaris-i386.tar.bz2

or pkg

ftp://ftp.mozilla.org/pub/firefox/releases/31.4.0esr/contrib/solaris_pkgadd/firefox-31.4.0esr.en-US.opensolaris-i386-pkg.bz2



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


Re: [OpenIndiana-discuss] Process to install tape changer?

2014-10-08 Thread Oscar del Rio

On 10/ 7/14 07:42 PM, Kurt Richman wrote:

I have a Dell PowerVault TL2000 tape library which I'd like to connect directly 
to our OpenIndiana server. The drives on the TL2000 are connected via SAS and 
show show up under /dev/rmt/, but I'm not sure how to add the Tape changer.


Do I need to modify /kernel/drv/sgen.conf and add a changer? I tried to use 
add_drv as the sgen.conf file suggests, but sgen was already in use (even 
though everything is commented out in the sgen.conf file).



We have a Dell PowerVault on an old Sun Sparc (Solaris) connected via scsi.
The configuration might be similar in openindiana.

To recognize the changer, the following is defined in /kernel/drv/sgen.conf 
matching the SCSI identifier of the changer.


device-type-config-list=changer;
inquiry-config-list=DELL, PV-124T;
name=sgen class=scsi target=0 lun=0;
name=sgen class=scsi target=1 lun=0;
name=sgen class=scsi target=2 lun=0;
name=sgen class=scsi target=3 lun=0;
(etc for all targets)

after a reconfiguration reboot, the device shows up in
/dev/scsi/changer/c?t?d?

and use the mtx program to control it.

# mtx -f /dev/scsi/changer/c0t5d1 status
  Storage Changer /dev/scsi/changer/c0t5d1:1 Drives, 16 Slots ( 0 Import/Export 
)
Data Transfer Element 0:Empty
  Storage Element 1:Full
  Storage Element 2:Full
  Storage Element 3:Full
(etc)



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


Re: [OpenIndiana-discuss] SMF service that should not shutdown with the OS

2014-06-15 Thread Oscar del Rio

On 14/06/2014 6:09 PM, Jim Klimov wrote:

an interesting puzzle came up: how can one define an SMF service
so that it would ignore the system-wide shutdown and would only
(perhaps ungracefully) die off when the kernel/zone goes down?

As an example, I have this somewhat implemented with an SVR4
initscript for an emergency hatch (VNC server) with only a start
symlink and no stop symlink. I wonder if this can be solved with
a pure SMF service - either some options/attributes to it, or
by some dependency contraption? ;)



Perhaps a service without a stop method?

http://docs.oracle.com/cd/E26502_01/html/E28980/firstboot-2.html

!--
The exec attribute below can be changed to a command that SMF
should execute to stop the service.  See smf_method(5) for more
details.
--
exec_method timeout_seconds=60 type=method name=stop
   exec=:true/


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


Re: [OpenIndiana-discuss] sendmail simple setup home lan

2014-05-24 Thread Oscar del Rio

On 24/05/2014 4:27 AM, cpforum wrote:

Yes if you choose dovecot as an IMAP server it's better to use dovecot local 
delivery agent.

Related conf in M4 cf file
FEATURE(`local_procmail', 
`/usr/local/libexec/dovecot/dovecot-lda',`/usr/local/libexec/dovecot/dovecot-lda
 -d $u')


Or Dovecot's LMTP service, which is more efficient than LDA
http://wiki2.dovecot.org/LMTP

FEATURE(`local_lmtp', `[IPC]', `FILE /var/run/dovecot/lmtp')
MODIFY_MAILER_FLAGS(`LOCAL', `-P')


Something I like about using Solaris or Solaris-based OS as mail server
is that you can save a lot of space by just turning on ZFS compression,
since email messages compress well, especially with ZFS gzip compression.


It's probably a good idea for mail with big files attached, but I have a doubt 
for small messages (file smaller than
minimal allocation block size (UFS default was 8K/1K. ZFS blocksize is probably 
the same order).


I use Dovecot with mdbox mailbox format which stores several messages 
in a single file, with multiple files per mailbox.

http://wiki2.dovecot.org/MailboxFormat/dbox
This prevents having thousands of tiny files (Maildir) or single huge 
files (mbox)
The mdbox files compress well (ZFS gzip compress ratio 3.2x in our mail 
spool)



Deduplication would be a better solution when big messages are sent to several 
users. To be effective it needs to store big
attachements as separate files so that ZFS recognize duplicate. Then we need to 
have and improved Maildir storage scheme
able to split a mail with attachements in several files instead one.


Another powerful feature of Dovecot's mdbox is automatic deduplication 
of attachments, a.k.a single-instance-storage.  When enabled, Dovecot 
saves the attachments on separate storage and uses the MD5 sum of the 
attachments to determine if it is a duplicate, even if it is on 
different folders (e.g. Inbox + Sent) or multiple users. No need for ZFS 
deduplication.


The attachment storage does not compress as well as the mailbox storage 
(attachment storage ZFS compression on our server: 1.2x) but this 
storage can be sent to separate disks or to NFS servers.


Another feature of mdbox is that old emails can also be moved to 
alternate storage transparently to the user. If you are running out of 
space in the mail spool, move everyone's old emails to another storage 
instead of nagging users to clean up. Or run a cron script to move 
emails older than X months to the alternate storage. The users will not 
notice any difference.


We use fast drives for the main mail spool, and cheaper larger drives 
and NFS servers for old-mail and attachment storage.



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


Re: [OpenIndiana-discuss] fail2ban for sshd

2014-04-24 Thread Oscar del Rio


On 04/24/14 06:43 AM, Gary Gendel wrote:
Fail2ban seems to randomly miss ssh matches.  I've been hacking at the 
filter but nothing I seem to do works.  What regex are others using 
that works? The line that should catch the ones missed is:


^%(__prefix_line)s\[.*\] Failed 
(?:password|publickey|none|keyboard-interactive) for .* from HOST\s*$



Did you test the rules with the fail2ban-regex command?

The following works fine for us:

failregex = (?:error: PAM: )?[aA]uthentication (?:failure|error) for .* 
from HOST( via \S+)?\s*$
(?:error: PAM: )?User not known to the underlying 
authentication module for .* from HOST\s*$

Failed \S+ for .* from HOST(?: port \d*)?(?: ssh\d*)?\s*$
ROOT LOGIN REFUSED.* FROM HOST\s*$
[iI](?:llegal|nvalid) user .* from HOST\s*$
Did not receive identification string from HOST\s*$
User .+ from HOST not allowed because not listed in 
AllowUsers\s*$

User .+ from HOST not allowed because listed in DenyUsers\s*$
User .+ from HOST not allowed because not in any group\s*$
refused connect from \S+ \(HOST\)\s*$
User .+ from HOST not allowed because a group is listed 
in DenyGroups\s*$
User .+ from HOST not allowed because none of user's 
groups are listed in AllowGroups\s*$




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


Re: [OpenIndiana-discuss] 'less' Esc sequences in peldoc output

2014-04-04 Thread Oscar del Rio


On 04/ 3/14 11:44 PM, Harry Putnam wrote:

However, it was not the variable PERLDOC_PAGER that did the trick but the
variable PAGER is where applying -r to less did the job.


From perldoc perldoc:

 perldoc will use, in order of preference, the pager
 defined in PERLDOC_PAGER, MANPAGER, or PAGER before
 trying to find a pager on its own.


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


Re: [OpenIndiana-discuss] Anybody using ipf.conf without a comment line?

2014-03-24 Thread Oscar del Rio

On 03/24/14 11:34 AM, Gary Mills wrote:

I'm looking at illumos bug 3617 `ipf.conf requires a comment on the
first line to work', here:

 https://www.illumos.org/issues/3617

I'm unable to reproduce the problem, using a group of valid ipf
statements either by themself or preceeded by a comment line or an
empty line.  In all cases, ipf parses them without error.


It works for me too (oi_151a9)
I tried without comment lines, with empty first line and with just space 
in first line. No errors.

The service starts normally and the ipf.conf rules are parsed normally.


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


Re: [OpenIndiana-discuss] reboot 151a8 after install, bootadm: failed to open file

2014-03-21 Thread Oscar del Rio


On 03/21/14 12:04 PM, Dang Zhiqiang wrote:

bootadm: failed to open file://platform/i86pc/kernel/unix: No such file or 
directory
but I do think is error form hardware, because after reboot, I can login 
without error.
this message output  when I press F8.


Check your grub menu entries. Perhaps one of them has the wrong path.

# grep unix /rpool/boot/grub/menu.conf

You should get kernel = /platform/i86pc/kernel/$ISADIR/unix ($ISADIR 
would make the real path /platform/i86pc/kernel/amd64/unix)


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


Re: [OpenIndiana-discuss] reboot 151a8 after install, bootadm: failed to open file

2014-03-21 Thread Oscar del Rio

On 03/21/14 12:35 PM, I wrote:


On 03/21/14 12:04 PM, Dang Zhiqiang wrote:
bootadm: failed to open file://platform/i86pc/kernel/unix: No such 
file or directory
but I do think is error form hardware, because after reboot, I can 
login without error.

this message output  when I press F8.


Check your grub menu entries. Perhaps one of them has the wrong path.

# grep unix /rpool/boot/grub/menu.conf

You should get kernel = /platform/i86pc/kernel/$ISADIR/unix ($ISADIR 
would make the real path /platform/i86pc/kernel/amd64/unix)


The grub menu might actually be called menu.lst
# grep unix /rpool/boot/grub/menu.lst



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


Re: [OpenIndiana-discuss] Firefox can't save files

2014-03-20 Thread Oscar del Rio

On 03/20/14 09:25 AM, Fred Kimball wrote:

After reading these emails I rebooted into a9, moved the 26.0 firefox directory 
to firefox-26.0 and extracted 28.0. Files are downloaded as expected. Hmmm?


I always extract the tarball to a new directory, never on top of a 
previous version.

e.g. extract to  /opt/firefox-28.0 and then symlink /opt/firefox to that.
Keeping the most recent versions makes it easy to switch back.

drwxr-xr-x   8 root root  42 Mar  3 14:42 firefox-27.0.1
drwxr-xr-x   8 root root  42 Mar 19 11:15 firefox-28.0
lrwxrwxrwx   1 root root  12 Mar 19 11:16 firefox - 
firefox-28.0


Perhaps the OP should clean up (delete) the old firefox directories 
before upgrading.




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


Re: [OpenIndiana-discuss] Firefox can't save files

2014-03-18 Thread Oscar del Rio

On 03/18/14 04:32 AM, Apostolos Syropoulos wrote:
  
  I am using firefox 27.0.1 and I have noticed that whenever I save a file,

firefox creates an empty file. The real file is stored in /tmp. I guess this
is a bug. BTW, I have noticed this problem on openindiana/illumos-ad17c01 and
Solaris 11.



I am using FF 27.0.1 on Solaris 11.1 and do not have such problem.

E.g. I am downloading a large ISO file to a local directory.
During the download, FF creates an empty file with the final filename 
and a second *.part in the same local directory.

When it is done, the *.part file is moved to the final filename.

0   IMAGE_Disk1.iso
261754987   IMAGE_Disk1.iso.part

It does not use /tmp or any other temp dir.
Are you saving to a local drive or to NFS? Perhaps it is different on NFS?

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


Re: [OpenIndiana-discuss] Upgrade to oi_151a8 fails on one machine

2013-08-14 Thread Oscar del Rio

On 13/08/2013 6:36 PM, Gary Mills wrote:

The second gave me trouble.  I used the same command, but it only
updated 37 packages.  When I rebooted into the new BE, the kernel
version was still oi_151a7 .


What happens if you pkg-update this new image?  I remember some oi 
updates that needed to be run twice.



   I rebooted back to the old BE and destroyed the new one.



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


Re: [OpenIndiana-discuss] time-slider service and clock adjustments

2012-11-05 Thread Oscar del Rio

On 11/ 5/12 03:46 PM, Timothy Coalson wrote:

So, previously I installed with the wrong timezone, and after fixing the
timezone, I found the time-slider service in maintenance mode, which seemed
to be because it tried to make a snapshot with a name that already existed,
due to the time having been adjusted back by an hour.  I shrugged it off
because the mistake was initially mine.

However, the end of daylight savings time here has caused the same
behavior, and made time-slider stop taking snapshots without making any
noise.  Is this something that has been addressed before?  If not, I will
open a bug, but I thought I would post to the list partly in case this has
caught someone else unaware.

Here is what the end of
/var/svc/log/application-time-slider:default.log says:

Failed to create snapshots for schedule: hourly
Caught RuntimeError exception in snapshot manager thread



This sounds familiar and I found this old bug report:
https://groups.google.com/forum/?fromgroups=#!msg/comp.unix.solaris/VAf6v02EQZk/-Mook698kXYJ
6996354 time-slider fails when daylight saving time ends

The only other reference to that bug I can find is
https://github.com/bdrewery/time-slider/commit/4ba07f0c289bbb4dff9c4555c9eed1de2c90ffed

Fix for 6996354 gracefully handle snapshot failure
with minor changes to
usr/share/time-slider/lib/time_slider/util.py
usr/share/time-slider/lib/time_slider/zfs.py





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


Re: [OpenIndiana-discuss] new Firefoxes and ILOM web access

2012-10-17 Thread Oscar del Rio

On 10/17/12 07:01 AM, Udo Grabowski (IMK) wrote:

Just an information for all who install new firefox versions (5)
and use them for ILOM service processor web access. New firefoxes
will not display correctly the ILOM web iframes, and this problem
will not be fixed because it's Oracle's fault, but Oracle will not
update all products still in use.


Works for me.
Firefox 16.0.1 on Solaris 11 x86, connecting to Sun server ILOM SP 
Firmware Version 3.0.6.15.d

Have you updated the ILOM of your servers?


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


Re: [OpenIndiana-discuss] killing graphical login

2012-09-26 Thread Oscar del Rio

On 26/09/2012 6:18 AM, Jim Klimov wrote:

2012-09-25 23:16, Yuri Pankov wrote:

On Tue, 25 Sep 2012 15:14:07 -0400, Boris Epstein wrote:

Hello listmates,

If I intend to use my OI machine as a server and would like to kill the
graphical console on it to only have a text one instead - how do I do
that?


It would be easier to just use the text based installer from the start,
but try using:

# svcadm disable -s gdm


Then also revise the system for some other suspicious
services like gnome helpers, font caches  xfs and such,
and svcadm disable them too.



Also disable the graphical options in the grub boot menu. Otherwise the 
boot process will continue spinning forever, making you think that the 
server is hanging.


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


Re: [OpenIndiana-discuss] Updating OI not working on low bandwith because of IPS per package timeout

2012-04-13 Thread Oscar del Rio

On 04/13/12 08:24 AM, Nikola M. wrote:
export PKG_LIENT_TIMEOUT=240 or anything more will not help on client 
side.

Error:
Please check the network connection.
Is the repository accessible?

1: Framework error: code: 28 reason: Operation too slow. Less than 
1024 bytes/sec transfered the last 30 seconds
URL: 
'http://pkg.openindiana.org/dev/openindiana.org/file/1/5dcb015aabbdae61bf2115974a7c39aaca40c7e4'.




Did you try PKG_CLIENT_LOWSPEED_TIMEOUT?
According to man pkg

PKG_CLIENT_LOWSPEED_TIMEOUT

 Seconds below the lowspeed limit (1024 bytes/sec) during
 transport operations before the client aborts the opera-
 tion. The default value is 30.

http://docs.oracle.com/cd/E23824_01/html/E21796/pkg-1.html adds
A value of 0 means do not abort the operation.




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


Re: [OpenIndiana-discuss] vfstab and nfs

2011-11-28 Thread Oscar del Rio

On 11/28/11 04:38 PM, Gordon Ross wrote:

On Fri, Nov 25, 2011 at 11:39 AM, Gabriele Bulfongbul...@sonicle.com  wrote:

Hi, I tried enabling the nfs/client service, but actually it just goes offline, 
and it doesn't mount on reboot,
keeping the nfs/client service in offline state.
I checked both /var/adm/messages and in /var/svc/log/ , but found nothing about 
any possible error.
Still, I can mount manually just by doing mount /sources
Any idea?
Gabriele.

I suspect that the nfs/client services are off-line at the time mountall runs.

File an issue, if you like.  ( And perhaps fix it too! :)


or use the automounter for nfs instead of vfstab  :)



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


Re: [OpenIndiana-discuss] Where are my auto snapshots?

2011-11-05 Thread Oscar del Rio

On 11/4/2011 10:32 PM, Harry Putnam wrote:
Yes, of course but it is also a known issue that many here (or maybe 
its more like `some' here) have auto-snapshots working with no 
problem. Maybe someone can tell why it is not for me. And further 
isn't that a rather basic thing to not have working?


I've installed 151a on several machines recently and auto-snapshots work 
properly in all of them.
All I do is run time-slider-setup GUI as root, choose custom settings 
and only enable auto-snapshots for some filesystems (e.g. home dirs only).


What do you get with zfs list -t all ?  It should list all snapshots.

Have you tried it on a real machine to rule out any problem related to 
virtualbox?




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


Re: [OpenIndiana-discuss] List of installed pkgs begining with pkg:/

2011-11-01 Thread Oscar del Rio

On 11/ 1/11 09:33 AM, Harry Putnam wrote:

How can I get a list of installed pkgs that begin with pkg:/[...]

I thought maybe something like:

pkg list |awk '{print $2}' |uniq sort -o uniq_installed



How about 'pkg info'?

pkg info | awk '/pkg:/ { print $2 }'

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


Re: [OpenIndiana-discuss] About auto snapshots

2011-10-25 Thread Oscar del Rio

On 10/21/11 07:53 PM, Jeppe Toustrup wrote:

On Sat, Oct 22, 2011 at 01:39, Harry Putnamrea...@newsguy.com  wrote:

I've just recently installed oi 151.  I've enabled auto snapshot in
the desktop slider application.

That was some hours ago, but when I look in any of the .zfs/snapshots
directories there has been no snapshot done.

Should I expect to see snapshots by now or is there something else I
have to do?

Auto-snapshots are unfortunately not working in b151, please see
Known issues in the release notes:
http://wiki.openindiana.org/oi/oi_151a+Release+Notes


works for me (tm)

SunOS 5.11 oi_151a i86pc i386 i86pc

rpool/data@zfs-auto-snap_monthly-2011-10-17-09h47 20.5K  -  
32.5K  -
rpool/data@zfs-auto-snap_weekly-2011-10-24-09h47  1.43M  -  
1.44M  -
rpool/data@zfs-auto-snap_frequent-2011-10-24-22h17 675K  -  
47.4M  -

(etc)


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


Re: [OpenIndiana-discuss] PC Speaker Beep

2011-08-04 Thread Oscar del Rio

On 08/ 4/11 09:57 AM, Josef 'Jeff' Sipek wrote:


xset b off  printf \a

Still beeps.

Jeff.



Try

http://praveen.kumar.in/2009/04/01/turning-off-loud-system-beep-in-opensolaris-gnome-and-gdm/

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


Re: [OpenIndiana-discuss] usb

2011-05-31 Thread Oscar del Rio

On 05/31/11 02:05 PM, Gary Gendel wrote:
Seems that the bug in the usb library that I saw in 147, which was ok 
in 148, is back in 151.


I replaced /usr/lib/libusb.so.1 and /usr/lib/64/libusb.so.1 from 148 
which solved the problem.  Who do I report this to?




http://bugs.openindiana.org  ?

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


Re: [OpenIndiana-discuss] Garbage being printed by format command?

2011-04-01 Thread Oscar del Rio

On 04/ 1/11 10:50 AM, Dan Swartzendruber wrote:


I had done an OI install onto a PATA disk. After reboot, I followed a
howto to convert the rpool into a mirror, and it seems to all work.
However, when I run the format command, I see this:

AVAILABLE DISK SELECTIONS:
0. c1d0 ð¦äþäþPp¸nHãþ®ÈpÀ…äþð¦äþäþppØn0ãþõ cyl 19454 alt 2 hd 255
sec 63
/pci@0,0/pci-ide@4/ide@0/cmdk@0,0
1. c1d1 ð¦äþäþPp¸nHãþ®ÈpÀ…äþð¦äþäþppØn0ãþõ cyl 19454 alt 2 hd 255
sec 63
/pci@0,0/pci-ide@4/ide@0/cmdk@1,0

Does it seem like I hosed the label or something? I can boot from this
rpool and everything *seems* to work. Not sure if I should be
concerned or not?


It was posted recently in the osol list. Bug ID 6969598: junk in format 
for cmdk disks, fixed in snv_154.



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


Re: [OpenIndiana-discuss] Enable samba

2011-01-19 Thread Oscar del Rio



On 01/19/11 11:43 AM, Paul Johnston wrote:
I have SunOS openindiana 5.11 oi_148 i86pc i386 i86pc Solaris and 
wanted to try it for samba


paulj@openindiana:~$ pfexec svcs -xv samba
svc:/network/samba:default (SMB file server)
 State: maintenance since January 19, 2011 04:18:23 PM GMT
Reason: Start method failed repeatedly, last exited with status 1.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1m smbsmbd
   See: man -M /usr/share/man -s 4 smb.conf
   See: /var/svc/log/network-samba:default.log
Impact: This service is not running.

Anyone any thoughts?


As the report says,

See: /var/svc/log/network-samba:default.log

should give more details. Perhaps a missing or bad smb.conf file?



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


Re: [OpenIndiana-discuss] The static network that never works

2010-12-02 Thread Oscar del Rio

On 12/1/2010 6:39 PM, Harry Putnam wrote:

Oscar del Riodel...@mie.utoronto.ca  writes:


Installing from oi-b147... once installed the icon on right upper of
gnome window display has dialog for setting up a static network... but
when I follow it, I get a network that even says its connected... but
it goes no where... can't ping anything even on home lan.

System - Administration - Network... type root password...

Show: Wired (bge0)
IPv4 IP: Manually assigned.
Default route: (gateway IP address)
Add: (IP address + subnet)

Show: Connection Status
Locations... Automatic - Edit
DNS: Manual domain: yourdomainname.com
Servers: 1.2.3.4, 1.2.3.5 (DNS servers)
Custom nsswitch file: none, Use Default (/etc/nsswitch.dns)
OK - OK - OK

Network works fine.

Good to know it can work...

Walking thru it again I see I've forgotten about /etc/resolv.conf

I guess I thougt the gui was taking care of it.


The GUI took care of it in my case.  I didn't have to edit any files.


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


Re: [OpenIndiana-discuss] Solaris 11 Express available

2010-11-15 Thread Oscar del Rio

On 11/15/2010 11:00 PM, L'oiseau de mer wrote:

I have tried to use it..

Solaris 11 Express has no X-Window and Gnome!


Works fine for me!


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


Re: [OpenIndiana-discuss] ipfilter issue

2010-10-27 Thread Oscar del Rio


On 10/27/10 05:28 PM, Daniel Kjar wrote:


no matter what was in my /etc/ipf/ipf.conf.
no amount of restarting editing changing permissions etc would fix it.

The only way I can get it to do what I need is by telling ipfilter 
where the ipf.conf file is...

ipf -Fa -f /etc/ipf/ipf.conf

then it works perfectly.  Anybody else notice this?  Might be machine 
specific but it looks more like the default ipfilter just doesn't know 
where to look for the conf file.




ipfilter now uses SMF properties instead of .conf file, unless you set 
policy to custom.


Check svcprop ipfilter:

firewall_config_default/policy astring custom
firewall_config_default/custom_policy_file astring /etc/ipf/ipf.conf

See man svc.ipfd:


firewall_config_default/policy

 Global Default policy, firewall_config property group in
 svc:/network/ipfilter:default,  can  also be set to cus-
 tom. Users can set policy to custom to use  prepopulated
 IP  Filter  configuration,  for  example, an existing IP
 Filter configuration or custom configurations that  can-
 not  be  provided by the framework. This Global Default-
 only policy mode allows users to supply a text file con-
 taining  the complete set of IPF rules. When custom mode
 is selected, the specified set of IPF rules is  complete
 and  the framework will not generate IPF rules from con-
 figured firewall policies.

 firewall_config_default/custom_policy_file

 A file path to be used when Global Default policy is set
 to  custom.  The  file  contains a set of IPF rules that
 provide the desired IP Filter configuration.  For  exam-
 ple,  users with existing IPF rules in /etc/ipf/ipf.conf
 can execute the following commands to use  the  existing
 rules:

 1.   Set custom policy:

# svccfg -s ipfilter:default setprop \
firewall_config_default/policy = astring: custom

 2.   Specify custom file:

# svccfg -s ipfilter:default setprop \
firewall_config_default/custom_policy_file = 
astring: \

/etc/ipf/ipf.conf

 3.   Refresh configuration:

# svcadm refresh ipfilter:default



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


Re: [OpenIndiana-discuss] VirtualBox gcc error

2010-10-20 Thread Oscar del Rio


On 10/20/10 10:45 AM, Hosam Al Ali wrote:

ld.so.1: VBoxZoneAccess: fatal: libgcc_s.so.1: version 'GCC_4.2.0' not found
(required by file /usr/lib/libstdc++.so.6)
ld.so.1: VBoxZoneAccess: fatal: libgcc_s.so.1: open failed: No such file or
directory


I have libstdc++.so.6 and libgcc_s.so.1 in /usr/sfw/lib, not in /usr/lib.
VirtualBox runs fine.
Your libstdc++ in /usr/lib might be an incompatible version.

% ldd /opt/VirtualBox/VBoxZoneAccess
librt.so.1 = /lib/librt.so.1
libsocket.so.1 = /lib/libsocket.so.1
libstdc++.so.6 = /usr/sfw/lib/libstdc++.so.6
libm.so.2 = /lib/libm.so.2
libgcc_s.so.1 = /usr/sfw/lib/libgcc_s.so.1
libc.so.1 = /lib/libc.so.1
libnsl.so.1 = /lib/libnsl.so.1
libmp.so.2 = /lib/libmp.so.2
libmd.so.1 = /lib/libmd.so.1


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