Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Sunday, 13. Nov 2016, 13:05:24 +, Neil Bothwick wrote:
> On Sat, 12 Nov 2016 23:20:06 +0100, Bertram Scharpf wrote:
> 
> > I did not find a PowerShell package in the portage
> > directories and I did not find anything by Google. Is there
> > a package at all (maybe somewhere in the overlays) and I did
> > just miss to enter the right search terms?
> 
> You can download the source from
> https://github.com/PowerShell/PowerShell/releases and compile it yourself.

The build suite is something completely different than the
standard configure-make procedure. It's first step says:
"Gentoo is not supported!" They only support CentOS and
Ubuntu.

> Alternatively, grab one of the RPM packages and use rpm2tgz to create a
> tarball you can unpack in /.

There seem to be dependency problems.

Thanks anyway,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Sunday, 13. Nov 2016, 22:21:33 +0100, Jeremi Piotrowski wrote:
> On Sat, Nov 12, 2016 at 11:20:06PM +0100, Bertram Scharpf wrote:
> > for a special job I need to do a piece of work in Microsofts
> > PowerShell, but I have no Windows machine running. I know
> > that there is a PowerShell for Linux because I have one
> > installed on a Ubuntu. Yet, I do not want to shut down my
> > Gentoo and boot Ubuntu every time when I have to try
> > something in PowerShell. I would like to install it on
> > Gentoo.
> 
> This is the perfect use case for running containers on your development
> machine. Just set up lxc/lxd/docker on your gentoo machine and start up an
> ubuntu container in any of the runtimes. Works flawlessly, and you don't
> have to reboot or run a heavyweight VM. Lxc/lxd are more suitable for long
> running containers, docker would be great for containers that you spin up
> and tear down whenever you need.
> 
> Give it a try.

I will consider this if I have to do with PowerShell for a
longer time.

Thanks for the hint!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Neil Bothwick
On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:

> > You can download the source from
> > https://github.com/PowerShell/PowerShell/releases and compile it
> > yourself.  
> 
> The build suite is something completely different than the
> standard configure-make procedure. It's first step says:
> "Gentoo is not supported!" They only support CentOS and
> Ubuntu.

Not supported is not the same as doesn't work. It just means you're more
or less on your own. However, the suggestion of a container would be
simpler, provided you don't actually need to run PowerShell in your
Gentoo environment.


-- 
Neil Bothwick

"Do not handicap your children by making their lives easy."
 -- Robert Heinlein


pgpFhg5xDUJgA.pgp
Description: OpenPGP digital signature


[gentoo-user] gnome intrusion?

2016-11-14 Thread Jorge Almeida
I noticed some obnoxious-looking processes in my system:

$ ps axf
(...)
  367 ?S  0:00 dbus-launch --autolaunch
899f609d1c39e4d202c179a7580e4b49 --binary-syntax --close-stderr
  368 ?Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 5
--print-address 7 --session
  409 ?Sl 0:00 /usr/libexec/notification-daemon
  411 ?Sl 0:00 /usr/libexec/at-spi-bus-launcher
  415 ?S  0:00  \_ /usr/bin/dbus-daemon
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
--print-address 3
  417 ?Sl 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
  451 ?S  0:00 /usr/libexec/gconfd-2

I don't use a DE, just plain openbox. I had a few xterms running and
also Opera, no other graphical app. The above processes appeared after
Opera was launched.
 Why oh why should there be a process "at-spi2-registryd --use-gnome-session"?

gnome-session?! I don't even have gnome installed.

On a related note, the session logs have this gem:

ERROR:object_proxy.cc(583)] Failed to call method:
org.freedesktop.UPower.GetDisplayDevice: object_path=
/org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.UPower was not provided by any .service files

Why should this be considered an error? I don't have upower installed.
I don't want upower.

I understand this is not the kind of stuff most users care about.
Just wondering whether somebody else is somewhat bothered by this.

Jorge Almeida



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Monday, 14. Nov 2016, 09:21:25 +, Neil Bothwick wrote:
> On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
> 
> > > You can download the source from
> > > https://github.com/PowerShell/PowerShell/releases and compile it
> > > yourself.  
> > 
> > The build suite is something completely different than the
> > standard configure-make procedure. It's first step says:
> > "Gentoo is not supported!" They only support CentOS and
> > Ubuntu.
> 
> Not supported is not the same as doesn't work. It just means you're more
> or less on your own.

