Re: [gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Dan Johansson

On 15.05.23 16:41, Matt Connell wrote:

On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:

RuntimeError: OpenPGP signature not found on Manifest


It sounds like your sync is hitting a mirror that is currently broken.

Are you using a defined mirror list or letting it auto-select?



As far as I can tell, portage is using "auto-select".
in /etc/portage/make.conf I do not have GENTOO_MIRRORS set.


--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***




[gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Dan Johansson

Since at least my "emerge --sync" fails with the following message:
--8<--
Total bytes received: 55.60M

sent 456.87K bytes  received 55.60M bytes  4.48M bytes/sec
total size is 188.36M  speedup is 3.36
Traceback (most recent call last):
  File 
"/usr/lib/python3.11/site-packages/portage/util/_async/AsyncFunction.py", line 
45, in _run
result = self.target(*(self.args or []), **(self.kwargs or {}))
 ^^
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 
165, in sync
taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 65, 
in run_tasks
result = getattr(inst, func)(**kwargs)
 ^
  File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 364, 
in sync
return self.update()
   ^
  File "/usr/lib/python3.11/site-packages/portage/sync/modules/rsync/rsync.py", 
line 428, in update
raise RuntimeError(
RuntimeError: OpenPGP signature not found on Manifest

Action: sync for repo: gentoo, returned code = 1
--8<--

I have tried re-emerging portage and even unmasked portage-3.0.47, I also tried disabling 
the "rsync-verify" verify USE-flag.

Any suggestions what is wrong and how to solve it?

--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Footer line with LibreOffice's Calc?

2022-04-10 Thread Dan Johansson

On 10.04.22 12:33, Dr Rainer Woitok wrote:

Stefan,

On Saturday, 2022-04-09 18:46:00 +0200, you wrote:


...
Excel automatically adjusts the formular to include the newly added line,
while LibreCalc does not ... by default. However, there is
a setting (Extras -> Optionen -> LibreOffice Calc -> Allgemein -> 
Eingabe-Einstellungen)
called "Bezüge beim Einfügen von Zeilen/Spalten an deren Rändern ausdehnen",
which does the trick.


Thanks for the quick response.  However, I can nowhere find anything re-
sembling this sequence of sub-menus  (apart from the LibreOffice I'm us-
ing is talking English).  When I just enter "libreoffice" on the command
line, the list of pull-down menus  is "File Tools Help",  and when I run
"libreoffice --calc"  the list of pull-down menus is "File Edit View In-
sert Format Styles Sheet Data Tools Window Help".   But up to now  I did
not find anything  in the various cascaded sub-menus  which would trans-
late to "Eingabe-Einstellungen".

In case it matters: "libreoffice --version" returns "LibreOffice 7.2.6.2
20(Build:2)" here, and this is the USE string returned by "eix":

USE: bluetooth branding cups dbus gtk mariadb pdfimport postgres
 -accessibility -base -clang -coinmp -custom-cflags -debug -eds
 -firebird -googledrive -gstreamer -java -kde -ldap -odk -test
 -vulkan
 LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
 -scripting-javascript -wiki-publisher"
 PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"

Am I missing some USE flag?

Sincerely,
   Rainer


In LO-Calc:

Tools -> Options -> LibreOffice Calc -> General -> Input Settings -> "Expand 
references when new columns/rows are inserted"



--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] x11-base/xorg-server does not want to update

2021-12-03 Thread Dan Johansson

On 03.12.21 17:44, Arve Barsnes wrote:

On Fri, 3 Dec 2021 at 17:36, Dan Johansson  wrote:

If I check the dependencies listed (kde-plasma/kwin,
x11-drivers/xf86-video-amdgpu, x11-drivers/xf86-input-evdev,
x11-drivers/xf86-video-ati, x11-drivers/xf86-input-libinput) I can not
see any dependencies "blocking" the 1.20.13-r1 release.

Have I missed something obvious or is my "logic" flawed?


kde-plasma/kwin-5.22.5 requires either x11-base/xwayland or xorg with
the wayland flag. The wayland flag does not exist on the newer xorg
version. The newer version of kwin fixes this dependency. If you run
stable and can't upgrade kwin, you could manually install xwayland to
satisfy the requirements for kwin and allow the xorg update.


Aahh, now I see it...

Well, will see if I dare to touch the X-configuration (install xwayland) 
this weekend...


Thanks for your help & Regards,
--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] x11-base/xorg-server does not want to update

2021-12-03 Thread Dan Johansson

Hello,

As part of my update procedure I do a "eclean-dist --destructive 
--verbose" at the end when everything is updated and runs OK.


Since some weeks I am getting the following message when running 
eclean-dist (I was thinking this maybe would resolve it self after a 
while...): "The following unavailable installed packages were found

x11-base/xorg-server-1.20.11".

This is happening on two different machines with different GPU-Cards.
One with an AMD/ATI (Radeon) and one with Intel+NVIDIA
(the output below is from the AMD/ATI machine).

Looking at "eix x11-base/xorg-server" it shows me that there is an 
update from 1.20.11 to 1.20.13-r1 available, but when I run "emerge 
--verbose --ask --oneshot x11-base/xorg-server --verbose-conflicts"


I get the following:

-8<--

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

Calculating dependencies... done!
[ebuild U  ] x11-base/xorg-server-1.20.13-r1:0/1.20.13::gentoo 
[1.20.11:0/1.20.11::gentoo] USE="elogind suid udev xorg -debug -dmx -doc 
-ipv6 -kdrive -minimal (-selinux) -systemd -test -unwind -xcsecurity 
-xephyr -xnest -xvfb (-wayland%*)" 5’003 KiB


Total: 1 package (1 upgrade), Size of downloads: 5’003 KiB


!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-base/xorg-server:0

  (x11-base/xorg-server-1.20.13-r1:0/1.20.13::gentoo, ebuild scheduled 
for merge) USE="elogind suid udev xorg -debug -dmx -doc -ipv6 -kdrive 
-minimal (-selinux) -systemd -test -unwind -xcsecurity -xephyr -xnest 
-xvfb" ABI_X86="(64)" pulled in by

x11-base/xorg-server (Argument)

  (x11-base/xorg-server-1.20.11:0/1.20.11::gentoo, installed) 
USE="elogind suid udev wayland xorg -debug -dmx -doc -ipv6 -kdrive 
-minimal (-selinux) -systemd -test -unwind -xcsecurity -xephyr -xnest 
-xvfb" ABI_X86="(64)" pulled in by
x11-base/xorg-server[wayland(-)] required by 
(kde-plasma/kwin-5.22.5:5/5::gentoo, installed) USE="multimedia plasma 
-accessibility -caps -debug -gles2-only -handbook -screencast -test" 
ABI_X86="(64)"







x11-base/xorg-server:0/1.20.11= required by 
(x11-drivers/xf86-video-amdgpu-21.0.0:0/0::gentoo, installed) USE="udev" 
ABI_X86="(64)"
^^^ 



x11-base/xorg-server:0/1.20.11= required by 
(x11-drivers/xf86-input-evdev-2.10.6:0/0::gentoo, installed) USE="" 
ABI_X86="(64)"
^^^ 



x11-base/xorg-server:0/1.20.11= required by 
(x11-drivers/xf86-video-ati-19.1.0:0/0::gentoo, installed) USE="udev" 
ABI_X86="(64)"
^^^ 



x11-base/xorg-server:0/1.20.11= required by 
(x11-drivers/xf86-input-libinput-1.2.0:0/0::gentoo, installed) USE="" 
ABI_X86="(64)"
^^^ 



-8<--

If I check the dependencies listed (kde-plasma/kwin, 
x11-drivers/xf86-video-amdgpu, x11-drivers/xf86-input-evdev, 
x11-drivers/xf86-video-ati, x11-drivers/xf86-input-libinput) I can not 
see any dependencies "blocking" the 1.20.13-r1 release.


-8<--
 * These packages depend on x11-base/xorg-server:
kde-plasma/kwin-5.22.5 (x11-base/xorg-server[wayland(-)])
   (test ? x11-base/xorg-server[xvfb])
x11-drivers/xf86-video-amdgpu-21.0.0 (x11-base/xorg-server[-minimal])
 (>=x11-base/xorg-server-1.20[xorg])
 (x11-base/xorg-server)
x11-drivers/xf86-input-evdev-2.10.6 (>=x11-base/xorg-server-1.18[udev])
(>=x11-base/xorg-server-1.20[xorg])
(x11-base/xorg-server)
x11-drivers/xf86-video-ati-19.1.0 (x11-base/xorg-server[-minimal])
  (>=x11-base/xorg-server-1.20[xorg])
  (x11-base/xorg-server)
x11-drivers/xf86-input-libinput-1.2.0 (>=x11-base/xorg-server-1.20[xorg])
      (x11-base/xorg-server)
-8<--


Have I missed something obvious or is my "logic" flawed?

Any suggestion on how to proceed?

Regards
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Daily update fails

2020-05-08 Thread Dan Johansson

On 07.05.20 16:30, Dan Johansson wrote:

On 07.05.20 13:59, Franz Fellner wrote:

On Thu May  7 10:04:37 2020, Dan Johansson  wrote:

Today when I tried to do my daily "emerge --update ... @world", portage
spitted out a lot of "Multiple package instances within a single package
slot have been pulled" messages.


So THIS would have been the issue you should have given us to solve.
Instead you borked your package.use by globally deactivating py2.7
and asked us to point you to that.

So please: Revert the python changes you did in your package.use,
rerun your update command and post the error you get with that.
Please post the whole output, including the exact command you used.
And also add "--tree --verbose" to the emerge options, this usually
requires less guessing.


Neil's suggestion made me add "PYTHON_SINGLE_TARGET: python2_7" to seven 
packages and now my box is happily compiling (will take some time as 
there are some "big" packages in there, i.e. firefox, chromium, ...).


As per your suggestion I will remove
*/* PYTHON_TARGETS: python3_6 python3_7
*/* PYTHON_SINGLE_TARGET: -* python3_6
and my "PYTHON_SINGLE_TARGET: python2_7" when finished and retry my emerge.

If it fails I can certainly post the Output here.


A short update:
Following the suggestion in the news-item I added
 */* PYTHON_TARGETS: python3_6 python3_7
 */* PYTHON_SINGLE_TARGET: -* python3_6
 and "PYTHON_SINGLE_TARGET: python2_7" for selected packages
to my use flags and run the update without issues.

After that "initial" update was done, I removed the added entries 
(including the "PYTHON_SINGLE_TARGET: python2_7" ones) and started a new 
emerge update. With exception of one package (net-misc/s3cmd) everything 
went as it should.


Thanks Niel for the hint about PYTHON_SINGLE_TARGET for the 
"misbehaving" packages.


Regards,
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Daily update fails

2020-05-07 Thread Dan Johansson

On 07.05.20 13:59, Franz Fellner wrote:

On Thu May  7 10:04:37 2020, Dan Johansson  wrote:

Today when I tried to do my daily "emerge --update ... @world", portage
spitted out a lot of "Multiple package instances within a single package
slot have been pulled" messages.


So THIS would have been the issue you should have given us to solve.
Instead you borked your package.use by globally deactivating py2.7
and asked us to point you to that.

So please: Revert the python changes you did in your package.use,
rerun your update command and post the error you get with that.
Please post the whole output, including the exact command you used.
And also add "--tree --verbose" to the emerge options, this usually
requires less guessing.


Neil's suggestion made me add "PYTHON_SINGLE_TARGET: python2_7" to seven 
packages and now my box is happily compiling (will take some time as 
there are some "big" packages in there, i.e. firefox, chromium, ...).


As per your suggestion I will remove
*/* PYTHON_TARGETS: python3_6 python3_7
*/* PYTHON_SINGLE_TARGET: -* python3_6
and my "PYTHON_SINGLE_TARGET: python2_7" when finished and retry my emerge.

If it fails I can certainly post the Output here.


--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Daily update fails

2020-05-07 Thread Dan Johansson
Today when I tried to do my daily "emerge --update ... @world", portage 
spitted out a lot of "Multiple package instances within a single package 
slot have been pulled" messages.


I thought this could be due to the depreciation of python3_6 so I added
*/* PYTHON_TARGETS: python3_6 python3_7
*/* PYTHON_SINGLE_TARGET: -* python3_6
,as per the news item published, to my package.use and now I get the 
following instead:


!!! The ebuild selected to satisfy "app-office/scribus" has unmet 
requirements.
- app-office/scribus-1.5.5-r1::gentoo USE="boost minimal pdf templates 
-debug -examples -graphicsmagick -hunspell -osg -scripts -tk" 
ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python2_7"

python_single_target_python2_7
  The following REQUIRED_USE flag constraints are unsatisfied:
python_single_target_python2_7

  The above constraints are a subset of the following complete expression:
exactly-one-of ( python_single_target_python2_7 ) tk? ( scripts )

I tried to unmerge scribus but that just made another package complain 
about "python_single_target_python2_7".


Any suggestions on how to proceed?

--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] "Application Menu" missing on Desktop after Plasma update to 5.17.4 : bug reported

2020-01-02 Thread Dan Johansson

On 30.12.19 16:40, Caveman Al Toraboran wrote:

‐‐‐ Original Message ‐‐‐
On Monday, December 30, 2019 4:42 PM, Philip Webb  wrote:

I can submit it to KDE Bugs, but first what to others think re it ?


What I think about it is that I object to you wasting your
time by submitting bug reports to KDE.  It will be a
net-loss for humanity in the grand scheme of things and the
long term survival of life forms.

Because, you'll never get a bug "fixed" with KDE, since, by
definition, everything that KDE does is a workaround.  It's
just that they speak a different language, very similar to
English (kde_EN), where "fix" means "workaround".

Technically, KDE cannot make a "fix" and exist at the same
time.  In other words, the concepts "bug fix" and "KDE
exists" are mutually exclusive.

IMO the best thing to do, which is also what I think can be
called "fix" without unethically redefining words in the
English language, is to silently unmerge all KDE's fluff,
and install i3 + dmenu + i3status + i3lock, and call it a
day.


If found the issue on my rigs.
In ${HOME}/.config/plasma-org.kde.plasma.desktop-appletsrc I had for the 
Desktop layout in the [Containments][1] section the following: 
"plugin=org.kde.desktopcontainment"


If I change this to "plugin=org.kde.plasma.folder" my Left-Click action 
works again.


If I change it back, then it stops working again - so I looks like this 
is a "issue".


@Caveman Al Toraboran: If you do not like KDE, that is fine with me, BUT 
then, you do NOT have to "pollute" the thread with your opinions if they 
do nothing to solve this KDE issue.


--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-28 Thread Dan Johansson

On 28.12.19 14:54, Mick wrote:

On Saturday, 28 December 2019 12:52:11 GMT Dan Johansson wrote:


After some fiddling around, sorry research, I narrowed down the issue to
one single file:
~/.config/plasma-org.kde.plasma.desktop-appletsrc

