Re: [gentoo-user] SDDM tmp file goes missing?

2024-01-05 Thread Spackman, Chris
On 2024/01/05 at 11:46am, Arve Barsnes wrote:
> On Fri, 5 Jan 2024 at 10:57, Andreas Fink  wrote:
> > It's the anacron job in /etc/cron.daily/systemd-tmpfiles-clean that
> > cleans files in the tmp folder.
> > There has also been a news item about the change on November 21st 2022.
> >
> > You might have to adapt the files that should not be cleaned by the
> > automatic cleanup (or disable automatic cleanup).
> 
> Good shout. Upstream has created a fix, but it is not in a release (yet).
> 
> https://github.com/sddm/sddm/commit/b002d02bbe9281b8362fa549991b7581b7758668
> 
> I'll try that and see if my version of the problem appears again.

Thanks for finding that. I love patches that I can actually
understand. I've also applied the fix. 

-- 
Chris Spackman (he / him)

ESOL Coordinator, The Graham Family of Schools
ESL Educator, Columbus State Community College

Japan Exchange and Teaching Program (Wajima, Ishikawa 1995-1998)
Linux user since 1998
Linux User #137532



Re: [gentoo-user] SDDM tmp file goes missing?

2024-01-05 Thread Spackman, Chris
On 2024/01/05 at 10:57am, Andreas Fink wrote:
> On Fri, 5 Jan 2024 08:04:49 +0100
> Arve Barsnes  wrote:
> 
> > On Fri, 5 Jan 2024 at 02:49, Spackman, Chris  wrote:
> > > Any thoughts on possible causes or fixes?
> >
> > I've also had this happen a few times over the last months, with error
> > mails about SDDM tmp files from cron. Just wanted to pipe in and say
> > that I don't have either rkhunter or keepassxc, so they must be
> > unrelated. Running on openbox.
> >
> > I also have the 'unable to open new GUI apps' problem on a Plasma
> > machine now and then. I had not connected the two, but maybe the same
> > root cause.
> >
> > Regards,
> > Arve
> >
> 
> It's the anacron job in /etc/cron.daily/systemd-tmpfiles-clean that
> cleans files in the tmp folder.
> There has also been a news item about the change on November 21st 2022.
> 
> You might have to adapt the files that should not be cleaned by the
> automatic cleanup (or disable automatic cleanup).

Thanks! That must be the issue. Applying the config files that Arve
suggested now.

-- 
Chris Spackman (he / him)

ESOL Coordinator, The Graham Family of Schools
ESL Educator, Columbus State Community College

Japan Exchange and Teaching Program (Wajima, Ishikawa 1995-1998)
Linux user since 1998
Linux User #137532



[gentoo-user] SDDM tmp file goes missing?

2024-01-04 Thread Spackman, Chris
Good evening,

I few times (like maybe 3 or 4) over the last 4 or 5 months or so, I've
woken up to a slightly broken X11 session. Nothing GUI has permission to
access, starting in a terminal gives this message:

> Authorization required, but no authorization protocol specified

I originally thought it was caused by an xscreensaver crash, but I've
not been using it, and still woke up to this problem this morning. I've
no idea the cause, and I'm sure everything was okay when I went to bed
last night.

The biggest hint came from rkhunter and anacron - rkhunter runs during
the night, and when this issue happens, I get an email that includes
something like:

> run-parts: /etc/cron.daily/rkhunter exited with return code 1 
>
> Opening file "/tmp/keepassxc-chris.socket" failed, ignoring: No such device 
> or address   
> Opening file "/tmp/sddm-:0-NpHoUj" failed, ignoring: No such device or 
> address 

I've not checked keepassxc (running, in the system tray) after this, but
everything GUI (that I have tried) that was already running continues to
run okay, but nothing new can start. Not sure if SDDM is a cause or a
symptom, but /tmp/ should usually have something like this:

> chris:~$ ll /tmp/ | grep sddm
> srwxrwxrwx 1 sddmsddm  0 Jan  4 06:56 dbus-blahblah
> srwx-- 1 sddmsddm  0 Jan  4 06:56 sddm-:0-blahblah
> srwxr-xr-x 1 rootroot  0 Dec 24 13:15 sddm-auth-blah-blah-blah

Best guess, this seems to happen after 10 days to 3 weeks of uptime, but
only recently. In the past, I've had as much as a month or so of uptime
(usually logged into Fluxbox on X11) without issues.

When this happens, I log out of Fluxbox, log back in, and all is well
again. 

I've not updated in the last few days, so that doesn't seem likely as a
cause for the most recent occurrence.

Any thoughts on possible causes or fixes?

Thanks.

-- 
Chris Spackman (he / him)

ESOL Coordinator, The Graham Family of Schools
ESL Educator, Columbus State Community College

Japan Exchange and Teaching Program (Wajima, Ishikawa 1995-1998)
Linux user since 1998
Linux User #137532



Re: [gentoo-user] slim gives me blank screen after entering wrong password

2023-04-08 Thread Spackman, Chris
On 2023/04/07 at 11:40am, the...@sys-concept.com wrote:
> On 4/7/23 11:06, Spackman, Chris wrote:
> > On 2023/04/06 at 06:53pm, the...@sys-concept.com wrote:
> >> I'm starting X server via "slim" (XFCE4).  When I enter a wrong
> >> password the slim will not restart, it gives me black screen.  Trying
> >> to restart "xdm" over ssh does not help, I need to reboot the
> >> computer.
> > 
> > Have you tried restarting the 'display-manager' service instead? IIRC,
> > it replaced xdm.
> 
> You are correct, I'm suing "display-manager" not xdm.  So I was
> restarting the wrong one :-/ that is why it didn't work. One of those
> days.

> And to login it uses "lightdm"
> Thank you for the pointer.

I figured that might be it because I did the exact same thing the first
few times after the switch.

-- 
Chris Spackman (he / him)

ESOL Coordinator, The Graham Family of Schools
ESOL Educator, Columbus State Community College

Japan Exchange and Teaching Program (Wajima, Ishikawa 1995-1998)
Linux user since 1998
Linux User #137532



Re: [gentoo-user] slim gives me blank screen after entering wrong password

2023-04-07 Thread Spackman, Chris
On 2023/04/06 at 06:53pm, the...@sys-concept.com wrote:
> I'm starting X server via "slim" (XFCE4).  When I enter a wrong
> password the slim will not restart, it gives me black screen.  Trying
> to restart "xdm" over ssh does not help, I need to reboot the
> computer.

Have you tried restarting the 'display-manager' service instead? IIRC,
it replaced xdm.

-- 
Chris Spackman (he / him)

ESOL Coordinator, The Graham Family of Schools
ESOL Educator, Columbus State Community College

Japan Exchange and Teaching Program (Wajima, Ishikawa 1995-1998)
Linux user since 1998
Linux User #137532



Re: [gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Chris Phillips
Thanks!

On 2022-03-02 9:43 a.m., tastytea wrote:
> On 2022-03-02 09:27-0500 Chris Phillips  wrote:
> 
>> !!! The ebuild selected to satisfy "dev-libs/gtkd" has unmet
>> requirements.
>> - dev-libs/gtkd-3.9.0::dlang USE="opengl -dmd-2_074 -dmd-2_075
>> -dmd-2_076 -dmd-2_077 -dmd-2_078 -dmd-2_079 -dmd-2_080 -dmd-2_081
>> -dmd-2_082 -dmd-2_083 -dmd-2_084 -dmd-2_085 -dmd-2_086 -dmd-2_087
>> -dmd-2_088 -dmd-2_089 -dmd-2_090 -dmd-2_091 -dmd-2_092 -dmd-2_093
>> -dmd-2_094 -dmd-2_095 -gdc-11_2_0 -gstreamer -ldc2-1_25 -peas
>> -sourceview -static-libs -vte" ABI_X86="(64) -32 (-x32)"
>>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>> any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078
>> dmd-2_079 dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080
>> dmd-2_087 dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092
>> dmd-2_093 dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )
> 
> This tells you that dev-libs/gtkd needs at least one of (any-of) the
> listed USE flags. You can enable USE flags in
> /etc/portage/package.use¹. For example, to enable gdc-11_2_0:
> 
> echo 'dev-libs/gtkd gdc-11_2_0' >> /etc/portage/package.use/dlang
> 
> Kind regards, tastytea
> 
> 
> ¹ <https://wiki.gentoo.org/wiki//etc/portage/package.use>
> 
> 
> 

This appears to be working... will report back when its "done".
(Although I wonder why dmd-2_096 wasn't in the list ?)

Cheers!
Chris



[gentoo-user] Dlang questions, problem emerging gtkd and how to emerge gdc_11_ 2 ?

2022-03-02 Thread Chris Phillips
 Any Dlang users/experts out there?

The following is hanging me up:

 # emerge --ask --verbose --update --deep --newuse --changed-use
--verbose-conflicts --backtrack=3000 --keep-going=y --sync dlang
>>> Syncing repository 'dlang' into '/var/lib/layman/dlang'...
/usr/bin/git fetch origin
Already up to date.
=== Sync completed for dlang

Action: sync for repo: dlang, returned code = 0


 # emerge --ask --verbose --update --deep --newuse --changed-use
--verbose-conflicts --backtrack=3000 --keep-going=y  --with-bdeps=y @world

These are the packages that would be merged, in order:

Calculating dependencies \

!!! Problem resolving dependencies for dev-libs/gtkd from @selected
... done!

!!! The ebuild selected to satisfy "dev-libs/gtkd" has unmet requirements.
- dev-libs/gtkd-3.9.0::dlang USE="opengl -dmd-2_074 -dmd-2_075
-dmd-2_076 -dmd-2_077 -dmd-2_078 -dmd-2_079 -dmd-2_080 -dmd-2_081
-dmd-2_082 -dmd-2_083 -dmd-2_084 -dmd-2_085 -dmd-2_086 -dmd-2_087
-dmd-2_088 -dmd-2_089 -dmd-2_090 -dmd-2_091 -dmd-2_092 -dmd-2_093
-dmd-2_094 -dmd-2_095 -gdc-11_2_0 -gstreamer -ldc2-1_25 -peas
-sourceview -static-libs -vte" ABI_X86="(64) -32 (-x32)"

  The following REQUIRED_USE flag constraints are unsatisfied:
any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078 dmd-2_079
dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_087
dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092 dmd-2_093
dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 )

  The above constraints are a subset of the following complete expression:
any-of ( dmd-2_076 dmd-2_077 dmd-2_074 dmd-2_075 dmd-2_078 dmd-2_079
dmd-2_089 dmd-2_088 dmd-2_083 dmd-2_082 dmd-2_081 dmd-2_080 dmd-2_087
dmd-2_086 dmd-2_085 dmd-2_084 dmd-2_090 dmd-2_091 dmd-2_092 dmd-2_093
dmd-2_094 dmd-2_095 gdc-11_2_0 ldc2-1_25 ) amd64? ( !ldc2-1_25 ) x86? (
!ldc2-1_25 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

 # dmd --version
DMD64 D Compiler v2.096.1

Copyright (C) 1999-2021 by The D Language Foundation, All Rights
Reserved written by Walter Bright
 # emerge --info
Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop,
gcc-11.2.0, glibc-2.33-r7, 5.15.19-gentoo-x86_64 x86_64)
=
System uname:
Linux-5.15.19-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-glibc2.33
KiB Mem: 3818592 total,367956 free
KiB Swap:   23437308 total,  23365792 free
Timestamp of repository gentoo: Wed, 02 Mar 2022 13:30:01 +
Head commit of repository gentoo: dd80fe7ad4b85979d2a4c5d7b149f571c0a68e10
Head commit of repository dlang: 0d8427cd2775b0381390618a943a8bafceff8f20

sh bash 5.1_p16
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-misc/pax-utils:1.3.3::gentoo
app-shells/bash:   5.1_p16::gentoo
dev-java/java-config:  2.3.1::gentoo
dev-lang/perl: 5.34.0-r6::gentoo
dev-lang/python:   2.7.18_p13::gentoo, 3.6.15::gentoo,
3.7.12_p1::gentoo, 3.8.12_p1-r1::gentoo, 3.9.9-r1::gentoo,
3.10.0_p1-r1::gentoo
dev-lang/rust: 1.58.1::gentoo
dev-util/cmake:3.22.2::gentoo
dev-util/meson:0.60.3::gentoo
sys-apps/baselayout:   2.7-r3::gentoo
sys-apps/openrc:   0.44.10::gentoo
sys-apps/sandbox:  2.25::gentoo
sys-devel/autoconf:2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:2.34-r2::gentoo, 2.35.2::gentoo,
2.36.1-r2::gentoo, 2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:   10.0.1::gentoo, 11.1.0::gentoo,
12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc: 9.3.0-r2::gentoo, 10.3.0-r2::gentoo,
11.2.0::gentoo
sys-devel/gcc-config:  2.5-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/llvm:8.0.1::gentoo, 10.0.1::gentoo,
11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:2.33-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:

dlang
location: /var/lib/layman/dlang
sync-type: git
sync-uri: https://github.com/gentoo-mirror/dlang.git
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 

Re: [gentoo-user] viewer for "ps" postscript files

2021-12-23 Thread Spackman, Chris
On 2021/12/23 at 01:57pm, the...@sys-concept.com wrote:
> I have latest ghostscript installed: ghostscript-gpl-9.55.0-r1
> 
> When I try to view a postsript file from command line: gs W-9_Form.ps
> It works OK, but when I try to open same file in Xfce desktop it opens
> and closes instantly.

My guess would be that in XFCE, gs is successfully doing whatever
(showing, interpreting, ??) in a terminal window and then immediately
closing when done.

Have you tried a GUI such as Okular or Evince? They both support viewing
.ps files.

In Thunar, just right click on the file and choose "Open with >" and
either Okular or Evince if they are listed, or "Open with Other
Application ..." if they aren't. (But if they aren't listed, you might
have to install them, or a similar GUI viewer.)

> I use hylafax + YajHFC and when I try to open some files I get an error:

I honestly have no idea about hylafax and YajHFC. Unless there is more
here than just trying to view a .ps file (or you are working in a very
restricted environment), they are probably not the best tool.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL EducatorColumbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Movie editing softeware

2021-12-23 Thread Spackman, Chris
On 2021/12/21 at 07:17pm, Wols Lists wrote:
> On 21/12/2021 18:49, Spackman, Chris wrote:

> > 2b. press the "export video" button at the bottom of the window. Here,
> >  for me, the defaults work fine.
> 
> The problem is 2b. For me, it's an extremely simple case of "I gave you 
> a dot ts file, I want a dot ts file back".
> 
> The act of importing the ts file into the project seems to throw that 
> information away. I know a .ts is some sort of a container, with streams 
> and whatnot, but I don't have a clue what's in it. Why should I?
> 
> All I know is I want to end up with EXACTLY the same sort of file I 
> started with, and this seems exactly what most video editors don't have 
> a clue how to do!
> 
> (Like a word .docx - I don't give a monkeys what's inside it, I don't 
> need to, word takes care of all that. Why can't any half-decent video 
> editor do the same?)
> 
> And yes, I have tried. You're hearing the screams of frustration from 
> countless failed attempts.

Video files are certainly horribly complex. I promise I am no expert at
all, but I have been fooling with them for decades, so I suppose I
probably know a lot more than I realize, and more than most people who
haven't been at it that long.

I think the problem is that the files have both a container and a
format. Matroska, if i understand correctly, is a container. It could
hold video, audio, and even subtitles, in any of several formats.

This is unlike a DOCX file, for example, which is always a zip file with
xml (and other) files in expected formats. The closest to the situation
you are seeing is if MS Office opened an ODT file (from LibreOffice) and
always saved it - without asking - as a DOCX file.

Even more out there would be if LO would accept ODT files that were
tarred and gzipped instead of just plain zipped and that also could have
html, markdown, or org formats instead of xml inside the tar.gz
file. (that would an interesting world, i think)

I hadn't realized it until you brought it up, but it is odd that so many
video programs don't have a "save in the same format as the original"
option. I'm sure ffmpeg can probably do it easily, but then we're back
to the original issues with trying to get the cutting lined up neatly.

Good luck.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL EducatorColumbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Movie editing softeware

2021-12-21 Thread Spackman, Chris
On 2021/12/21 at 05:13pm, Wols Lists wrote:
> On 21/12/2021 16:07, Spackman, Chris wrote:
> > On 2021/12/20 at 11:17am, William Kenworthy wrote:
> >> Hi, what is a usable piece of software in portage to do a quick edit of
> >> a movie? (cut start/end and maybe splice a bit in/out of the middle?)

> > I've not seen anyone mention OpenShot. It is in portage, but masked for
> > some reason.

> > As someone else mentioned, you do have to create a project and then
> > export. Really, though, the "create project, make export choices" is
> > only like an extra minute or two of your time. I usually don't even save
> > the project for just some simple trimming.
 
> It may be a minute or two of YOUR time.
> 
> For someone who doesn't "DO" video editing, it can easily turn into 
> hours of debugging trying to work out what does (or doesn't) work.
> 
> Sorry, but you can't assume we're all video whizzes like you ... :-) 
> That's why we want something dummy-proof!

Wow, sorry, didn't realize this was such a sore issue. Especially
considering we've already discussed several command line programs in
this thread. 

To export:

1. press the red circular "export video" button (or go to File =>
   Export Project => Export Video);

2a. [optional] change the name of the video in the export window that
pops up;

2b. press the "export video" button at the bottom of the window. Here,
for me, the defaults work fine.

I did it three times in less than a minute, double checking the accuracy
for this post. So, not a huge inconvenience.

Of course, if the defaults do NOT work for you, then you do not want
something "dead easy", you want something that will read your mind and
do what you want, somehow, automagically.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL EducatorColumbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Movie editing softeware

2021-12-21 Thread Spackman, Chris
On 2021/12/20 at 11:17am, William Kenworthy wrote:
> Hi, what is a usable piece of software in portage to do a quick edit of 
> a movie? (cut start/end and maybe splice a bit in/out of the middle?)

I've not seen anyone mention OpenShot. It is in portage, but masked for
some reason.

As someone else mentioned, you do have to create a project and then
export. Really, though, the "create project, make export choices" is
only like an extra minute or two of your time. I usually don't even save
the project for just some simple trimming.

Alternatively, there are sites that do video editing. I like veed.io
just because it can add and then translate subtitles (which I need for
my job), but I'm sure there are many others.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESOL CoordinatorThe Graham Family of Schools
ESL EducatorColumbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Re: Odd Chrome behavior when dragging tab to create new window

2021-09-27 Thread Spackman, Chris
On 2021/09/27 at 11:07pm, Grant Edwards wrote:
> On 2021-09-27, Spackman, Chris  wrote:
> 
> > If it is still working, that is great news for users of
> > Chromium-based browsers that aren't Google Chrome, but I don't think
> > it is safe to expect the behavior to continue.
> 
> It's Google. It's not safe to expect _any_ behavior to continue. :)

It's funny because it's true. 

*Sigh*

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Re: Odd Chrome behavior when dragging tab to create new window

2021-09-27 Thread Spackman, Chris
On 2021/09/27 at 07:31pm, Neil Bothwick wrote:
> On Mon, 27 Sep 2021 11:23:58 -0700, Mark Knecht wrote:

> > I couldn't (easily - I'm very busy right now) figure out how to get
> > Chrome and Chromium to sync bookmarks and passwords and I want
> > Windows, Android and Linux (all flavors) to be in sync if possible.

> I use Chromium on my computers and Chrome on my phone and the
> bookmarks are kept in sync without any action on my part. It seems
> there is no difference between Chrome and Chromium in this regard.

Is sync still working? I thought that Google had closed whatever
loophole had allowed not-Chrome browsers to sync with Google Chrome.

https://support.google.com/chrome/thread/122570052/sync-and-login-no-longer-works-in-chromium?hl=en

https://www.omgubuntu.co.uk/2021/01/chromium-sync-google-api-removed

I also remember that on the Twit network, either This Week In Tech or
maybe Security Now talked about Google closing that "bug".

If it is still working, that is great news for users of Chromium-based
browsers that aren't Google Chrome, but I don't think it is safe to
expect the behavior to continue.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Chrome - no system title bar or boarders

2021-09-24 Thread Spackman, Chris
On 2021/09/24 at 09:42am, Mark Knecht wrote:


> Kubuntu updated Chrome this morning but the problem still exists.

I use Fluxbox and had the same issue. Found this today:

https://piunikaweb.com/2021/09/23/google-chrome-94-use-system-title-bar-and-borders-checkbox-broken/

To fix the problem:



  you will need to head over to the chrome://flags page and find the
  “use-ozone-platform” setting.

  Make sure to change it from default to disabled, restart your Chrome
  browser and you will be good to go."



I can confirm that this worked for me here.

It seems to be a Google Chrome bug that is fixed / being fixed in the
next version (also from the above link).

I have NOT tried this fix on KDE.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Re: Odd Chrome behavior when dragging tab to create new window

2021-03-12 Thread Spackman, Chris
On 2021/03/12 at 02:57pm, Grant Edwards wrote:
> On 2021-03-12, Grant Edwards  wrote:

> > When I drag a tab out of it's parent window to create a new window
> > [...] instead of staying where it's put the new window will follow
> > the mouse cursor around the desktop anytime Chrom(e|ium) has focus.
> [...]
> > If I press ctrl-alt-backspace this behavior will stop, and the new
> > window will behave normally.

> I just realized that any keypress will cause the weird behavior to
> stop.

I have the same problem. Started recently. Right clicking on the tab and
choosing "Move tab to new window" (if there is only one window) or "Move
tab to another window" => "New window" (if there is already more than
one window) works without problem.

I've no idea what is causing the problem. Fluxbox is my window manager.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Moving from Lastpass to Bitwarden

2021-02-19 Thread Spackman, Chris
On 2021/02/17 at 06:51am, Dale wrote:

> I simply googled for 'alternatives to Lastpass' and Bitwarden was one of
> a few that came up.  Several links were articles comparing the two.  If
> a person doesn't like what Lastpass is doing, it won't take much to find
> other password managers.  They may pick something besides Bitwarden but
> still, they have the option of switching. 

I recently switched from LastPass to Bitwarden and this is exactly what
I did. Many articles rated both highly, making me feel better about
Bitwarden. I also liked that it is open source AND more affordable. I
wish I could run my own server, but my security-foo is not strong enough
to risk exposing not only my computer, but my passwords to the entire
internet. 

However, there is another option that I've not seen anyone mention
(apologies if I missed it): use local password manager (such as the
excellent KeePassXC) for financial / very important sites, and an
in-browser, Internet-connected manager for general sites of little
consequence (like Slashdot, for example). I personally keep everything
in KeePassXC and a subset of frequently used, non-financial sites in
Bitwarden. I'm much more likely to log into a news site or perhaps even
a shopping site from various computer. But, banking sites or other
financial sites? ONLY from my Gentoo computer, because I am most
confident of its security.

Similarly, use different browsers for different purposes. I use Firefox
for daily browsing, with hardcore security installed (ublock matrix, for
example). Google Chrome is only for Google sites. Another browser is for
banking and other shopping. Still has strong security, but not as strong
because, at least for me, that tends to break those sites. Also, this
browser only ever goes to those sites.

In short, I guess I'm saying there is no need for either / or
thinking. There are lots of ways to approach security.

> I logged into my credit card on my cell phone, about the only thing I
> use on my cell phone anyway, it worked OK once I figured out how to
> get it to fill the info in.  I might add, Lastpass has issues with
> that site as well.  If I didn't know better, I'd think the website
> tries to prevent people from using a password manager.

I agree - sites should be encouraging password managers, not
discouraging them. I forget which site is was, but I had to deal with
one that somehow disabled copy and paste (even with middle mouse button)
in the password set up / change field. I used pwgen to make a 25
character random password and then had to type the monster into the
site, twice! I'm sure most other people (less careful types) would just
have switched to an easier password. Luckily / Oddly, the site did allow
pasting into the password field for regular log in.

-- 
Chris Spackman (he / him)   ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Python3 emerge problem with pycairo and wxpython

2020-09-17 Thread &quot;Chris Phillips"@T O

Hi,

On 16/09/20 11:50 PM, Peter Humphrey wrote:


Changing the subject does not start a new thread, nor should it.



Sorry! Will be more careful in future.

Chris
PS 2nd try using correct list membership
(*Darn this old version of thunderbird).
PPS Removed old, intended to be funny sig.

--




[gentoo-user] Python3 emerge problem with pycairo and wxpython

2020-09-16 Thread &quot;Chris Phillips"@T O

Hi

I am having a problem with emerge, that I have successfully(?) worked 
around by cutNpaste, but would like
to have a real fix for. It seems related to the python3 move, as I 
haven't successfully applied
a default  emerge --ask --verbose --update --deep --newuse  @world since 
then...


I always get the following 2 ebuild lines:

[ebuild UD ] dev-python/pycairo-1.18.2::gentoo [1.19.1::gentoo] 
USE="-doc -examples -test" \
  PYTHON_TARGETS="python2_7%* python3_6 python3_7 python3_8 
(-python3_9) (-pypy3%)" 0 KiB

...
[ebuild  N ] dev-python/wxpython-3.0.2.0:3.0::gentoo  USE="cairo 
libnotify opengl -examples" \

  PYTHON_TARGETS="python2_7" 0 KiB

I can successfully cut those out and apply the rest of the ebuilds, 
can't determine what is pulling in wxpython.


Any ideas on what I need to do to keep these from occurring?

Thanks,
Chris
PS
I see a 4.0.2 wxpython but since I can't determine whats using wxpython 
, I worry about forcing the newer (maybe not stable wxpython...)?




--
--

-- Woda: "Java: write once, debug anywhere" Hong Zhang
 http://thehenrys.ca
 | Chris Phillips - Resident cat slave and dubious character  |
 | mailto:northernl...@lgonqn.org  (416)483-3768  |
 | http://LGonQn.Org/www/Chris.Phillips  cell: (416)505-3610  |
 "EPIC stands for Expects Perfectly Intuitive Compilers" P. Bannon
  http://www.hazmatmodine.com
 NOTICE:
 This email message is for the sole use of the intended recipient(s)
 and may contain confidential and privileged information.  Any
 unauthorized review, use, disclosure or distribution is prohibited.
 If you are not the intended recipient, please contact the sender by
 reply email and destroy all copies of the original message.
   "blah blah blah - Ginger!"
--




Re: [gentoo-user] A new Linux back door

2020-08-14 Thread Spackman, Chris
On 2020/08/14 at 07:27am, Dale wrote:

> Peter Humphrey wrote:
> > I saw this today:
> >
> > https://linux.slashdot.org/story/20/08/13/174237/fbi-and-nsa-expose-new-linux-malware-drovorub-used-by-russian-state-hackers?
> > utm_source=slashdot_medium=twitter
> >
> > Has anyone any more info?

> It seems to affect only older kernels, before 3.7.  So if you are
> above that, which I would think most Gentoo users would at least be in
> the 4 range or higher, then you should be OK. I checked and the oldest
> kernel version is 4.4 here.  That's for gentoo-sources.  Of course,
> one could download the original kernel sources I guess. 

I think the 3.7 version is just because that was when kernel module
signing was introduced?

According to Ars:

  The advisory also urged that, at a minimum, servers run Linux kernel
  version 3.7 or later so that organizations can use improved
  code-signing protections, which use cryptographic certificates to
  ensure that an app, driver, or module comes from a known and trusted
  source and hasn’t been tampered with by anyone else.

  Additionally, system owners are advised to configure systems to load
  only modules with a valid digital signature making it more difficult
  for an actor to introduce a malicious kernel module into the system,”
  the advisory stated.

https://arstechnica.com/information-technology/2020/08/nsa-and-fbi-warn-that-new-linux-malware-threatens-national-security/

So, it sounds like you are not immune if you have 3.7+, just that you do
have some additional tools you could use to protect yourself. I use
Gentoo just at home for personal use, and it never even occurred to me
to use digital sigs for kernel modules.

I found this: https://wiki.gentoo.org/wiki/Signed_kernel_module_support
but haven't had time to try it yet. Does anyone have experience with
digitally signing kernel modules on Gentoo?

-- 
Chris Spackman (he/him) ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-15 Thread Spackman, Chris
On 2020/06/15 at 11:07am, Dale wrote:

> I finally bought a 8TB drive.  It is used but they claim only a short
> duration.  Still, I want to test it to be sure it is in grade A shape
> before putting a lot of data on it and depending on it.  I am familiar
> with some tools already.  I know about SMART but it is not always 100%. 
> It seems to catch most problems but not all.  I'm familiar with dd and
> writing all zeores or random to it to see if it can in fact write to all
> the parts of the drive but it is slow. It can take a long time to write
> and fill up a 8TB drive. Days maybe??  I googled and found a new tool
> but not sure how accurate it is since I've never used it before.  The
> command is badblocks.  It is installed on my system so I'm just curious
> as to what it will catch that others won't.  Is it fast or slow like dd?

If you have a few days, I'd run spinrite
(https://www.grc.com/sr/spinrite.htm) on it. It is very slow but very
good at checking and repairing disks. (Gibson is working on an updated
version that will be much, much faster.) No joke that you would have to
leave the current version running for several days (at least) for an 8TB
drive, if you ran the most comprehensive test.

Aside from time, the drawback is that spinrite costs money.

I've used badblocks and it is not fast, but not nearly as slow as
spinrite. IIRC, it took maybe a few hours for a 250GB drive. That said,
I've been lucky not to have a huge number of problems with drives, so I
can't say how much either has helped.

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Help working around a bug...

2020-04-26 Thread &quot;Chris Phillips"@T O

Hi,

On 25/04/20 11:27 AM, Michael Orlitzky wrote:

On 4/25/20 11:20 AM, "Chris Phillips"@T O wrote:

How do I override the ./configure options for emerge  [-r] ?


If it's a one-time thing, you can set the EXTRA_ECONF environment
variable to contain the extra arguments to ./configure. The contents of
EXTRA_ECONF are appended to the end of the usual command, so yours
should take precedence. Just be sure to set it only while emerging
enchant (and not, for example, during emerge @world).





Thanks! That did the trick:

EXTRA_ECONF="--without-applespell --enable-relocatable" emerge --verbose 
app-text/enchant


Cheers!
Chris

Re: https://bugs.gentoo.org/show_bug.cgi?id=718634





[gentoo-user] Help working around a bug...

2020-04-25 Thread &quot;Chris Phillips"@T O

Hi
I am a relative newbee to GenToo (*though familiar with all sorts of 
Unix/Linux/BSD OS)

I am currently unable to complete a sync / build @world cycle because of a
bug building enchant-2.2.8 , compile fails because it doesn't recognize the
ObjC "@" syntax.  There is a bug filed :
https://bugs.gentoo.org/show_bug.cgi?id=718634
that has a suggested fix that looks appropriate:

./configure --without-applespell --without-aspell --enable-relocatable

(Not sure about the --without-aspell bit, and I think this bug may have 
some relation to

using GNUstep bits)

How do I override the ./configure options for emerge  [-r] ?

Chris

--



Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Spackman, Chris
On 2020/04/03 at 11:16am, Petric Frank wrote:

> Problem: Usually the camera is outside of the screen. The user
> normally looks at the screen. As result the communication partner(s)
> see him not looking at the camera.

> Idea: Use two cameras positioned left and right or top and bottom of
> the screen. Combine the two video streams and generate a third stream
> having a virtual camera positioned at the middle of the screen.

> Result: Better communication. The partners always looking in their
> eyes. At the same time the screen contents can be viewed.

I think this would be fun to try, but I don't have any idea the actual
feasibility.

Moreover, I believe Apple tried something similar, very briefly, with
Face Time. I think it just used processing to try to "fix" where the
eyes were looking. My understanding is that it creeped everyone out and
no one liked it. Probably an uncanny vallley thing. So, they dropped
it. (IIRC, I heard that on TWIT a while back.)

Maybe two cameras could do it better, though?

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Firefox and script block tool/addon

2020-02-17 Thread Spackman, Chris
On 2020/02/17 at 02:31am, Dale wrote:
> Dale wrote:

> I been playing with this add-on and watched some videos on it.  While
> it does some things better, it just isn't specific enough for what I
> need.   In some cases, if I blocked scripts with it, some sites
> wouldn't work at all or caused other issues. In a way it's better than
> noscript but it still just doesn't go far enough.  I wish adblock
> would list elements the way it used to.  That worked great because I
> could block scripts on a individual basis.  Allow the ones I need and
> block the ones that cause issues. 

I'm really surprised that umatrix (not ublock origin!) can't do what you
need. As you note, it is much more granular than NoScript. Blocking
elements at the subdomain level, you'd think, would be granular enough
for most web pages.

Are you saying you want to additionally allow / block scripts not just
on a per-subdomain basis but on a per-individual-script basis? I've been
using things like NoScript and uMatrix for many years, and I don't think
even I would want to deal with that. How would you know which ones to
allow? The Reg is showing 7, of which I allow 3. The Guardian has like
28, of which I allow 19. It would not be fun to try to go through all of
those to figure out which ones are absolutely necessary. You'd be
examining, allowing, and reloading 20 times per site, at first.

Maybe the Tor Browser people would be interested in working on such an
add on? 

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532



Re: [gentoo-user] External hard drive and idle activity

2020-01-03 Thread Spackman, Chris
On 2020/01/01 at 08:00pm, Dale wrote:
> Grant Taylor wrote:
> > On 1/1/20 5:09 PM, Dale wrote:

> > Note:  umount will normally block until buffers are flushed to disk.
> >
> >> Is it safe to turn it off even tho it is doing whatever it is doing?
> >
> > I wouldn't.
> >
> >> Should I wait?
> >
> > I would.
> >
> >> Does it matter?
> >
> > Maybe.

[snip]

> If I touch the enclosure and feel it doing something, I leave it on,
> just in case.  I actually been wondering about this for a while. 
> Sometimes it will stop after a couple minutes, sometimes it is still
> doing its thing 30 minutes later.  In the case of the first, I was
> concerned about files being cached etc.

I have a similar drive (8TB external. WD, iirc). It did something
similar - it would seem to still be in use even after I umounted it -
and I wasn't sure if it was okay to unplug (no physical off
switch). Somewhere I found this command to shut down the drive:

udisksctl power-off --block-device /dev/sdx

I didn't see that command mentioned in the thread yet. I've been using
it, after umount, for about 8 months for roughly weekly backups and
some misc storage. So far, I've not seen any problems with it. The drive
immediately shuts down, and there haven't been any data or performance
issues.

But because no one else has mentioned it, I wonder udisksctl is not the
best tool in this case?


-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532



Re: [gentoo-user] ryzen and c-state poweroffs?

2019-05-12 Thread Spackman, Chris
On 2019/05/04 at 08:34am, Mick wrote:

> Did you try Ctrl+Alt+SysRq + R,E,I,S,U,B to reboot it more gracefully rather 
> than pressing the power button?

> Regarding kernel parameters, you could try:

> idle=nomwait

> since dmesg indicates there's something wrong with it and hope a future 
> firmware release will address this bug.

Great idea, thanks. I looked into that a bit but didn't get a chance to
try it (and honestly, only half understood what I was reading). The
computer developed other problems that made me just give up and return
it.

I'm ordering one from System 76 instead - hopefully a computer build for
Linux will not come with any of these issues out of the box.

Thanks for your help.

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
MA TESOL Adjunct   Ohio Dominican University




Re: [gentoo-user] ryzen and c-state poweroffs?

2019-05-12 Thread Spackman, Chris
On 2019/05/04 at 05:39am, Emmanuel Vasilakis wrote:



> I'm not in any way familiar with these processors (only recently I've
> been thinking about upgrading to Ryzen, so I've made some research
> online. 

> Have you seen this: https://github.com/qrwteyrutiyoup/ryzen-stabilizator ?

Thank you, I had not seen that. 

> Is it a first gen processor, or a 2XXX one?

Not sure.

Thanks for the advice. I actually ended up returning the computer. It
started crashing in addition to this problem, so it was no longer worth
my time to try to figure out.

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
MA TESOL Adjunct   Ohio Dominican University




[gentoo-user] ryzen and c-state poweroffs?

2019-05-03 Thread Spackman, Chris


All,

I set up a new AMD computer (moved disk from previous Intel
computer). After some struggles with bios settings, I got it to boot
properly and updated for the new hardware. All seemed fine, but then it
started "crashing" when left alone. From Googling, it seems that it has
something to do with the bios powering down drives that aren't in use,
but then not being able to power them back up. 

When it "crashes" (goes into a coma?), I have to use the power button to
turn it off and then back on. As it starts up, the root partition is
clean, but home has to be recovered - which seems to indicate that it is
indeed an issue with the mobo/bios turning off the root drive.

I found a Linux site that suggested this line in dmesg as a symptom:

> [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)

The solution was to turn of C-states in the bios. I forget the exact
wording right now, but I could not find it in my bios. I tried to turn off
everything that seemed related to power saving, but several did not have
an "off" option. So, I am still getting the error.

For now, I set up a cron job to move a file from /root to /tmp every 15
minutes. This seems to work, but it is obviously not a long term
solution. 

I checked for a bios update, but there was not one available.

Has anyone else experienced this? Is there maybe a /sys/ or /proc/ file
I can tweak to avoid bios powering things off?

Thanks.

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
MA TESOL Adjunct   Ohio Dominican University




Re: [gentoo-user] pam issues with crontab and xscreensaver

2019-04-26 Thread Spackman, Chris
On 2019/04/26 at 10:14am, Spackman, Chris wrote:

> But, xscreensaver cannot recognize my password. It just says incorrect
> (or permission denied?)  and will not unlock. I had to switch to vt1,
> log in, and kill xscreensaver.
> 
> Similar with "crontab -e" (as a regular user). It tells me I do not have
> permission:
> 
> "You (chris) are not allowed to access to (crontab) because of pam
> configuration."

Nevermind. Not sure what changed, but a re-emerge of pam fixed both
issues. Very weird.

Thanks.

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
MA TESOL Adjunct   Ohio Dominican University




[gentoo-user] pam issues with crontab and xscreensaver

2019-04-26 Thread Spackman, Chris
I recently moved my gentoo install from an old drive to a newer drive,
and then into a new computer. I used rsync to copy the system over to
the new drive. That all worked mostly no problem and the everything
boots up and runs fine on the new computer.

But, xscreensaver cannot recognize my password. It just says incorrect
(or permission denied?)  and will not unlock. I had to switch to vt1,
log in, and kill xscreensaver.

Similar with "crontab -e" (as a regular user). It tells me I do not have
permission:

"You (chris) are not allowed to access to (crontab) because of pam
configuration."

In the logs, I get:

"unix_chkpwd[4603]: could not obtain user info (chris)"

I don't believe anything has changed in the configs. I didn't make any
changes, and emerge hasn't recently mentioned anything needing
etc-update.

/etc/pam.d/xscreensaver is just:

authinclude system-auth

/etc/pam.d/crond has more in it:

auth   includesystem-auth
accountrequired   pam_access.so
accountincludesystem-auth
sessionrequired   pam_loginuid.so
sessionincludesystem-auth

This was all working fine yesterday before the switch. I used crontab -e
to turn off a few things in my cron before starting the rsync.

Any thoughts or ideas?

Thanks.

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
MA TESOL Adjunct   Ohio Dominican University




Re: [gentoo-user] Cups can't see my USB printer

2019-02-17 Thread Spackman, Chris
On 2019/02/17 at 11:39am, IMAP wrote:

> After a long spell of no printing, I'm trying to get my mono laser
> working again. I'm in the lp group, and the USB interface seems to be
> working:

> # lsusb | grep Kyocera
> Bus 003 Device 008: ID 0482:000e Kyocera Corp. FS-1020D Printer

> But the KDE system settings applet can't see the printer, nor can
> Firefox at http://localhost:631/. I've tried adding a manual
> configuration, but the printer is still not found.

Check the permissions on the device. I have a similar problem where for
some reason the permissions on the device get changed to root:usb. It
should be root:lp - at least, when I change to root:lp, the printer
immediately starts working just fine.

# lsusb
to find the device, bus 003, device 008 in your case

# ls -l /dev/bus/usb/003/008
to confirm permissions

# chown root:lp /dev/bus/usb/003/008
to change the permissions

I'm not sure when this started, but I first noticed it a few weeks
ago. Not a huge issue, so I've not put much effort into trying to find
the cause, I'm afraid.


-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
MA TESOL Adjunct   Ohio Dominican University




Re: [gentoo-user] New profile 17: How urgent is the rebuild of world technically?

2017-12-03 Thread Spackman, Chris
On 2017/12/03 at 06:55am, Dale wrote:
 
> I think I get what you are saying.  If for example you start a
> emerge -e world, a emerge -uDN world or something and then stop it
> before it finishes, running emerge --resume should pick up where you
> left off.

Another helpful option, which I don't think has been mentioned yet, is
--skipfirst. With --resume, this is helpful when a relatively
unimportant package fails to compile. Emerge will skip the one that
failed (because it would be the first one in the resumed emerge) and
continue on. Later, I go back and see about getting the failed package
to work. I don't think that --skipfirst is a good idea if an important
package (one that will affect many other packages) fails. But, I am
not an expert on that stuff.

So, if:

emerge -e @world

fails (on a relatively unimportant package), you could use:

emerge --resume --skipfirst

to continue. I am actually almost 75% done with the system rebuild and
have had to do this so far with cdrdao and spideroak-bin (which
probably doesn't matter as it is a -bin package).

-- 
Chris Spackman

GNU Terry Pratchett




Re: [gentoo-user] glibc-2.24-r2 failed (install phase)

2017-06-16 Thread Spackman, Chris
On 2017/06/16 at 09:55am, Mick wrote:
> On Friday 16 Jun 2017 04:05:17 tu...@posteo.de wrote:
> > On 06/15 08:18, tu...@posteo.de wrote:
> > > On 06/15 12:16, Mike Gilbert wrote:
> > > > On Thu, Jun 15, 2017 at 11:56 AM,  <tu...@posteo.de> wrote:
> > > > > Hi,
> > > > > 
> > > > > While updateing glibc-2.24-r2 failed to install.
> > > > > 
> > > > > These are the last few lines of that process:
> > > > > 
> > > > > 
> > > > > al/execinfo.c.texi
[snip]
> > > > > [Makefile:12: install] Error 2
> > > > > 
> > > > >  * ERROR: sys-libs/glibc-2.24-r2::gentoo failed (install phase):
> > > > >  *   emake failed
> > > > >  *
> > > > > 
> > > > > If anything more is wanted, I will be happy to post the wanted logs.
> > > > > But I want to prevent to logbomnb the mailinglist in beforehand... ;)
> > > > 
> > > > What version of sys-apps/texinfo do you have installed?
> > > 
> > > [I] sys-apps/texinfo
> > > 
> > >  Available versions:  4.13-r2 5.2 6.1 (~)6.3 {nls static}
> > >  Installed versions:  6.3(06:29:05 AM 02/18/2017)(nls -static)
> > >  Homepage:https://www.gnu.org/software/texinfo/
> > >  Description: The GNU info program and utilities
> > 
> > I installed this version:
> > 
> > 
> > 
> > [I] sys-apps/texinfo
> >  Available versions:  4.13-r2 5.2 6.1 [m](~)6.3 {nls static}
> >  Installed versions:  6.1(03:39:36 AM 06/16/2017)(nls -static)
> >  Homepage:https://www.gnu.org/software/texinfo/
> >  Description: The GNU info program and utilities
> > 
> > and the same (see above) happens.
> 
> Did you try reinstalling sys-apps/texinfo, before glibc?

I had a similar issue with texinfo just yesterday, but not with glibc
- I was unable to emerge almost anything. In my case, I think texinfo
was a symptom, not the problem. Perhaps it is similar in your case?

I ran "perl-cleaner --all" once or twice, did an "emerge --deep -av
--newuse @world" which found one package to update, and then maybe
perl-cleaner again, and finally, "emerge --deep -avu @world" was able
to upgrade / reinstall texinfo. After that, I was able to emerge
new packages just fine.

So, point is - maybe try running something like perl-cleaner,
revdep-rebuild, or the such?

-- 
Chris Spackman

GNU Terry Pratchett




Re: [gentoo-user] Re: Experiences with gtk3-nocsd?

2015-09-30 Thread Chris Spackman
On 2015/09/30 at 04:27am, Grant Edwards wrote:

 
> [Actually, I don't recall ever using evince or atril for filling out
> PDF forms -- so that might be another reason I'd have to keep
> acroread around.]

If you are okay with KDE apps, Okular has done a great job with all
the forms I have tried with it. Only issue I have noticed is that
check marks (which show up fine on the screen) end up printed as
another character. Still better than dealing with acroread, in my
opinion.

-- 
Chris Spackman

GNU Terry Pratchett




Re: [gentoo-user] Catastrophic bug in the firefox 'ProfileManager' function

2015-07-21 Thread Chris Spackman
On 2015/07/21 at 02:59pm, Neil Bothwick wrote:
 On Tue, 21 Jul 2015 21:09:38 +1000, wraeth wrote:

   Have you tried Syncthing - http://syncthing.net/ ?

  No I haven't, but one of the main reasons for that is because I
  mostly bypassed online (read: not controlled by myself) services
  for any sort of syncing - I eyed a couple, but my primary thought
  was to retain proper control of my data.

 Syncthing is peer-to-peer. You can use their discovery server (or
 run your own) for clients to find one another, but data always takes
 the direct route. However, it is only for syncing, if you need the
 extra features, ownCloud works well.

I have been using Syncthing also, for maybe a year now. It works well
once you get it set up. Recently, the Android app (in F-Droid) has
also been working well - for a while it couldn't find any of my
machines.

Like Neil said, though, Syncthing has no extra features - it just
syncs between devices. The machines have to be online at the same time
or no syncing happens, because there is no server in the middle to
keep the data. Maybe because of this, I have had far fewer issues with
conflicting file versions with Syncthing than I had with Dropbox.

FWIW, I tried ownCloud a couple of times and could never get it up and
running properly.

-- 
Chris Spackman

GNU Terry Pratchett




Re: [gentoo-user] Fluxbox problem

2015-06-07 Thread Chris Spackman
On 2015/06/07 at 01:57pm, Philip Webb wrote:
 150607 Philip Webb wrote:
 
  Before I file a bug, has anyone else seen this ?  Any advice ?

 So again, are there any other Fluxbox users on the list ?

I am a Fluxbox user, but haven't updated, so cannot comment. 

I have been using this for several weeks with no issues:

  version: Fluxbox 1.3.6-gentoo-r1 : (c) 2001-2015 Fluxbox Team

  eix fluxbox:
   [I] x11-wm/fluxbox
   Installed versions:  1.3.6-r1(10:56:38 AM 05/17/2015)(imlib
  nls slit toolbar truetype -bidi -vim-syntax -xinerama)

Sorry I cannot help. When I do upgrade (probably next week), I will
check for the behavior you found.

-- 
Chris Spackman

GNU Terry Pratchett




[gentoo-user] sound stuttering, breaking up, fading in and out

2015-04-18 Thread Chris Spackman
I have an issue with sound during music and sometimes video
playback. Usually it fades out (gets quieter) and then fades back in a
couple of seconds later. This happens randomly maybe a couple of times
in an hour or two, but can sometimes go several hours without
issue. It has happened with quodlibet and mocp (audio - mostly ogg,
some mp3) and with vlc (video - mostly mp4/m4v). I don't use other
music/video software enough to notice it there.

During heavy load (like emerging packages), the sound will sometimes
stutter or even stop and then restart a few seconds later. The
computer is a few years old, but this has not happened in the past.

I found somewhere the suggestion to add the following options to
/etc/modprobe.d/sound.conf

options snd-hda-intel vid=8086 pid=8ca0 snoop=0

The fading out/in *seems to be* less frequent since doing that. But
that is my subjective feeling, not based on data.

Any ideas on what might be wrong and how it can be fixed?

** System **

Window Manager = PekWM

kernel = Linux sys76 3.18.11-gentoo #1 SMP PREEMPT Thu Apr 9 13:56:02 EDT 2015 
x86_64 Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz GenuineIntel GNU/Linux


** Hardware Info **

lspci reports:
Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller

Modules, from lsmod | grep snd:

snd_hda_codec_idt  39744  1
snd_hda_codec_generic39746  1 snd_hda_codec_idt
snd_hda_intel  17007  2
snd_hda_controller 13712  1 snd_hda_intel
snd_hda_codec  68033  4
snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep   5373  1 snd_hda_codec
snd_pcm63521  3
snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer  15422  1 snd_pcm
snd49995  11 
snd_hwdep,snd_timer,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel

** Software **

[I] media-sound/pulseaudio

  Installed versions:  5.0-r7(03:35:44 PM 04/08/2015)(X alsa
 alsa-plugin asyncns bluetooth caps dbus gdbm glib gtk ipv6 orc
 qt4 ssl tcpd udev webrtc-aec -doc -equalizer -gnome -jack
 -libsamplerate -lirc -neon -oss -realtime -system-wide -systemd
 -test -xen -zeroconf ABI_MIPS=-n32 -n64 -o32 ABI_PPC=-32 -64
 ABI_S390=-32 -64 ABI_X86=64 -32 -x32)
 
[I] media-plugins/gst-plugins-pulse

  Installed versions:  0.10.31-r1(0.10)^t(12:55:06 PM
 04/11/2015)(ABI_MIPS=-n32 -n64 -o32 ABI_PPC=-32 -64
 ABI_S390=-32 -64 ABI_X86=64 -32 -x32) 1.4.5(1.0)^t(04:27:00
 PM 04/05/2015)(ABI_MIPS=-n32 -n64 -o32 ABI_PPC=-32 -64
 ABI_S390=-32 -64 ABI_X86=64 -32 -x32)
 
[I] media-sound/moc

  Installed versions:  2.5.0(05:50:51 PM 04/12/2015)(aac alsa
 cache ffmpeg flac mad magic unicode vorbis -curl -debug -jack
 -libsamplerate -modplug -musepack -oss -sid -sndfile -speex
 -timidity -tremor -wavpack)

(I removed Quodlibet recently for unrelated reasons.)

Thanks for any and all help and advice.

-- 
Chris Spackman

GNU Terry Pratchett




Re: [gentoo-user] sound stuttering, breaking up, fading in and out

2015-04-18 Thread Chris Spackman
On 2015/04/18 at 08:11pm, Fernando Rodriguez wrote:

 On Saturday, April 18, 2015 6:46:37 PM Chris Spackman wrote:
  I have an issue with sound during music and sometimes video
  playback. 

 The Arch wiki has a lot of tips for configure pulseaudio: 
 https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Setting_the_default_fragment_number_and_buffer_size_in_PulseAudio
  

Thanks for the information. The arch page suggested setting

  enable-lfe-remixing = yes

in /etc/pulse/daemon.conf for analog surround - which I have. Trying
that now. Music is doing much better during a big emerge (so
far). Next I will set the realtime use flag; hadn't seen that before.

I'll try these for a few days and see how it goes.

Thanks.

-- 
Chris Spackman