That's what I meant. I'm just fed up with reading loads of
docs about a very non-standard build process.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Jorge Almeida
On Sat, Nov 12, 2016 at 10:20 PM, Bertram Scharpf
 wrote:
> Hi,
>
> for a special job I need to do a piece of work in Microsofts
> PowerShell, but I have no Windows machine running. I know
> that there is a PowerShell for Linux because I have one
> installed on a Ubuntu. Yet, I do not want to shut down my
> Gentoo and boot Ubuntu every time when I have to try
> something in PowerShell. I would like to install it on
> Gentoo.
>
Assuming that you plan to keep Ubuntu, why not use its PowerShell from
Gentoo, via chroot?

Jorge Almeida



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Fernando Rodriguez
On 11/14/2016 05:06 AM, Bertram Scharpf wrote:
> On Monday, 14. Nov 2016, 09:21:25 +, Neil Bothwick wrote:
>> On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
>>
 You can download the source from
 https://github.com/PowerShell/PowerShell/releases and compile it
 yourself.  
>>>
>>> The build suite is something completely different than the
>>> standard configure-make procedure. It's first step says:
>>> "Gentoo is not supported!" They only support CentOS and
>>> Ubuntu.
>>
>> Not supported is not the same as doesn't work. It just means you're more
>> or less on your own.
> 
> That's what I meant. I'm just fed up with reading loads of
> docs about a very non-standard build process.
> 
> Bertram

That's the standard build system for .NET projects. You'll probably
need Microsoft's .NET implementation [1] to get it working. I have
ebuilds for an early version [2] but back then you couldn't even build
the corefx (.NET's standard library) on Linux so it's not much use. I
will update them when I get time.

[1] https://github.com/dotnet
[2]
https://github.com/fernando-rodriguez/portage-overlay/tree/master/dev-dotnet/coreclr

-- 

Fernando Rodriguez



[gentoo-user] gentoo and rootkit hunter

2016-11-14 Thread John Covici
Hi.  I downloaded rootkithunter a few days ago and discovered that it
was not looking for the apache modules in the correct place.  Its a
script so I can find and modify the variable, but I wonder if there is
a correct way to do this, given the kind of app we are dealing with
here.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo and rootkit hunter

2016-11-14 Thread Neil Bothwick
On Mon, 14 Nov 2016 07:20:25 -0500, John Covici wrote:

> Hi.  I downloaded rootkithunter a few days ago and discovered that it
> was not looking for the apache modules in the correct place.  Its a
> script so I can find and modify the variable, but I wonder if there is
> a correct way to do this, given the kind of app we are dealing with
> here.

This is the sort of thing that could be handled by the ebuild, so a bug
report on b.g.o is in order. Really, it's a bug in rkhunter, IMO, you
should be able to specify MOD_DIRS or HTTPDDIRS in the config file.


-- 
Neil Bothwick

If ignorance is bliss, you must be orgasmic.


pgpZL5j1PFAn5.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo and rootkit hunter

2016-11-14 Thread John Covici
On Mon, 14 Nov 2016 07:43:33 -0500,
Neil Bothwick wrote:
> 
> [1  ]
> On Mon, 14 Nov 2016 07:20:25 -0500, John Covici wrote:
> 
> > Hi.  I downloaded rootkithunter a few days ago and discovered that it
> > was not looking for the apache modules in the correct place.  Its a
> > script so I can find and modify the variable, but I wonder if there is
> > a correct way to do this, given the kind of app we are dealing with
> > here.
> 
> This is the sort of thing that could be handled by the ebuild, so a bug
> report on b.g.o is in order. Really, it's a bug in rkhunter, IMO, you
> should be able to specify MOD_DIRS or HTTPDDIRS in the config file.

Can't disagree with that.  I will see how far I get with this one.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] SMTP Relay

2016-11-14 Thread Alarig Le Lay
On Mon Nov 14 12:16:01 2016, Auto Protection Info wrote:
> You explained it all Rich, thanks. I'm not using it for spam, the idea was
> to make it easier for me to contact all my students at a time, so I think
> this is not considered as spamming, but anyway, I'll check for Amazon
> service see if it can do the job correctly and easily.

The problem is not you, the problem is everybody that uses this relay.
The reputation id made on IP or ranges, not on a particular sender.
eg. 
https://www.senderbase.org/lookup/?searchBy=ipaddress&searchString=89.234.186.24

-- 
alarig


signature.asc
Description: Digital signature


[gentoo-user] UDEV rule problem

2016-11-14 Thread Helmut Jarausch

Hi,

I have two external USB3 hard disk enclosures. They have the same  
vendor, model and the same serial number (unfortunately).

Vendor, model and serial occur in the usb-subsystem only.

Since the hard drives within theses enclosures have different  
capacities, there is a different ATTR{size} value in the  
block-subsystem.

But this doesn't have any vendor info.

How can I write to different udev rules to distinguish these two  
external hard disks?


Many thanks for a hint,
Helmut



Re: [gentoo-user] UDEV rule problem

2016-11-14 Thread Stefan G. Weichinger

Am 2016-11-14 um 15:31 schrieb Helmut Jarausch:

Hi,

I have two external USB3 hard disk enclosures. They have the same 
vendor, model and the same serial number (unfortunately).

Vendor, model and serial occur in the usb-subsystem only.

Since the hard drives within theses enclosures have different 
capacities, there is a different ATTR{size} value in the block-subsystem.

But this doesn't have any vendor info.

How can I write to different udev rules to distinguish these two 
external hard disks? 


It's not udev, but why not use the UUIDs of the filesystems?

# ls -l /dev/disk/by-uuid

and then for example in /etc/fstab

UUID=028da5ef-4e73-405a-b739-d59204c54921 /mnt/externaldisk1 ext4 
relatime,noauto,user 0 1
UUID=fae458a3-da30-43c5-81f1-be2d49215b09 /mnt/externaldisk2 ext4 
relatime,noauto,user 0 1


just a suggestion, I don't know your specific use-case




Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Bertram Scharpf
On Monday, 14. Nov 2016, 10:20:39 +, Jorge Almeida wrote:
> On Sat, Nov 12, 2016 at 10:20 PM, Bertram Scharpf
>  wrote:
> > for a special job I need to do a piece of work in Microsofts
> > PowerShell, but I have no Windows machine running. I know
> > that there is a PowerShell for Linux because I have one
> > installed on a Ubuntu. Yet, I do not want to shut down my
> > Gentoo and boot Ubuntu every time when I have to try
> > something in PowerShell. I would like to install it on
> > Gentoo.
> >
> Assuming that you plan to keep Ubuntu, why not use its PowerShell from
> Gentoo, via chroot?

This is an excellent idea that fits exactly the expense of
time I wanted to invest on the task. I'm almost ashamed I
did not have this idea myself.

Thank you!

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



[gentoo-user] Macbook pro mid-2014 overheats

2016-11-14 Thread Mick
Hi All,

I started installing gentoo on a Macbook pro 15" and stopped soon after I 
created new partitions for it.  I could feel the Macbook overheating while 
running the sysrescuecd kernel, without me having compiled a single package 
yet.

I'm guessing it is missing some drivers; for example I have no wireless 
interface listed, although sysrescuecd has loaded the bcma module.

Has anyone attempted running gentoo on this hardware and what solution did you 
follow to control CPU voltage/temperatures?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: UDEV rule problem

2016-11-14 Thread Kai Krakow
Am Mon, 14 Nov 2016 15:31:58 +0100
schrieb Helmut Jarausch :

> Hi,
> 
> I have two external USB3 hard disk enclosures. They have the same  
> vendor, model and the same serial number (unfortunately).
> Vendor, model and serial occur in the usb-subsystem only.
> 
> Since the hard drives within theses enclosures have different  
> capacities, there is a different ATTR{size} value in the  
> block-subsystem.
> But this doesn't have any vendor info.
> 
> How can I write to different udev rules to distinguish these two  
> external hard disks?

I've seen many drives where really the serial number as reported by
Linux is the model number, and the serial number is somehow invisible...
Not sure if this is a kernel bug or some ATA protocol violation.
Especially USB enclosures are a problem with this...

-- 
Regards,
Kai

Replies to list-only preferred.




[gentoo-user] Re: gnome intrusion?

2016-11-14 Thread Kai Krakow
Am Mon, 14 Nov 2016 09:32:59 +
schrieb Jorge Almeida :

> I noticed some obnoxious-looking processes in my system:
> 
> $ ps axf
> (...)
>   367 ?S  0:00 dbus-launch --autolaunch
> 899f609d1c39e4d202c179a7580e4b49 --binary-syntax --close-stderr
>   368 ?Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 5
> --print-address 7 --session
>   409 ?Sl 0:00 /usr/libexec/notification-daemon
>   411 ?Sl 0:00 /usr/libexec/at-spi-bus-launcher
>   415 ?S  0:00  \_ /usr/bin/dbus-daemon
> --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
> --print-address 3
>   417 ?Sl 0:00 /usr/libexec/at-spi2-registryd
> --use-gnome-session 451 ?S  0:00 /usr/libexec/gconfd-2
> 
> I don't use a DE, just plain openbox. I had a few xterms running and
> also Opera, no other graphical app. The above processes appeared after
> Opera was launched.
>  Why oh why should there be a process "at-spi2-registryd
> --use-gnome-session"?
> 
> gnome-session?! I don't even have gnome installed.
> 
> On a related note, the session logs have this gem:
> 
> ERROR:object_proxy.cc(583)] Failed to call method:
> org.freedesktop.UPower.GetDisplayDevice: object_path=
> /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
> The name org.freedesktop.UPower was not provided by any .service files
> 
> Why should this be considered an error? I don't have upower installed.
> I don't want upower.
> 
> I understand this is not the kind of stuff most users care about.
> Just wondering whether somebody else is somewhat bothered by this.