After deleting this file, and this file only, my "Left Click" started
working again. BUT every single configuration of my Desktop (shortcuts,
panel-configuration and so on) was lost in the process. (:-(
Well, first computer is done, now for the second one.


Have you compared the two 'plasma-org.kde.plasma.desktop-appletsrc' files
between users?

Can it be this entry which is controlling what the right button does?

[ActionPlugins][0]
MidButton;NoModifier=org.kde.paste
RightButton;NoModifier=org.kde.applauncher<THIS ONE?
wheel:Vertical;NoModifier=org.kde.switchdesktop



Yes, I did compare the two files and that entry was present in both 
files (as it was, this was the first "entry" in both files).
And when I deleted the "Mouse Action" "Left-Button" the entry did 
disappear in the file, and reappeared again when I added it again.
So that part was working - there must have been something else in that 
file that inhibited "Left-Button" to work. (:-(


--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-28 Thread Dan Johansson

On 28.12.19 10:34, Dale wrote:

Mick wrote:

On Saturday, 28 December 2019 09:17:36 GMT Dan Johansson wrote:

On 28.12.19 09:18, Dale wrote:

Dan Johansson wrote:

On 27.12.19 22:53, Dale wrote:
I'll try and create a new user and see what happens...

I'll be back (with the results).

Trying a different/new user will give the same results.  Renaming the
config files to .old or something then testing will allow you to go back
if it doesn't help.  You just rename and remove .old.  Just delete the
new one first.  Still, either way will work.  I have a dale2 user just
for that purpose I might add.

Given everything is there, I'm not sure what to try next.  I was hoping
someone else would have a idea.

Bad news (for me) (;-)

I created a new user and for this user everything works as it should -
now I just have to figure out the best way to somehow recreate my
personalized setup after moving the old configuration out of the way.

Greetings,

Instead of recreating all your user settings, I'd start by diffing the two
users directories.  This would point to files which are probably irrelevant to
your issue, e.g. application files, and consequently leave you with some
generic desktop configuration files to compare.




Plus, this may be a good time to rename the config directory to .old and
copy one or two files over at a time until you find a failure.  Then you
know which file is causing the problem and can restore the other files
and only have to reconfigure what that one file creates.

Either way you do this it will require some time and effort.  Mick's
idea may be faster.  Files with no difference won't matter so no point
copying them over one or two at a time.  Just do that for the ones that
are different.  Keep in mind, you can't always do this with different
users unless you change the permissions.

Post what, if anything, you figure out tho.  It may help some other poor
soul with the same issue.


After some fiddling around, sorry research, I narrowed down the issue to 
one single file:

~/.config/plasma-org.kde.plasma.desktop-appletsrc

After deleting this file, and this file only, my "Left Click" started 
working again. BUT every single configuration of my Desktop (shortcuts, 
panel-configuration and so on) was lost in the process. (:-(

Well, first computer is done, now for the second one.

Thanks for all feedback and a Happy New Year to everyone!
--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-28 Thread Dan Johansson

On 28.12.19 09:18, Dale wrote:

Dan Johansson wrote:

On 27.12.19 22:53, Dale wrote:
I'll try and create a new user and see what happens...

I'll be back (with the results).



Trying a different/new user will give the same results.  Renaming the
config files to .old or something then testing will allow you to go back
if it doesn't help.  You just rename and remove .old.  Just delete the
new one first.  Still, either way will work.  I have a dale2 user just
for that purpose I might add.

Given everything is there, I'm not sure what to try next.  I was hoping
someone else would have a idea.


Bad news (for me) (;-)

I created a new user and for this user everything works as it should - 
now I just have to figure out the best way to somehow recreate my 
personalized setup after moving the old configuration out of the way.


Greetings,
--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-28 Thread Dan Johansson

On 27.12.19 22:53, Dale wrote:

Dan Johansson wrote:

After updating KDE/Plasma from 5.16.5 to 5.17.4 "Left Button"



I'd suspect something is missing.  Since mine works here, I'll post some
info and if no one else comes up with a better idea, maybe you can
compare yours and mine and notice something missing or different.


root@fireball / # equery f kde-frameworks/plasma | grep menu
/usr/lib64/qt5/qml/QtQuick/Controls.2/Plasma/Menu.qml
/usr/lib64/qt5/qml/QtQuick/Controls.2/Plasma/MenuItem.qml
/usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/EditMenuTouch.qml
/usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/MenuBarStyle.qml
/usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/MenuStyle.qml
/usr/lib64/qt5/qml/org/kde/plasma/calendar/MonthMenu.qml
/usr/lib64/qt5/qml/org/kde/plasma/components.3/Menu.qml
/usr/lib64/qt5/qml/org/kde/plasma/components.3/MenuItem.qml
/usr/lib64/qt5/qml/org/kde/plasma/components/ContextMenu.qml
/usr/lib64/qt5/qml/org/kde/plasma/components/ModelContextMenu.qml
root@fireball / #

They are all there.


root@fireball / # equery f kde-plasma/plasma-desktop | grep menu
/usr/share/help/en/plasma-desktop/application-menu.png
/usr/share/kservices5/ServiceMenus
/usr/share/kservices5/ServiceMenus/installfont.desktop
/usr/share/kservices5/plasma-layout-template-org.kde.plasma.desktop.appmenubar.desktop
/usr/share/metainfo/org.kde.plasma.desktop.appmenubar.appdata.xml
/usr/share/plasma/layout-templates/org.kde.plasma.desktop.appmenubar
/usr/share/plasma/layout-templates/org.kde.plasma.desktop.appmenubar/contents
/usr/share/plasma/layout-templates/org.kde.plasma.desktop.appmenubar/contents/layout.js
/usr/share/plasma/layout-templates/org.kde.plasma.desktop.appmenubar/metadata.desktop
/usr/share/plasma/layout-templates/org.kde.plasma.desktop.appmenubar/metadata.json
/usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/ActionMenu.qml
/usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/MenuRepresentation.qml
/usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/ActionMenu.qml
/usr/share/plasma/plasmoids/org.kde.plasma.kimpanel/contents/ui/ActionMenu.qml
/usr/share/plasma/plasmoids/org.kde.plasma.kimpanel/contents/ui/ContextMenu.qml
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ContextMenu.qml
/usr/share/plasma/shells/org.kde.plasma.desktop/contents/configuration/panelconfiguration/MoreSettingsMenu.qml
root@fireball / #

As are these.


root@fireball / # equery f kde-plasma/plasma-workspace | grep menu
/etc/xdg/autostart/gmenudbusmenuproxy.desktop
/usr/bin/gmenudbusmenuproxy
/usr/lib64/qt5/plugins/kf5/kded/appmenu.so
/usr/lib64/qt5/plugins/plasma/applets/plasma_applet_appmenu.so
/usr/lib64/qt5/plugins/plasma/containmentactions/plasma_containmentactions_contextmenu.so
/usr/lib64/qt5/qml/org/kde/plasma/private/appmenu
/usr/lib64/qt5/qml/org/kde/plasma/private/appmenu/libappmenuplugin.so
/usr/lib64/qt5/qml/org/kde/plasma/private/appmenu/qmldir
/usr/share/dbus-1/interfaces/com.canonical.AppMenu.Registrar.xml
/usr/share/dbus-1/interfaces/org.kde.kappmenu.xml
/usr/share/desktop-directories/kf5-settingsmenu.directory
/usr/share/kservices5/plasma-applet-org.kde.plasma.appmenu.desktop
/usr/share/metainfo/org.kde.plasma.appmenu.appdata.xml
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/config
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/config/config.qml
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/config/main.xml
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/configGeneral.qml
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/contents/ui/main.qml
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/metadata.desktop
/usr/share/plasma/plasmoids/org.kde.plasma.appmenu/metadata.json
/usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/Menu.qml
/usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/MonthMenu.qml
/usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/EditContextMenu.qml
/usr/share/sddm/themes/breeze/BreezeMenuStyle.qml
root@fireball / #

And these.


I don't see any USE flags that would matter but just in case.

Neither can I.


root@fireball / # emerge -p kde-frameworks/plasma
kde-plasma/plasma-desktop kde-plasma/plasma-workspace

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

Calculating dependencies... done!
[ebuild   R   ~] kde-frameworks/plasma-5.65.0:5/5.65::gentoo  USE="X
-debug -doc (-gles2) -test -wayland" 0 KiB
[ebuild   R    ] kde-plasma/plasma-workspace-5.17.4-r1:5::gentoo
USE="calendar handbook -appstream -debug -geolocation -gps -qalculate
-qrcode -semantic-desktop -systemd -test" 0 KiB
[ebuild   R    ] kde-plasma/plasma-desktop-5.17.4-r1:5::gentoo
USE="fontconfig handbook mouse -debug -ibus -scim -semantic-desktop
-test -to

[gentoo-user] "Application Menu" missing on Desktop after KDE/Plasma update from 5.16.5 to 5.17.4

2019-12-27 Thread Dan Johansson
After updating KDE/Plasma from 5.16.5 to 5.17.4 "Left Button" 
(Application Launcher) does not work anymore. Nothing happens when I 
"Left Click" on the Desktop. The other actions ("Right Button", "Middle 
Button" and "Vertical Scroll") works as they should.


This happens on two machines of mine (the two with KDE/Plasma).

This is really annoying as this is the main way I launch new programs.

Any suggestion?

Regards,
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] g-cpan equivalent for python

2019-11-23 Thread Dan Johansson

On 22.11.19 23:41, Michael Orlitzky wrote:

On 11/22/19 4:10 PM, Dan Johansson wrote:


The recommended way to install it is using pip which will then install
everything including dependencies (which could lead to conflicts with
software installed using emerge (I guess)).
I would rather use some "mechanism" to avoid this and use portage for
dependencies - like g-cpan for perl.



You'll have to write the ebuild yourself, there is no g-cpan equivalent
for python packages. The good news is that this program looks fairly
simple, and it already has a setup.py and a list of requirements in
requirements.txt.

You should be able to copy an existing python ebuild (there are
thousands) and modify it slightly to work. You can ask for help on IRC
if you get stuck. Welcome to Gentoo development =)


OK, thanks for the feedback.
I will look into creating a ebuild for this (not my first ebuild, but 
the first that has anything to do with python).
But, I  will first try to build it in a "protected" environment like 
Ralph suggested just to see if it works at all (would not be the first 
time some software does not work is I would like it to).


Regards,
--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] g-cpan equivalent for python

2019-11-22 Thread Dan Johansson
I have a piece of python software (gigasetelements-cli, 
https://github.com/dynasticorpheus/gigasetelements-cli) that I would 
like to install/try, and of cause there is not ebuild for this.


The recommended way to install it is using pip which will then install 
everything including dependencies (which could lead to conflicts with 
software installed using emerge (I guess)).
I would rather use some "mechanism" to avoid this and use portage for 
dependencies - like g-cpan for perl.


Any suggestions?

--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [SOLVED] Server fails to boot after update to 4.19.27-r1

2019-03-18 Thread Dan Johansson

On 2019-03-18 08:27, J. Roeleveld wrote:

On March 17, 2019 5:04:13 PM UTC, Dan Johansson  wrote:

On 12.03.19 12:16, J. Roeleveld wrote:

On Monday, March 11, 2019 9:31:58 PM CET Dan Johansson wrote:

On 11.03.19 20:55, J. Roeleveld wrote:

On March 10, 2019 1:24:14 PM UTC, Dan Johansson

 wrote:

After updating a server from kernel-4.14.83 to 4.19.27-r1 (same

problem


with 4.19.23) the server will not boot.

Grub starts fine and I can select the new kernel.
The kernel starts booting and after mounting "/" and "/usr" (this

is a

server with a separate /usr") the boot-process hangs.

Here are the last few lines displayed before it hangs:

Initializing root device...
Detected root: /dev/md127
Mounting /dev/md127 as root...
Detected fstype: ext4
Using mount fstype: ext4
Using mount opts: -o ro


   7.6104971 EXT4-fs (md127): mounted filesystem with ordered

data


mode.  Opts (null)

   7.6572671 init (5708) used greatest stack depth: 13280

bytes left


Mounting /dev/dm-O as /usr: mount -t ext4 -o

noatime,user_xattr,ro


/deu/dm-O /newroot/usr

   7.6909561 EXT4-fs (dm-0): INFO: recouery required on

readonly


filesystem

   7.6925551 EXT4-fs (dm-0): write access will be enabled

diming


recouery

   7.9169781 EXT4-fs (dm-0): recovery complete
   7.9223701 EXT4-fs (dm-0): mounted filesystem with ordered

data


mode.  Opts: user_xattr

  7.9233051 mount (5722) used greatest stack depth, 13000

bytes left


/usr already mounted, skipping...
Booting (initramfs)


sep-usr init: running user requested applet


As I said, the 4.14.83 kernel boots without problem with the same
configuration.

Any suggestions?


I updated my servers last weekend and all moved to 4.19.27, 2 use

ZFS for

the filesystem, several are VMs on top of Xen. None had any issues.

The messages you show make me think they are from an initrd, not

the

actual kernel. I would investigate that first and make sure your

initrd

is actually updated as well. Did you copy the text? Or did you

manage to

grab the output somehow?

Also, which init system and initrd are you using?

--
Joost


The text was copied from a screenshot (IPMI-KVM).
I am using sys-apps/openrc with sys-fs/eudev and I use genkernel to
build the kernel and the initramfs.

Yes, for me it also looks like it has to do with /ginit (busybox) or
/sbin/init (sys-apps/sysvinit) and not the kernel.

I also have a bunch of other servers which all updated fine to

4.19.??


I tried the suggestion from Hasan to run "make synconfig" but that

did

not change any option in .config.

I'll try to rebuild kernel/init/busybox/intel-microcode again next

weekend.


Are you booting with the updated initramfs? Or perhaps still with the

initramfs belonging

to an older kernel?

Does the server respond to SSH after a while? It might simply be that

the login-prompt is

not showing on the correct console.


I was able to try a reboot today again, after rebuilding the kernel,
busybox, sysvinit & intel-microcode but it still hanged on "sep-usr
init: running user requested applet". When the server comes to this
point all disk-activities ceases. Even waiting for about 20min did not
change anything and the host did not even answer to ping.

So, just as a test, I removed "init=/ginit" from the kernel-boot-line
and voila - the server booted again without problem :-)

So there seems to be some difference on how pre 4.19 kernels and post
4.19 kernels handles separate /usr installs.

I am just glad it is solved.
Thanks for all suggestions.

Regards,
Dan





--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***


What is "ginit"?

I use 2 types of initramfs.
One I created myself which is really simple.
The other is created using 'bliss-initramfs'.

Neither of these require me to set a special init-boot option.

I am guessing the boot fails when it tries to start 'ginit'.


/ginit is a init-wrapper gets installed from sys-apps/busybox if you 
have the use flag "sep-usr" enabled (this was setup years ago so I can 
not remember the URL to the Gentoo Wiki page describing the setup).
This was needed on this host before when I had no initramfs, after 
changing to an "initramfs-setup" this is no longer needed but it was 
still working until kernel > 4.19.


Regards
Dan



Re: [gentoo-user] [SOLVED] Server fails to boot after update to 4.19.27-r1

2019-03-17 Thread Dan Johansson

On 12.03.19 12:16, J. Roeleveld wrote:

On Monday, March 11, 2019 9:31:58 PM CET Dan Johansson wrote:

On 11.03.19 20:55, J. Roeleveld wrote:

On March 10, 2019 1:24:14 PM UTC, Dan Johansson  wrote:

After updating a server from kernel-4.14.83 to 4.19.27-r1 (same problem

with 4.19.23) the server will not boot.

Grub starts fine and I can select the new kernel.
The kernel starts booting and after mounting "/" and "/usr" (this is a
server with a separate /usr") the boot-process hangs.

Here are the last few lines displayed before it hangs:

Initializing root device...
Detected root: /dev/md127
Mounting /dev/md127 as root...
Detected fstype: ext4
Using mount fstype: ext4
Using mount opts: -o ro


   7.6104971 EXT4-fs (md127): mounted filesystem with ordered data

mode.  Opts (null)

   7.6572671 init (5708) used greatest stack depth: 13280 bytes left


Mounting /dev/dm-O as /usr: mount -t ext4 -o noatime,user_xattr,ro


/deu/dm-O /newroot/usr

   7.6909561 EXT4-fs (dm-0): INFO: recouery required on readonly

filesystem

   7.6925551 EXT4-fs (dm-0): write access will be enabled diming

recouery

   7.9169781 EXT4-fs (dm-0): recovery complete
   7.9223701 EXT4-fs (dm-0): mounted filesystem with ordered data

mode.  Opts: user_xattr

  7.9233051 mount (5722) used greatest stack depth, 13000 bytes left


/usr already mounted, skipping...
Booting (initramfs)


sep-usr init: running user requested applet


As I said, the 4.14.83 kernel boots without problem with the same
configuration.

Any suggestions?


I updated my servers last weekend and all moved to 4.19.27, 2 use ZFS for
the filesystem, several are VMs on top of Xen. None had any issues.

The messages you show make me think they are from an initrd, not the
actual kernel. I would investigate that first and make sure your initrd
is actually updated as well. Did you copy the text? Or did you manage to
grab the output somehow?

Also, which init system and initrd are you using?

--
Joost


The text was copied from a screenshot (IPMI-KVM).
I am using sys-apps/openrc with sys-fs/eudev and I use genkernel to
build the kernel and the initramfs.

Yes, for me it also looks like it has to do with /ginit (busybox) or
/sbin/init (sys-apps/sysvinit) and not the kernel.

I also have a bunch of other servers which all updated fine to 4.19.??

I tried the suggestion from Hasan to run "make synconfig" but that did
not change any option in .config.

I'll try to rebuild kernel/init/busybox/intel-microcode again next weekend.


Are you booting with the updated initramfs? Or perhaps still with the initramfs 
belonging
to an older kernel?

Does the server respond to SSH after a while? It might simply be that the 
login-prompt is
not showing on the correct console.


I was able to try a reboot today again, after rebuilding the kernel, 
busybox, sysvinit & intel-microcode but it still hanged on "sep-usr 
init: running user requested applet". When the server comes to this 
point all disk-activities ceases. Even waiting for about 20min did not 
change anything and the host did not even answer to ping.


So, just as a test, I removed "init=/ginit" from the kernel-boot-line 
and voila - the server booted again without problem :-)


So there seems to be some difference on how pre 4.19 kernels and post 
4.19 kernels handles separate /usr installs.


I am just glad it is solved.
Thanks for all suggestions.

Regards,
Dan





--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Server fails to boot after update to 4.19.27-r1

2019-03-11 Thread Dan Johansson

On 11.03.19 20:55, J. Roeleveld wrote:

On March 10, 2019 1:24:14 PM UTC, Dan Johansson  wrote:

After updating a server from kernel-4.14.83 to 4.19.27-r1 (same problem

with 4.19.23) the server will not boot.

Grub starts fine and I can select the new kernel.
The kernel starts booting and after mounting "/" and "/usr" (this is a
server with a separate /usr") the boot-process hangs.

Here are the last few lines displayed before it hangs:


Initializing root device...
Detected root: /dev/md127
Mounting /dev/md127 as root...
Detected fstype: ext4
Using mount fstype: ext4
Using mount opts: -o ro

  7.6104971 EXT4-fs (md127): mounted filesystem with ordered data
mode.  Opts (null)
  7.6572671 init (5708) used greatest stack depth: 13280 bytes left

Mounting /dev/dm-O as /usr: mount -t ext4 -o noatime,user_xattr,ro

/deu/dm-O /newroot/usr
  7.6909561 EXT4-fs (dm-0): INFO: recouery required on readonly
filesystem
  7.6925551 EXT4-fs (dm-0): write access will be enabled diming
recouery
  7.9169781 EXT4-fs (dm-0): recovery complete
  7.9223701 EXT4-fs (dm-0): mounted filesystem with ordered data
mode.  Opts: user_xattr
 7.9233051 mount (5722) used greatest stack depth, 13000 bytes left

/usr already mounted, skipping...
Booting (initramfs)

sep-usr init: running user requested applet


As I said, the 4.14.83 kernel boots without problem with the same
configuration.

Any suggestions?
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***


I updated my servers last weekend and all moved to 4.19.27, 2 use ZFS for the 
filesystem, several are VMs on top of Xen. None had any issues.

The messages you show make me think they are from an initrd, not the actual 
kernel. I would investigate that first and make sure your initrd is actually 
updated as well.
Did you copy the text? Or did you manage to grab the output somehow?

Also, which init system and initrd are you using?

--
Joost



The text was copied from a screenshot (IPMI-KVM).
I am using sys-apps/openrc with sys-fs/eudev and I use genkernel to 
build the kernel and the initramfs.


Yes, for me it also looks like it has to do with /ginit (busybox) or 
/sbin/init (sys-apps/sysvinit) and not the kernel.


I also have a bunch of other servers which all updated fine to 4.19.??

I tried the suggestion from Hasan to run "make synconfig" but that did 
not change any option in .config.


I'll try to rebuild kernel/init/busybox/intel-microcode again next weekend.


--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Server fails to boot after update to 4.19.27-r1

2019-03-10 Thread Dan Johansson
After updating a server from kernel-4.14.83 to 4.19.27-r1 (same problem 
with 4.19.23) the server will not boot.


Grub starts fine and I can select the new kernel.
The kernel starts booting and after mounting "/" and "/usr" (this is a 
server with a separate /usr") the boot-process hangs.


Here are the last few lines displayed before it hangs:

>> Initializing root device...
>> Detected root: /dev/md127
>> Mounting /dev/md127 as root...
>> Detected fstype: ext4
>> Using mount fstype: ext4
>> Using mount opts: -o ro
 7.6104971 EXT4-fs (md127): mounted filesystem with ordered data 
mode.  Opts (null)

 7.6572671 init (5708) used greatest stack depth: 13280 bytes left
>> Mounting /dev/dm-O as /usr: mount -t ext4 -o noatime,user_xattr,ro 
/deu/dm-O /newroot/usr
 7.6909561 EXT4-fs (dm-0): INFO: recouery required on readonly 
filesystem
 7.6925551 EXT4-fs (dm-0): write access will be enabled diming 
recouery

 7.9169781 EXT4-fs (dm-0): recovery complete
 7.9223701 EXT4-fs (dm-0): mounted filesystem with ordered data 
mode.  Opts: user_xattr

 7.9233051 mount (5722) used greatest stack depth, 13000 bytes left
>> /usr already mounted, skipping...
>> Booting (initramfs)
sep-usr init: running user requested applet


As I said, the 4.14.83 kernel boots without problem with the same 
configuration.


Any suggestions?
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] SystemRescueCD with nonm

2019-01-02 Thread Dan Johansson


Hmm ... I've mounted it, modified it and eventually tried to run the bash
script to copy it over to a USB stick.  It wasn't happy to run this time,
following my modifications:

# bash ./usb_inst.sh
Device [/dev/sdb] detected as [ USB DISK Pro] is removable and
size=954MB
* Device [/dev/sdb] is not mounted
Device [/dev/sdc] detected as [ USB DISK Pro] is removable and
size=1MB
* Device [/dev/sdc] is not mounted
dialog: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof
(_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
./usb_inst.sh: line 491:  6296 Aborted ${PROG_DIALOG} --
infobox "$1" 20 75
dialog: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof
(_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
./usb_inst.sh: line 491:  6297 Aborted ${PROG_DIALOG} --
infobox "$1" 20 75



I had the same issue some days ago. Try unset'ing all LC_ variables in 
your shell before you run usb_inst.sh as "dialog" in the iso can 
apparently not handle something else than "C" (or empty).



--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] ARM 17.0 profile change

2018-09-25 Thread Dan Johansson
Just a short update. The provided script worked like a charm!!!

Thanks to all Devs involved.

-- 
Dan

On 22.09.2018 20:04, Corentin “Nado” Pazdera wrote:
> September 22, 2018 5:36 PM, "Dan Johansson"  wrote:
> 
>> Hi,
>>
>> Today when I was preparing for a "emereg --update ..." on my Raspberry
>> PI 2B I saw that there was a news item regarding
>> "2018-09-07-arm-17-profile-migration" where it states (among other
>> things) "In short, the tuple will change from
>> armv7a-hardfloat-linux-gnueabi to
>> armv7a-unknown-linux-gnueabihf or similar.".
>>
>> Today I have the profile set to "default/linux/arm/13.0/armv7a (dev)"
>> and I have the following in make.conf
>> CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
>> CHOST="armv7a-hardfloat-linux-gnueabi"
>>
>> I am not 100% sure on what to set my profile & CHOST to for this Raspberry.
>>
>> So (some) of my questions are.
>> 1) Which new profile should a use for a Raspberry PI 2B which runs as a
>> headless "server" (i.e. now desktop environment running)? I suspect
>> "default/linux/arm/17.0/armv7a" would be a good idea?
>> 2) What would be the correct CFLAGS & CHOST in make.conf?
> 
> Hi,
> 
> The script linked in the news item should take care of that.
> Don't forget to backup your packages (quickpkg */*) before doing the 
> migration, it will help in
> case you need to rollback.
> 
> Best regards,
> Corentin “Nado” Pazdera
> 


-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] ARM 17.0 profile change

2018-09-22 Thread Dan Johansson
On 22.09.2018 20:04, Corentin “Nado” Pazdera wrote:
> September 22, 2018 5:36 PM, "Dan Johansson"  wrote:
> 
>> Hi,
>>
>> Today when I was preparing for a "emereg --update ..." on my Raspberry
>> PI 2B I saw that there was a news item regarding
>> "2018-09-07-arm-17-profile-migration" where it states (among other
>> things) "In short, the tuple will change from
>> armv7a-hardfloat-linux-gnueabi to
>> armv7a-unknown-linux-gnueabihf or similar.".
>>
>> Today I have the profile set to "default/linux/arm/13.0/armv7a (dev)"
>> and I have the following in make.conf
>> CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
>> CHOST="armv7a-hardfloat-linux-gnueabi"
>>
>> I am not 100% sure on what to set my profile & CHOST to for this Raspberry.
>>
>> So (some) of my questions are.
>> 1) Which new profile should a use for a Raspberry PI 2B which runs as a
>> headless "server" (i.e. now desktop environment running)? I suspect
>> "default/linux/arm/17.0/armv7a" would be a good idea?
>> 2) What would be the correct CFLAGS & CHOST in make.conf?
> 
> Hi,
> 
> The script linked in the news item should take care of that.
> Don't forget to backup your packages (quickpkg */*) before doing the 
> migration, it will help in
> case you need to rollback.

Thanks for your feedback. Yes I took a look at the linked script (after
I sent the mail) and it looks like it takes car of "everything".

But better safe than sorry, so I am going to shutdown the Raspberry,
take out the CF-Card, make a copy of the card and THEN I will try the
profile change.

Regards,
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] ARM 17.0 profile change

2018-09-22 Thread Dan Johansson
Hi,

Today when I was preparing for a "emereg --update ..." on my Raspberry
PI 2B I saw that there was a news item regarding
"2018-09-07-arm-17-profile-migration" where it states (among other
things) "In short, the tuple will change from
armv7a-hardfloat-linux-gnueabi to
armv7a-unknown-linux-gnueabihf or similar.".

Today I have the profile set to "default/linux/arm/13.0/armv7a (dev)"
and I have the following in make.conf
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"

I am not 100% sure on what to set my profile & CHOST to for this Raspberry.

So (some) of my questions are.
1)  Which new profile should a use for a Raspberry PI 2B which runs as a
headless "server" (i.e. now desktop environment running)? I suspect
"default/linux/arm/17.0/armv7a" would be a good idea?
2)  What would be the correct CFLAGS & CHOST in make.conf?

