Re: [gentoo-user] Install dkms: which package

2016-07-15 Thread Stroller

> On 15 Jul 2016, at 18:20, Facundo Curti  wrote:
> 
> Hi there.
> 
> I need dkms to compile a driver. (aziokdb 
> https://bitbucket.org/Swoogan/aziokbd 
> ).
> 
> Any way, I cant find the package to do that :S
> 
> I tryed with sys-kernel/dkms and @module-rebuild, none exsists

It looks like DKMS failed to find a maintainer 10 years ago. 

• https://forums.gentoo.org/viewtopic-t-579971-view-previous.html 

• https://bugs.gentoo.org/show_bug.cgi?id=100754 


Could it have been rolled into another package since then?

Stroller.



GitPrep? (was: Re: [gentoo-user] Gitlab experiences)

2016-07-15 Thread Andreas K. Huettel
Am Mittwoch, 13. Juli 2016, 14:44:39 schrieb James:
> Hello,
> 
> So, from what I've read, gitlab is very popular because you can self-host
> and the CI capabilities there are built in. 

[...]

Has anyone here already played with GitPrep?

That looks rather straightforward to package (but I haven't done it yet...)
http://perlcodesample.sakura.ne.jp/gitprep-site/


-- 

Andreas K. Huettel
Gentoo Linux developer 
dilfri...@gentoo.org
http://www.akhuettel.de/




Re: [gentoo-user] Install dkms: which package

2016-07-15 Thread Facundo Curti
2016-07-15 18:54 GMT-03:00 Alarig Le Lay :

> On Fri Jul 15 14:20:39 2016, Facundo Curti wrote:
> > Hi there.
> >
> > I need dkms to compile a driver. (aziokdb
> > https://bitbucket.org/Swoogan/aziokbd).
> >
> > Any way, I cant find the package to do that :S
> >
> > I tryed with sys-kernel/dkms and @module-rebuild, none exsists
> >
> > Someone can tell me what package I need to install? Thx
>
> Hi,
>
> Why do you want DKMS whereas you already compile your own kernel?
>
> --
> alarig
>

Because I have a module that is outside the kernel tree:

See this
http://swoogan.blogspot.com.ar/2014/09/azio-l70-keyboard-linux-driver.html

Is the above, but with some modifications.


Re: [gentoo-user] Delete /tmp content

2016-07-15 Thread Marc Joliet
On Friday 15 July 2016 08:44:39 Rich Freeman wrote:
> I checked and it looks like the default on Gentoo is to not clear
> tmpfiles on a running system at all:
> cat /usr/lib/tmpfiles.d/tmp.conf
> v /tmp 1777 root root
> v /var/tmp 1777 root root

Which is due to https://bugs.gentoo.org/show_bug.cgi?id=490676 (I still fail 
to understand the reasoning behind the change, but oh well).  Personally, I 
manually override Gentoo's own override in order to retain upstream behaviour.

-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


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


Re: [gentoo-user] Install dkms: which package

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/15/2016 01:20 PM, Facundo Curti wrote:
> Hi there.
> 
> I need dkms to compile a driver. (aziokdb 
> https://bitbucket.org/Swoogan/aziokbd).
> 
> Any way, I cant find the package to do that :S
> 
> I tryed with sys-kernel/dkms and @module-rebuild, none exsists
> 
> Someone can tell me what package I need to install? Thx

None. Just use the Manual Install instructions.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiWAHAAoJEPbOFX/5UlwcO+wP/ROAhsjIVwSglSScBGLWk1IM
H+o04DngsKS8qSsnqnOJ89z6PQQyNqm0H34gyo9PowYJiRtGtD5ryHFAFzu1P55M
XfX2CY/otzwCZDX8jULO6YL14y7BgMDDgnN1LyHpUu1xKchP8ifXCOHsnGc33atx
7CVgyb+r0PVNtXNynQPO4QOGWepCRaKyDp8CFPDlNQXyemutKdnc1w6Fv8JdQHfF
yJMru1vuiwjWyFaNlEK7yEqtmUEKkGpQzYFTknTIaKNc3qE0bkpOXJJunbreCa9D
mvunrvSLl66xoQMF+o8BTud+KfQOAL72PaFNdBbXCSnZXS8CnUf1mbIFpx1JD14y
kuPpncrYKoyh06U75Rsy9WNHgDFXbG37rV/UuK62O1gacRIWnMG/I7K7iPgOa9y2
JM58K2IVfJ/TN7Z3EoTYkkpJkrvVvegJaLW/NqDJ2Evdsd+BNrck1gD/697eB5Iu
/T/XeKEmMSfwPkF4YD/d6WjvZ87VoI3rGCcx5e28rdXB37RsvUQIOMVeTlHcogw3
4Qmcq5Q235Lrs5NPm2Xl9hwLu/Qfbt/ixOZ08qkKMfsyvHPL4swSXhEx9ayVFN77
reAZJ21ZAl37bV18swjQG5wIgw55VTwNIYjJgXUxs4rhAo9D0opYrgWrhXN2bblU
wYD5rhGbB6ozl5eSDT1w
=W/hy
-END PGP SIGNATURE-



Re: [gentoo-user] firewall -> kernel hardlock error

2016-07-15 Thread Mick
On Friday 15 Jul 2016 15:50:09 Corbin Bird wrote:
> The old kernel ( 4.1.27 ) worked with no errors.
> I copied the /usr/src/linux/.config file over from kernel 4.1.27.
> Used "make menuconfig" to check if changes were needed.

Try 'make oldconfig' instead.

-- 
Regards,
Mick

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


Re: [gentoo-user] Install dkms: which package

2016-07-15 Thread Alarig Le Lay
On Fri Jul 15 14:20:39 2016, Facundo Curti wrote:
> Hi there.
> 
> I need dkms to compile a driver. (aziokdb
> https://bitbucket.org/Swoogan/aziokbd).
> 
> Any way, I cant find the package to do that :S
> 
> I tryed with sys-kernel/dkms and @module-rebuild, none exsists
> 
> Someone can tell me what package I need to install? Thx

Hi,

Why do you want DKMS whereas you already compile your own kernel?

-- 
alarig


signature.asc
Description: Digital signature


[gentoo-user] Mount UPnP MediaServers as FUSE filesystem

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello,

I just want to share this project I've been working on. It is a fork of djmount
[1] with the following fixes/improvements:

1. Unbundled and updated library dependencies to recent versions.
2. Multi-home support. The original djmount will run the UPnP client on the
   first interface it sees. If it is disconnected you need to restart the 
daemon 
   or it stops working. This version monitors the networks interface and as soon
   as network connections are up it launches a client on them.
3. More reliable device discovery. Once a device is detected it stays on the
   list as long as it's available. Most UPnP clients drop the devices if UDP
   packets get lost (ie. due to high network traffic).
4. Support for streaming files larger than 2GB.
5. Streaming engine with adaptive buffering.
6. Fixed several quite large memory leaks.

Basicly you just start the daemon and all the UPnP media devices on any 
networks you 
connect to will appear as directories on the mount point them you can use any 
media player 
to play them like a regular file. For best results you should disable all 
buffering on the 
media player.

It comes with a systemd unit (it's installed if the systemd flag is enabled) 
that
mounts it at /media/UPnP. There's no openrc init script but if anyone wants to 
write
one.

The code is on github [2]. You can submit bugs and pull requests there. I've 
also
created an overlay [3] for it. I will soon be adding other related projects 
I've been
working on to that overlay and github organization. To install it just add the
overlay and emerge net-fs/avmount. It requires the FUSE module to be loaded or 
builtin.
To start it with systemd run systemctl start avmount and manually avmount 
.

[1] http://djmount.sourceforge.net/
[2] https://github.com/avbox/avmount
[3] https://github.com/avbox/portage
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiVV0AAoJEPbOFX/5UlwczvUP/j5yFiRrA7VUgb/mJz1RHKY6
tlJE8gM3mQTqbBJvcMAAz8pUlsc5ZjiOu7aSjxRIQBGdWSdfk3uPYz5dliCRTUvU
KxuNj89LC7MH7b2U3LcfDGnWSOC984MTb8tTieyVouKRXH9zRpYDTDnCyjcJuKWH
ayBUZnjaym26icbHykq8wo6xmyTFLhSneYdmrzCj+HPYEyODxifDwHD5SWtyez8g
6uyYr825CgfQAmYudmqSXOrlMnoRPkT++nxbm31ZShPorcBxdZw8KWeyVCoy7eNt
6f8F0RzfGJelSrYWVipv+MbuUDXmXFiYaUkrZuY+cZ2w8bc61jNJm/+rNwzKGEcA
+FnRVMt5aRiZAvurKL7FY8v7MbXGhuXeMhbz+rnXMWsSrI0LaKagJraKWSdRqeIE
TrNDHbE+i8k6ar3BQVc/cKCvW7oX8YEaH0d73ezlPldMLdJFSxHJVRzYsnW/IH4v
8/0RPzYE2+hV8YZ3spf2rWJRDuEMNH1i4yjBuLWkqVaqMtkuuA5y/zzI5tET3HMe
BgIpubrY8QKS+x6JnvhIk9GSn7qf9qTaVZF/bmOpL44RtCs+U0auB54I81ZQM5rn
FDrHOpfy7WfqjXj+fbRR8pVVaJ9tFOXG6WKlXOKelvfhb0vaIg8mvgYc21zM14Mg
YIzSMOiV9u2sF/2rBor6
=ni2B
-END PGP SIGNATURE-



[gentoo-user] firewall -> kernel hardlock error

2016-07-15 Thread Corbin Bird

Getting an error with kernel 4.1.28 ( USE="experimental symlink" )
The firewall ( 2 different packages tried ) locks up the machine during 
boot.


The old kernel ( 4.1.27 ) worked with no errors.
I copied the /usr/src/linux/.config file over from kernel 4.1.27.
Used "make menuconfig" to check if changes were needed.
Recompiled 3 different times, minor changes, same result.

reinstalled iptables, nftables, and ran "perl-cleaner reallyall".

Always locks up after rules compiled / starting to initialize iptables.

The firewalls tried :
arno-iptables-firewall, shorewall

Part of the kernel 4.1.28 change-log :


Florian Westphal (20):
  ipv6: re-enable fragment header matching in ipv6_find_hdr
  netfilter: x_tables: validate e->target_offset early
  netfilter: x_tables: make sure e->next_offset covers remaining 
blob size

  netfilter: x_tables: fix unconditional helper
  netfilter: x_tables: don't move to non-existent next rule
  netfilter: x_tables: validate targets of jumps
  netfilter: x_tables: add and use xt_check_entry_offsets
  netfilter: x_tables: kill check_entry helper
  netfilter: x_tables: assert minimum target size
  netfilter: x_tables: add compat version of xt_check_entry_offsets
  netfilter: x_tables: check standard target size too
  netfilter: x_tables: check for bogus target offset
  netfilter: x_tables: validate all offsets and sizes in a rule
  netfilter: x_tables: don't reject valid target size on some 
architectures

  netfilter: arp_tables: simplify translate_compat_table args
  netfilter: ip_tables: simplify translate_compat_table args
  netfilter: ip6_tables: simplify translate_compat_table args
  netfilter: x_tables: xt_compat_match_from_user doesn't need a retval
  netfilter: x_tables: do compat validation via translate_table
  netfilter: x_tables: introduce and use xt_copy_counters_from_user

I suspect this may have something to do with it.

Is anyone else seeing / experiencing this problem?




Re: [gentoo-user] Re: basic grub question

2016-07-15 Thread covici
Fernando Rodriguez  wrote:

> On 06/15/2016 07:58 PM, cov...@ccs.covici.com wrote:
> > James  wrote:
> > 
> >>   ccs.covici.com> writes:
> >>
> >>
> >>> Well, the problemis, I don't know the correct parameters to get the best
> >>> resolution -- there is a formula to calculate if I use vga=, but grub
> >>> had a way where you specified the mode and it put the screen in graphics
> >>> mode and passed it on to linux, which seemed unique to me.
> >>
> >> vga=
> >> 773=   1024x768x8
> >> 775=   1280x1024x8
> >> 791=   1024x768x16
> >> 794=   1280x1024x16
> >>
> >>
> >> http://www.sprint.net.au/~terbut/usefulbox/lilovgatable.htm
> >>
> >> may help.
> > Thanks, I will check this out.
> > 
> 
> For the framebuffer drivers that may not work. For a trident card I use
> tridentfb.mode_option=1280x1024@60. The options for the different drivers
> can be found on the kernel documentation on Documentation/fb.
> 
> What worked best for me with nouveau on recent kernels is to disable all
> framebuffer drivers and enable CONFIG_DRM_FBDEV_EMULATION. It will boot into
> the framebuffer without flicker.
> 
> You can also use the VESA driver to boot and then load the nouveau
> module (which udev should do automatically for you). For me this switches
> to the fb console as soon as the module loads but it gives me a blank
> screen or a panic if any other fb drivers than VESA are builtin or loaded.

What I find is that even though I have uvesafb as a module, and nouveau
as a module nouveau gets loaded automatically and I get a frame buffer
which seems not too bad, not as good as the uvesafb one, but it will do
for the time being.  I have a 1920x1080 screen.


-- 
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] Re: basic grub question

2016-07-15 Thread Fernando Rodriguez
On 06/15/2016 07:58 PM, cov...@ccs.covici.com wrote:
> James  wrote:
> 
>>   ccs.covici.com> writes:
>>
>>
>>> Well, the problemis, I don't know the correct parameters to get the best
>>> resolution -- there is a formula to calculate if I use vga=, but grub
>>> had a way where you specified the mode and it put the screen in graphics
>>> mode and passed it on to linux, which seemed unique to me.
>>
>> vga=  
>> 773  =   1024x768x8
>> 775  =   1280x1024x8
>> 791  =   1024x768x16
>> 794  =   1280x1024x16
>>
>>
>> http://www.sprint.net.au/~terbut/usefulbox/lilovgatable.htm
>>
>> may help.
> Thanks, I will check this out.
> 

For the framebuffer drivers that may not work. For a trident card I use
tridentfb.mode_option=1280x1024@60. The options for the different drivers
can be found on the kernel documentation on Documentation/fb.

What worked best for me with nouveau on recent kernels is to disable all
framebuffer drivers and enable CONFIG_DRM_FBDEV_EMULATION. It will boot into
the framebuffer without flicker.

You can also use the VESA driver to boot and then load the nouveau
module (which udev should do automatically for you). For me this switches
to the fb console as soon as the module loads but it gives me a blank
screen or a panic if any other fb drivers than VESA are builtin or loaded.




[gentoo-user] Re: Delete /tmp content

2016-07-15 Thread James
Hogren  iiiha.com> writes:


> After several strange problems, I discovered that my /tmp content was 
> never deleted.
> 
> Is there a natif mechanism (with fstab or other option) and it's just a 
> misconfiguration or there isn't, and I need to use a systemd service ?

app-admin/tmpwatch

might be more feature rich for a solution that you can use
on a variety of systems...

hth,
James









Re: [gentoo-user] Re: KDE 5

2016-07-15 Thread Mick
On Saturday 16 Jul 2016 01:30:33 Michael Palimaka wrote:
> On 15/07/16 07:00, Mick wrote:
> > On Friday 15 Jul 2016 02:03:09 Michael Palimaka wrote:
> >> On 14/07/16 08:04, Mick wrote:
> >> 
> >> For the missing icons, is this inside a Plasma session? What's the
> >> output of "env | grep XDG_"?
> > 
> > No, I am not running the full Plasma desktop - although I had tried this
> > on a PC with the Plasma desktop and the effect was the same.
> > 
> > This is what I get on my laptop:
> > 
> > $ env | grep XDG_
> > XDG_VTNR=7
> > XDG_MENU_PREFIX=e-
> > XDG_SESSION_COOKIE=dell_xps-1468520688.314968-1860262165
> > XDG_SESSION_CLASS=user
> > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
> > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> > XDG_CONFIG_DIRS=/etc/xdg
> > XDG_SESSION_TYPE=x11
> > XDG_SEAT=seat0
> > XDG_SESSION_DESKTOP=
> > XDG_DATA_DIRS=/usr/local/share:/usr/share
> > XDG_RUNTIME_DIR=/var/run/user/1000
> > XDG_CURRENT_DESKTOP=
> 
> There is an ongoing issue with KDE Applications displaying missing icons
> outside of a Plasma environment, due to a behaviour change in Qt 5 where
> it tries to automatically theme (including icon theme) applications
> based on the running environment.
> 
> As a workaround, try exporting XDG_CURRENT_DESKTOP="KDE" prior to
> running Dolphin.
> 
>  It is expected that kim4 (kdelibs4-based) does not work with
>  KF5-based Dolphin.
> >>> 
> >>> This was a very useful facility for me.  I hope kim5 will be brought
> >>> out.
> >> 
> >> I did a really quick test by copying the service files to the KF5
> >> location (/usr/share/kservices5/ServiceMenus) and ran a couple of
> >> operations and it seemed to work OK.
> > 
> > Do you mean copying the Kim4 files from
> > ~/.kde4/share/kde4/services/ServiceMenus/?
> 
> The ones it installs:
> 
> /usr/share/kde4/services/ServiceMenus/kim_compressandresize.desktop
> /usr/share/kde4/services/ServiceMenus/kim_convertandrotate.desktop
> /usr/share/kde4/services/ServiceMenus/kim_publication.desktop

Thanks for this tip Michael, it works perfectly.  While I was there, I also 
copied over all k3b shortcuts too.  :-)

Shouldn't all these get picked up automatically when Plasma is installed and 
symlinked?

-- 
Regards,
Mick

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


Re: [gentoo-user] Delete /tmp content

2016-07-15 Thread waltdnes
On Fri, Jul 15, 2016 at 01:43:34PM +0200, Hogren wrote
>Hello everybody !
> 
> After several strange problems, I discovered that my /tmp content was 
> never deleted.
> 
> Is there a natif mechanism (with fstab or other option) and it's just a 
> misconfiguration or there isn't, and I need to use a systemd service ?
> 
> Thanks for your responses !!

  A cron job is the simplest way.  Have cron run the command...

find /tmp -mtime +9 -execdir rm -rf {} \;

...every day.  "-mtime" (number of days ago the file was last modified)
truncates fractions, so +9 (i.e. greater than 9 days) means *AT LEAST
10 DAYS*.  If you want to delete all old files by all users, including
root, the command would have to be run as root.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Delete /tmp content

2016-07-15 Thread Mick
On Friday 15 Jul 2016 08:44:39 Rich Freeman wrote:
> On Fri, Jul 15, 2016 at 7:43 AM, Hogren  wrote:
> > After several strange problems, I discovered that my /tmp content was
> > never
> > deleted.
> > 
> > Is there a natif mechanism (with fstab or other option) and it's just a
> > misconfiguration or there isn't, and I need to use a systemd service ?
> 
> If you're using systemd this should all be default behavior, unless
> overridden.
> 
> tmpfs ought to be created as a tmpfs due to
> /usr/lib/systemd/system/tmp.mount unless you tell it to do something
> else in fstab or your own tmp.mount, or you somehow disable it.
> 
> That alone should clear it on every reboot.
> 
> I checked and it looks like the default on Gentoo is to not clear
> tmpfiles on a running system at all:
> cat /usr/lib/tmpfiles.d/tmp.conf
> v /tmp 1777 root root
> v /var/tmp 1777 root root
> 
> If you create /etc/tmpfiles.d/mytmp.conf and put those lines with a
> "10d" afterwards then it should purge files older than 10 days
> automatically.  I think.  I don't know exactly how tmpfiles.d
> overrides work.  You might have to copy the entire file to
> /etc/tmpfiles.d/tmp.conf and then edit those two lines in place.  Be
> sure to keep the exclusions, you don't want to kill tmpfiles for
> running daemons.
> 
> Or you can of course use something like tmpreaper.  I still have that
> running from my openrc days, and it of course works fine with systemd.

If you are using openrc go to /etc/conf.d/bootmisc and set:

 clean_tmp_dirs="/tmp"
 wipe_tmp="YES"

-- 
Regards,
Mick

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


[gentoo-user] Install dkms: which package

2016-07-15 Thread Facundo Curti
Hi there.

I need dkms to compile a driver. (aziokdb
https://bitbucket.org/Swoogan/aziokbd).

Any way, I cant find the package to do that :S

I tryed with sys-kernel/dkms and @module-rebuild, none exsists

Someone can tell me what package I need to install? Thx


Re: [gentoo-user] Firefox 45.2.0 segfaulting

2016-07-15 Thread Adrien Sohier
Le Thu, 14 Jul 2016 17:55:02 + (UTC),
Grant Edwards  a écrit :

> www-client/firefox got updated this morning to 45.2.0, and now it segfaults
> whenever you enter a character in the search field or the URL field.
> 
> Anybody else see this sort of behavior?
> 

I run firefox 47.0.1 and don't have that kind of problem.
Though to solve this you could try a few things :
- rebuild firefox (if you built it, instead of using the binary one) with
-ggdb CFLAG and debug USE flag, and then run it under gdb.
Then you could try to reproduce the segfault, and gdb would tell you 
where
it crashed (even the source files and guilty lines), and push that to
Mozilla's bugzilla and/or package maintainer to get a patch in the 
meantime

- at least just try to reproduce the bug, and file it to Mozilla / package
maintainer to get them to reproduce it and fix it

- or simply downgrade to the previous version. :)


Chrome hasn't the faintest customisation firefox grants us thanks to its
XML-JS-CSS UI Structure, and the quantity of modules is simply incredible
(plus it's not Google behind, that can't be anything but a plus).


pgpmgOxGi_Xpg.pgp
Description: Signature digitale OpenPGP


[gentoo-user] Re: KDE 5

2016-07-15 Thread Michael Palimaka
On 15/07/16 07:00, Mick wrote:
> On Friday 15 Jul 2016 02:03:09 Michael Palimaka wrote:
>> On 14/07/16 08:04, Mick wrote:
> 
>> For the missing icons, is this inside a Plasma session? What's the
>> output of "env | grep XDG_"?
> 
> No, I am not running the full Plasma desktop - although I had tried this on a 
> PC with the Plasma desktop and the effect was the same.
> 
> This is what I get on my laptop:
> 
> $ env | grep XDG_
> XDG_VTNR=7
> XDG_MENU_PREFIX=e-
> XDG_SESSION_COOKIE=dell_xps-1468520688.314968-1860262165
> XDG_SESSION_CLASS=user
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_CONFIG_DIRS=/etc/xdg
> XDG_SESSION_TYPE=x11
> XDG_SEAT=seat0
> XDG_SESSION_DESKTOP=
> XDG_DATA_DIRS=/usr/local/share:/usr/share
> XDG_RUNTIME_DIR=/var/run/user/1000
> XDG_CURRENT_DESKTOP=

There is an ongoing issue with KDE Applications displaying missing icons
outside of a Plasma environment, due to a behaviour change in Qt 5 where
it tries to automatically theme (including icon theme) applications
based on the running environment.

As a workaround, try exporting XDG_CURRENT_DESKTOP="KDE" prior to
running Dolphin.

 It is expected that kim4 (kdelibs4-based) does not work with
 KF5-based Dolphin.
>>>
>>> This was a very useful facility for me.  I hope kim5 will be brought out.
>>
>> I did a really quick test by copying the service files to the KF5
>> location (/usr/share/kservices5/ServiceMenus) and ran a couple of
>> operations and it seemed to work OK.
> 
> Do you mean copying the Kim4 files from 
> ~/.kde4/share/kde4/services/ServiceMenus/?
> 

The ones it installs:

/usr/share/kde4/services/ServiceMenus/kim_compressandresize.desktop
/usr/share/kde4/services/ServiceMenus/kim_convertandrotate.desktop
/usr/share/kde4/services/ServiceMenus/kim_publication.desktop




Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-07-15 Thread Robin Atwood
On Tuesday 12 July 2016, Andrés Becerra Sandoval wrote:
> 2016-07-09 8:52 GMT-05:00 Robin Atwood :
> > Attempting to update/world this weekend I get:
> > 
> > 
> > 
> > 
> > 
> > # emerge -uDv @world
> > 
> > 
> > 
> > These are the packages that would be merged, in order:
> > 
> > 
> > 
> > Calculating dependencies... done!
> > 
> > 
> > 
> > !!! All ebuilds that could satisfy "kde-apps/kdebase-runtime-meta:5" have
> > been masked.
> > 
> > !!! One of the following masked packages is required to complete your
> > request:
> > 
> > - kde-apps/kdebase-runtime-meta-16.04.2::gentoo (masked by: package.mask,
> > ~amd64 keyword)
> > 
> > - kde-apps/kdebase-runtime-meta-15.12.3::gentoo (masked by: package.mask)
> > 
> > 
> > 
> > (dependency required by "kde-base/kdebase-startkde-4.11.22-r1::gentoo"
> > [ebuild])
> > 
> > (dependency required by "@selected" [set])
> > 
> > (dependency required by "@world" [argument])
> > 
> > 
> > 
> > I have all of KDE:5 masked since I think installing it sounds too risky.
> > Checking the kdebase-startkde-4.11.22-r1 ebuild it has a dependency on
> > kde-apps/kdebase-runtime-meta:5. Is this a mistake? Has anyone found a
> > solution to this?
> 
> ​Robin,
> 
> My ugly hack on this to keep on kde4 withouth pulling frameworks 5:
> 
> 1) use a local overlay
> 2) locate kactivitymanagerd-4.13.3-r1.ebuild (in
> /var/db/pkg/kde-plasma/kactivitymanagerd-4.13.3-r1)
> 3) put the kactivitymanagerd-4.13.3-r1.ebuild into ​
> /usr/local/portage/kde-plasma/kactivitymanagerd/
> ​4) add  a ​
> SLOT="5"
> ​ line to the ebuild
> 5) add a unmask ​line
> =kde-plasma/kactivitymanagerd-4.13.3-r1
> ​ to /et​c/package.unmask
> 
> ​I need 5) because I mask ​all kde-plasma/* packages

Andrés-
That did the trick! Thanks very much. Until the next time... :(

Cheers
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Re: executing a command as a nologin user

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/15/2016 09:45 AM, Fernando Rodriguez wrote:
> On 07/14/2016 09:36 PM, Jonathan Callen wrote:
>> On 07/14/2016 05:19 PM, Fernando Rodriguez wrote:
>>> On 07/13/2016 01:41 PM, wabe wrote:
 Fernando Rodriguez  wrote:
>>>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On 07/13/2016 07:10 AM, Alan McKinnon wrote:
>> On 12/07/2016 03:47, jens w wrote:  
>>> .procmailrc
>>> :0 c
>>> * !^X-Loop: n...@example.com  
>>> | formail -X "From:" | $HOME/bin/script.sh  
>>>
>>> procmail.log
>>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh
>>>
>>> for incoming mail, a script is executed. logfile has the same
>>> entry as it is in other users. but the script do nothing.
>>>
>>> How executing a command as a nologin user?
>>>  
>>
>>
>> You can't, not the way you are doing it.
>> You want to launch a shell script for the user, but the user's
>> shell is /sbin/nologin. This exits immediately without launching
>> the script.
>>
>> Give the user a real shell.
>>
>> Alan
>>   
>
> I've been following this thread and thinking the same thing but
> wasn't sure.
>
> What if you invoke the shell directly instead of the script, either:
> /bin/sh -c "" or /bin/sh -c "$(cat 

Re: [gentoo-user] executing a command as a nologin user

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/13/2016 06:31 AM, jens w wrote:
> Am Wed, 13 Jul 2016 03:02:50 +0200
> schrieb wabe :
> 
>>
>> Are you sure that the HOME envar is defined for the "nologin-user"?
> 
> # getent passwd user
> user:x:1018:1018::'/home/user:/sbin/nologin
> # su -s /bin/bash user -c echo $HOME
> 
> 
> I change $HOME in /home/user, but the script not executed.
> 
>> Is there a existing home directory defined in /etc/passwd for this 
>> user?
> 
> yes, and the mail-delivery to /home/user/.maildir ist ok, also the
> access from roundcube is ok.
> 

Have you tried giving that user a regular shell without changing anything
else? and it works?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiOo/AAoJEPbOFX/5Ulwcj4oP/RQ5D75FNlJjD3zCcWgvGuT9
M7A34R/YKYszPckOKtQl2+Kc4kzZlO9zXBeFUUSoUZFCSiGZI4RkYpo9zZZXEimW
X1+XHcw4noeoqSj0iX9cGX8p8WZFPz8sj7Ui/raaxdEx5rVt8PySz1jvpCtvunS8
ieLZVmLoOkmDQKHMFx/VpdpSkiD+tH/Y4eb8tgNF3jzf8ODv1u2YjER5WpbFKS/m
vJCKcChbA6nahvk9RCcOthY8SMgR6/VPQSF6SiXHCgNPBgA8zBW9qDrVywpvYoOu
pMF/8U3TdljnrkP3BLrZd0+FyK09992wXSXq3s1Y2cw77FevF3yIuDfefI57t/BS
HfYpKSsWEB5ephaabZi93l0Op9doctAYOQXoJz6L6x/F6RB4eYIHMfXo7mHfYXvx
bBDrYsgpm0zTK44NQbYsrzBHrfKagOCgKIyKgrfkn4VMMap5Rtwa2FIW3LngHdOO
l7BHT0LnMPyT+ieTVkguOcD07THPfWGuONbALHIaTbY10AQyFgvfEY1E6378vETT
LjbC0BPfXOisXlt6nhInJ4prpTrAyZlw57lSzuWE41PO4DCEn+PCmz0tISNpZ4Fk
ML7X9G+WF2fk4MK9MBEeMbWhQ8A2V2K7+AK4FOM2bI2abCsRktWxAYm9J0Bgu1IM
XqDlm1IWPrH5BZvJfIae
=sSxt
-END PGP SIGNATURE-



Re: [gentoo-user] radius use flags

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/15/2016 07:42 AM, hw wrote:
> Hi,
> 
> is this what I should expect:
> 
> 
> equery uses freeradius
> !!! No USE flags found for net-dialup/freeradius-3.0.11-r1
> 
> 
> No use flags?  The wiki page[1] says otherwise?  Or is this
> version too old?
> 
> Does it have mysql support out of the box?
> 
> 
> [1]: https://wiki.gentoo.org/wiki/FreeRADIUS
> 

No.

[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for net-dialup/freeradius-3.0.11-r1:
 U I
 - - debug: Enable extra debug codepaths, like asserts and extra output. If 
you want to get meaningful backtraces see

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - iodbc: Add support for iODBC library
 + + kerberos : Add kerberos support
 + + ldap : Add LDAP support (Lightweight Directory Access Protocol)
 - - mysql: Add mySQL Database support
 - - odbc : Add ODBC Support (Open DataBase Connectivity)
 - - oracle   : Enable Oracle Database support
 + + pam  : Add support for PAM (Pluggable Authentication Modules) - 
DANGEROUS to arbitrarily flip
 - - pcap : Build the RADIUS sniffer which requires net-libs/libpcap.
 - - postgres : Add support for the postgresql database
 - - python   : Add optional support/bindings for the Python language
 + + readline : Enable support for libreadline, a GNU line-editing library that 
almost everyone wants
 - - sqlite   : Add support for sqlite - embedded sql database
 + + ssl  : Add support for Secure Socket Layer connections

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiOxFAAoJEPbOFX/5Ulwc3M8P/iY9EHNboTlJvphI1XMqrT6j
c7uFAROWR/O3mqei2tbxv3r55xja4+f1BT5HCJS97EZvSOxzXBmMgVSrOpcLG9lW
qPkEhd9eTtCQaJZ5Zy1qi+M6Bv3N/ou5FTB2SRia6MvRzwB1yxN1t/fyI+NUOjhf
6MrAdOxprcDwxAyKWR+IgQKaMAE3xGqXEBGndOFgtYhhTPHW5ds0PyunkhOA+erx
X7mSz33YTKTxJzzM59U3cKwRI5HG7reGN834KQ8ttnjmB7WW0HGTdmCScBSghLcL
7Wvse9hm65JxRSJZsiLQA2W+S9rItwscQr4oMK7VzrJnhfRKHQlqX1MFG6iY8SIt
CVLsdEc9EonSy0iu2ZPBb41pTmaaGGB4LHE2j+ZO7zVubL1BJS6T3+dc/9kj01M3
SuAlxQuR3/fHPrOUdTSnTHHu+FCvMMLY7bPtv8gCx/OaY5tEEuX8FhuwCsuD3ubC
QvGmg8xdodsbvWGM2eEszFd3/HzDUOE9ixosdqNsv5UO/CHlYAQa4/BGmYSuMEC9
bZjPLWh5uuHS0j0Q/Va9dqi+3gIJMp23APEtAYGAG/SQtNkGiSVHkY0MEXxgqG9a
To/hCx0JPKYb8SepPEHmXYT5fVb5H8uhWM/ryS5h2b/9RaMMmIAJxkWitIYrQMcI
E9cff5ZAKmJUEMEbSPdt
=0u3g
-END PGP SIGNATURE-



Re: [gentoo-user] Re: executing a command as a nologin user

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/14/2016 09:36 PM, Jonathan Callen wrote:
> On 07/14/2016 05:19 PM, Fernando Rodriguez wrote:
>> On 07/13/2016 01:41 PM, wabe wrote:
>>> Fernando Rodriguez  wrote:
>>
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 On 07/13/2016 07:10 AM, Alan McKinnon wrote:
> On 12/07/2016 03:47, jens w wrote:  
>> .procmailrc
>> :0 c
>> * !^X-Loop: n...@example.com  
>> | formail -X "From:" | $HOME/bin/script.sh  
>>
>> procmail.log
>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh
>>
>> for incoming mail, a script is executed. logfile has the same
>> entry as it is in other users. but the script do nothing.
>>
>> How executing a command as a nologin user?
>>  
>
>
> You can't, not the way you are doing it.
> You want to launch a shell script for the user, but the user's
> shell is /sbin/nologin. This exits immediately without launching
> the script.
>
> Give the user a real shell.
>
> Alan
>   

 I've been following this thread and thinking the same thing but
 wasn't sure.

 What if you invoke the shell directly instead of the script, either:
 /bin/sh -c "" or /bin/sh -c "$(cat 

Re: [gentoo-user] Delete /tmp content

2016-07-15 Thread Rich Freeman
On Fri, Jul 15, 2016 at 7:43 AM, Hogren  wrote:
>
> After several strange problems, I discovered that my /tmp content was never
> deleted.
>
> Is there a natif mechanism (with fstab or other option) and it's just a
> misconfiguration or there isn't, and I need to use a systemd service ?
>

If you're using systemd this should all be default behavior, unless overridden.

tmpfs ought to be created as a tmpfs due to
/usr/lib/systemd/system/tmp.mount unless you tell it to do something
else in fstab or your own tmp.mount, or you somehow disable it.

That alone should clear it on every reboot.

I checked and it looks like the default on Gentoo is to not clear
tmpfiles on a running system at all:
cat /usr/lib/tmpfiles.d/tmp.conf
v /tmp 1777 root root
v /var/tmp 1777 root root

If you create /etc/tmpfiles.d/mytmp.conf and put those lines with a
"10d" afterwards then it should purge files older than 10 days
automatically.  I think.  I don't know exactly how tmpfiles.d
overrides work.  You might have to copy the entire file to
/etc/tmpfiles.d/tmp.conf and then edit those two lines in place.  Be
sure to keep the exclusions, you don't want to kill tmpfiles for
running daemons.

Or you can of course use something like tmpreaper.  I still have that
running from my openrc days, and it of course works fine with systemd.

-- 
Rich



[gentoo-user] Delete /tmp content

2016-07-15 Thread Hogren

  Hello everybody !

After several strange problems, I discovered that my /tmp content was 
never deleted.


Is there a natif mechanism (with fstab or other option) and it's just a 
misconfiguration or there isn't, and I need to use a systemd service ?


Thanks for your responses !!

Hogren



[gentoo-user] radius use flags

2016-07-15 Thread hw

Hi,

is this what I should expect:


equery uses freeradius
!!! No USE flags found for net-dialup/freeradius-3.0.11-r1


No use flags?  The wiki page[1] says otherwise?  Or is this
version too old?

Does it have mysql support out of the box?


[1]: https://wiki.gentoo.org/wiki/FreeRADIUS