Try uninstalling a a11y related software, disable the accessibility use
flag... at-spi2 launches its own dbus - it should go away if you
disable a11y features. Opera triggers starting these through dbus, and
they will try to bind to Gnome or KDE sessions.

I have these, too, in my systems because some packages unconditionally
pull in a11y features although I disabled all related useflags.

-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] Re: gnome intrusion?

2016-11-14 Thread Jorge Almeida
On Mon, Nov 14, 2016 at 8:37 PM, Kai Krakow  wrote:
> Am Mon, 14 Nov 2016 09:32:59 +

>> --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
>> --print-address 3
>>   417 ?Sl 0:00 /usr/libexec/at-spi2-registryd

>
> Try uninstalling a a11y related software, disable the accessibility use
> flag... at-spi2 launches its own dbus - it should go away if you
> disable a11y features. Opera triggers starting these through dbus, and
> they will try to bind to Gnome or KDE sessions.
>
> I have these, too, in my systems because some packages unconditionally
> pull in a11y features although I disabled all related useflags.
>
I don't know what a11y is... If you mean nls-related stuff, it is
already off, just like the accessibility USE flag. But
app-accessibility/at-spi2-atk is pulled by gtk+, unconditionally, so
there is nothing I can do about it, I guess. It is not ebuild fault
either, it's an upstream choice.
I also would love to get rid of dbus, but I suppose something
essential would break.

Thanks

Jorge



Re: [gentoo-user] gnome intrusion?

2016-11-14 Thread Andrew Tselischev
On Mon, Nov 14, 2016 at 09:32:59AM +, Jorge Almeida wrote:
> I noticed some obnoxious-looking processes in my system:
> 
> $ ps axf
> (...)
>   367 ?S  0:00 dbus-launch --autolaunch
> 899f609d1c39e4d202c179a7580e4b49 --binary-syntax --close-stderr
>   368 ?Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 5
> --print-address 7 --session
>   409 ?Sl 0:00 /usr/libexec/notification-daemon
>   411 ?Sl 0:00 /usr/libexec/at-spi-bus-launcher
>   415 ?S  0:00  \_ /usr/bin/dbus-daemon
> --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork
> --print-address 3
>   417 ?Sl 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
>   451 ?S  0:00 /usr/libexec/gconfd-2
> 
> I don't use a DE, just plain openbox. I had a few xterms running and
> also Opera, no other graphical app. The above processes appeared after
> Opera was launched.
>  Why oh why should there be a process "at-spi2-registryd --use-gnome-session"?
> 
> gnome-session?! I don't even have gnome installed.
> 
> On a related note, the session logs have this gem:
> 
> ERROR:object_proxy.cc(583)] Failed to call method:
> org.freedesktop.UPower.GetDisplayDevice: object_path=
> /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
> The name org.freedesktop.UPower was not provided by any .service files
> 
> Why should this be considered an error? I don't have upower installed.
> I don't want upower.
> 
> I understand this is not the kind of stuff most users care about.
> Just wondering whether somebody else is somewhat bothered by this.
> 
> Jorge Almeida