Regards,
-- 
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***


0x17EB372A2FB894AD.asc
Description: application/pgp-keys


[gentoo-user] Network problem when rebooting Fedora qemu/kvm guest on Gentoo host

2018-06-17 Thread Dan Johansson
Hello,

I have some problem with some of my qemu/kvm guests running Fedora on a
Gentoo host where my Gentoo guests works without problem.

The problem that I have is that when I reboot (shutdown -r now) the
Fedora guest "loses" (ifconfig does not show a IP-address) their network
connections. The Gentoo guests reboots without problem.

All the guests have same HW-configuration, only Name/DiskImage/MAC-
addresses differ.

Here some technical details:
Host:
DistributionGentoo
Kernel  4.9.95-gentoo
Qemuapp-emulation/qemu-2.11.1-r2
USE="aio bzip2 caps curl fdt filecaps gnutls jpeg lzo ncurses 
nls
pin-upstream-blobs png sdl seccomp vhost-net vnc xattr"
QEMU_SOFTMMU_TARGETS="x86_64"
QEMU_USER_TARGETS="x86_64"
libvirt app-emulation/libvirt-4.3.0
USE="caps dbus libvirtd nls qemu udev"

Guest
DistributionFedora 28
Kernel  4.16.15-300.fc28.x86_64
Networkmanager  NetworkManager.x86_64 1:1.10.8-1.fc28

Any suggestions?
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***


0x17EB372A2FB894AD.asc
Description: application/pgp-keys


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] UEFI-fails to boot

2018-01-28 Thread Dan Johansson
On 28.01.2018 00:13, Corbin Bird wrote:

Thanks for your feedback.

> .
> Thank you for that info.
> .
> What kind of integrated VGA?
> ( example Intel i915, i965, etc. )
According to the MB docu is it a "ASPEED AST2400 BMC" Video controller.

> .
> The reason I ask is that the EFI framebuffer you have enabled should be
> built into a specific video driver.
> My system has an "amdgpu" video card.
> The EFI framebuffer driver for the console is enabled.
> The specific video driver called "amdgpu" is also enabled.
> The EFI framebuffer is built as a sub-component of the specific video
> driver "amdgpu".
> .
> Sample dmesg output :
>> [    6.223405] [drm] amdgpu kernel modesetting enabled.
>> [    6.223573] [drm] initializing kernel modesetting (POLARIS10
>> 0x1002:0x67DF 0x1682:0x9480 0xC7)
>> [    6.882691] Console: switching to colour frame buffer device 240x67
>> [    6.900623] amdgpu :01:00.0: fb0: amdgpudrmfb frame buffer device
> .
> If you haven't already run this command, please do so :  lspci | grep -i VGA

# lspci | grep VGA
06:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED
Graphics Family (rev 30)

> If the video device is a 'Aspeed AST', the version number of the
> kernel you are using makes a big difference.
>>
# uname -r
4.9.76-gentoo-r1

>>
>>   ASPEED's AST2500 Display To Be Supported By Linux 4.11's DRM
>>
>> https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/x-org-drm/935002-aspeed-s-ast2500-display-to-be-supported-by-linux-4-11-s-drm

Thanks for that link, I will have to look into that.
Although I will not be using X on this box, as it is a server, it looks
like I need to configure DRM.

KR

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] UEFI-fails to boot

2018-01-27 Thread Dan Johansson
On 26.01.2018 16:28, Corbin Bird wrote:
> On 01/26/2018 04:00 AM, Dan Johansson wrote:
>> On 26.01.2018 02:25, Johnson Steward wrote:
>>> Well, check if you have CONFIG_FB_EFI enabled in your config.
>> Good idea, but sadly, nope, that was not it.
>>
>> KR
> .
> Questions that may sound strange ...
> What version of Windows does your motherboard support?
> Do you use any add on ( PCI / PCIe ) cards that do not support UEFI and
> load a BIOS?
> Have you configured a specific type of video card in the kernel?
> .
> The reasons why I ask this :
> The UEFI driver for video changes type & version between Win 7 & Win 8.
> An LSI 9211-4i ( Raid Controller / SAS  ) loads only a BIOS ... and
> interferes with the Win 8 UEFI Video driver.
> ( It interferes enough with the Win 8 UEFI Video driver, that Win 7 will
> work with it. )
> It also means no console video until init is ( almost ) completed.
> That is when the chosen specific video card frame buffer takes over.

According to the supermicro homepage The following Windows versions are
supported: 7 SP1, 8 Enterprise, 8.1 Enterprise, 10, Server 2008 R2 SP1,
Server 2012 and Server 2012 R2.

No PCI/PCIe cards installed (yet).
No special Video driver in the kernel except CONFIG_FB_EFI=y as
suggested by Johnson Steward.
The MB has a integrated VGA output.

KR

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] UEFI-fails to boot

2018-01-26 Thread Dan Johansson
On 26.01.2018 02:25, Johnson Steward wrote:
> Well, check if you have CONFIG_FB_EFI enabled in your config.

Good idea, but sadly, nope, that was not it.

KR
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] UEFI-fails to boot

2018-01-26 Thread Dan Johansson
On 25.01.2018 20:21, Neil Bothwick wrote:
> On Thu, 25 Jan 2018 17:28:49 +0100, Dan Johansson wrote:
> 
>> The one thing that is not working is that I do not see ANY boot-messages
>> on the console (it just says Loading Linux  and Loading initial ramdisk
>> ...), and I do not get a login-prompt and can not switch VT.
>>
>> But as I said, I can login with ssh and can now continue with the setup,
>> the "Console" has to wait.
> 
> Does /dev/console exist on your root filesystem?

Yes.

# mount --bind / /mnt/x
# ll /mnt/x/dev/console
crw--- 1 root root 5, 1 Jan 17 03:14 /mnt/x/dev/console


-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] UEFI-fails to boot

2018-01-25 Thread Dan Johansson
On 25.01.2018 16:24, Mick wrote:
> On Thursday, 25 January 2018 13:18:13 GMT Dan Johansson wrote:
>> Thanks for the advice, now grub starts and I get the menu (now I just
>> have to figure out why the kernel hangs after being loaded).
> 
> Glad you got it loading.
> 
> Check at what stage the kernel oops - this would point at what in the kernel 
> configuration has gone awry.  You must build the chipset and filesystem 
> drivers in the kernel (not as loadable modules), which may even drop you in a 
> command prompt to troubleshoot from there.

The kernel did not oops, there were just the messages
Booting 'Gentoo GNU/Linux'
Loading Linux x86_64-4.9.76-gentoo-r1
and here it was just hanging.

I normally do not like to have an initramfs but to com further I
installed genkernel and let it build the kernel.
The genkernel generated kernel does boot and everything, except on thing
(at the moment), works - I can ssh into the box and continue configuration.

The one thing that is not working is that I do not see ANY boot-messages
on the console (it just says Loading Linux  and Loading initial ramdisk
...), and I do not get a login-prompt and can not switch VT.

But as I said, I can login with ssh and can now continue with the setup,
the "Console" has to wait.

KR

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] UEFI-fails to boot

2018-01-25 Thread Dan Johansson
On 25.01.2018 12:35, Mick wrote:
> On Thursday, 25 January 2018 10:54:28 GMT Dan Johansson wrote:
>> I have bought me a shiny new Supermicro X10DRi-T motherboard with two
>> Xenon-E5-2620-v3 CPUs for use as a server.
>>
>> I have configured the MB for UEFI-mode only and my rescuecd-USB-key
>> boots find in UEFI-mode.
>>
>> Following the Handbook and the "EFI System Partition" handbook I have
>> created the following GPT-disklayout:
>>
>> root@sysresccd /root % parted /dev/sda print
>> Model: ATA ST1000DX002-2DV1 (scsi)
>> Disk /dev/sda: 1000GB
>> Sector size (logical/physical): 512B/4096B
>> Partition Table: gpt
>> Disk Flags:
>>
>> Number  Start   End SizeFile system Name  Flags
>>  1  1049kB  3146kB  2097kB  fat32   grub  bios_grub
> 
> The above implies an MBR partition table approach to booting your OS, which a 
> non-UEFI (BIOS only) MoBo will need.  However you are meant to be using UEFI 
> *only* and GPT ...
> 
> 
>>  2  3146kB  137MB   134MB   ext2boot  boot, esp
> 
> and this partition is what should be used for an UEFI MoBo, but the fs is 
> wrong.  Change it to fat32 and check with gdisk that its partition code is 
> EF00, which according to your 'boot, esp' flags it should be.  This is your 
> EFI System Partition (ESP).
> 
> 
>>  3  137MB   4429MB  4292MB  linux-swap(v1)  swap
>>  4  4429MB  5503MB  1074MB  root
>>  5  5503MB  1000GB  995GB   vg
>>
>> Partition-1 was created like this: mkfs.fat -F 32 -n efi-boot /dev/sda1
>> Partition-2 was created like this: mkfs.ext2 -T small /dev/sda2
>>
>> GRUB_PLATFORMS was set to "efi-64" in make.conf before emerging grub:2
>>
>> /boot and /boot/efi is mounted like this
>> # mount | grep boot
>> /dev/sda2 on /boot type ext2 (rw,relatime,errors=continue,user_xattr,acl)
>> /dev/sda1 on /boot/efi type vfat
>> (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mi
>> xed,errors=remount-ro)
>>
>> I had to remount /sys/firmware/efi/efivars in rw-mode, otherwise
>> grub-install would complain.
> 
> Yes, this has been the case for some time now.  You will always need to 
> remount it as rw before you change the contents of the ESP boot partition.  
> It 
> is also mentioned here:
> 
> https://wiki.gentoo.org/wiki/GRUB2
> 
> 
>> grub-install was run like this
>> "grub-install --target=x86_64-efi --efi-directory=/boot/efi"
> 
> But ... /boot/efi is not your ESP.
> 
> 
>> And "grub-mkconfig -o /boot/grub/grub.cfg" has been run without any errors.
>>
>> efibootmgr shows my gentoo as the first entry
>> # efibootmgr
>> Timeout: 1 seconds
>> BootOrder: ,0001,0002,0003
>> Boot  gentoo
>> Boot0001  Hard Drive
>> Boot0002  Network Card
>> Boot0003  UEFI: Built-in EFI Shell
> 
> Use 'efibootmgr -v' to check the path of the .efi image it tries to boot and 
> check the path is correct without any typos.  What you show above is only a 
> label.
> 
> 
>> But when I boot without the USB-key inserted I always "lands" in the
>> Built-in EFI Shell - NO sign of GRUB.
>>
>> Any suggestions where I have gone wrong?
>>
>> KR
> 
> The ESP needs to be formatted as vfat and the GRUB boot image grubx64.efi 
> should be installed there.

Thanks for the advice, now grub starts and I get the menu (now I just
have to figure out why the kernel hangs after being loaded).
And just for reference, my partition-table now looks like this:

Number  Start   End SizeFile system Name  Flags
 1  1049kB  137MB   136MB   fat32   boot  boot, esp
 3  137MB   4429MB  4292MB  linux-swap(v1)  swap
 4  4429MB  5503MB  1074MB  root
 5  5503MB  1000GB  995GB   vg


KR

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] UEFI-fails to boot

2018-01-25 Thread Dan Johansson
I have bought me a shiny new Supermicro X10DRi-T motherboard with two
Xenon-E5-2620-v3 CPUs for use as a server.

I have configured the MB for UEFI-mode only and my rescuecd-USB-key
boots find in UEFI-mode.

Following the Handbook and the "EFI System Partition" handbook I have
created the following GPT-disklayout:

root@sysresccd /root % parted /dev/sda print
Model: ATA ST1000DX002-2DV1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End SizeFile system Name  Flags
 1  1049kB  3146kB  2097kB  fat32   grub  bios_grub
 2  3146kB  137MB   134MB   ext2boot  boot, esp
 3  137MB   4429MB  4292MB  linux-swap(v1)  swap
 4  4429MB  5503MB  1074MB  root
 5  5503MB  1000GB  995GB   vg

Partition-1 was created like this: mkfs.fat -F 32 -n efi-boot /dev/sda1
Partition-2 was created like this: mkfs.ext2 -T small /dev/sda2

GRUB_PLATFORMS was set to "efi-64" in make.conf before emerging grub:2

/boot and /boot/efi is mounted like this
# mount | grep boot
/dev/sda2 on /boot type ext2 (rw,relatime,errors=continue,user_xattr,acl)
/dev/sda1 on /boot/efi type vfat
(rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

I had to remount /sys/firmware/efi/efivars in rw-mode, otherwise
grub-install would complain.

grub-install was run like this
"grub-install --target=x86_64-efi --efi-directory=/boot/efi"

And "grub-mkconfig -o /boot/grub/grub.cfg" has been run without any errors.

efibootmgr shows my gentoo as the first entry
# efibootmgr
Timeout: 1 seconds
BootOrder: ,0001,0002,0003
Boot  gentoo
Boot0001  Hard Drive
Boot0002  Network Card
Boot0003  UEFI: Built-in EFI Shell


But when I boot without the USB-key inserted I always "lands" in the
Built-in EFI Shell - NO sign of GRUB.

Any suggestions where I have gone wrong?

KR
-- 
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] x11-terms/terminator to be terminated

2018-01-03 Thread Dan Johansson

On 2018-01-03 12:46, Neil Bothwick wrote:

On Wed, 03 Jan 2018 12:13:45 +0100, Dan Johansson wrote:


The reason I use terminator is it's "multi-session" support. I use it
to open eight ssh connections to eight different hosts and then use 
the

"Send to all" feature to execute the same command on all hosts (and
watch the output from all hosts simultaneously).

Any suggestion a good tool that can do this?


I used to use net-misc/clusterssh to do this but these days I do it 
with

tmux.


THX for the tmux tip (I know I have seen this before, but at my age the 
memory sometimes fails) - I have now implemented a simple script to 
replace my terminator setup.


Regards,
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] x11-terms/terminator to be terminated

2018-01-03 Thread Dan Johansson
Today I noticed that x11-terms/terminator is to be deleted from the tree 
and I was wondering if someone can recommend a replacement (in the 
portage tree)?


The reason I use terminator is it's "multi-session" support. I use it to 
open eight ssh connections to eight different hosts and then use the 
"Send to all" feature to execute the same command on all hosts (and 
watch the output from all hosts simultaneously).


Any suggestion a good tool that can do this?

Regards,
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Unlocking Plasma desktop in Gentoo without systemd

2017-09-11 Thread Dan Johansson
On 11.09.2017 21:04, Mick wrote:
> On Monday, 11 September 2017 19:27:02 BST Jigme Datse Yli-RAsku wrote:
>> I had a similar (if not identical problem).  This solution is a
>> "difficult" solution, the reason I experienced this (if I understand)
>> was that I was running KDE at the same time I was updating KDE.  
> 
> No the user started a Plasma session after booting up the PC and while no 
> updates were being performed.
> 
> 
>> I can't
>> remember if I simply rebooted, or if all it took was logging out, and
>> logging back in.  Even if I had rebooted, the *most* that should be
>> required is restarting X, which if you are running XDM may require
>> restarting XDM, or as stated, simply logging out and logging back in
>> (but that might not be possible from KDE running in this broken mode).
>> It should happen relatively infrequently.
> 
> I can login and restart xdm, but I fear the user may lose some the work being 
> performed at the time.  I may end up doing this, but not if there is a way to 
> recover the session.  Strangely, I can't see any relevant screenlock process 
> I 
> could stop from the console.  :-(
> 

Try this:

# Get Session-ID
sesid=$(ck-list-sessions | egrep "(Session[0-9]:|x11-display = ':0')" |
grep -B 2 "x11-display = ':0'" | grep "Session" | cut -d":" -f1)

# Unlock
sudo dbus-send --system --print-reply
--dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/${sesid}
org.freedesktop.ConsoleKit.Session.Unlock


-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Clickless screenshot...how?

2017-07-29 Thread Dan Johansson
On 29.07.2017 10:58, tu...@posteo.de wrote:
> to display tracking informations (abondomed delivery) to an oversea
> seller I need to screenshot a dropdown menu.
> Unfortunately this dropdown menu only drops down when touched with 
> the mouse pointer.
> This in turn prohibis any other action with the mourse (changeing
> the window for example). The only chance I see is hitting any
> magical key combo, which is not part of firefox shortcut.
> 
> Long blabla ... short question:
> Is there any screenshooter available which can be fully
> handled via *configurable* keyboad shortcuts?

If you are running KDE and have kde-apps/spectacle (Screenshot capture
utility) installed, you can configure a delay before the capture - this
should give you enough time to pull down the drop down menu before the
screenshot is taken.

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Can not compile arduino sketch after GCC upgrade

2017-05-02 Thread Dan Johansson
On 30.04.2017 13:23, Dan Johansson wrote:
> After upgrading GCC to 5.4.0 (from 4.9.3) I can no longer compile my
> sketches.
> 
> At the end of the compile phase a get the following linker error:
> 
> avr-gcc -Os -Wl,--gc-sections -mmcu=atmega32u4 -o
> /tmp/build881550966608502477.tmp/Blinky.cpp.elf
> /tmp/build881550966608502477.tmp/Blinky.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/hsv2rgb.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/wiring.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/colorutils.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/colorpalettes.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/lib8tion.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/FastLED.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/bitswap.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/power_mgt.cpp.o
> /tmp/build881550966608502477.tmp/FastLED313/noise.cpp.o
> /tmp/build881550966608502477.tmp/core.a
> -L/tmp/build881550966608502477.tmp -lm
> /usr/libexec/gcc/avr/ld: cannot find crtatmega32u4.o: No such file or
> directory
> /usr/libexec/gcc/avr/ld: cannot find -latmega32u4
> collect2: error: ld returned 1 exit status
> 
> And sure enough, there is not "crtatmega32u4.o" on this system (and only
> one file with "atmega32u4" in the filename:
> /usr/lib64/gcc/avr/5.4.0/device-specs/specs-atmega32u4).
> 
> I have tried to reinstall the avr-crossdev-toolchain:
> crossdev -C avr
> USE="-openmp -hardened -sanitize -vtv" crossdev -s4 -S --target avr
> ln -s /usr/lib64/binutils/avr/2.26.1/ldscripts /usr/avr/lib/ldscript
> 
> 
> And just to be sure I have also re-emerged:
> dev-embedded/avrdude
> dev-embedded/arduino
> 
> Any suggestions what I am missing?
> 

With last nights sync, avr-gcc-4.9.4 was pulled back in (slotted).

Selecting 4.9.4 instead of 5.4.0 solves the issue, I can now compile for
avr again:

$ avr-gcc -Os -Wl,--gc-sections -mmcu=atmega32u4 test.c

$ file a.out
a.out: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV),
statically linked, not stripped

-- 
D/\N
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Can not compile arduino sketch after GCC upgrade

2017-04-30 Thread Dan Johansson
After upgrading GCC to 5.4.0 (from 4.9.3) I can no longer compile my
sketches.

At the end of the compile phase a get the following linker error:

avr-gcc -Os -Wl,--gc-sections -mmcu=atmega32u4 -o
/tmp/build881550966608502477.tmp/Blinky.cpp.elf
/tmp/build881550966608502477.tmp/Blinky.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/hsv2rgb.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/wiring.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/colorutils.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/colorpalettes.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/lib8tion.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/FastLED.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/bitswap.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/power_mgt.cpp.o
/tmp/build881550966608502477.tmp/FastLED313/noise.cpp.o
/tmp/build881550966608502477.tmp/core.a
-L/tmp/build881550966608502477.tmp -lm
/usr/libexec/gcc/avr/ld: cannot find crtatmega32u4.o: No such file or
directory
/usr/libexec/gcc/avr/ld: cannot find -latmega32u4
collect2: error: ld returned 1 exit status

And sure enough, there is not "crtatmega32u4.o" on this system (and only
one file with "atmega32u4" in the filename:
/usr/lib64/gcc/avr/5.4.0/device-specs/specs-atmega32u4).

I have tried to reinstall the avr-crossdev-toolchain:
crossdev -C avr
USE="-openmp -hardened -sanitize -vtv" crossdev -s4 -S --target avr
ln -s /usr/lib64/binutils/avr/2.26.1/ldscripts /usr/avr/lib/ldscript


And just to be sure I have also re-emerged:
dev-embedded/avrdude
dev-embedded/arduino

Any suggestions what I am missing?

-- 
D/\N
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Re: [OT] Redirecting traffic for a TCP port to another gateway

2017-03-29 Thread Dan Johansson

On 2017-03-28 21:48, Kai Krakow wrote:

Am Tue, 28 Mar 2017 21:26:05 +0200
schrieb Dan Johansson <dan.johans...@dmj.nu>:


Is it possible, using iptables or something equivalent, to redirect
traffic to some specific TCP ports to another gateway than the
default-gateway?

Eg.

Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
Now I want to send all traffic from this host to destination-tcp-port
80 to gateway 192.168.2.1 instead (the host has a second interface
with the address 192.168.2.100/24 as well).
I only want the traffic to port 80 to go thru this GW (and then to
its final destination).
And port 80 is just an example, it could be port 12345 as well.

Is this possible? If yes, any suggestion on how to do it?


If I understand you correctly, you want to do the redirect decision on
the source machine 192.168.1.100, and not on the default gateway
192.168.1.1.


Yes, correct, that is the way I want it.


This means you need to mark packages with iptables, and then doing the
routing based on the mark. For this, you need to setup policy routing.
Look here:

http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.netfilter.html


That link looks promising, it is quite close to my planned setup/needs.


That example uses port 25 instead of 80. It marks packets, and then
creates a second routing table to use for such marked packets.


That is not a problem as I was only using port 80 as an example.

Thanks for the link, my google searches did not find that :-(

D/\N



[gentoo-user] [OT] Redirecting traffic for a TCP port to another gateway

2017-03-28 Thread Dan Johansson

Slight Off-topic, but at least the host are Gentoo.

Is it possible, using iptables or something equivalent, to redirect 
traffic to some specific TCP ports to another gateway than the 
default-gateway?


Eg.

Host 192.168.1.100/24 has a default-gateway of 192.168.1.1
Now I want to send all traffic from this host to destination-tcp-port 80 
to gateway 192.168.2.1 instead (the host has a second interface with the 
address 192.168.2.100/24 as well).
I only want the traffic to port 80 to go thru this GW (and then to its 
final destination).

And port 80 is just an example, it could be port 12345 as well.

Is this possible? If yes, any suggestion on how to do it?

Regards,
--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] shutdown -r now hangs in qemu-vm

2017-02-19 Thread Dan Johansson
Since updating app-emulation/libvirt and/or app-emulation/qemu (both
were updated at the same time) I have a problem executing "shutdown -r
now" in the vm ("shutdown -h now" works fine).

When I execute "shutdown -r now" in the vm the shutdown process runs
perfect until "Remounting root-filesystem readonly" and than it hangs
and I have to "Force Power Off" to reboot.

Any suggestion what could be wrong and what I can do to solve it?


-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Problems with Xinerama after upgrade to Plasma (KDE5)

2016-09-16 Thread Dan Johansson

On 2016-09-16 09:43, J. Roeleveld wrote:

On Thursday, September 15, 2016 08:36:20 PM Dan Johansson wrote:

After upgrading to Plasma (KDE5) I have a problem with my dual monitor
setup.

When I start/restart a new session both monitors are "displayed" "on
top" of each other (see Screenshot_20160915_201441.png). After
"dragging" DVI-I-1 to the right of DVI-D-0 in SystemSettings (see
Screenshot_20160915_201601.png) everything looks OK.

Any suggestions why this is happening (some file-permission some 
where?)

and where to search for a solution?


Quick guess, you are running "stable" kde plasma (5.6.5)?
There is a bug there that is fixed in later versions.

I am using 5.7.4 and haven't seen that issue anymore.


Yes, you are correct, I'm running stable (5.6.5).
Then I'll have to wait for next release to "go stable" or try upgrading 
to 5.7.4.


Thanks for your support.

--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [OT] program compiled with libcrypt on Raspberry PI (running Gentoo) hangs when run

2016-06-26 Thread Dan Johansson
On 26.06.2016 21:25, Dan Johansson wrote:
> On 26.06.2016 18:19, meino.cra...@gmx.de wrote:
>> Dan Johansson <dan.johans...@dmj.nu> [16-06-26 18:12]:
>>> The following code snippet compiles find but when run it just hangs forever:
>>>
>>> $ cat x.c
>>> #include 
>>> #include 
>>> #include 
>>>
>>> int main() {
>>> printf("Running test\n");
>>> char *encrypted = crypt("blablabla","ab");
>>> if(!encrypted || strcmp(encrypted,"ab.h7fshjf89f")) {
>>> printf("Fail\n");
>>> } else {
>>> printf("OK\n");
>>> }
>>> }
>>>
>>> $ gcc -o xout x.c -lcrypt
>>>
>>> $ ./xout
>>> Running test
>>>
>>> 
>>>
>>> The same code runs fine on my desktop.
>>> Any suggestions what could be my problem?
>>>
>>> -- 
>> Hi Dan,
>>
>> this is just a shot in the dark and most likely I will miss the
>> target...but...
>>
>> Off what kind of memory you are running this code?
>> Das "cryot()" returns a pointer to newly acquired memory?
>> May be this memory is not RAM but flash/EEPROM?
>> If crypt() expects already allocated memory at the
>> pointers adress this may work on a PC because its
>> short and the stack is relatively large and you hit
>> nothing ... so it runs accidentally (so to say) and
>> fails on a Raspi...
>>
>> Only some random thoughts...
> 
> It's running in "normal" RAM. And I think if it was something like that
> other software would also have problem, which it has not.

I did an "emerge --oneshot sys-libs/glibc" and, voila, now it works.

Sorry for the waste of bandwidth.

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [OT] program compiled with libcrypt on Raspberry PI (running Gentoo) hangs when run

2016-06-26 Thread Dan Johansson
On 26.06.2016 18:19, meino.cra...@gmx.de wrote:
> Dan Johansson <dan.johans...@dmj.nu> [16-06-26 18:12]:
>> The following code snippet compiles find but when run it just hangs forever:
>>
>> $ cat x.c
>> #include 
>> #include 
>> #include 
>>
>> int main() {
>> printf("Running test\n");
>> char *encrypted = crypt("blablabla","ab");
>> if(!encrypted || strcmp(encrypted,"ab.h7fshjf89f")) {
>> printf("Fail\n");
>> } else {
>> printf("OK\n");
>> }
>> }
>>
>> $ gcc -o xout x.c -lcrypt
>>
>> $ ./xout
>> Running test
>>
>> 
>>
>> The same code runs fine on my desktop.
>> Any suggestions what could be my problem?
>>
>> -- 
> Hi Dan,
> 
> this is just a shot in the dark and most likely I will miss the
> target...but...
> 
> Off what kind of memory you are running this code?
> Das "cryot()" returns a pointer to newly acquired memory?
> May be this memory is not RAM but flash/EEPROM?
> If crypt() expects already allocated memory at the
> pointers adress this may work on a PC because its
> short and the stack is relatively large and you hit
> nothing ... so it runs accidentally (so to say) and
> fails on a Raspi...
> 
> Only some random thoughts...

It's running in "normal" RAM. And I think if it was something like that
other software would also have problem, which it has not.


-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] [OT] program compiled with libcrypt on Raspberry PI (running Gentoo) hangs when run

2016-06-26 Thread Dan Johansson
The following code snippet compiles find but when run it just hangs forever:

$ cat x.c
#include 
#include 
#include 

int main() {
printf("Running test\n");
char *encrypted = crypt("blablabla","ab");
if(!encrypted || strcmp(encrypted,"ab.h7fshjf89f")) {
printf("Fail\n");
} else {
printf("OK\n");
}
}

$ gcc -o xout x.c -lcrypt

$ ./xout
Running test



The same code runs fine on my desktop.
Any suggestions what could be my problem?

-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Problems with g-cpan

2016-04-04 Thread Dan Johansson
I am having a interesting problem with g-cpan.
While trying to "emerge" the perl-module Nagios::Object using g-cpan
(g-cpan --debug --verbose --install  Nagios::Object) I can see that
g-cpan downloads the correct version of Nagios::Object from CPAN:

8<-
In main::generatePackageInfo (/usr/bin/g-cpan:622):
$VAR1 = bless( {
 'cpan' => {
 'nagios::object' => {
   'name' =>
'Nagios::Object',
   'description' => 'No
description available',
   'portage_name' =>
'Nagios-Object',
   'version' => '47',
   'portage_version' =>
'0.21.20',
   'src_uri' =>
'D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz'
 }
   },
 'portage_bases' => {
  '/usr/portage' => 1
},
 'DEBUG' => undef,
 'portage' => {
'nagios-object' => {},
'nagios::object' => {}
  },
 'packagelist' => [],
 'modules' => {},
 'sources' => '/usr/portage/distfiles',
 'portage_categories' => [
   'dev-perl',
   'perl-core',
   'perl-gcpan',
   'dev-lang'
 ],
 'cpan_reload' => undef
   }, 'Gentoo' );
