Re: [oi-dev] OI no longer automounts USB sticks

2021-06-27 Thread Tony Brian Albers
Stephan Althaus wrote:

> Hi!
> 
> i would be happy to test something.
> 
> I would have a use case for the usb automount feature,
> and the issue with the mouse/keyboard not changeable in X as it seems,
> is related and something i am not happy with.
> 
> Stephan
> 
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
> 

I'd also like to lend a hand.

/tony

-- 
Tony Albers - Systems Architect - Data Department, Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] help needed to test tem on nvidia system

2021-06-27 Thread Tony Brian Albers
Toomas Soome via oi-dev wrote:
> 
> 
>> On 23. Jun 2021, at 10:20, Stephan Althaus 
>>  wrote:
>>
>> On 6/22/21 11:09 PM, Toomas Soome via oi-dev wrote:
>>>
>>> hi!
>>>
>>> as I do not have nvidia gfx myself, some help is needed to test 
>>> https://code.illumos.org/c/illumos-gate/+/1550 
>>> .
>>>
>>> thanks,
>>> toomas
>>>
>>>
>>> ___
>>> oi-dev mailing list
>>> oi-dev@openindiana.org 
>>> https://openindiana.org/mailman/listinfo/oi-dev 
>>> 
>> Hi Toomas!
>>
>> Would it be as easy as exchange a binary, or do i have to build illumos-gate 
>> with the PR-changes applied ?
>>
>> Greetings,
>>
>> Stephan
>>
>>
>>
> 
> I’ll provide binaries and instructions (we will create BE for test, so we 
> wont disturb your current environment).
> 
> thanks,
> toomas
> 
>> ___
>> oi-dev mailing list
>> oi-dev@openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
> 
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
> 

I've got a NVS 510 and a quadro k2200 that I can test it with.

/tony

-- 
Tony Albers - Systems Architect - Data Department, Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] OI no longer automounts USB sticks

2021-06-27 Thread Tony Brian Albers
Gary Mills wrote:
> On Sun, Jun 27, 2021 at 01:00:46AM -0700, Joshua M. Clulow wrote:
>>
>> OK, so I have looked into this a little bit.  It seems like there is a
>> bug in the HAL code we ship, or in the glib that OI is now using, or
>> somewhere inbetween.
> 
> You've gone much farther than I have.  With some help from you, I've
> determined, with a current OI BE, that:
> 
> Something failed to notify hald of new USB devices.  Hald failed to
> notify the process spawner: hald-runner.  The mount was never done.
> In general, we agree.
> 
>> With DTrace, I am able to see (in the "hald --daemon=yes" process at
>> the top of the HAL process tree) that it receives the appropriate
>> sysevents from the kernel when a USB disk is plugged in or removed.
> 
> It's good to know that that bit of IPC works as intended.
> 
> [...]
>> Where things appear to fall down is once we get into the glib area.
>> The strings that are written into one end of the pipe by the sysevent
>> consumer, as described above, are meant to then be read through a glib
>> GIOChannel object in sysevent_iochannel_data():
>>
>>  
>> https://github.com/illumos/illumos-gate/blob/master/usr/src/cmd/hal/hald/solaris/sysevent.c#L244-L272
>>
>> Though we do enter sysevent_iochannel_data() on schedule for each
>> sysevent, it seems like the call to g_io_channel_read_line() always
>> returns a value of 3 on my system -- which seems like an EOF?  Because
>> the value is not G_IO_STATUS_NORMAL, we don't even try to call
>> sscanf() to parse the lines we wrote above.  This means we never call
>> into sysevent_dev_add() and thus we never pass the hotplug event on to
>> the rest of HAL.
> 
> That sounds like the "temporarily unavailable" or the "interrupted
> system call" errors for the read() system call in glib.
> 
>> I have run out of steam on this for now, but I hope this is enough for
>> someone to keep digging.  In particular, it seems like it is worth
>> investigating whether glib has been updated in OI at some point
>> between when this was last working and now.  Perhaps there is a build
>> issue or a bug there.  It doesn't seem like there has been a lot of
>> change in the HAL daemon itself (which is in the gate, as linked
>> above).
> 
> The hal package is rebuilt for OI.  There have been many changes, with
> different revision numbers.  For example, in the BE from 2020-11-27
> where mounts work, the package is service/hal@0.5.11-2020.0.1.20171 .
> In the BE from 2021-05-14 where mounts do not work, the package is
> service/hal@0.5.11-2020.0.1.20514 .  I assume the revision numbers
> do not indicate actual changes.
> 
> 