GNU Terry Pratchett




Re: [gentoo-user] Re: This nite's switch to full multilib

2015-04-01 Thread Chris Camisa
On 03/30/2015 02:52 PM, Grant Edwards wrote:
 
 I was also wondering if there might a way for emerge to show you which
 packages have USE flags enabled that aren't required by any dependent
 package: it would be sort of like emerge --depclean but for USE
 flags instead of packages themselves.
 

Hi Grant,

You are probably looking for enalyze from app-portage/gentookit.
Presently it will rebuild your package.accept_keywords and
package.use files after analyzing them.

Its pretty darn helpful and only needs a little massaging after its
done to be perfectly useful as a drop-in replacement file.

Kind Regards,
-Camisa



Re: [gentoo-user] So emerge spoke ...

2015-02-10 Thread Chris McGinley

On 02/10/15 13:13, Andreas K. Huettel wrote:
 Am Dienstag, 10. Februar 2015, 18:15:44 schrieb meino.cra...@gmx.de:
 How can I list all offending ones?
 Check in /var/lib/portage/world if there are any lines starting with 
 perl-core

 If yes, remove these lines and try again.

I found the answers in this thread:

https://forums.gentoo.org/viewtopic-t-997152-postdays-0-postorder-asc-start-0.html



Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Chris Stankevitz
On Tue, Aug 5, 2014 at 10:59 PM, Wang Xuerui idontknw.w...@gmail.com wrote:
 Just a side note... These 3 things don't play well with a Linux
 ecosystem, as you might know. They're M$ technologies after all (-:

Hi Wang,

As you suspected, I knew the solution was not going to involve
DDE/OLE.  I included them to encourage answers that explain how things
work.

Chris



Re: [gentoo-user] Automounting USB drives

2014-08-06 Thread Chris Stankevitz
On Wed, Aug 6, 2014 at 8:09 AM, Walter Dnes waltd...@waltdnes.org wrote:
   It can be done with udev rules.  See webpage
 http://www.tuxradar.com/answers/526#null  The suggested udev rule is...

Walter,

Thank you for the link, that is great info!

   Because this is done independantly of the GUI, I don't think it'll set
 up an icon automatically.

Yes I agree.  I am still curious what is the mechanism that causes
icons to appear on the desktop of popular GUIs.  I suspect the
answer involves the magic of
policykit/consolekit/dbus/hal/gvfs/gnome-vfs/fuse/hotplug/udisks/etc.

Thank you,

Chris



[gentoo-user] Automounting USB drives

2014-08-05 Thread Chris Stankevitz
Hello,

Which package(s) do I need that allow:

1. A USB drive is inserted

2. The drive is mounted in some location automatically (e.g. /media/usbstick)

3. (2) happens even when the drive is an NTFS or FAT32 drive.

4. (1)-(3) happens even if I am not running a GUI

5. (1)-(3) happens even if I am running the GUI called TWM

6. (1)-(3) happens even if I am running the GUI called xfce4

7. (1)-(3) happens even if I am running the GUI called gnome

8. (1)-(3) happens even if I am running the GUI called kde

9. Bonus: if a GUI is runing, an icon appears on the desktop.  This
icon can be used to umount or to quickly navigate to the mounted
directory.

10. Bonus: if you use words like dbus/policykit/consolekit/COM/DDE/OLE
that allow me to get a technical understanding of the mechanisms in
play.

Thank you,

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 3:25 AM, Rich Freeman ri...@gentoo.org wrote:
 Typically they are launched from a bash profile, or an X11 startup
 script.  KDE/Gnome look like they have it in their default scripts.
 Just grep -r gpg-agent /etc and you'll find where it is being loaded
 if you didn't add them to your own startup scripts in /home.

Rich,

Thank you again.  My bash history shows ssh-agent being executed in
the past, but I'm still not sure where gpg-agent came from.

 Using gpg-agent is considered a best practice in general, so I
 wouldn't go getting rid of it unless it is really causing you
 problems.  You haven't mentioned what issue you're actually having
 with it/pinentry/etc.

FYI pinentry frustrates me because:

1. pinentry-gtk and pinentry-qt do not allow me to paste my
passphrase.  My passphrase is difficult to type.  I keep my passphrase
in keepass.

2. Supposedly pinentry-curses will let me paste; however,
pinentry-curses doesn't work.
https://www.gnupg.org/documentation/manuals/gnupg/Common-Problems.html
suggests that my problem is a misconfigured GPG_TTY environment
variable.  At this point though I'm not even interested in using it
anymore.

At the moment pinentry is no longer installed on my system so these
problems should be gone.  If/when I understand what is going on,
I'll reinstall them.

FYI I removed pinentry with:

tail /etc/portage/package.use
# 2014-07-05 Avoid pinentry
dev-vcs/git -gpg
mail-client/thunderbird -crypt

tail /etc/portage/package.mask
# 2014-07-05 Avoid password entry program that disallows paste
app-crypt/pinentry

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 12:09 PM, Mick michaelkintz...@gmail.com wrote:
 I think that the idea of keeping your passphrase in the clipboard is frowned
 upon for security reasons.  Not only because of any potential memory leaks,
 but because you may inadvertently paste it in GUI fields/areas you were not
 meant to

Mick,

Thank you.  I too have been concerned about this.  I've also been
concerned about memory leaks.  FYI one cute feature of keepass is
that it clears the clipboard 20 seconds after you copy your password
to it.  Today (2014) I am choosing to use the clipboard/keepass to
manage complex/unique passwords.  Perhaps in the future (2015)
everybody will support something like the Yubikey HW OTP... in which
case it won't matter if everyone sees my password!

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 1:32 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Why not do the obvious thing instead?

 Run keychain and have it unlock your keys *once* when the workstation
 boots up. ssh then always uses that key as it is unlocked.

Alan,

Thank you.  FYI, I do not have a problem typing my password 100 times
per day.  The only problem I have with pinentry is that it doesn't
let me paste.  Does keychain allow me to paste?  If so, I'll consider
it.  However, now that I have killed pinentry from my system I am
happily pasting my passphrase into the ssh console.

On another note, from my OP, I am still curious how the ssh software
knows to use /usr/bin/pinentry to fetch my passphrase.  In a follow-up
post, I discovered that this mechanism only works if an environment
variable called GPG_AGENT_INFO is set.  I doubt the ssh source code
contains the string /usr/bin/pinentry or GPG_AGENT_INFO.

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-06 Thread Chris Stankevitz
On Sun, Jul 6, 2014 at 5:45 PM, Rich Freeman ri...@gentoo.org wrote:
 GPG_AGENT_INFO tells ssh to use gpg-agent.

Hi Rich,

Are you saying that the ssh software checks for the presence of the
GPG_AGENT_INFO environment variable?  It find it odd that ssh
hard-code the names of all possible agents.  Also, I thought the ssh
folks were BSD-friendly and GPG was GPL-friendly.

Thanks,

Chris



[gentoo-user] How does ssh know to use pinentry?

2014-07-05 Thread Chris Stankevitz
I am trying to ssh into a site using PKI.  I have a private key in my
.ssh directory that requires a passphrase.

ssh is asking me for my passphrase using a terrible program called
pinentry.  It's terrible for a bunch of reasons, and if you are
interested you can just google pinentry sucks.

pinentry is on my system because it is a dependency of gpg.  gpg is on
my system because I use thunderbird with +crypt (which is the
default).

Question:

By what mechanism does ssh know to use the program pinentry to
acquire my passphrase?

Thank you,

Chris



Re: [gentoo-user] How does ssh know to use pinentry?

2014-07-05 Thread Chris Stankevitz
On Sat, Jul 5, 2014 at 7:57 PM, Rich Freeman ri...@gentoo.org wrote:
 In any case, I suspect that gpg-agent is actually serving passwords to
 openssh, so the file you want is ~/.gnupg/gpg-agent.conf - it probably
 contains the line pinentry-program /usr/bin/pinentry.  If you trust
 all your X clients you can set the option no-grab in the file which
 will probably allow copy/paste/etc to work with the entry window.

Rich,

Thank you, I will give that a shot.  FYI I discovered:

declare -x GPG_AGENT_INFO=/tmp/gpg-2uVMfE/S.gpg-agent:26095:1

When I unset this env variable, ssh stopped trying to use pinentry to
acquire my passphrase.  However, I still do not understand how that
variable got set or how/why ssh behaves differently when it is set.

Chris



[gentoo-user] kswapd0 100% CPU with swapoff and no memory demands on system

2014-05-03 Thread Chris Stankevitz
Hello,

I have a small system:

- 6GB drive

- ext4 partition mounted readonly

- swap partition that is not listed in fstab and not enabled.  (I will
swapon it every few weeks or so if I need it for a large compile job)

- 2 GB RAM

When the system boots it processing video from a USB camera.  The
program dynamically allocates and releases memory while it runs, but
stores no data in memory or on disk (read-only).  The memory usage
does not grow over time.

When things are going well, top looks like so:

===

Tasks:  68 total,   1 running,  67 sleeping,   0 stopped,   0 zombie
%Cpu0  : 88.3 us, 11.7 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  : 25.5 us,  2.3 sy,  0.0 ni, 72.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  6.0 us,  0.7 sy,  0.0 ni, 93.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 25.7 us,  2.3 sy,  0.0 ni, 72.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:   1861644 total,   161648 used,  166 free, 6948 buffers
KiB Swap:0 total,0 used,0 free,57728 cached

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
 2129 root  20   0 1774440  81712  25388 S 160.0  4.4  25:55.46 obt
  705 root  20   0   0  0  0 S   1.0  0.0   0:07.87 kswapd0
 2049 ueyed 20   0  620472  14092  13652 S   1.0  0.8   0:09.34 ueyeusbd





Q1: Why does the kswapd0 process from time to time take up 100% CPU?

Q2: Why does top show cached swap eventhough I do not have swap mounted?

Q3: Is there anything I can do to prevent kswapd0 from using CPU on my
system?  e.g. disable SWAP in the kernel config

I suspect the answer to Q1 is:

a) kernel is not configured properly for my hardware
 or
b) there is some bad side effect to my readonly root fs

Thank you,

Chris



[gentoo-user] init.d/openvpn starts init.d/net.eno1

2014-05-02 Thread Chris Stankevitz
Hello,

At the moment I am running and receiving my network connection from
init.d/wicd.  init.d/net.eno1 is not running and I do not want it to
run.

Now I want to connect to a VPN: /etc/init.d/openvpn start

Apparently as a dependency to init.d/openvpn, something launches
init.d/net.eno1.

Q: Why is init.d/net.eno1 starting when I try to start openvpn?

Q: Why isn't net.eno1 satisfied with the network connection provided
by init.d/wicd?

Q: How can I prevent net.eno1 from being started by openvpn when wicd
is running?

PS: net.eno1 is rc-configed to start as default and wicd is
rc-configed to not start at all.  However, I find myself in a
situation where I need to switch my internet access from net.eno1 to
wicd.

Thank you,

Chris



Re: [gentoo-user] MESA + opencl = requires video_cards_radeon

2014-05-02 Thread Chris Stankevitz
On Fri, May 2, 2014 at 2:20 AM, Éric DUNAND eric.dunand...@eriknet.eu wrote:
 Btw, if you intend to try the intel sdk for opencl, it actually
 computes on the cpu, not the integrated graphics.


Eric,

Thank you.  I will try to use beignet as I am using Intel hardware.

Chris



[gentoo-user] Am I being blocked from posting?

2014-04-14 Thread Chris Walters
I tried to post a message on that certain bug to this list yesterday, and it 
has never shown up.  I had two sources that suggested that said bug is far more 
severe than most people think.  So this message is a test.




Re: [gentoo-user] Am I being blocked from posting?

2014-04-14 Thread Chris Walters

On 4/14/2014 11:58 AM, Chris Walters wrote:

I tried to post a message on that certain bug to this list yesterday, and it
has never shown up.  I had two sources that suggested that said bug is far more
severe than most people think.  So this message is a test.


So, is there a keyword block on the name of that bug?  This message posted, but 
the other one (I tried posting it twice - once yesterday, and once today), 
never showed up.





Re: [gentoo-user] Am I being blocked from posting?

2014-04-14 Thread Chris Walters

On 4/14/2014 12:17 PM, Tom Wijsman wrote:

On Mon, 14 Apr 2014 12:00:43 -0400
Chris Walters cjw20...@comcast.net wrote:


On 4/14/2014 11:58 AM, Chris Walters wrote:

I tried to post a message on that certain bug to this list

.snip.

Is it this message?

http://gentoo.2317880.n4.nabble.com/Heartbleed-bug-td278708.html#a278743

Or is it another one?

http://search.gmane.org/?query=author=Chris+Waltersgroup=gmane.linux.gentoo.usersort=date

(The GMANE links are currently broken in the search, try again later)

Feel free to put the entire mail including headers on a pastebin / gist.


It is another one.  It has links to two articles.  One states that sources 
close to the NSA state that the NSA has been exploiting this bug for at least 
two years, and may have blocked it from coming to light sooner than it did. 
The other link basically describes the bug as catastrophic.  They both 
included two links (both the full links and shortened versions).  They would 
have been posted 4.13.2014 and 4.14.2014.


They never showed up, on this list AND on the GnuPG mailing list.  The message 
immediately showed up on the TOR list.





Re: [gentoo-user] Am I being blocked from posting?

2014-04-14 Thread Chris Walters

On 4/14/2014 12:17 PM, Tom Wijsman wrote:

On Mon, 14 Apr 2014 12:00:43 -0400
Chris Walters cjw20...@comcast.net wrote:

.snip.

Is it this message?

http://gentoo.2317880.n4.nabble.com/Heartbleed-bug-td278708.html#a278743

Or is it another one?

http://search.gmane.org/?query=author=Chris+Waltersgroup=gmane.linux.gentoo.usersort=date

(The GMANE links are currently broken in the search, try again later)

Feel free to put the entire mail including headers on a pastebin / gist.


Pastebin / gist?  How would I do that?



Actually, pay no mind... Re: [gentoo-user] Am I being blocked from posting?

2014-04-14 Thread Chris Walters

On 4/14/2014 3:05 PM, Chris Walters wrote:

On 4/14/2014 12:17 PM, Tom Wijsman wrote:

.snip.

Feel free to put the entire mail including headers on a pastebin / gist.


Pastebin / gist?  How would I do that?


It is not really that important to me to post something that, by definition, is 
off-topic anyway.  Unsubstantiated rumors from anonymous 'sources', is not 
really all that important to me.  Nor is if the NSA knew about the bug 2+ 
years, 2 seconds, or just when the bug was identified.  They've already 
suffered quite a beating from Snowden's 'information' (would someone tell me 
HOW exactly a private contractor could have that level of security clearance, 
anyway? never mind).


The bug's fixed - no damage done.  We just have to trust that or get off the 
grid entirely.




Re: [gentoo-user] Re: 'Heartbleed' bug

2014-04-10 Thread Chris Walters

On 4/10/2014 6:59 PM, Alan McKinnon wrote:

Steve Gibson explained that the heartbeat feature was introduced in openssl to
allow *UDP* connections to mimic the 'keepalive' function of the TCP protocol.

IIRC Steve didn't explain how UDP bugs can compromise TCP connections.

Anyone here really understand the underlying principles?  If so, please explain!

Thanks.


UDP is not compromising TCP connections.
The software bug allows malicious connecting code to determine the
contents of memory, which is in use by sshd. How that memory got to be
there is irrelevant.

There are many lengthy discussions on the internet on how this vuln
works. You should read them.


While there may be many OpenSSL experts on this list, I believe that the BEST 
source of information on this bug, how it works, what it does, and so forth 
would be the OpenSSL mailing lists.  The official Heartbleed web page has some 
information on it that is a good beginning for researching this bug, the the 
lists I mentioned above are probably the best source of information, after you 
understand the basics from the web page.


Chris Walters




[gentoo-user]

2014-04-08 Thread Chris Stankevitz
Hello,

The following page describes kernel, VIDEO_CARDS, and portage settings
for nvidia video cards:

https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers

Is there a similar page for Matrix MGA G200 video card?

In particular, I would like to know:

1. What kernel settings should I use?

2. What VIDEO_CARDS setting should I use?

3. Which packages should be emerged?

Thank you,

Chris



[gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
Hello,

Can anyone tell me why portage is insisting on upgrading me from
opencv-2.4.5 to opencv-2.4.8?

I would not expect portage to want to do this because:

1. opencv-2.4.8 is unstable (and I run a stable system)

2. opencv-2.4.5 is masked

Thank you,

Chris

=

jane ~ # grep opencv /etc/portage/package.mask
# 2014-03-13: Hold off on opencv upgrade
media-libs/opencv-2.4.5

=

jane ~ # emerge -Dauvt world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

The following packages are causing rebuilds:

  (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge)
causes rebuilds for:
(x11-drivers/xf86-video-vesa-2.3.3::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-video-fbdev-0.4.4::gentoo, ebuild scheduled for merge)
[nomerge   ] net-wireless/gnuradio-3.7.3:0/3.7.3  USE=alsa analog
digital examples filter grc qt4 sdl uhd utils wxwidgets -doc -fcd
-jack -oss -pager -performance-counters -portaudio -wavelet
PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7
[nomerge   ]  dev-python/wxpython-2.8.12.1-r2:2.8  USE=cairo
opengl -doc -examples PYTHON_TARGETS=python2_7 -python2_6
[nomerge   ]   dev-python/pycairo-1.10.0-r4  USE=svg xcb -doc
-examples {-test} PYTHON_TARGETS=python2_7 python3_3 -python2_6
-python3_2
[ebuild U  ]x11-libs/xpyb-1.3.1-r3 [1.3.1-r2] USE=(-selinux)
-static-libs PYTHON_TARGETS=python2_7 -python2_6 0 kB
[ebuild U #] media-libs/opencv-2.4.8:0/2.4 [2.4.5:0/0] USE=cuda
eigen* gtk jpeg opencl opengl openmp%* png python%* qt4 threads tiff
-doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
-openexr -pch -testprograms -v4l -xine
PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
PYTHON_TARGETS=python2_7%* -python2_6% 89,163 kB
[ebuild U  ] dev-util/nvidia-cuda-sdk-5.5.22 [5.0.35-r1] USE=cuda
doc examples -debug -opencl 829,510 kB
[nomerge   ] x11-base/xorg-server-1.15.0:0/1.15.0
[1.14.3-r2:0/1.14.3] USE=ipv6 kdrive nptl suid udev xorg -dmx -doc
-minimal (-selinux) -static-libs -tslib -unwind% -xnest -xvfb
[nomerge   ]  x11-base/xorg-drivers-1.15 [1.14]
INPUT_DEVICES=evdev synaptics -acecad -aiptek -elographics -fpit
-hyperpen -joystick -keyboard -mouse -mutouch -penmount -tslib
-vmmouse -void -wacom VIDEO_CARDS=fbdev nvidia vesa -apm -ast -chips
-cirrus -dummy -epson -fglrx (-freedreno) (-geode) -glint -i128
(-i740) -intel -mach64 -mga -modesetting -neomagic -nouveau -nv
(-omap) (-omapfb) -qxl -r128 -radeon -radeonsi -rendition -s3virge
-savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3)
(-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng
-v4l -via -virtualbox -vmware (-voodoo)
[ebuild U  ]   x11-drivers/xf86-input-evdev-2.8.2 [2.8.1] 362 kB
[ebuild U  ]   x11-drivers/xf86-input-synaptics-1.7.4 [1.7.1] 442 kB
[ebuild  rR]   x11-drivers/xf86-video-vesa-2.3.3  0 kB
[ebuild  rR]   x11-drivers/xf86-video-fbdev-0.4.4  0 kB
[nomerge   ] media-video/vlc-2.0.7  USE=X a52 aac alsa avcodec
avformat cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gnome
libnotify mmx mp3 mpeg ncurses ogg opengl png postproc pulseaudio qt4
sdl sse svg swscale theora truetype udev vorbis x264 xcb xml xv -aalib
(-altivec) -atmo (-audioqueue) -avahi -bidi -bluray -cddb -dc1394
-debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2)
-egl -fbosd -fluidsynth -fontconfig -gme (-gnutls) -growl -httpd
-ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libproxy
-libsamplerate -libtar -libtiger -linsys -lirc -live -lua (-macosx)
(-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv)
(-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) -matroska
(-media-library) -modplug -mtp -musepack (-neon) -omxil
-optimisememory (-opus) -oss -portaudio -projectm -pvr -rtsp
-run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -skins
-speex -sqlite -switcher -taglib -twolame -upnp -v4l -vaapi -vcdx -vlm
(-waveout) (-wingdi) -wma-fixed -xosd -zvbi
[nomerge   ]  x11-libs/xcb-util-0.3.9  USE=-doc -static-libs {-test}
[ebuild U  ]   x11-libs/xcb-util-wm-0.4.1 [0.3.9] USE=-doc
-static-libs {-test} 315 kB
[nomerge   ] media-libs/opencv-2.4.8:0/2.4 [2.4.5:0/0] USE=cuda
eigen* gtk jpeg opencl opengl openmp%* png python%* qt4 threads tiff
-doc -examples -ffmpeg -gstreamer -ieee1394 (-ipp) -java -jpeg2k
-openexr -pch -testprograms -v4l -xine
PYTHON_SINGLE_TARGET=python2_7%* -python2_6%
PYTHON_TARGETS=python2_7%* -python2_6%
[ebuild U  ]  virtual/opencl-0-r4 [0-r2] ABI_X86=(64%*) -32%
(-x32) VIDEO_CARDS=nvidia -fglrx 0 kB
[ebuild U  ]  dev-util/nvidia-cuda-toolkit-5.5.22:0/5.5.22
[5.0.35-r4:0/5.0.35] USE=-debugger -doc -eclipse -profiler 0 kB
[ebuild   R]   x11-drivers/nvidia-drivers-334.21  USE=X acpi
multilib tools uvm* -pax_kernel 0 kB
[nomerge   ] dev-util/nvidia-cuda-sdk-5.5.22 [5.0.35-r1] USE=cuda
doc examples -debug -opencl
[ebuild U  ]  media-libs/freeglut-2.8.1-r1 [2.8.1] USE=-debug
-static-libs ABI_X86=(64%*) (-32

Re: [gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
On Fri, Mar 28, 2014 at 4:19 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You need opencv as it's a dep for something, and portage wants you to
 have a version that's in the tree. The only stable version is 2.4.5 but
 you have masked that in package.mask

Hi Alan,

I attempted to mask only opencv greater than 2.4.5 (i.e. 2.4.6, 2.4.7,
2.4.8).  I wonder if my greater than symbol was interpreted as a
reply quote:

*** jane ~ # grep opencv /etc/portage/package.mask
*** # 2014-03-13: Hold off on opencv upgrade
*** media-libs/opencv-2.4.5

Chris



Re: [gentoo-user] Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
On Fri, Mar 28, 2014 at 10:24 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You did post emerge output using -t and it shows up at the top level
 which is a bit odd, it implies portage wants to update opencv anyway,
 not as a result of it being a dep.

I agree it's odd and I agree it appears that portage isn't updating
opencv because it's a dep.  FWIW, an emerge -pv opencv wants to
reinstall opencv-2.4.5 while an emerge -Dauv world wants to upgrade
me to 2.4.8.

 grep -r opencv /etc/portage

Yes, I was looking at that too.  Nothing interesting there:

jane ~ # grep -r opencv /etc/portage/
/etc/portage/package.use:media-libs/opencv cuda opencl
/etc/portage/package.mask:# 2014-03-13: Hold off on opencv upgrade
/etc/portage/package.mask:media-libs/opencv-2.4.5

 equery depends opencv

Also uninteresting:

jane ~ # equery depends opencv
 * These packages depend on opencv:
jane ~ #

Chris



[gentoo-user] Re: Why is portage insisting that I upgrade media-libs/opencv?

2014-03-28 Thread Chris Stankevitz
On Fri, Mar 28, 2014 at 4:05 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Can anyone tell me why portage is insisting on upgrading me from
 opencv-2.4.5 to opencv-2.4.8?

This is solved:

1. opencv has USE=cuda.  I have opencv-2.4.5 installed.

2. I had these mask rules:
# 2013-12-24 Hold off on CUDA update
=dev-util/nvidia-cuda-toolkit-5.1
=dev-util/nvidia-cuda-sdk-5.1
dev-util/nvidia-cuda-toolkit-5.0
dev-util/nvidia-cuda-sdk-5.0

3. opencv-2.4.5 has RDEPEND cuda? ( dev-util/nvidia-cuda-toolkit-5.5 )

4. I removed the cuda masks to allow cuda-5.5

5. (4) required an opencv upgrade to 2.4.8

Thank you for your help Alan,

Chris



[gentoo-user] Where is /etc/conf.d/net.example?

2014-03-16 Thread Chris Stankevitz
Where is the proper place to specify the gentoo network configuration nowadays?

I do not have a file called /etc/conf.d/net.example on my hard drive.
That surprised me.

The handbook talks all about eth0, but my machine does not have a
eth0.  It has eno1.  Perhaps the handbook is not up to date?

I'm using wicd now but I want to ditch wicd and replace it with the
generally accepted correct gentoo way.

Thank you,

Chris



Re: [gentoo-user] Net work cards

2014-02-03 Thread Chris Stout
- Original Message -
From: Stephen Reynolds
Sent: 02/03/14 11:15 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Net work cards

if I run ifconfig -a this currently what I get. I have completed the 
installtion, but Kernel Modules I am not sure about. 

You can get the info on what modules are loaded for the cards with `lspci -k`. 
For instance, the lines for my network card are:01:01.0 Network controller: 
Ralink corp. RT2760 Wireless 802.11n 1T/2R Subsystem: Edimax Computer Co. 
Device 7727 Kernel driver in use: rt2800pci It may also be relevant to post the 
output of `dmesg | grep -i firmware`.


Re: [gentoo-user] cdnpayroll.py

2014-01-25 Thread Chris Stout
- Original Message -
From: Joseph
Sent: 01/25/14 10:15 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] cdnpayroll.py

I'm using a python script cdnpayroll.py but for some reason or another is 
giving me an error: File ./cdnpayroll.py, line 160 ''' ^ SyntaxError: invalid 
syntax I tried to remove the single quote from several places but I'm still 
getting an error. File ./cdnpayroll.py, line 1328 ^ SyntaxError: EOF while 
scanning triple-quoted string literal They used to have a web-page but now all 
I can find is: http://cdnpayroll.gemlog.ca/ I think it was written by Paul 
Evans -- Joseph
It's kind of hard to tell without seeing more.
What version of python are you using? If you can attach the script, it'd make 
it much easier to figure out.


Re: [gentoo-user] llvm compile error

2014-01-24 Thread Chris Stout
 FreeBSD use it  and say is stable. FreeBSD maybe not the reference on earth 
 but the  BSD's make a good job. When i saw all versions of Clang is masked. 
  Isn't FBSD more similar than, say, Linux, to what OSX is, sort of? I could 
 be way off. But I think of OSX as being FBSD built for people that don't know 
 how to use a computer.


Re: [gentoo-user] grub2 multiple kernels

2014-01-24 Thread Chris Stout
- Original Message -
From: Lee
Sent: 01/24/14 12:46 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] grub2 multiple kernels

However, IIRC there is a grub2 command called update-grub that scans all your 
boot sectors on all your devices. At least that's the way its _sposed_ to work 
- ymmv.
:-/
I think update-grub was the command for legacy grub. On my system the 
appropriate command is grub2-mkconfig.
As a side note to James, if you don't see your secondary kernels on the grub2 
screen on boot, look under the advanced options. My grub2 setup seems to put 
extra kernels under the advanced tab.
I don't recall making any changes to Grub2 so it might be the default behaviour.


Re: [gentoo-user] Re: grub2 multiple kernels

2014-01-24 Thread Chris Stout
- Original Message -
From: James
Sent: 01/24/14 01:14 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: grub2 multiple kernels

Lee ny6p01 at gmail.com writes:  I am using grub2 also, but on another 
distro, with multiple  kernels/partitions. I don't have a lot of firsthand 
knowledge, because not  having a lot of patience, I usu just drop to the grub 
cli.  However, IIRC there is a grub2 command called update-grub that scans all 
 your boot sectors on all your devices. At least that's the way its _sposed_  
to work - ymmv. Yes, I read about update-grub, but it must be part of an 
additional packages, as I cannot find it (using whereis as root) ? On gentoo, 
which packages contains the update-grub command? Or is grub2-mkconfig  the 
same command ? James
I could be remembering wrong, but I'm pretty sure update-grub was the command 
for legacy grub.
Like Andres* said, the command for grub2 is grub2-mkconfig -o 
/boot/grub/grub.cfg .
* Sorry for ASCII-ing your name; I've yet to set up unicode support.


Re: [gentoo-user] Re: grub2 multiple kernels

2014-01-24 Thread Chris Stout
- Original Message -
From: James
Sent: 01/24/14 05:27 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: grub2 multiple kernels

 I had a problem with the doc useflag, so I've been reading across the net. So 
now all of those docs are installing. 
 I re-emerged with the doc flag. You can find the docs at
file:///usr/share/doc/grub-2.00_p5107-r2/html/grub.html/index.html
Though it appears the same manual is available here
https://www.gnu.org/software/grub/manual/grub.html


[gentoo-user] Will ZFS clobber my MBR?

2014-01-22 Thread Chris Stankevitz
Hello,

My / (root) lives on /dev/sdb1.  My /dev/sda has no partitions and no data
except for what I presume is the mbr written by lilo.  [history: sdb is an
SSD and I never wanted to use the slow sda]

I have been playing with ZFS on a USB drive and I am ready to create a
zpool on /dev/sda.

ZFS recommends that I give it the entire drive (partitioning discouraged).
 In this case I hesitate to give ZFS my entire drive as I worry ZFS will
clobber my MBR rendering my system unbootable.

Are my fears warranted?  If so, what should I do about it?  If you
recommend that I partition sda, what parameters do I used to avoid a
clobber?

Thank you,

Chris


[gentoo-user] Re: Will ZFS clobber my MBR?

2014-01-22 Thread Chris Stankevitz
On Wednesday, January 22, 2014, Michael Hampicke m...@hadt.biz wrote:

  But why don't you install lilo on /dev/sdb? You change change the boot
 order in BIOS after that.


 Michael,

Thank you,  that worked perfectly.

Chris


Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-20 Thread Chris Stankevitz
On Sun, Jan 19, 2014 at 10:57 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 That's how it is supposed to work. nfs is a Unix filesystem, it obeys
 Unix user and permissions (unlike say VFAT or smbfs where it has to
 fudge these things). NFS will mount the filesystem using whatever is set
 on the server. You cannot override the permissions the server has set
 from the client

Alan,

Thank you for your help.  I was trying to use NFS because I always
thought it odd that I have to jump through a bunch of samba hoops to
share data among gentoo boxes.  Is this a fair understanding:

When setting up an NFS server to share data with people, first collect
a list of UIDs from people around the world who will ever want to
connect to this server.  Modify the NFS server settings to incorporate
these UIDs.  If you cannot generate such a list, then an NFS server
might not be right for you.

 You probably want to tweak your squash settings.

I never have heard that term before, but I'm hoping to find something
like this: Normally NFS requires you go compile a list of UIDs of
people around the world who will ever connect to your server.  The
squash settings help you avoid that.

Thanks again,

Chris



Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-20 Thread Chris Stankevitz
On Mon, Jan 20, 2014 at 9:10 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Most NFS servers in the real world are thus file shares and permit
 read-only access to all users.

Alan,

Thank you for explaining this in english for me.  I am a bit blown
away that it is taking me so long to figure out that NFS might not be
for me.  However, it is now making sense why everybody, even linux
people, seem to use SMB.

My problem:

I have a handful of users on Mac and Linux who want to share some
files whose content is not secret, but to avoid accidents I would like
to restrict write access to those with a password.  Most users are
probably UID 1000 on their respective machines.  Normally we use git
for this, but we have 1TB of large binary files and do not need
versioning.  So I thought problem solved... I'll just make an NFS
share.  From your machines, just open nfs://share/ and when prompted
for a username/password, just use one I'll supply.

So this little plan of mine has hit several problems:

1. Accessing an NFS share from linux is not as simple as Please open
nfs://foo/bar.  At least not on XFCE4 (see my post
http://mail.xfce.org/pipermail/xfce/2014-January/033023.html).  It
seems I have to get fstab involved.  Not sure about from the mac.

2. Opening SMB is as simple as Please open smb://foo/bar.  Perhaps
this simplicity is due to the efforts of
metacity/gvfs/fuse/samba/udev/polkit/consolekit.

3. NFS is UID based and I have no idea what the UIDs are, and worse,
most of my users probably have the same UIDs on their system.  This
sounds like a show stopper to me.


===

 Most NFS servers in the real world are thus file shares and permit
 read-only access to all users.

Are you saying that NFS can be configured to allow ro access to
everyone, even those people whose UID was not known when the NFS was
setup?  If so, can the same be done for rw access?

 squash was invented - when root access comes over the wire, the server
 changes it from UID=0 to something else (usually nobody) and then
 applies Unix permissions to that account.

Got'cha.  If I go with NFS, I think I would be interested in is more
of a global squash.  No matter which UID is making the connection,
squash it over to the generic local UID  which was granted rw
access to the share.

Thanks again,

Chris



Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-20 Thread Chris Stankevitz
On Mon, Jan 20, 2014 at 12:00 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Indeed. The original use-case for NFS is no longer relevant whereas the
 design for smb *is* what suits most folk.

Alan,

What can I say.  Thank you for your explanation.  You wrote exactly
the words I needed to hear.  For some reason, it seems most sources
stick to these too-general or too-specific talking points:

a) NFS is fast replacement for SMB

b) edit your fstab and modify your exports to get it working

Chris



[gentoo-user] Mounts NFS in XFCE4

2014-01-19 Thread Chris Stankevitz
Hi,

Is it possible to mount an NFS share from XFCE4?  I suspect the answer
might have something to do with gvfs or fuse, neither of which I know
anything about.

Ideally after emerging or USEing I will have a Connect to server entry in
my XFCE4 menu.

If this is impossible, then I'd be ok with an approach that will allow a
regular user to mount any network share with the mount command.

Thank you,

Chris


Re: [gentoo-user] Mounts NFS in XFCE4

2014-01-19 Thread Chris Stankevitz
On Sun, Jan 19, 2014 at 11:13 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Put the mount in /etc/fstab with the noauto and users or user options.

Neil,

Thank you.  I did this; however, as soon as I mount, the directory
becomes owned by root and I cannot write to it.  Please consider:

jane cstankevitz # grep nfs /etc/fstab
adam:/mnt/volume_a/sdn_collections
/home/cstankevitz/Desktop/sdn_collections nfs rw,noauto,user 0 0

Desktop $ ls -l /home/cstankevitz/Desktop/
drwxr-xr-x  2 cstankevitz cstankevitz   4096 Jan 19 20:43 sdn_collections

Desktop $ mount ./sdn_collections/
Desktop $ ls -l /home/cstankevitz/Desktop/
drwxr-xr-x  2 rootroot 2 Jan 19 20:37 sdn_collections

Please note how the ownership changes from cstankevitz to root after I
mount.  What am I doing wrong?

Thank you,

Chris



Re: [gentoo-user] Preparing a shared USB stick

2014-01-04 Thread Chris Stankevitz
On Thu, Jan 2, 2014 at 10:45 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 You don't need chown/chmod at all. FAT has no concept of owner and
 permissions, so the kernel fudges these. Basically, when mounting the
 stick it pretends every file on it is owned by the user that mounted it
 and everything has permissions 777, regardless of who plugged it in.
 Considering the nature of a USB stick, this is almost always what you want.

Alan,

Thank you very much this is exactly what I needed to understand.  It
sounds like trying to manage a shared disk/stick with ext* would be a
PITA.

Chris



Re: [gentoo-user] Preparing a shared USB stick

2014-01-04 Thread Chris Stankevitz
On Fri, Jan 3, 2014 at 1:16 AM, Neil Bothwick n...@digimed.co.uk wrote:
 Stick with FAT, where thereis no ownership so Linux pretend all files
 are owned by whoever mounted the drive.

Neil,

Thank you.

Chris



Re: [gentoo-user] Preparing a shared USB stick

2014-01-04 Thread Chris Stankevitz
On Sat, Jan 4, 2014 at 3:44 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 05/01/2014 01:31, Chris Stankevitz wrote:
 On Thu, Jan 2, 2014 at 10:45 PM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 It
 sounds like trying to manage a shared disk/stick with ext* would be a
 PITA.

 yes, it is, very much so

I wonder what something like the Synology DS212j uses.  It allows for
ACLs (implying ext* or NTFS under the hood); however, it has a USB
cable (implying trouble-free plugging into many different machines).

I bet if you use it on the network with the ACLs and subsequently
write from a few machines with the USB cable... the thing gets
FUBAR-ed.

Chris



[gentoo-user] Preparing a shared USB stick

2014-01-02 Thread Chris Stankevitz
Hello,

Please consider a USB stick that is unformatted but is to be used by
multiple people/machines.  Ideally your instructions will work for all
people/os/WM, but if necessary please assume that everyone is running
gnome under linux

1. How should I prepare this device so that it can be plugged into any
machine and will be writable by anyone?  I suspect the answer will
involve words like fdisk, mkfs.xxx, mkdir/mount, chmod/chown.  I'm
most interested in the chmod/chown part.

2. How can I prepare the device so that files/directories added by
people in the future will continue to be writable by anyone?

3. How can I ensure that all files will appear to have the same owner;
or, if this is not important, can you explain why it should not be a
problem.

And of course if you can refer me to a document that explains this I'm
happy to read it.

Thank you,

Chris



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-29 Thread Chris Stankevitz
On Sun, Nov 24, 2013 at 6:14 AM, Marc Stürmer m...@marc-stuermer.de wrote:
 When working under X11 in a terminal and I type exit in the shell, the
 terminal does not close itself anymore.

I had the same problem and fixed it with:

  echo =x11-drivers/nvidia-drivers-331.20  /etc/portage/package.mask

This downgraded me to:

  x11-drivers/nvidia-drivers-325.15  USE=X acpi (multilib) tools -pax_kernel

Chris



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-29 Thread Chris Stankevitz
On Fri, Nov 29, 2013 at 11:43 AM, Mick michaelkintz...@gmail.com wrote:
 I'm reading all these messages about Nvidia driver versions causing problems
 and I'm wondering if for my next box I should just stick with radeon, which
 has not really given me any trouble for as long as I can remember.

Mick,

I've been running nvidia-drivers on my Gentoo laptop for three years
and have two major problems:

1. Any particular nvidia driver version is only compatible with only
certain kernel versions.  This condition is due to the way the NVIDIA
driver works.  Gentoo portage was just not designed to handle such a
rule package x requires kernel y so it is left to us users to deal
with via masks.  For some reason (?) I only had to deal with this rule
during the period ~July 2013 - October 2013.

2. The latest stable version of the nvidia drivers do not allow
gnome-terminal windows to close.  This problem too just started
happening after years of trouble-free gnome-terminal closing.

It is frustrating... but I'm stuck with NVIDIA-drivers because I use
CUDA.  If 1) this sort of thing bothers you and 2) radeon doesn't have
similar problems, then by all means please switch to radeon and let us
know how it goes!

PS: Installing the CUDA runtime and SDK is easier on Gentoo than on
any other linux distro.

Chris



Re: [gentoo-user] Terminals not closing after exit anymore

2013-11-29 Thread Chris Stankevitz
On Fri, Nov 29, 2013 at 2:55 PM, Mick michaelkintz...@gmail.com wrote:
 I'm not sure CUDA will make a noticeable difference (will
 it?

You will not notice CUDA.  The only people who want CUDA are those who
have written software specifically to work with CUDA.  This is mostly
the engineering/research community.  CUDA is a PITA because due to the
closed-source short-and-curly dependence on NVIDIA corporation.

Chris



[gentoo-user] Do I require static nodes?

2013-11-26 Thread Chris Stankevitz
Hello,

Portage recently told me this:

 * You need to add kmod-static-nodes to the sysinit runlevel for
 * kernel modules to have required static nodes!
 * Run this command:
 * rc-update add kmod-static-nodes sysinit

Will you please help me parse this statement?

Interpretation A:
 * You need to add kmod-static-nodes to the sysinit runlevel

Interpretation B:
 * If your kernel modules require static nodes, then you need to add
 * kmod-static-nodes to the sysinit runlevel

Q1: Is it A or B (or C...)?

Q2: If it's B, then how do I determine whether or not my kernel
modules require static nodes?

Thank you,

Chris



Re: [gentoo-user] USE ruby_targets_ruby20

2013-11-15 Thread Chris Stankevitz
On Fri, Nov 15, 2013 at 5:33 AM, Tanstaafl tansta...@libertytrek.org wrote:
 The new ebuild thin-provisioning-tools-0.2.8-r1 reflects this. So if you
 update to this version and don't use FEATURES=test it should not pull
 in ruby anymore.

 I don't have FEATURES=test and it still wants to pull all the ruby crap
 in...

Me too.  I do not specify FEATURES=test and
thin-provisioning-tools-0.2.8 still wants dev-lang/ruby-2.0.0_p247-r1:

FEATURES=assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
preserve-libs protect-owned sandbox sfperms splitdebug strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync

=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-4
# required by dev-ruby/rake-0.9.6[-test,ruby_targets_ruby19]
# required by dev-ruby/json-1.8.0[-test,-doc,ruby_targets_ruby18]
# required by dev-lang/ruby-2.0.0_p247-r1
# required by sys-block/thin-provisioning-tools-0.2.8

Chris



Re: [gentoo-user] Re: USE ruby_targets_ruby20

2013-11-15 Thread Chris Stankevitz
On Thu, Nov 14, 2013 at 11:15 PM, Hans de Graaff gra...@gentoo.org wrote:
 False. These packages should already have this use flag set by default in
 a vanilla Gentoo setup. Perhaps you masked something related to ruby
 already?

Hans,

You are correct.

A year ago I added RUBY_TARGETS=ruby18 ruby19 to my make.conf in
order to get my system to build.  Today I removed the entry from
make.conf and my update continues without error.

At the time I believe the problem was: 'the gentoo base system needed
the ruby19 USE_EXPAND but it was still awaiting approval.  Work around
the problem by adding RUBY_TARGETS=ruby18 ruby19 to make.conf'

Thank you,

Chris



Re: [gentoo-user] USE ruby_targets_ruby20

2013-11-15 Thread Chris Stankevitz
On Fri, Nov 15, 2013 at 11:10 AM, Tanstaafl tansta...@libertytrek.org wrote:
 Ok, so... is there or is there not a way to prevent ruby from being
 installed?

Yes

 I've tried adding -ruby and -test to package.mask for
 thin-provisioning-tools, and even tried adding them to USE= in make.conf, to
 no avail...

Follow these steps:

0. undo whatever you did

1. emerge --sync

2. echo =sys-block/thin-provisioning-tools-0.2.8-r1 ~amd64 
/etc/portage/package.keywords

3. update your system

Chris



[gentoo-user] USE ruby_targets_ruby20

2013-11-14 Thread Chris Stankevitz
Hello,

If possible please phrase your response in a way that will make sense
to someone who was no idea what is ruby, has no desire to learn what
is ruby, and who doesn't [directly] even want ruby on his system.

True or false: The correct way to appease portage's error message
below is to add a bunch of ruby_targets_ruby20 use flags in
/etc/portage/package.use

Thank you,

Chris

===

The following USE changes are necessary to proceed:
 (see package.use in the portage(5) man page for more details)
# required by dev-lang/ruby-2.0.0_p247-r1[rdoc]
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-4
# required by dev-ruby/rake-0.9.6[-test,ruby_targets_ruby19]
# required by dev-ruby/json-1.8.0[-test,-doc,ruby_targets_ruby18]
# required by dev-lang/ruby-2.0.0_p247-r1
# required by sys-block/thin-provisioning-tools-0.2.8
# required by sys-fs/lvm2-2.02.103[thin]
# required by sys-fs/udisks-1.0.4-r5
# required by x11-libs/libfm-0.1.17-r1[udev]
# required by x11-misc/pcmanfm-0.9.10
# required by @selected
# required by @world (argument)
=dev-ruby/racc-1.4.9 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby19]
=dev-ruby/json-1.8.0 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247-r1
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby18]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-4
# required by dev-ruby/json-1.8.0[-test,ruby_targets_ruby19]
=dev-ruby/rake-0.9.6 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247-r1
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby20]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby18]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by dev-ruby/json-1.8.0[ruby_targets_ruby19]
=dev-ruby/rubygems-2.0.3 ruby_targets_ruby20



[gentoo-user] Is the ebuild for dhcpcd wrong

2013-10-22 Thread Chris Allison
Hello,

when emerging dhcpcd it attempts to retrieve the source from
mirrorname/distfiles/...
looking at the mirror the file is actually at
mirrorname/gentoo/distfiles/...

Is this the correct place to bring this to your attention?

regards

Chris
-- 
 _  o  ,   ,
/   |  |  |_| / \_/ \_|  |
\__/ \/ \/  |/ \/  \/  \/|/
(|


[gentoo-user] xorg seizes during debugging

2013-10-22 Thread Chris Stankevitz
Hello,

I got no feedback from eclipse, so I thought I would try here:

I debug a multithreaded program using Eclipse (which uses gdb
underneath).  Somtimes (but usually not) xorgs will seizes for 1-3
secconds during a step operation.

When I say xorg seizes what I mean is that the display freezes.  My
CPU graph which is always updating at 10Hz stops updating.  However,
the mouse cursor moves.

Can someone suggest a teach a man to fish approach I can use to
figure out what is causing this?

Thank you,

Chris



[gentoo-user] USB disk automatically mounting: how does it work

2013-10-06 Thread Chris Stankevitz
Hello,

Would you please explain (or refer me to a place that explains) the
mechanism by which an USB drive appears on my desktop?  I'm looking
for a level of detail like this:

When you insert a USB device, the kernel sends out a notification A.
Userland daemons such as B can catch this signal.  A file B.conf
describes what to do in response to a certain class of USB devices and
in there you will see a section for disk drives that says mount them
at location C.  Then B sends out a notification D which window
managers can catch if they want.  GNOME and others catch D and in
response put an icon on the desktop.  The reason lowly users can mount
and write to these devices is E.

PS: These topics are a blur in my mind: udev hotplug coldplug session
pam.  I suspect these words are used to fill in some of the variables
in my pseudo-description above.

Thank you,

Chris



[gentoo-user] How do I downgrade chromium below 29.0.1547.57?

2013-09-13 Thread Chris Stankevitz
Arg...

dev-lang/v8-3.19.18.19 breaks sci-geosciences/osgearth-2.4.

Downgrading to dev-lang/v8-3.18.5.14 breaks www-client/chromium-29.0.1547.57

Can't downgrade www-client/chromium below 29.0.1547.57 because there
is no older version in chromium.

Bonus: I'm afraid to upgrade my kernel since I use nvidia.

Chris :(



Re: [gentoo-user] Re: How do I downgrade chromium below 29.0.1547.57?

2013-09-13 Thread Chris Stankevitz
On Fri, Sep 13, 2013 at 6:58 AM, Michael Palimaka kensing...@gentoo.org wrote:
 All old ebuilds are always available in CVS:
 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/chromium/?hideattic=0,
 which you could put in a local overlay.

 Don't forget to file a bug so the science team knows about the breakage! :-)

Works great, thank you.  I filed a bug also.

Chris



[gentoo-user] The NVIDIA/Kernel fiasco -- is it safe to sync yet?

2013-08-23 Thread Chris Stankevitz
https://bugs.gentoo.org/show_bug.cgi?id=447566

This bug describes a problem people are having with nvidia/kernel.  My question:

Are regular nvidia users who run a completely stable system (with
only stable nvidia-drivers and stable gentoo-sources) affected by any
of this?

I run a stable system but I've been afraid to sync for fear I'll get
sucked into having to mask/unmask packages and keep up with the
unfolding drama.

Thank you,

Chris



Re: [gentoo-user] Re: The NVIDIA/Kernel fiasco -- is it safe to sync yet?

2013-08-23 Thread Chris Stankevitz
On Fri, Aug 23, 2013 at 9:12 PM, »Q« boxc...@gmx.net wrote:
 It looks like maybe the best way to tell which ebuilds support which
 kernels is to read the conditional for the ewarn message in each
 ebuild.

If this sort of problem spreads it might be good to build into portage
some kind of blocker/keyword mechanism so that users need not deal
with this not that I have any appreciation for the work involved.

http://www.gentoo.org/main/en/philosophy.xml

The goal of Gentoo is to design tools and systems that allow a user to
do that work as pleasantly and efficiently as possible, as they see
fit. Our tools should be a joy to use, and should help the user to
appreciate the richness of the Linux and free software community, and
the flexibility of free software.

Kind of funny... Gentoo's mandate is sort of at odds with itself.  A
joy to use while simultaneously giving full flexibility.

Chris



Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 6:04 AM, Kerin Millar kerfra...@fastmail.co.uk wrote:
 Run eselect locale, first with the list parameter and then the set
 parameter as appropriate. It's easier.


Kerin, all,

Thank for your help.  SVN (and I'm sure other apps) are happy now.

Chris



Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 8:13 AM, Mike Gilbert flop...@gentoo.org wrote:
 Leaving LC_COLLATE unset will cause strings to be sorted according to
 the normal rules associated with your locale.

Mike (or anyone else),

For which applications does setting LC_COLLATE affect sorting:

a) Any C++ application that uses bool std::string::operator(const std::string)

b) Any C or C++ application that compares char values using the '' operator

c) Any application that uses the system call CompareStrings(const
char*, const char*)

d) [your answer here]

I'm sure the answer is not a or b.  I'm sure it's not c either since I
just made it up.

Thank you,

Chris



Re: [gentoo-user] Killing Adobe Flash

2013-08-06 Thread Chris Stankevitz
On Tue, Aug 6, 2013 at 12:49 AM, Pavel Volkov negai...@gmail.com wrote:
 Is anyone able to run Gnash or Lightspark in Gentoo?

I take my 64 bit gentoo laptop everywhere and have never installed
flash (or similar) on it.  I told youtube that I use HTML5 which gives
me access to ~33% of videos.  I use virtualbox to run a 32 bit xubuntu
that is used only to view webpages that demand flash.  I start it up
~once/week.

Chris



[gentoo-user] export LC_CTYPE=en_US.UTF-8

2013-08-05 Thread Chris Stankevitz
Hello,

I am using svn to update a repository.  Somebody added files to the
repository with weird characters in the filename.  SVN refuses to
update the respository unless I first:

export LC_CTYPE=en_US.UTF-8

I don't know or really care what that mumbo jumbo means, but I would
like an answer to this question:

Is my gentoo system properly setup?  If not, what step did I miss that
is causing svn to want me to export LC_CTYPE?

I suspect either my gentoo system is messed up or svn is messed up.

Thank you,

Chris



  1   2   3   4   5   6   >