|CPAN: Digest::SHA loaded ok (v5.88)
CPAN: Compress::Zlib loaded ok (v2.064)
Checksum for
/var/tmp/g-cpan/.cpan/sources/authors/id/D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz
ok
CPAN: Archive::Tar loaded ok (v1.96)
8<-

Please note that version above says '47' and not 0.21.20, this is
consisten with CPAN
(http://search.cpan.org/dist/Nagios-Object/lib/Nagios/Object.pm)
After downloading and unpacking the tar-file the "ebuild" is created:
8<-
 * Create directory '/var/tmp/g-cpan/perl-gcpan/Nagios-Object'
 * Create directory '/var/tmp/g-cpan/perl-gcpan/Nagios-Object/files'
 * Generating ebuild for Nagios::Object
 * Scanning /usr/portage for list-compare
 * Scanning /usr/portage for test-exception
 * Scanning /usr/portage for test-nowarnings
 * Copying
/var/tmp/g-cpan/.cpan/sources/authors/id/D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz
to /usr/portage/distfiles
 * Ebuild generated for Nagios-Object
8<-

BUT, when portage tries to emerge this "ebuild" it tries to download a
'47' version, which of-cause does not exist.
8<-
>>> Downloading
'http://distfiles.gentoo.org/distfiles/Nagios-Object-47.tar.gz'
--2016-04-04 21:42:24--
http://distfiles.gentoo.org/distfiles/Nagios-Object-47.tar.gz
Connecting to x.dmj.nu|192.168.55.55|:8080... connected.
Proxy request sent, awaiting response... 404 Not Found
2016-04-04 21:42:24 ERROR 404: Not Found.
8<-
(in /usr/portage/distfiles/ there is a Nagios-Object-0.21.20.tar.gz file).

How can I convince g-cpan to use the 0.21.20 version and not '47'?
Or make g-cpan NOT to clean its temporarily created ebuild (so I can
modify it by hand)?

Regards.
-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Strange problem while emerging

2016-03-26 Thread Dan Johansson
On 26.03.2016 17:37, Alan McKinnon wrote:
> On 26/03/2016 17:46, Dan Johansson wrote:
>> On my Raspberry Pi2 (running Gentoo of cause) I have a problem with
>> portage, or rather with emerge. When emerging something I get some error
>> messages about "shell-init:... permission denied" like this:
>>
>> -8<-
Snip...
>> -8<-
>>
>> The emerge continues and installs the software OK (as far as I can see).
>> I tried to debug emerge (using --debug), but surprise surprise, just
>> before the error messages shows there is a "set +x" in the output, hence
>> I can not see which command it is that "produces" the error message and
>> I can also not see the path/file that is the culprit.
>>
>> Any suggestions on how to debug this further?
>>
>>
> 
> 
> 
> What user do you run emerge as?
> It should be root
> 
> Also check permissions on directories in /var/tmp/portage and all subdirs

User running emerge is root.

This is what my /var/tmp/portage looks like (when no emerge is running)
-8<-
# find /var/tmp/portage/ -type d -exec ls -pald {} +
drwxrwxrwt 5 portage portage 4096 Mar 26 17:53 /var/tmp/portage//
drwxrwxr-x 2 portage portage 4096 Mar 26 17:52 /var/tmp/portage/._unmerge_/
drwxrwsr-x 4 rootportage 4096 Mar 24 09:49 /var/tmp/portage/.distcc/
drwxrwsr-x 2 rootportage 4096 Mar 26 17:43
/var/tmp/portage/.distcc/lock/
drwxrwsr-x 2 rootportage 4096 Mar 26 17:51
/var/tmp/portage/.distcc/state/
-8<-

This looks the same as on my other systems with the exception of the
.distcc (as this is the only system using distcc).

The .distcc is automatically created when emerging and distcc is enabled.

-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Strange problem while emerging

2016-03-26 Thread Dan Johansson
On my Raspberry Pi2 (running Gentoo of cause) I have a problem with
portage, or rather with emerge. When emerging something I get some error
messages about "shell-init:... permission denied" like this:

-8<-
>> Emerging (1 of 1) app-arch/xz-utils-5.2.2::gentoo
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
>>> Downloading 'http://distfiles.gentoo.org/distfiles/xz-5.2.2.tar.gz'
--2016-03-26 16:31:48--
http://distfiles.gentoo.org/distfiles/xz-5.2.2.tar.gz
Length: 1464228 (1.4M) [application/octet-stream]
Saving to: ‘/usr/portage/distfiles/xz-5.2.2.tar.gz’

/usr/portage/distfi 100%[=>]   1.40M  3.06MB/s   in
0.5s

2016-03-26 16:31:48 (3.06 MB/s) -
‘/usr/portage/distfiles/xz-5.2.2.tar.gz’ saved [1464228/1464228]

 * xz-5.2.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...

 [ ok ]
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied
job-working-directory: error retrieving current directory: getcwd:
cannot access parent directories: Permission denied
chdir: error retrieving current directory: getcwd: cannot access parent
directories: Permission denied
>>> Unpacking source...
>>> Unpacking xz-5.2.2.tar.gz to
/var/tmp/portage/app-arch/xz-utils-5.2.2/work
>>> Source unpacked in /var/tmp/portage/app-arch/xz-utils-5.2.2/work
-8<-

The emerge continues and installs the software OK (as far as I can see).
I tried to debug emerge (using --debug), but surprise surprise, just
before the error messages shows there is a "set +x" in the output, hence
I can not see which command it is that "produces" the error message and
I can also not see the path/file that is the culprit.

Any suggestions on how to debug this further?


-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Problems with cross-compiling

2016-03-25 Thread Dan Johansson
On 25.03.2016 13:35, Dan Johansson wrote:
> I have setup one of my VM's to do cross-compiling for my Raspberry PI 2.
> Now some packages (e.g. app-editors/vim and its dependencies) emerges
> fine while other (e.g. net-misc/wget or rather one of its dependencies
> dev-libs/libpcre-8.38:3) does not.
> 
> What I have done  is this:
> # emerge sys-devel/crossdev
> (installed sys-devel/crossdev-20150716)
> 
> # crossdev -S -P -v -t armv7a-hardfloat-linux-gnueabi
> (which "installed" fine without any errors)
> 
> # armv7a-hardfloat-linux-gnueabi-emerge --verbose --oneshot
> =net-misc/wget-1.16.3-r1
> 
> Which pulls in dev-libs/libpcre-8.38:3::gentoo which then fails with this:
> 
> ln -sf pcre_compile2.3
> /usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/libpcre-8.38/image//usr/share/man/man3/pcre16_compile2.3
> /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping
> incompatible /usr/lib/libpthread.so when searching for -lpthread
> /usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping
> incompatible /usr/lib/libc.so when searching for -lc
> /usr/lib/libc.a: error adding symbols: File format not recognized
> collect2: error: ld returned 1 exit status
> 

Another one that is also failing (and is a dependency of many packages)
is sys-libs/ncurses-6.0-r1.
ncurses fails with another error than libpcre.

cd c++ && make DESTDIR="" RPATH_LIST="/usr/lib" all
make[1]: Entering directory
'/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-.arm/ncurses/c++'
cd ../obj_s;   -DHAVE_CONFIG_H -I.
-I/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++
-I../include
-I/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++/../include
 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DXTSTRINGDEFINES -DNDEBUG -O2
-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard  -fPIC -c
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++/cursesf.cc
cd ../obj_s;   -DHAVE_CONFIG_H -I.
-I/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++
-I../include
-I/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++/../include
 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DXTSTRINGDEFINES -DNDEBUG -O2
-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard  -fPIC -c
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/c++/cursesm.cc
/bin/bash: -DHAVE_CONFIG_H: command not found
Makefile:366: recipe for target '../obj_s/cursesf.o' failed
make[1]: *** [../obj_s/cursesf.o] Error 127
make[1]: *** Waiting for unfinished jobs
/bin/bash: -DHAVE_CONFIG_H: command not found
Makefile:372: recipe for target '../obj_s/cursesm.o' failed
make[1]: *** [../obj_s/cursesm.o] Error 127
make[1]: Leaving directory
'/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-.arm/ncurses/c++'
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2




-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Problems with cross-compiling

2016-03-25 Thread Dan Johansson
I have setup one of my VM's to do cross-compiling for my Raspberry PI 2.
Now some packages (e.g. app-editors/vim and its dependencies) emerges
fine while other (e.g. net-misc/wget or rather one of its dependencies
dev-libs/libpcre-8.38:3) does not.

What I have done  is this:
# emerge sys-devel/crossdev
(installed sys-devel/crossdev-20150716)

# crossdev -S -P -v -t armv7a-hardfloat-linux-gnueabi
(which "installed" fine without any errors)

# armv7a-hardfloat-linux-gnueabi-emerge --verbose --oneshot
=net-misc/wget-1.16.3-r1

Which pulls in dev-libs/libpcre-8.38:3::gentoo which then fails with this:

ln -sf pcre_compile2.3
/usr/armv7a-hardfloat-linux-gnueabi/tmp/portage/dev-libs/libpcre-8.38/image//usr/share/man/man3/pcre16_compile2.3
/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping
incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/libexec/gcc/armv7a-hardfloat-linux-gnueabi/ld: skipping
incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/libc.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status


Have I missed something in setting up crossdev or is something else
wrong (if yes - then what is wrong)?

-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Upcoming Apache 2.2 _> 2.4 upgrade

2016-02-07 Thread Dan Johansson
On 07.02.2016 00:13, Sam Jorna wrote:
> On 07/02/16 08:17, Dan Johansson wrote:
>> According to the news item from 2016-01-27 Apache 2.4 is soon about
>> to be "stabilized". In portage we have to versions, 2.4.16 &
>> 2.4.18, of Apache 2.4 available. Can someone say which one of those
>> two that will be "stabilized"? Reason for my question is quite
>> simple: I want to unmask that version on my development server to
>> do some tests.
> 
> In addition to what mjo said, you can also follow bug 468302 [0] to
> keep up to date with how the stabilization is going.
> 
> 0: https://bugs.gentoo.org/show_bug.cgi?id=468302

OK, thanks for the Feedback. I'll go ahead and upgrade to 2.4.18 on my
dev box.

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Upcoming Apache 2.2 _> 2.4 upgrade

2016-02-06 Thread Dan Johansson
According to the news item from 2016-01-27 Apache 2.4 is soon about to
be "stabilized". In portage we have to versions, 2.4.16 & 2.4.18, of
Apache 2.4 available. Can someone say which one of those two that will
be "stabilized"? Reason for my question is quite simple: I want to
unmask that version on my development server to do some tests.

Regards,
-- 
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] [OT] Memory error messages in dmesg

2015-11-28 Thread Dan Johansson
I have started noticing the following messages in the dmesg output (and 
in the log-files) on my Gentoo rig:


[46545.779803] [Hardware Error]: Corrected error, no action required.
[46545.779984] [Hardware Error]: CPU:3 (15:2:0) 
MC2_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc2540f40136

[46545.780434] [Hardware Error]: MC2 Error Address: 0x0002cc215138
[46545.780605] [Hardware Error]: MC2 Error: Fill ECC error on data 
fills.

[46545.783764] [Hardware Error]: cache level: L2, tx: DATA, mem-tx: DRD
[46545.784088] mce: [Hardware Error]: Machine check events logged
[46545.791786] [Hardware Error]: Corrected error, no action required.
[46545.791958] [Hardware Error]: CPU:2 (15:2:0) 
MC2_STATUS[Over|CE|MiscV|-|AddrV|-|-|CECC]: 0xdc2540540136

[46545.792382] [Hardware Error]: MC2 Error Address: 0x0002cc2158b8
[46545.792579] [Hardware Error]: MC2 Error: Fill ECC error on data 
fills.

[46545.792791] [Hardware Error]: cache level: L2, tx: DATA, mem-tx: DRD
[46545.793088] mce: [Hardware Error]: Machine check events logged

I have been running memtest for some time (~100h) and have not gotten 
any error message - so I am suspecting that this is a CPU problem. Am I 
correct?


If it was just these error-messages I would not be that worried, but I 
have started to get a lot of "hangers" on this rig when compiling larger 
packages. Could there be a relation to the error-messages?


KR,
--
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [OT] Memory error messages in dmesg

2015-11-28 Thread Dan Johansson

On 2015-11-28 11:38, Alexander Kapshuk wrote:

On Sat, Nov 28, 2015 at 12:01 PM, Dan Johansson <dan.johans...@dmj.nu>
wrote:

I have started noticing the following messages in the dmesg output 
(and in

the log-files) on my Gentoo rig:

I have been running memtest for some time (~100h) and have not gotten 
any
error message - so I am suspecting that this is a CPU problem. Am I 
correct?


If it was just these error-messages I would not be that worried, but I
have started to get a lot of "hangers" on this rig when compiling 
larger

packages. Could there be a relation to the error-messages?



Do you have an AMD, or an Intel CPU on board?

Here are a couple links to bug reports from people who had a similar 
issue

with an AMD CPU.
https://www.novell.com/support/kb/doc.php?id=7013006
https://bugzilla.redhat.com/show_bug.cgi?id=1078604


Yes, it is an AMD CPU - I'll look into those links.

KR,
--
Dan Johansson, <http://www.dmj.nu>
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Changed behavior of webapp-config

2015-10-28 Thread Dan Johansson
On 28.10.2015 20:48, J. Roeleveld wrote:
> 
> The problem is that webapp-config now has the '-d' option as mandatory.
> This means installing into the webroot is not easy. (-d "" worked for me, but 
> is annoying)

Yes, using -d "" did it, and yes it is annoying but it works.

Thanks & KR
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Changed behavior of webapp-config

2015-10-27 Thread Dan Johansson
On 26.10.2015 21:56, Mick wrote:
> On Monday 26 Oct 2015 20:38:18 Dan Johansson wrote:
>> The other day I noticed that the behavior of webapp-config has changed.
>> I have USE=vhost enabled and I have a directory structure where each
>> "app" is installed in htdocs in its own v-host like this:
>>
>> /var/www/app-1.int.dmj.nu/htdocs/
>> /var/www/app-2.int.dmj.nu/htdocs/
>>
>> Before I could simply do the following to upgrade an app
>> # webapp-config -h app-1.int.dmj.nu -U app-1 1.2.3
>>
>> And this would update the app-1 in /var/www/app-1.int.dmj.nu to version
>> 1.2.3
>> (note, there is NO -d for directory in there)
>>
>> Doing this now results in this:
>> * Install dir flag not supplied, defaulting to "app-1".
>> * Fatal error: Cannot clean!
>> * Fatal error: No package installed in
>> /var/www/app-1.int.dmj.nu/htdocs/app-1
>> * Fatal error(s) - aborting
> 
> Did you try to run it like so:
> 
> webapp-config -h app-1.int.dmj.nu -U . 1.2.3
> 
> or even better:
> 
> webapp-config -U -h app-1.int.dmj.nu 1.2.3
> 
> The above error you're getting above points to your call for 'app-1' cause 
> webapp to assume the directory is '/var/www/app-1.int.dmj.nu/htdocs/app-1'

None of the above works. :-(

# webapp-config -U -h app-1.int.dmj.nu 1.2.3
usage: webapp-config [-ICU] [-dghus] 
webapp-config: error: argument -U/--upgrade: expected 2 argument(s)

# webapp-config -h app-1.int.dmj.nu -U 1.2.3
usage: webapp-config [-ICU] [-dghus] 
webapp-config: error: argument -U/--upgrade: expected 2 argument(s)

# webapp-config -h app-1.int.dmj.nu -U . 1.2.3
* Install dir flag not supplied, defaulting to ".".
* Fatal error:   Please emerge app-1/.-1.2.3 first.
* Fatal error(s) - aborting

-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Changed behavior of webapp-config

2015-10-26 Thread Dan Johansson
The other day I noticed that the behavior of webapp-config has changed.
I have USE=vhost enabled and I have a directory structure where each
"app" is installed in htdocs in its own v-host like this:

/var/www/app-1.int.dmj.nu/htdocs/
/var/www/app-2.int.dmj.nu/htdocs/

Before I could simply do the following to upgrade an app
# webapp-config -h app-1.int.dmj.nu -U app-1 1.2.3

And this would update the app-1 in /var/www/app-1.int.dmj.nu to version
1.2.3
(note, there is NO -d for directory in there)

Doing this now results in this:
* Install dir flag not supplied, defaulting to "app-1".
* Fatal error: Cannot clean!
* Fatal error: No package installed in
/var/www/app-1.int.dmj.nu/htdocs/app-1
* Fatal error(s) - aborting

I have played around a bit and found that if I add "-d ." it does update
the application correct but with some messages (sorry I do not have them
at hand now) about webapp-config not able to "clean" the old version.
And worse still, I then get two "active" entries in the webapp-config DB
(/var/db/webapps/app-1//installs):

One for the old version:
123456789 0 0 /var/www/app-1.int.dmj.nu/htdocs

And one for the new
0987654321 0 0 /var/www/app-1.int.dmj.nu/htdocs/.

Any suggestions on how to make the "new" webapp-config behave like the
"old" one (short of downgrading of cause)?

KR
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] What are you using to display Flash in Firefox?

2015-03-08 Thread Dan Johansson

As the subject says: What are you using to display Flash in Firefox?

Reason for my question is quite simple, today I am using
www-plugins/adobe-flash which works well for simple .swf files (where
gnash  lightspark fails), but I have problems displaying a lot of
Videos on Facebook  YouTube.
95% of the time I get the following message when I try to watch a Video
on FB or YT:
The Adobe Flash plugin has crashed. Reload the page to try again.
For YT it is really not that a big problem as I can download the Videos
using a FF AddOn - but this does not work with FB.

I am using the default/linux/amd64/13.0/desktop/kde profile.

Any suggestions...

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] What are you using to display Flash in Firefox?

2015-03-08 Thread Dan Johansson
On 08.03.2015 15:57, Leonardo Guilherme wrote:

 As the subject says: What are you using to display Flash in Firefox?

 Reason for my question is quite simple, today I am using
 www-plugins/adobe-flash which works well for simple .swf files (where
 gnash  lightspark fails), but I have problems displaying a lot of
 Videos on Facebook  YouTube.
 95% of the time I get the following message when I try to watch a Video
 on FB or YT:
 The Adobe Flash plugin has crashed. Reload the page to try again.
 For YT it is really not that a big problem as I can download the Videos
 using a FF AddOn - but this does not work with FB.

 I am using the default/linux/amd64/13.0/desktop/kde profile.

 Any suggestions...
 
 Hello

 I'm using https://github.com/i-rinat/freshplayerplugin, a wrapper around
 the PPAPI version bundled in chrome (I'm not sure but I think the package
 www-plugis/chrome-binary-plugins has it).

 It works really well nowadays, it used to crash a lot in the past.

 Highly recommended.

 Em dom, 8 de mar de 2015 às 11:43, Dan Johansson dan.johans...@dmj.nu
 escreveu:


Great, thanks for the tip - this works great.
I can now watch Videos without problem at FB and YT.


-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] [OT] ASUS Crosshair V Formula-Z MB

2015-02-01 Thread Dan Johansson
I just got me a new MB, a ASUS Crosshair V Formula-Z, after my old MB
fried due to a fan failure.

Is anyone else (on this list) using this MB, with Gentoo of cause?
If you are, have you got all the sensors working?
I can not get information from all the sensors on this MB (compared with
what the BIOS shows) and some of the values that do show are wrong ,
some temp-sensor shows as negative (and my room is not THAT cold).

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] [OT] LENOVO Z510 + Dual Boot + Gentoo == True ?

2014-03-07 Thread Dan Johansson
Hi List,

I am considering buying a new Notebook and found that a LENOVO IdeaPad
Z510 would fit into my budget and seems quite OK.
Does anyone here on the list have any experience with the Z510 running
dual-boot (Win8.x and Gentoo) that would like to share their experience?

Regards,
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Peeve - finding kernel config options

2014-02-27 Thread Dan Johansson
On 26.02.2014 22:24, Poison BL. wrote:
 On Wed, Feb 26, 2014 at 2:58 PM, Tanstaafl tansta...@libertytrek.org wrote:
 Hello all,

 This is for those of use who to choose to roll our kernels by hand...

 So, am I missing something?

 Given the most recent gentoo news item:

  # eselect news read 10
 2014-02-25-udev-upgrade
   Title Upgrade to =sys-fs/udev-210
   AuthorSamuli Suominen ssuomi...@gentoo.org
   Posted2014-02-25
   Revision  1

 The options CONFIG_FHANDLE and CONFIG_NET are now required in the kernel.


 Whenever kernel config options are provided like this, it would be nice if
 time was taken to provide the path to where they are found.

 I had to find the first one (CONFIG_FHANDLE) by:

 1. grepping .config, seeing it wasn't enabled,
 2. running make menuconfig and searching for 'FHANDLE',
 3. seeing it is located in 'General setup',
 4. scouring the General setup options, finding no 'FHANLDE' anywhere,
 5. finding something in all lowercase named 'open by fhanlde syscalls',
 6. enabling this option, saving the modified config,
 7. confirming it is now enabled by grepping .config again

 Sheesh. Really?

 Would be nice if the news item had something like
 CONFIG_FHANDLE (General setup  'open by fhandle syscalls')
 and
 CONFIG_NET (still don't know which one this is??)

 Wackadoo...

 
 When I search FHANDLE in menuconfig I get:
 
   │ Symbol: FHANDLE [=y]
   │ Type  : boolean
   │ Prompt: open by fhandle syscalls
   │   Location:
   │ (1) - General setup
   │   Defined at init/Kconfig:235
   │   Selects: EXPORTFS [=y]
   │   Selected by: GENTOO_LINUX_INIT_SYSTEMD [=y]  GENTOO_LINUX [=y]
  GENTOO_LINUX_UDEV [=y]
 
 This clearly states that the prompt you're looking for is a line that
 says open by fhandle syscalls under General setup
 
 Sure, it's not the absolute simplest interface (i.e. it doesn't give a
 'enable this' in the search results) but it does give all the
 necessary information about a given option to find it (as well as
 dependencies and their current states, etc). The most likely reason
 the news item doesn't list the specific prompt text (or even the
 category) is that, across even sub release versions of the kernel
 those are prone to change (and, at times, drastically) while the
 actual CONFIG_name option tends to be fairly static through time
 once it exists (even when superseded by new toys, i.e. older
 IDE/ATA/ATAPI options vs newer PATA options).

But if you press 1 in the example above you will jump directly to
the menu item. Clue -- (1)

Regards,
-- 
Dan Johansson
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Dynamic service runlevel

2013-11-13 Thread Dan Johansson
On 13.11.2013 06:22, Linlin Yan (颜林林) wrote:
 
 On Sun, Nov 10, 2013 at 6:00 PM, Dan Johansson dan.johans...@dmj.nu wrote:
 On 10.11.2013 09:20, Linlin Yan (颜林林) wrote:
 Is it possible to set dynamic service run-level (rc-update) according to
 different kernel version.

 There are different kernel versions in my grub menu, and I need to switch
 between these versions for development purpose. I currently want to disable
 some services under specific kernel version., but I cannot find where to
 customize this. Any suggestion?

 What I have done is to have two different runlevels (default and kde in
 my case) with different services added to each one (the kde runlevel
 starts X, kde, and som other stuff that I do not have in the default
 level). Then I have added softlevel=kde to the parameters for the kernel.
 Hi Dan,

 Thank you very much! That is very helpful.

 What if I want to change the behaviour of sysinit runlevel? Where
 can I change it to another new runlevel for specific kernel version?

 BTW, the services I want to disable is udev{,-mount} for kernel-2.16.31.

Sorry, I can not help you there.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Dynamic service runlevel

2013-11-10 Thread Dan Johansson
On 10.11.2013 09:20, Linlin Yan (颜林林) wrote:
 Is it possible to set dynamic service run-level (rc-update) according to
 different kernel version.
 
 There are different kernel versions in my grub menu, and I need to switch
 between these versions for development purpose. I currently want to disable
 some services under specific kernel version., but I cannot find where to
 customize this. Any suggestion?

What I have done is to have two different runlevels (default and kde in
my case) with different services added to each one (the kde runlevel
starts X, kde, and som other stuff that I do not have in the default
level). Then I have added softlevel=kde to the parameters for the kernel.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01

2013-09-30 Thread Dan Johansson
On 29.09.2013 20:25, Dale wrote:
 Tanstaafl wrote:
 On 2013-09-29 11:24 AM, Dale rdalek1...@gmail.com wrote:
 Tanstaafl wrote:
 Dale - I'm honestly curious, what is your reason, philisophical or
 technical, for wanting a separate /usr?

 Everything I've read says there is no good reason for it today.
 Separate /home, /tmp, /var, yes, good reasons for t hose... but not
 /usr...

 So, again - why would you prefer switching distro's over merging /usr
 back into / and be done with it?

 The reason is the same I have posted before.  I have / and /boot on
 regular partitions.  Everything else is on LVM.  I don't have / on LVM
 because it would require a init thingy.  I don't have /boot on LVM
 because grub doesn't or didn't support it.  I have since switched to
 grub2 so it may but still have the issue with / so no need redoing
 everything for that.

 Well, I don't see a *reason* to WANT to have /usr on a separate
 partition. I see only THE reason that you have it there NOW.

 Also, logically speaking, if the stated reason for not having / (or
 /boot) on separate LVM partitions is because it would require an init
 thingy, then why can't you simply add /usr to that reason?

 Again, I'm asking for why you WANT it on a separate LVM partition, not
 why it is there now.

 The way I see it, if y ou cannot provide a rational answer to that
 question, then  there is no reason for you to use this as a reason to
 abandon gentoo, only a reason to merge /usr into /...


 
 Simple, I have never had to resize / or /boot before.  I have had to
 resize /usr, /var and /home several times tho.  THAT is the reason.  For
 me, it doesn't matter if it is rational to YOU or not.  I am the one
 doing things on my puter not you or anyone else.  If the init thingy
 fails, that will be me staring at a error message, not you. 

I agree to 100% with you Dale. I have /usr on a separate LVM partition
(I only have, as you, / and /boot on regular partitions) to be able to
easily extend it (which I have been forced to do a few times).
And as my VG-partition starts directly after the /-partition I am not in
the position to extend / to engulf all the data in /usr.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01

2013-09-30 Thread Dan Johansson
On 30.09.2013 20:09, Mark David Dumlao wrote:
 Peeps using LVM:
 If, right now, you were forced to boot into /, without /usr, would you
 be able to manually assemble your usr using pv/vg/lv tools - without
 the assistance of udev?

Sure can!!!



-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


[gentoo-user] FlashPlayer crashes in FireFox

2013-09-09 Thread Dan Johansson
As of lately (I can not really remember since when) FlashPlayer has
stopped working in FireFox.

I'm running an stable AMD64 system with FireFox
(www-client/firefox-17.0.8), FlasPlayer
(www-plugins/adobe-flash-11.2.202.297) and NS-Plugin-Wraper
(www-plugins/nspluginwrapper-1.4.4-r3).

If I emerge the 64bit FlasPlayer I get the following errormessage when
trying to wiev a video on YouTube The Adobe Flash plugin has crashed
and I get the following in the .xsession-errors:

plugin-container: htab.c:83: vlGetDataHTAB: Assertion `handle' failed.
WARNING: pipe error (51): Connection reset by peer: file
/var/tmp/notmpfs/portage/www-client/firefox-17.0.8/work/mozilla-esr17/ipc/chromium/src/chrome/common/ipc_channel_posix.cc,
line 421


If I on the other hand emerge the 32bit version + nspluginwraper nothing
happens in FF (the video-pane just stays black) and I get the
following messages in .xsession-errors:

npviewer.bin: htab.c:83: vlGetDataHTAB: Assertion `handle' failed.
*** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Broken pipe
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2705):invoke_NPP_Write:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2478):invoke_NPP_NewStream:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2550):invoke_NPP_DestroyStream:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2434):invoke_NPP_URLNotify:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2434):invoke_NPP_URLNotify:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2550):invoke_NPP_DestroyStream:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2434):invoke_NPP_URLNotify:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2478):invoke_NPP_NewStream:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2434):invoke_NPP_URLNotify:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
Send additional request to http://www.youtube.com/watch?v=mRbnLYHzsfI

*** NSPlugin Wrapper ***
WARNING:(/var/tmp/portage/www-plugins/nspluginwrapper-1.4.4-r3/work/nspluginwrapper-1.4.4/src/npw-wrapper.c:2219):invoke_NPP_SetWindow:
assertion failed: (rpc_method_invoke_possible(plugin-connection))
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f33d3c27de0 is no
longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f33d3c27de0 is no
longer valid!
*** NSPlugin Wrapper *** ERROR: NPObject proxy 0x7f33d3c27de0 is no
longer valid!

(The last line just keeps repeating)

Any suggestions what my problem could be and how to solve it?

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Optional /usr merge in Gentoo

2013-08-17 Thread Dan Johansson
On 16.08.2013 15:57, Canek Peláez Valdés wrote:
 On Fri, Aug 16, 2013 at 7:29 AM, Alessio Ababilov
 ilovegnuli...@gmail.com wrote:
 2013/8/13 Canek Peláez Valdés can...@gmail.com

 I think it's a great experiment, but perhaps too much work for little
 gain, at least currently.

 Thank you!

 The next council meeting will vote if separated /usr without and
 initramfs is officially supported by Gentoo; I hope this time around
 finally is officially and unequivocally stated by the council that a
 separated /usr without an initramfs is *NOT* supported.

 As I see from
 http://www.gentoo.org/proj/en/council/meeting-logs/20130813.txt, the council
 has stated that it is not supported anymore.
 
 Well, better late than never. It was about time.
 
 The usr-merge will be a slow, gradual change; it will probably take
 years. The systemd package entered the tree in June 2011, after more
 than a year in an overlay, and then it took more than two years to
 make it an official alternative to OpenRC. The /usr merge will take a
 similar amount of time, if not longer.


And when we are at it, why not rename '/' to 'C:\' ?

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [Solved] syslog-ng segfaults

2013-07-18 Thread Dan Johansson
On 19.07.2013 02:53, Randy Barlow wrote:
 Randy Barlow wrote:
 I'll add in that this seems to be happening to all three of my x86_64
 hosts. It does not appear to happen on my x86 host.
 
 I rebooted one of the hosts that was experiencing this issue, and it did
 not return afterwards. This surprises me, as restarting the service did
 not solve the problem. I don't really know what was the cause, but it
 does appear to have gone away. I know that I have not rebooted since I
 upgraded to that particular version, so perhaps there is something odd
 that requires more than just a restart of syslog-ng.

Question: Is this a physical host or is it a virtual host running
under qemu?
Reason for my question ist that recently the CPU-Id presented from quemu
in the guest has changed and if you have CFLAGS=-march=native then
some newly compiles SW could fail. One way to solve this is to change
the CFLAGS to -mtune=native and recompile the affected SW (or world).

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?

2013-07-10 Thread Dan Johansson
On 09.07.2013 20:00, Jarry wrote:
 Hi Gentoo-users,
 
 today I updated syslog-ng on my server. When I checked config
 file, I got this message:
 
 # /etc/init.d/syslog-ng checkconfig
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
 WARNING: Your configuration file uses an obsoleted keyword, please
 update your configuration; keyword='time_sleep', change='time_sleep()
 has been deprecated since syslog-ng 3.3' [ ok ]
 #
 
 So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
 but there is nothing about time_sleep() being obsolete
 or deprecated. Quite on the contrary: it is listed as
 valid option, and even mentioned in the chapter 17
 best practices as a way of handling lots of parallel
 connections.
 
 So how is it then? Is time_sleep() supported and valid,
 or obsolete/deprecated?

I also had some issues when I upgraded to 3.4.
Most of the warnings went away when I changed the version string in
syslog-ng.conf to @version: 3.4.

Just my 2 cents (€)
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


[gentoo-user] syslog-ng changed format of config-file

2013-07-07 Thread Dan Johansson
Today after running an update world (which included syslog-ng-3.2 -
syslog-ng-3.4), I restarted syslog-ng and got the following two messages:

WARNING: Configuration file format is too old, syslog-ng is running in
compatibility mode Please update it to use the syslog-ng 3.4 format at
your time of convinience, compatibility mode can operate less
efficiently in some cases. To upgrade the configuration, please review
the warnings about incompatible changes printed by syslog-ng, and once
completed change the @version header at the top of the configuration file.;
WARNING: global: the default value of log_fifo_size() has changed to
1 in syslog-ng 3.3 to reflect log_iw_size() changes for tcp()/udp()
window size changes;


I do have some customizations in my syslog-ng.conf so I have not yet
installed the quite minimalistic new syslog-ng.conf
(._cfg_syslog-ng.conf).

Does anyone have a link to some good documentation on how to upgrade a
3.2 configuration to 3.4?

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Linux Fiber SAN

2013-06-12 Thread Dan Johansson
On 12.06.2013 06:57, Norman Rieß wrote:
 Am 11.06.2013 16:19, schrieb Nick Khamis:
 Hello Everyone,

 Was wondering what people are running these days, and how do they
 compare to the 10,000 dollar SAN boxes. We are looking to build a fiber
 san using IET and glusterFS, and was wondering what kind of luck people
 where having using this approach, or any for that matter.
 
 the question is, what are you doing with it and why do you think you
 need a fibre channel SAN.
 Our goal indeed is to get rid of the SAN infrastructure as it is
 delicately to all kinds of failure with nearly zero fault tolerance.
 An example, you have an hicup or a power failure in your network. SAN is
 dead from nowon and must be reinitialized on the server. Simple NFS
 comes back up without any fuzz.
 Another, you boot your storage systems due to an os update or something
 like that. Your SAN will be dead. NFS will just go on as if nothing
 happened.
 We use netapp storage systems which are NAS and SAN capable.
 Another point is, that if you have a SAN lun, there is either no way to
 increase or decrease size on the fly, on cifs or nfs you can resize your
 share on the go.
 
 So if you do not have a _really_ good reason to use a fribre channel
 SAN, don't!

Hello,

I tend to disagree. A correctly designed SAN (using dual Fabric among
other things) is a lot more stable and has a lot better performance than
any NAS (NFS, CIFS, iSCSI) solution. One other thing that also needs to
be correctly configured to have a stable SAN infrastructure is the
servers on it (Multipathing, partition alignment, queue depth, ...)
according to the storage vendors recommendation.
LUN expansion/shrink is storage vendor specific, some can not (netapp
apparently) but others can.

Just my 2 cents.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


[gentoo-user] mdev and lvm2

2013-04-07 Thread Dan Johansson
Hello List,

What is the status of using mdev (instead the ever growing udev) together 
with lvm2?
Reason for my question is that at https://wiki.gentoo.org/wiki/Mdev it says  
One beta tester reports getting close with lvm2, but it's not there yet..

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] mdev and lvm2

2013-04-07 Thread Dan Johansson
On Sunday 07 April 2013 13.47:55 Alan Mackenzie wrote:
 Hi, Dan.
 
 On Sun, Apr 07, 2013 at 02:34:16PM +0200, Dan Johansson wrote:
  Hello List,
 
  What is the status of using mdev (instead the ever growing udev)
  together with lvm2?  Reason for my question is that at
  https://wiki.gentoo.org/wiki/Mdev it says  One beta tester reports
  getting close with lvm2, but it's not there yet..
 
 I think that beta tester was me.  I had lvm2 partitions running under
 mdev without problems.  (They were also RAID-1, just for completion's
 sake.)
 
 The only change I had to make was to my /etc/fstab.  Where I previously
 had:
 
/dev/vg/usr /usr options
 
 under udev, I then needed
 
/dev/mapper/vg-usr /usr options
 
 instead.  mdev failed to create the /dev/vg directory.  With this change,
 my system worked quite happily.  Sadly, I went back to udev when
 xf86-input-evdev-2.7.0 started depending on udev, back in June last year. 
Hi Alan,

Thanks for you feedback. 

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] kmod requires modules in kernel??

2013-04-03 Thread Dan Johansson

On Wednesday 03 April 2013 17.10:15 Alan McKinnon wrote:
 On 03/04/2013 14:54, Tanstaafl wrote:
  Ok, I am prepping for the udev update this weekend, getting everything
  updated that doesn't pull in the udev updates.
  
  First thing I did was to eliminate the module-init-toolskmod Blocker:
  
  emerge -C module-init-tools %% emerge kmod
  
  and noted the following warnings/errors:
  
  Checking for suitable kernel configuration options...
  ERROR: setup
CONFIG_MODULES: is not set when it should be.
CONFIG_MODULE_UNLOAD: is not set when it should be.
  
  This is a server, and I do not WANT loadable modules enabled...
  
  So, how do I get rid of this warning/error? Or is this nothing to be
  concerned about if I do not want/need loadable modules?
  
  Thanks
  
 
 
 The warning makes sense and is correct. kmod is a set of tools to
 manipulate kernel modules. It's pointless having it if the kernel does
 not use modules. Therefore, the error check exists.
 
 Furthermore,
 
 $ equery depends kmod
  * These packages depend on kmod:
 sys-fs/udev-200 (kmod ? =sys-apps/kmod-12)
 virtual/modutils-0 (sys-apps/kmod[tools])
 
 
 $ equery depends virtual/modutils
  * These packages depend on virtual/modutils:
 app-emulation/virtualbox-modules-4.2.10 (kernel_linux ?virtual/modutils)
 app-emulation/vmware-modules-271.2 (kernel_linux ? virtual/modutils)
 sys-apps/rescan-scsi-bus-1.56 (virtual/modutils)
 
 $ equery depends rescan-scsi-bus
  * These packages depend on rescan-scsi-bus:
 sys-apps/sg3_utils-1.35 (=sys-apps/rescan-scsi-bus-1.24)
 
 
 $ equery depends sg3_utils
  * These packages depend on sg3_utils:
 media-libs/libgpod-0.8.2 (sys-apps/sg3_utils)
 sys-apps/rescan-scsi-bus-1.56 (=sys-apps/sg3_utils-1.24)
 sys-fs/udisks-1.0.4-r5 (=sys-apps/sg3_utils-1.27.20090411)
 
 
 It's hard to escape those hard masks. Do these steps:
 
 1. File a bug, this behaviour is overly constrictive
 2. Copy kmod to your local overlay and delete the kernel modules check
 3. USE=-kmod

I am having exactly the same issue, server with module-less kernel, USE=-kmod 
set, but portage still wants to pull in virtual/modutils and sys-apps/kmod (and 
I have nothing depending on either of those two).
At the moment I am looking into mdev instead of udev for these servers.
If you open a bug please post the bug# here.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] portage insists in pulling in sys-apps/kmod

2013-03-24 Thread Dan Johansson

On Saturday 23 March 2013 15.06:05 Mike Gilbert wrote:
 On Sat, Mar 23, 2013 at 1:42 PM, Dan Johansson dan.johans...@dmj.nu wrote:
  Hello,
 
  Some of my servers are running with a kernel without module-support.
  On these servers something has started to pull in sys-apps/kmod, which when 
  compiled complains about missing modules-support in the kernel (as it 
  should).
  Doing an equery d sys-apps/kmod I can see that the following two packages 
  depends on sy-apps/kmod:
  sys-fs/udev-197-r8 (kmod ? =sys-apps/kmod-12)
  virtual/modutils-0 (sys-apps/kmod[tools])
 
  sys-fs/udev has -kmod in its USE-flags, so that should not be an issue).
  # emerge --verbose --pretend sys-fs/udev
  [ebuild   R] sys-fs/udev-197-r8  USE=acl openrc -doc -gudev -hwdb 
  -introspection -keymap -kmod (-selinux) -static-libs 0 kB
 
  With virtual/modutils its an other thing, here we have a circular 
  dependency between virtual/modutils and sys-apps/kmod if the tools USE-flag 
  is set.
 
 That circular dep is interesting; sys-apps/kmod only depends on
 virtual/modutils because it inherits linux-mod.eclass.
 
 Could you file about about the circular dependency please?
Bug 462926 (https://bugs.gentoo.org/show_bug.cgi?id=462926) is opened for the 
circular dependency.

My more immediate  question is Why is virtual/modutils  sys-apps/kmod pulled 
in at all? and How can I prevent it?

Here the output of my emerge update

# emerge --update --deep --verbose --reinstall changed-use --with-bdeps y world 
--pretend --tree

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

Calculating dependencies... done!


[nomerge   ] virtual/modutils-0 
[ebuild  N ]  sys-apps/kmod-12-r1  USE=tools zlib -debug -doc -lzma 
-static-libs 0 kB
[ebuild  N ]   virtual/modutils-0  0 kB

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] portage insists in pulling in sys-apps/kmod

2013-03-23 Thread Dan Johansson
Hello,

Some of my servers are running with a kernel without module-support.
On these servers something has started to pull in sys-apps/kmod, which when 
compiled complains about missing modules-support in the kernel (as it should).
Doing an equery d sys-apps/kmod I can see that the following two packages 
depends on sy-apps/kmod:
sys-fs/udev-197-r8 (kmod ? =sys-apps/kmod-12)
virtual/modutils-0 (sys-apps/kmod[tools])

sys-fs/udev has -kmod in its USE-flags, so that should not be an issue).
# emerge --verbose --pretend sys-fs/udev 
[ebuild   R] sys-fs/udev-197-r8  USE=acl openrc -doc -gudev -hwdb 
-introspection -keymap -kmod (-selinux) -static-libs 0 kB  



With virtual/modutils its an other thing, here we have a circular dependency 
between virtual/modutils and sys-apps/kmod if the tools USE-flag is set.

So trying to resolve this a unmreged  virtual/modutils and sys-apps/kmod and 
tried the following:

# USE=-tools emerge --update --deep --verbose --reinstall changed-use 
--with-bdeps y world --pretend --tree

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

Calculating dependencies... done!
[ebuild  N ] virtual/modutils-0  0 kB
[ebuild  N ]  sys-apps/modutils-2.4.27-r1  230 kB

Total: 2 packages (2 new), Size of downloads: 230 kB


# equery d sys-apps/modutils
 * These packages depend on sys-apps/modutils:

# equery d virtual/modutils
 * These packages depend on virtual/modutils:


Can someone explain to me why these two are getting re-emerged (nothing seems 
to depend on them and I have previously unmerged them)?

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Re: udev upgrade renames eth-interfaces

2013-03-17 Thread Dan Johansson

On Saturday 16 March 2013 12.08:23 Canek Peláez Valdés wrote:
 On Sat, Mar 16, 2013 at 11:03 AM, Dan Johansson dan.johans...@dmj.nu wrote:
  On Saturday 16 March 2013 09.39:17 Jonathan Callen wrote:
   Hello,
  
   Today I upgraded udev on one of my boxes (after hesitating a long
   time). Even if  I have /etc/udev/rules.d/80-net-name-slot.rules and
   my old 70-persistent-net.rules in place, my interfaces gets renamed
   (eth0 gets swapped with eth1) which then messes up my whole
   configuration (routing tables and firewall rules). Any suggestion
   how to keep my old names and order?
  Udev, as of version 187, will now refuse to rename a network interface
  to the name of a network interface that already exists -- which, due
  to race conditions, can be the case if you are attempting to rename a
  network device to a name the kernel will later use to name the next
  enumerated device.  The fix for this issue is to *not* use names that
  match eth[0-9]*, wlan[0-9]*, etc. and instead use a name that the
  kernel would *not* automatically assign.  Unfortunately, that means
  that you *cannot* keep your old names and order (upstream claims that
  the means used to ensure those names were used was unreliable and
  prone to race conditions anyway, which, looking at the code, I can
  believe).
  This is great...
  (I hope you can hear the irony)
 
  OK, so I removed the two udev rules (70-persistent-net and 
  80-net-name-slot) files, thinking if this is the way the upstream devs 
  are going then I have to check it out.
 
 That's the smart thing to do.
 
  After removing the udev-rules and rebooting I got my two new network 
  interfaces called enp0s4 and enp0s5 (no idea what that is supposed to mean).
 
 http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 
 http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c
 
 Basically, en is for ethernet, p is for PCI bus, and 0s4 and
 0s5 is for the topology of the cards in your machine: the cards are
 in the PCI bus number 0, slot number 4 and 5. In other words, if you
 do find /sys -name enp0s4, I'm betting you will get something like:
 
 /sys/devices/pci:00/:00:1c.1/:00:004.0/net/enp0s4
 
 The :00:004.0 is the part that determines the naming of yout
 device. This naming is deterministic: as long as you don't move the
 cards from PCI slot, they will be named like that always.
 
  My next step was to replace eth0 with enp0s5 and eth1 with enp0s4 in 
  /etc/conf.d(net and create two new links (net.lo - net.enp0s[45]) in 
  /etc/init.d
  Now I could start the two network interfaces (/etc/init.d/net.enp0s[45] 
  start).
  BUT, as soon as I try to start  some service (sshd, ntpd, ...) that is 
  using the network I get a lot of complains that eth0 and eth1 is not 
  started (and can not be started) and the service wont start.
  What have I missed???
 
 Do you have net.eth0 or net.eth1 in /etc/rc.conf?

No, but I still had the links in /etc/init.d/. Removing those and adding lins 
for enp0s[45] did the trick.

Thanks,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] udev upgrade renames eth-interfaces

2013-03-16 Thread Dan Johansson
Hello,

Today I upgraded udev on one of my boxes (after hesitating a long time).
Even if  I have /etc/udev/rules.d/80-net-name-slot.rules and my old 
70-persistent-net.rules in place, my interfaces gets renamed (eth0 gets swapped 
with eth1) which then messes up my whole configuration (routing tables and 
firewall rules).
Any suggestion how to keep my old names and order?

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***80-net-



Re: [gentoo-user] Re: udev upgrade renames eth-interfaces

2013-03-16 Thread Dan Johansson
On Saturday 16 March 2013 09.39:17 Jonathan Callen wrote:
  Hello,
  
  Today I upgraded udev on one of my boxes (after hesitating a long
  time). Even if  I have /etc/udev/rules.d/80-net-name-slot.rules and
  my old 70-persistent-net.rules in place, my interfaces gets renamed
  (eth0 gets swapped with eth1) which then messes up my whole
  configuration (routing tables and firewall rules). Any suggestion
  how to keep my old names and order?
 Udev, as of version 187, will now refuse to rename a network interface
 to the name of a network interface that already exists -- which, due
 to race conditions, can be the case if you are attempting to rename a
 network device to a name the kernel will later use to name the next
 enumerated device.  The fix for this issue is to *not* use names that
 match eth[0-9]*, wlan[0-9]*, etc. and instead use a name that the
 kernel would *not* automatically assign.  Unfortunately, that means
 that you *cannot* keep your old names and order (upstream claims that
 the means used to ensure those names were used was unreliable and
 prone to race conditions anyway, which, looking at the code, I can
 believe).
This is great...
(I hope you can hear the irony)

OK, so I removed the two udev rules (70-persistent-net and 80-net-name-slot) 
files, thinking if this is the way the upstream devs are going then I have to 
check it out.
After removing the udev-rules and rebooting I got my two new network interfaces 
called enp0s4 and enp0s5 (no idea what that is supposed to mean).
My next step was to replace eth0 with enp0s5 and eth1 with enp0s4 in 
/etc/conf.d(net and create two new links (net.lo - net.enp0s[45]) in 
/etc/init.d
Now I could start the two network interfaces (/etc/init.d/net.enp0s[45] start).
BUT, as soon as I try to start  some service (sshd, ntpd, ...) that is using 
the network I get a lot of complains that eth0 and eth1 is not started (and can 
not be started) and the service wont start.
What have I missed???

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***




Re: [gentoo-user] Shorewall: iptables: No chain/target/match by that name.

2013-02-09 Thread Dan Johansson
On 02/10/13 06:19, Grant wrote:
 I'm getting the following when restarting shorewall:
 
 # /etc/init.d/shorewall restart
  * Stopping firewall ...
  * Starting firewall ...
 iptables: No chain/target/match by that name.
 
 How can I find out which chain/target/match I need to compile into the
 kernel?  shorewall-init.log does not indicate any problems and I have
 LOG_VERBOSITY=2 in shorewall.conf which is the maximum.

I hade the same problem. Using shorewall trace restart I could figure
out which chain/target/match that was missing.

Regards.
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


0x2FB894AD.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


[gentoo-user] Dual-monitor setup changed after update - Monitors half swapped

2012-11-18 Thread Dan Johansson
Hi,

Yesterday I did an emerge --update --deep --verbose --reinstall changed-use 
--with-bdeps y world --pretend as usual (about two weeks since doing the last 
one).
During this upgrade a few X-related libs and programs got updated (list below). 
After this upgrade I have a strange problem with my dual-monitor setup - the 
monitors are half-swapped.
Let me explain what I mean with half-swapped:
I have two monitors setup on my system, acting as one big desktop (KDE by the 
way).
On each monitor I have some icons and widgets (different icons and widgets on 
each monitor).
Before when I moved my mouse to the right edge of the left monitor and it 
continued over to the left edge of the right monitor (as you normally wold 
would have it in a dual-monitor setup).
After the upgrade it is like this:
On each monitor the correct icons and widgets are there (the icons and 
widgets of my left monitor is still on the left monitor, and the same for the 
right one).
BUT: Now I have to move my mouse to the left edge of the left monitor to have 
it to jump to the right edge of the right monitor. This is a little bit 
confusing to say the least.
What I also have noticed is the the KDE-Pager shows the open windows on the 
wrong side of the desktop-icon.

Here is the list with the updated packages:
x11-base:xorg-drivers-1.13
x11-base:xorg-server-1.13.0-r1
x11-drivers:nvidia-drivers-304.60
x11-drivers:xf86-input-evdev-2.7.3
x11-drivers:xf86-video-nv-2.1.20
x11-libs:cairo-1.10.2-r3
x11-libs:libXaw-1.0.11-r1
x11-libs:libXfont-1.4.5-r1
x11-libs:libXrandr-1.4.0
x11-libs:libdrm-2.4.40
x11-libs:libvdpau-0.5
x11-libs:libxcb-1.9
x11-libs:pixman-0.28.0
x11-libs:xcb-util-0.3.9
x11-misc:xkeyboard-config-2.7
x11-proto:dri2proto-2.8
x11-proto:randrproto-1.4.0
x11-proto:xcb-proto-1.8

Anny suggestions?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Dual-monitor setup changed after update - Monitors half swapped

2012-11-18 Thread Dan Johansson
Hi again,

Sorry for the waste of bandwidth.
I had forgotten that there is also a configuration setting in KDE which monitor 
that is right/left of the other and not only in xorg.conf.
Changing it in xorg.con swapped the icons and widgets as well, changing it in 
KDE did not affect the placement of the icons/widgets.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***
On Sunday 18 November 2012 10.55:01 Dan Johansson wrote:
 Hi,
 
 Yesterday I did an emerge --update --deep --verbose --reinstall changed-use 
 --with-bdeps y world --pretend as usual (about two weeks since doing the 
 last one).
 During this upgrade a few X-related libs and programs got updated (list 
 below). After this upgrade I have a strange problem with my dual-monitor 
 setup - the monitors are half-swapped.
 Let me explain what I mean with half-swapped:
 I have two monitors setup on my system, acting as one big desktop (KDE by the 
 way).
 On each monitor I have some icons and widgets (different icons and widgets on 
 each monitor).
 Before when I moved my mouse to the right edge of the left monitor and it 
 continued over to the left edge of the right monitor (as you normally wold 
 would have it in a dual-monitor setup).
 After the upgrade it is like this:
 On each monitor the correct icons and widgets are there (the icons and 
 widgets of my left monitor is still on the left monitor, and the same for the 
 right one).
 BUT: Now I have to move my mouse to the left edge of the left monitor to have 
 it to jump to the right edge of the right monitor. This is a little bit 
 confusing to say the least.
 What I also have noticed is the the KDE-Pager shows the open windows on the 
 wrong side of the desktop-icon.



Re: [gentoo-user] Another plan for /usr and udev-181

2012-04-14 Thread Dan Johansson
On Friday 13 April 2012 18.44:37 fe...@crowfix.com wrote:
 1.  Configure the next kernel with the necessary initramfs flags, then
 have two grub entries for the same kernel: one with the initramfs
 and one without.  Initially I will make the initramfs do something
 innocuous, and leave /usr as a separate /etc/fstab entry mounted
 in the old fashioned way.
 
 2.  Make sure boot works the old fashioned way, without initramfs.
 
 3.  Make sure boot works the new fangled way, with initramfs.
 
 4.  Create some temporary lvm partition and make sure the new fangled
 initramfs mounts it during boot without an /etc/fstab entry.
 
 5.  Remove /usr from /etc/fstab and put it in the initramfs, and make
 sure that boot works.
 
 6.  Merge udev-181 and whatever else is needed.
 
 7.  Cross my fingers, sacrifice a virtual goat, and try a reboot.
 
 Somewhere between 6 and 7 is the worst part; no simple way to revert
 and retry.  Everything up til then should require no more than a
 simple /etc/fstab edit.
 
 Is there any way to add more steps between 6 and 7 to allow more
 reversability?
 
 Have I left out any steps, between 6 and 7 or anywhere else?

I have done also something like this.
I still have /usr in fstab (with the noauto option) just for reference.
The only thing (that I have noticed yet) is that the /etc/init.d/lvm fails due 
to the fact that LVM is already started (in initramfs).

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] KDE Upgrade (4.7.4 - 4.8.1) changes behavior of new tab button in Konsole

2012-04-14 Thread Dan Johansson
Yesterday I did the upgrade of KDE (4.7.4 - 4.8.1) on my stable workstation.
Now the new tab button in Konsole opens a new tab with the _default_ profile 
instead of opeing a new tab with the _current_ profile like it did before.
This is most annoying as I have one profile for each machine/user I manage and 
until now I could just click the new tab button and get a new window on the 
host that I am currently logged into.
Is there any parameter to restore the old behavior or is this hard-coded (I 
really hope not or I will have to start looking for a new terminal emulator 
with tabs that work like I want it).

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] KDE Upgrade (4.7.4 - 4.8.1) changes behavior of new tab button in Konsole

2012-04-14 Thread Dan Johansson
On Saturday 14 April 2012 12.01:13 Dan Johansson wrote:
 Yesterday I did the upgrade of KDE (4.7.4 - 4.8.1) on my stable 
 workstation.
 Now the new tab button in Konsole opens a new tab with the _default_ 
 profile instead of opeing a new tab with the _current_ profile like it did 
 before.
 This is most annoying as I have one profile for each machine/user I manage 
 and until now I could just click the new tab button and get a new window on 
 the host that I am currently logged into.
 Is there any parameter to restore the old behavior or is this hard-coded (I 
 really hope not or I will have to start looking for a new terminal emulator 
 with tabs that work like I want it).

F.Y.I.
I posted the same question on the KDE-User mailing list and got the following 
answer:

quote
For the 4.8.x series, there is no way. See
https://bugs.kde.org/show_bug.cgi?id=184788 for why the old behavior
is sometimes problematic.

A new action Clone Tab has been added in the development version,
which is dedicated for that handy/confusing behavior. See
https://bugs.kde.org/show_bug.cgi?id=292518 .

If this change is unbearable for you and you can't wait for KDE SC
4.9, you can build from source code either the older version or the
development version. You can get the source code of Konsole from
https://projects.kde.org/projects/kde/kde-baseapps/konsole/repository.
Checkout the master branch or the v4.7.4 tag. If you are unfamiliar
with building KDE applications, take a look at
http://techbase.kde.org/Getting_Started/Build/Example.
/quote

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] lvm failed to start

2012-04-05 Thread Dan Johansson
ectrons!
***
On Thursday 05 April 2012 00.36:33 Neil Bothwick wrote:
 On Wed, 04 Apr 2012 18:58:38 +0200, Dan Johansson wrote:
 
  I have a similar thing on my ~x86, but the difference is that I know
  why I get it. I have successfully be able to create an initramfs that
  does a vgscan, vgchange -a y and mounts /usr (which is on LVM). But now
  I (naturally) I get LVM failed to start (and of cause failed to
  mount /usr) when openrc processes the init-scripts.
 
 This is not down to your initramfs, see the previously linked bug.

What do you mean by This is not down to your initramfs?
With the new C:\ concept of udev /usr needs to be mounted before /sbin/init 
is run and as I am using LVM, LVM needs to be started before /sbin/init as well 
- or have I missed something here?

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled el



Re: [gentoo-user] lvm failed to start

2012-04-04 Thread Dan Johansson
On Tuesday 03 April 2012 18.09:26 walt wrote:
 This is an ~amd64 machine, up to date as of today.  The strange thing
 is that lvm did *not* fail to start -- it's working perfectly.
 
 Now, being an Incorrigible Old Fart(TM) I'm still using openrc, and
 who knows what evil lurks in that paleolithic package?  :p
 
 Anyone else getting this (false) alarm during boot?
I have a similar thing on my ~x86, but the difference is that I know why I get 
it.
I have successfully be able to create an initramfs that does a vgscan, vgchange 
-a y and mounts /usr (which is on LVM).
But now I (naturally) I get LVM failed to start (and of cause failed to 
mount /usr) when openrc processes the init-scripts.
So, my question is really - should I remove lvm from the init-process and put 
noauto in /etc/fstab for /usr?
Even if it is on my playground box I still want to be able to boot it.
When these two issues are solved I'm going to let my system update udev.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Dan Johansson
Hi,

After running an update yesterday (about 50 packages) on my ~x86 laptop, wicd 
stopped working, and no wicd was not updated neither was any other network 
related packages.
Today after a reboot my wireless network refused to start from wicd, starting 
it manually works.
This is a part of the wicd.log:

2012/02/26 09:53:51 :: enctype is wpa
2012/02/26 09:53:51 :: Generating psk...
2012/02/26 09:53:51 :: ['/usr/bin/wpa_passphrase', 'DMJ', 
'Do_not_care_about_this']
2012/02/26 09:53:51 :: Attempting to authenticate...
2012/02/26 09:53:51 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', 
'/var/lib/wicd/configurations/000f90ac2780', '-D', dbus.String(u'wext', 
variant_level=1)]
2012/02/26 09:53:51 :: ['iwconfig', 'wlan0', 'essid', '--', 'DMJ']
2012/02/26 09:53:51 :: iwconfig wlan0 channel 13
2012/02/26 09:53:51 :: iwconfig wlan0 ap 00:0F:90:AC:27:80
2012/02/26 09:53:51 :: WPA_CLI RESULT IS DISCONNECTED
2012/02/26 09:53:52 :: WPA_CLI RESULT IS COMPLETED
2012/02/26 09:53:52 :: Running DHCP with hostname mutgdjoda1
2012/02/26 09:53:52 :: /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0 
2012/02/26 09:53:52 :: dhcpcd[12434]: sending commands to master dhcpcd process
2012/02/26 09:53:52 :: 
2012/02/26 09:53:52 :: 
2012/02/26 09:53:52 :: DHCP connection successful
2012/02/26 09:53:52 :: not verifying
2012/02/26 09:53:52 :: Connecting thread exiting.
2012/02/26 09:53:52 :: ifconfig wlan0
2012/02/26 09:53:52 :: IP Address is: None
2012/02/26 09:53:52 :: Sending connection attempt result success
2012/02/26 09:53:52 :: ifconfig eth0
2012/02/26 09:53:52 :: iwconfig wlan0
2012/02/26 09:53:52 :: Forced disconnect on
2012/02/26 09:53:52 :: /sbin/dhcpcd -k wlan0


Running the commands by hand everything works:

# wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/000f90ac2780 -D 
wext

# wpa_cli status
Selected interface 'wlan0'
bssid=00:0f:90:ac:27:80
ssid=DMJ
id=0
mode=station
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
ip_address=192.168.1.21

# /sbin/dhcpcd -h mutgdjoda1 --noipv4ll wlan0
dhcpcd[28962]: sending commands to master dhcpcd process

# ifconfig wlan0
wlan0: flags=4163UP,BROADCAST,RUNNING,MULTICAST  mtu 1500  metric 1
inet 192.168.1.21  netmask 255.255.255.0  broadcast 192.168.1.255
ether 00:18:de:e1:c9:71  txqueuelen 1000  (Ethernet)
RX packets 128  bytes 21081 (20.5 KiB)
RX errors 0  dropped 20  overruns 0  frame 0
TX packets 143  bytes 24546 (23.9 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And my wireless connection works!

Anny suggestions what's wrong?

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 10.52:58 Willie WY Wong wrote:
 On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon 
 squawked:
  On Sun, 26 Feb 2012 10:19:56 +0100
  Dan Johansson dan.johans...@dmj.nu wrote:
   After running an update yesterday (about 50 packages) on my ~x86
   laptop, wicd stopped working, and no wicd was not updated neither was
   any other network related packages. Today after a reboot my wireless
   network refused to start from wicd, starting it manually works. This
   is a part of the wicd.log:
   
  I'm having similar issues with an Intel N6300 since a reboot.
  
  In my case it fails with this:
  
  [   76.232020] wlan0: deauthenticating from
  xx:xx:xx:xx:xx:xx by local choice (reason=3)
  
  Which means something deauthed the connection in the meantime. This
  happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
  
 
 You guys are almost certainly running into the same problem as the one
 I mentioned in the thread I just started. 
 
 Try `pkill dhcpcd` and associate again. 
 
 Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
 to start on boot. 

Yes, that was it, killing the dhcpcd made it possible to bring the interface up 
and associate with the AP.
As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I 
assume (guess) that is why dhcpcd gets started at boot.
Now I just have to figure out a way to stop this from happening.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 15.19:54 Willie WY Wong wrote:
 On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong 
 squawked:
  Can someone help me figure out how to find the offending initscript that is 
  needlessly calling dhcpcd? 
 
 Apparently the culprit is /etc/init.d/netmount
 I am not sure how it got into the default run level, since I don't use
 any network file systems on my netbook. 

And on my laptop the culprit seems to be /etc/init.d/sshd

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 17.52:13 Dan Johansson wrote:
 On Sunday 26 February 2012 15.19:54 Willie WY Wong wrote:
  On Sun, Feb 26, 2012 at 10:35:35AM +0100, Penguin Lover Willie WY Wong 
  squawked:
   Can someone help me figure out how to find the offending initscript that 
   is 
   needlessly calling dhcpcd? 
  
  Apparently the culprit is /etc/init.d/netmount
  I am not sure how it got into the default run level, since I don't use
  any network file systems on my netbook. 
 
 And on my laptop the culprit seems to be /etc/init.d/sshd

At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
/etc/rc.conf
which prevents dhcpcd to start when sshd is started.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] wicd will not connect to wireless network

2012-02-26 Thread Dan Johansson
On Sunday 26 February 2012 13.43:13 Dan Johansson wrote:
 On Sunday 26 February 2012 10.52:58 Willie WY Wong wrote:
  On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon 
  squawked:
   On Sun, 26 Feb 2012 10:19:56 +0100
   Dan Johansson dan.johans...@dmj.nu wrote:
After running an update yesterday (about 50 packages) on my ~x86
laptop, wicd stopped working, and no wicd was not updated neither was
any other network related packages. Today after a reboot my wireless
network refused to start from wicd, starting it manually works. This
is a part of the wicd.log:

   I'm having similar issues with an Intel N6300 since a reboot.
   
   In my case it fails with this:
   
   [   76.232020] wlan0: deauthenticating from
   xx:xx:xx:xx:xx:xx by local choice (reason=3)
   
   Which means something deauthed the connection in the meantime. This
   happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
   
  
  You guys are almost certainly running into the same problem as the one
  I mentioned in the thread I just started. 
  
  Try `pkill dhcpcd` and associate again. 
  
  Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
  to start on boot. 
 
 Yes, that was it, killing the dhcpcd made it possible to bring the interface 
 up and associate with the AP.
 As openrc was one of the packages upgraded yesterday (0.9.8.4 - 0.9.9.1) I 
 assume (guess) that is why dhcpcd gets started at boot.
 Now I just have to figure out a way to stop this from happening.

The problems seems to be that dhcpcd was started automatically as soon as a 
service needed the network - in my case dhcpcd was started due to 
/etc/init.d/sshd.
At the moment I have solved it with putting rc_dhcpcd_provide=!net in 
/etc/rc.conf
which prevents dhcpcd to start when sshd is started and wicd can now do it's 
magic.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] netmount vs. nfsmount

2012-01-29 Thread Dan Johansson
Hi,

I have noticed that I have two init scripts for mounting NFS filesystems, 
netmount from sys-apps/openrc and nfsmount from net-fs/nfs-utils.
At the moment I have both of them in my default bootlevel but I think that 
just one of them would be enough, am I right?
And if so, which one should I choose (which is more up to date). I am mainly 
using NFSv4.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread Dan Johansson
On Tuesday 20 December 2011 19.43:42 Nikos Chantziaras wrote:
 On 12/20/2011 07:34 PM, Michael Mol wrote:
  On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOnereall...@hmamail.com  wrote:
  Hi,
  
   From where the word gentoo came into existence?
  
  Gentoo is a species of penguin.
 
 troll_mode
 No.  Gentoo is an anagram for net goo.  Furthermore, Gentoo Linux is
 an anagram for Tux, go online.  This why Gentoo was chosen.
 /troll_mode

Stupid me, I thought that is was because of this They (Gentoo penguin) are 
the fastest underwater swimming penguins, reaching speeds of 36 km/h. Gentoo 
are adapted to very harsh cold climates.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] KMail skips messages in some folders when clicking Next (or pressing +)

2011-12-17 Thread Dan Johansson
I upgraded to KMail 4.7.3 some days ago and now i have a small but annoying 
problem. I have configured KMail to When trying to find unread messages: Loop 
in All Folders and it mostly works as expected. BUT some folders/messages get 
skipped when I click Next Unread Message or press +. I have not set any 
special parameters for these skipped folders. All my messages and folders 
reside on a local IMAP-server (courier).

Any suggestion why some folders are skipped and where to look for a solution.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] wicd and net-tools

2011-11-27 Thread Dan Johansson

On Sunday 27 November 2011 02.02:54 Paul Hartman wrote:
 On Fri, Nov 25, 2011 at 4:58 PM, Allan Gottlieb gottl...@nyu.edu wrote:
  In the last day or two wicd broke badly due to a net-tools upgrade.
  
  The recommended workarounds are to specify USE=old-output
  for net-tools or to downgrade net-tools one version (I am ~amd64).
  
  Neither of these have helped me.  Wicd cannot start either the
  wired or wireless interface.
 
 I have no solution, but just a me too that wicd-based networking
 stopped working entirely after I emerged some updates a couple days
 ago. My short-term solution was just stop wicd and use the old-style
 net init script instead since I haven't had time to research any this
 weekend yet.

I had the same issue after upgrading net-tools, wicd stoped working.
While googling for a solution I found a workaround: Use the ioctl backend 
instead of the external backend.
For me this workaround works.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Dan Johansson
  This is definitely not a choice that the gentoo disto made; it is coming
  from several upstreams.
 
 I know it is from upstream but it still tastes really bad.   ;-)

I can only agree!
I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
This will be a MAJOR issue if /usr needs to be on /.

Just my 2 cents.
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] update world with emul-linux-x86 blocks

2011-09-03 Thread Dan Johansson
Since some time I am getting the following errors while doing update world on 
my dektop machine (running amd64 stable):

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

Calculating dependencies... done!
[ebuild U  ] app-emulation/emul-linux-x86-baselibs-20110722 [20110129] 
USE=-development 34,381 kB
[ebuild U  ] app-emulation/emul-linux-x86-opengl-20110722 [20110129-r1] 
USE=-development 44,036 kB
[ebuild U  ] app-emulation/emul-linux-x86-xlibs-20110722 [20110129] 
USE=opengl -development 2,586 kB
[ebuild U  ] app-emulation/emul-linux-x86-gtklibs-20110722 [20110129] 
USE=-development 4,714 kB
[ebuild U  ] app-emulation/emul-linux-x86-medialibs-20110722 [20110129] 
USE=-development 7,874 kB
[ebuild U  ] app-emulation/emul-linux-x86-soundlibs-20110722 [20110129] 
USE=alsa -development -pulseaudio 5,966 kB
[ebuild U  ] app-emulation/emul-linux-x86-qtlibs-20110722 [20110129] 
USE=-development 16,626 kB

Total: 7 packages (7 upgrades), Size of downloads: 116,180 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

app-emulation/emul-linux-x86-xlibs:0

  (app-emulation/emul-linux-x86-xlibs-20110129::gentoo, installed) pulled in 
by
~app-emulation/emul-linux-x86-xlibs-20110129 required by (app-
emulation/emul-linux-x86-motif-20110129::gentoo, installed)

  (app-emulation/emul-linux-x86-xlibs-20110722::gentoo, ebuild scheduled for 
merge) pulled in by
~app-emulation/emul-linux-x86-xlibs-20110722 required by (app-
emulation/emul-linux-x86-medialibs-20110722::gentoo, ebuild scheduled for 
merge)
(and 2 more with the same problem)

app-emulation/emul-linux-x86-baselibs:0

  (app-emulation/emul-linux-x86-baselibs-20110722::gentoo, ebuild scheduled 
for merge) pulled in by
~app-emulation/emul-linux-x86-baselibs-20110722 required by (app-
emulation/emul-linux-x86-xlibs-20110722::gentoo, ebuild scheduled for merge)
(and 4 more with the same problem)

  (app-emulation/emul-linux-x86-baselibs-20110129::gentoo, installed) pulled 
in by
~app-emulation/emul-linux-x86-baselibs-20110129 required by (app-
emulation/emul-linux-x86-xlibs-20110129::gentoo, installed)
-8

What would be the correct way to resolve this issue?
I am a little bit afraid to start unmerging any of these packages as among 
other things sys-boot/grub depends on some of them.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] update world with emul-linux-x86 blocks

2011-09-03 Thread Dan Johansson
-On Saturday 03 September 2011 12.31:01 Mick wrote:
 On Saturday 03 Sep 2011 10:17:19 Dan Johansson wrote:
  Since some time I am getting the following errors while doing update
  world on my dektop machine (running amd64 stable):
  -8--
  
  What would be the correct way to resolve this issue?
  I am a little bit afraid to start unmerging any of these packages as
  among other things sys-boot/grub depends on some of them.
  
  Regards,
 
 Have you looked at this thread?
 
 http://article.gmane.org/gmane.linux.gentoo.user/246133

OOuuppss!
Missed that one :-(

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



  1   2   3   >