I have the same problem. Recently I got so fed up with it I decided to try
my chances with chmod a-x /usr/libexec/at-spi* . So far, no problems.



[gentoo-user] Re: gnome intrusion?

2016-11-14 Thread Kai Krakow
Am Mon, 14 Nov 2016 21:49:42 +
schrieb Jorge Almeida :

> I don't know what a11y is...

accessibility
 +-+  = 11 chars, a+11+y ;-)

It's like i18n, l10n... Developers love those it seems...

-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] gnome intrusion?

2016-11-14 Thread Jorge Almeida
On Mon, Nov 14, 2016 at 11:38 PM, Andrew Tselischev
 wrote:
> On Mon, Nov 14, 2016 at 09:32:59AM +, Jorge Almeida wrote:
>> I noticed some obnoxious-looking processes in my system:
>>

>
> I have the same problem. Recently I got so fed up with it I decided to try
> my chances with chmod a-x /usr/libexec/at-spi* . So far, no problems.
>

Good to know. I'm currently testing  openbox without dbus-launch. No
problem yet.

It would be great to have some WiKi pages telling what some USE flag
really do to particular packages, e.g, what does it mean to run
firefox without dbus.

Jorge



[gentoo-user] Re: gnome intrusion?

2016-11-14 Thread Kai Krakow
Am Mon, 14 Nov 2016 23:38:44 +
schrieb Andrew Tselischev :

> On Mon, Nov 14, 2016 at 09:32:59AM +, Jorge Almeida wrote:
> > I noticed some obnoxious-looking processes in my system:
> > 
> > $ ps axf
> > (...)
> >   367 ?S  0:00 dbus-launch --autolaunch
> > 899f609d1c39e4d202c179a7580e4b49 --binary-syntax --close-stderr
> >   368 ?Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 5
> > --print-address 7 --session
> >   409 ?Sl 0:00 /usr/libexec/notification-daemon
> >   411 ?Sl 0:00 /usr/libexec/at-spi-bus-launcher
> >   415 ?S  0:00  \_ /usr/bin/dbus-daemon
> > --config-file=/usr/share/defaults/at-spi2/accessibility.conf
> > --nofork --print-address 3
> >   417 ?Sl 0:00 /usr/libexec/at-spi2-registryd
> > --use-gnome-session 451 ?S  0:00 /usr/libexec/gconfd-2
> > 
> > I don't use a DE, just plain openbox. I had a few xterms running and
> > also Opera, no other graphical app. The above processes appeared
> > after Opera was launched.
> >  Why oh why should there be a process "at-spi2-registryd
> > --use-gnome-session"?
> > 
> > gnome-session?! I don't even have gnome installed.
> > 
> > On a related note, the session logs have this gem:
> > 
> > ERROR:object_proxy.cc(583)] Failed to call method:
> > org.freedesktop.UPower.GetDisplayDevice: object_path=
> > /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown:
> > The name org.freedesktop.UPower was not provided by any .service
> > files
> > 
> > Why should this be considered an error? I don't have upower
> > installed. I don't want upower.
> > 
> > I understand this is not the kind of stuff most users care about.
> > Just wondering whether somebody else is somewhat bothered by this.
> > 
> > Jorge Almeida  
> 
> I have the same problem. Recently I got so fed up with it I decided
> to try my chances with chmod a-x /usr/libexec/at-spi* . So far, no
> problems.

Or mask its autostarter, gets rid of error messages in the log:

sudo ln -snf /dev/null /etc/xdg/autostart/at-spi-dbus-bus.desktop

Then, on dispatch-conf, do not merge the config changes for this file.

-- 
Regards,
Kai

Replies to list-only preferred.




[gentoo-user] linuxdoc-tools larger file does not work if using pipe

2016-11-14 Thread John Covici
Hi.  I have been having a problem with linuxdoc-tools while trying to
install brltty from git.  When trying to process the manual the file
is truncated at about 8192 bytes and so gives an error.  Now  the
original linuxdoc is using pipes to connect the various componentsto
process the document which is about 63k.  Now, I can process it
manually and get the same error, but if I use temporary files instead
of using pipe, then it works.

So, how can I get pipe to behave itself?  I tried it on another
distribution and it seems to work, which would indicate something in
the environment, but I have no idea what.  I looked at
/proc/sys/fs/pipe-max-size and it is 67108864.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com