I was trying to use a KVM switch the other day, and I suppose this issue 
is why I had to force a shutdown(power btn) of OI every time I had 
switched to another machine and back again. Mouse and keyboard were 
unresponsive but powered up.

Potentially this is  a lot worse than automounting of usb devices not 
working IMO.

/tony

-- 
Tony Albers - Systems Architect - Data Department, Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


[oi-dev] I'd like to help out.

2021-05-28 Thread Tony Brian Albers
Hi guys,

I'd like to take a crack at updating the OI documentation. Who should I 
talk to regarding priorites etc.?


Thanks,

/tony
-- 
Tony Albers - Systems Architect - IT Development Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] OI Foundation

2021-05-28 Thread Tony Brian Albers
Volker A. Brandt wrote:
> Tony Brian Albers writes:
>> Gerard Arthus wrote:
>>> Should it be Illumos or Open Indiana; I guess the name has to be decided
>>> upon first .
> 
> [...]
>>
>> Just brainstorming here:
>> How about just Indiana or jONEs(hehe, from Sun ONE and Indiana Jones) or
>> OpenSun or SunOp(as in dawn, but referring to Operating system) or
>> SolsticeOS(yup, Sun actually had Solstice Backup and other stuff, but
>> AFAIK not an OS with that name).
>>
>> I've actually always thought that OpenIndiana was a good name, but way
>> too long.
> 
> I appreciate that people are thinking about the future of OpenIndiana.
> However, I believe that there are other priorities than renaming the
> project.  Don't underestimate the effort:  Securing new domains,
> changing the documentation, settting up new internet presences, etc.
> 
> There's nothing really wrong with "OpenIndiana powered by illumos".
> 
> Let's focus on finding people to contribute.  Having some funds to give
> to individuals working on a specific task would be great, and I have
> some thoughts about that.  But having more committed dev is paramount.
> 
> 
> Regards -- Volker
> 

I agree, it just got me thinking :)

/tony

-- 
Tony Albers - Systems Architect - IT Development Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] OI Foundation

2021-05-27 Thread Tony Brian Albers
Gerard Arthus wrote:
> Should it be Illumos or Open Indiana; I guess the name has to be decided 
> upon first .
> 
> Gerry
> 
> Gerard Arthus
> 409 Lowell Avenue East
> Mishawaka, Indiana
> United States
> 46545
> Cell - 574-302-7731
> Home - 574-520-1337 
> 
> Instructor ITT-Tech - Mathematics, Electrical Engineering, and Computer 
> Engineering.
> 
> 
> 
> On Thu, May 27, 2021 at 11:54 PM Joshua M. Clulow via oi-dev 
> mailto:oi-dev@openindiana.org>> wrote:
> 
> On Thu, 27 May 2021 at 20:50, Gerard Arthus  > wrote:
>  > I would actually be for Open Solaris and would prefer to see
> Solaris associated with the branding. What do others think?
> 
> Solaris is a trademark or registered trademark of Oracle and/or its
> affiliates in the United States and other countries.
> 
> illumos and Solaris diverged a decade ago; we're a different operating
> system now.  Using "Solaris" anywhere near the software will only
> confuse people into thinking it's compatible with Oracle Solaris in
> some way, which it is not.
> 
> 
> Cheers.
> 
> -- 
> Joshua M. Clulow
> http://blog.sysmgr.org
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org 
> https://openindiana.org/mailman/listinfo/oi-dev
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
> 

Just brainstorming here:
How about just Indiana or jONEs(hehe, from Sun ONE and Indiana Jones) or 
OpenSun or SunOp(as in dawn, but referring to Operating system) or 
SolsticeOS(yup, Sun actually had Solstice Backup and other stuff, but 
AFAIK not an OS with that name).

I've actually always thought that OpenIndiana was a good name, but way 
too long.

/tony

-- 
Tony Albers - Systems Architect - IT Development Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] CVE-2021-3156 seems relevant for OI

2021-01-27 Thread Tony Brian Albers
On 01/28/21 07:14 AM, Tim Mooney via oi-dev wrote:
> In regard to: [oi-dev] CVE-2021-3156 seems relevant for OI, Tony Brian...:
> 
>> We might want to get sudo patched really, really quickly.
> 
> Rich Lowe had a PR for it last night, just a few hours after the
> embargo lifted:
> 
>  https://github.com/OpenIndiana/oi-userland/pull/6456
> 
> Tim

Cool, that's what I call fast :)

/tony



-- 
Tony Albers - Systems Architect - IT Development Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

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


[oi-dev] CVE-2021-3156 seems relevant for OI

2021-01-27 Thread Tony Brian Albers
On a freshly installed and updated OI:

tba@emu:~$ sudoedit -s /
Password:
sudoedit: /: not a regular file    Should be 'usage:'
tba@emu:~$

It's explained here:
https://blog.qualys.com/vulnerabilities-research/2021/01/26/cve-2021-3156-heap-based-buffer-overflow-in-sudo-baron-samedit

We might want to get sudo patched really, really quickly.

/tony


-- 
Tony Albers - Systems Architect - IT Development Royal Danish Library, 
Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142

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


Re: [oi-dev] Importing data from wiki to oi-docs

2019-05-14 Thread Tony Brian Albers
Yeah, looks great.

/tony


On Tue, 2019-05-14 at 10:58 +0300, Toomas Soome via oi-dev wrote:
> LGTM:)
> 
> rgds,
> toomas
> 
> > On 14 May 2019, at 10:55, Alexander Pyhalov via oi-dev  > indiana.org> wrote:
> > 
> > Hi.
> > 
> > I've been looking at updating 'Building oi-userland' oi-docs page. 
> > 
> > And found the following isue - we have long top-level menu, which
> > is hard to extend (it is splitted in two lines when extended). 
> > Updated mkdocs have third-level menus, which helps with issue.
> > 
> > So I've created two PRs - https://github.com/OpenIndiana/oi-docs/pu
> > ll/105 and https://github.com/OpenIndiana/oi-userland/pull/5006 .
> > 
> > The first one updates oi-docs layout (and brings in information
> > from wiki pate 'Building oi-userland' to corresponding oi-docs
> > page). The second - updates our mkdocs in OI.
> > 
> > Result can be seen here: http://buildzone.oi-build.r61.net/oi-docs/
> >  .
> > 
> > As you can see, theme seems to be changed a bit. 
> > 
> > Looking at your comments. 
> > If I receive no negative feedback, I'll push changes tomorrow
> > 
> > Best regards, 
> > Alexander Pyhalov, 
> > system administrator of Southern Federal University IT department
> > 
> > 
> > ___
> > oi-dev mailing list
> > oi-dev@openindiana.org
> > https://openindiana.org/mailman/listinfo/oi-dev
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
-- 
Tony Albers - Systems Architect - IT Development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark
Tel: +45 2566 2383 - CVR/SE: 2898 8842 - EAN: 5798000792142
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] Xorg 1.19.6

2018-03-05 Thread Tony Brian Albers
On 05/03/18 00:24, Aurélien Larcher wrote:
> Hullo,
> belated update (busy with other things) but I just pushed Xorg 1.19.6 
> for testing to
> 
> http://pkg.openindiana.org/xorg-testing/
> 
> As usual the recommended way to test is to create a new Boot Environment 
> (BE) to avoid damaging your current install.
> 
> # beadm create xorg1196
> # beadm mount xorg1196
> 
> Note the mounting point to substitute to /path/to/be
> 
> # pkg -R /path/to/be change-facet 
> facet.require.consolidation/userland/userland-incorporation=false
> # pkg -R /path/to/be uninstall userland-incorporation
> # pkg -R /path/to/be set-publisher -P -O 
> http://pkg.openindiana.org/xorg-testing/ userland
> # pkg -R /path/to/be set-publisher --non-sticky openindiana.org 
> 
> # pkg -R /path/to/be update -v
> # beadm activate xorg1196
> 
> ... and reboot.
> 
> Happy testing!
> 
> 
> 
> -- 
> ---
> Praise the Caffeine embeddings
> 
> 
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
> 


Thanks for the added instructions. Although most members on this list 
probably know this by heart, I'm very happy that you take the time to 
include it for us who are not as knowing about SunOS>5.9

Thanks,

-- 
Tony Albers
Systems administrator, IT-development
Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev