Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Rainer, Aitor and All, netman-gui.postinst now is debugged to behave properly when dpkg-reconfigure is used on netman-gui. sed is still adding an unneccessary leading space in lines Exec= and Comment= in both .desktop files. I was suggested to drop one of the .desktop files and use a symlink

Re: [DNG] PAM usage (Was: Giving Devuan sans-initramfs capabilities)

2016-01-06 Thread Aldemir Akpinar
On 6 January 2016 at 20:29, Didier Kryn wrote: > Le 06/01/2016 17:13, Teodoro Santoni a écrit : > >> PAM is a problem, the cups behaviour is another. >> My problem is to run things as, for example, my cheap >> hp printer without systemd. >> Next may come hplip through lprng or lpr. >> I talk abou

Re: [DNG] netman-gtk3: invalid pointer error

2016-01-06 Thread Irrwahn
On Wed, 06 Jan 2016 20:05:12 +0100, Aitor Czr wrote: > On 01/06/2016 07:59 PM, Edward Bartolo wrote: >> Hi, >> >> I can't free the memory of some pointers ( *cad2 and *res) in >> netman-gtk3. This is what i get: >> >> ~$ gcc main.c -o main >> >> ~$ ./main >> *** Error in `./main': munmap_chunk():

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Rainer Weikusat
Edward Bartolo writes: > Enjoy yourself, I am working on it. I think, I got a way of putting it > right. There are two .desktop files that control how netman gui > behaves: > a) /etc/xdg/autostart/netman.desktop > b) /usr/share/applications/netman.desktop > > The netman-gui.postinst script has to

Re: [DNG] netman-gtk3: invalid pointer error

2016-01-06 Thread aitor_czr
On 01/06/2016 07:59 PM, Edward Bartolo wrote: Hi, I can't free the memory of some pointers ( *cad2 and *res) in netman-gtk3. This is what i get: ~$ gcc main.c -o main ~$ ./main *** Error in `./main': munmap_chunk(): invalid pointer: 0x01bfdab4 *** Aborted See the comented lines 119 a

[DNG] netman-gtk3: invalid pointer error

2016-01-06 Thread aitor_czr
Hi, I can't free the memory of some pointers ( *cad2 and *res) in netman-gtk3. This is what i get: ~$ gcc main.c -o main ~$ ./main *** Error in `./main': munmap_chunk(): invalid pointer: 0x01bfdab4 *** Aborted See the comented lines 119 and 120 in the attached file. The textual ou

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Aitor, Enjoy yourself, I am working on it. I think, I got a way of putting it right. There are two .desktop files that control how netman gui behaves: a) /etc/xdg/autostart/netman.desktop b) /usr/share/applications/netman.desktop The netman-gui.postinst script has to modify both of them. If ne

Re: [DNG] PAM usage (Was: Giving Devuan sans-initramfs capabilities)

2016-01-06 Thread Didier Kryn
Le 06/01/2016 17:13, Teodoro Santoni a écrit : >Avoids cups, don't give me anything than making the actual processing >hidden and obscure. Cups is a big black box for me, but this is not the only one (iceweasel, gcc, ssh...) . For sure it is not like an lpr client which you might craft in

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread aitor_czr
Hi Edward, Rainer On 01/06/2016 04:58 PM, Edward Bartolo wrote: Maybe, this can shed some light on what is causing this problem. The >first time dpkg-reconfigure is used on netman-gui it doesn't exit >complaining the netman.desktop file is not found. This may mean the >netman.desktop file is be

Re: [DNG] PAM usage (Was: Giving Devuan sans-initramfs capabilities)

2016-01-06 Thread Didier Kryn
Le 06/01/2016 17:13, Teodoro Santoni a écrit : PAM is a problem, the cups behaviour is another. My problem is to run things as, for example, my cheap hp printer without systemd. Next may come hplip through lprng or lpr. I talk about my printer but dunno, may run wayland someday, or have my family

Re: [DNG] PAM usage (Was: Giving Devuan sans-initramfs capabilities)

2016-01-06 Thread karl
Teodoro Santoni: > 2016-01-06 10:09 GMT+01:00, k...@aspodata.se : > > More like, how can I avoid things that people with good intentions push > > on me so I have to waste my time and work to work around it... > > Yeah. Great, welcome to the club :) > > Avoids cups, don't give me anything than ma

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Rainer, Thanks so far. The netman-gui.postinst is adding the Exec= line without removing the previous one. It is also doing the same thing with the Comment= line. Here is what netman.desktop looks like: - [Desktop Entry] Categories=Application;Network; Exec=netman Exec=net

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Rainer Weikusat
Edward Bartolo writes: > > I did more edits to the netman-gui.postinst script as follows: > > > 2) db_get netman-gui/netman-autostart > if [ "$RET" = "true" ]; then > file="/etc/xdg/autostart/netman.desktop"; > cp /usr/

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Rainer, I did more edits to the netman-gui.postinst script as follows: 2) db_get netman-gui/netman-autostart if [ "$RET" = "true" ]; then file="/etc/xdg/autostart/netman.desktop"; cp /usr/share/applications/ne

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Rainer, I edited the netman-gui.postinst script. I am attaching it to this email as I am not an experienced bash script programmer. You can view it in the attachment. netman GUI use --no-tray-icon and --auto-conn parameters. If --no-tray-icon is used netman GUI does not use a tray icon. Autoc

Re: [DNG] upgrade to devuan

2016-01-06 Thread Vicente Vera
Hi, Yes, I follow you. Now that I remember about this thread, I just closed an issue opened in this package repository that was based on my previous bogus interpretation. Thanks for the reminder ;> 2016-01-05 8:24 GMT-03:00 aitor_czr : > Hi Vicente, > > On 01/05/2016 10:58 AM, Vicente Vera wrote

Re: [DNG] PAM usage (Was: Giving Devuan sans-initramfs capabilities)

2016-01-06 Thread Teodoro Santoni
Good afternoon, 2016-01-06 10:09 GMT+01:00, k...@aspodata.se : > More like, how can I avoid things that people with good intentions push > on me so I have to waste my time and work to work around it... Yeah. > Avoids cups, don't give me anything than making the actual processing > hidden and obs

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Rainer Weikusat
Edward Bartolo writes: > Maybe, this can shed some light on what is causing this problem. The > first time dpkg-reconfigure is used on netman-gui it doesn't exit > complaining the netman.desktop file is not found. This may mean the > netman.desktop file is being deleted by a script called by > dpk

Re: [DNG] Netman debugging of installation scripts.

2016-01-06 Thread Edward Bartolo
Hi, Maybe, this can shed some light on what is causing this problem. The first time dpkg-reconfigure is used on netman-gui it does NOT exit complaining the netman.desktop file is not found. This may mean the netman.desktop file is being deleted by a script called by dpkg-reconfigure, maybe, netman

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi, Maybe, this can shed some light on what is causing this problem. The first time dpkg-reconfigure is used on netman-gui it doesn't exit complaining the netman.desktop file is not found. This may mean the netman.desktop file is being deleted by a script called by dpkg-reconfigure, maybe, netman-

[DNG] Netman debugging of installation scripts.

2016-01-06 Thread Edward Bartolo
Hi Aitor, I 'git pushed' all my remaining local commits to netman. For an ordinary installation involving autostarting and autoconnecting, netman works as intended. However, using dpkg-reconfigure netman-gui to change settings results in unexpected results like netman-gui autostarting when it is s

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Aitor, I replaced my version of debian/netman-gui.postinst by your version and still I am getting the same behaviour. If after installing netman I use dpkg-reconfigure it fails with the same error. mv: cannot stat ‘/usr/share/applications/netman.desktop’: No such file or directory Edward On

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Aitor, Netman succeeded to autostart and autoconnect even though /usr/share/applications/ does not contain the netman.desktop file. However, dpkg-reconfigure netman-gui fails with the complaint: root@edbarx-pc:/home/edbarx# dpkg-reconfigure netman-gui mv: cannot stat ‘/usr/share/applications/

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Edward Bartolo
Hi Aitor, I am trying to add your latest netman patch so that users would be able to choose how to start and configure netman. I manually applied your netman-gui.postinst patch. The .deb packages thus produced do install but /usr/share/applications/netman.desktop is not created. What is wrong? I

Re: [DNG] Giving Devuan sans-initramfs capabilities

2016-01-06 Thread karl
Aitor: > On 01/06/2016 10:10 AM, Daniel Reurich wrote: > > choosing configuration is the hard part. > You are right :) So then, it's there we should share our knowledge. Regards, /Karl Hammar --- Aspö Data Lilla Aspö 148 S-742

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread Svante Signell
On Wed, 2016-01-06 at 12:22 +0100, aitor_czr wrote: > Hi Edward, > >  > > What is wrong? I opened the patch with medit to view the offending > > characters. In case understanding the cause of this issue an unjustied > > long time, I can always apply the patch manually by editing text > > directly.

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread aitor_czr
Hi Edward, On 05/01/2016, Edward Bartolo wrote: Hi Aitor, Sorry for taking so long to resume work on netman. At the moment I am trying to apply your netman debconf patch. However, git apply --index ../aitor/debconf-41822e0-27.12.2015.patch is failing complaining that: ../aitor/debconf-41822e0

Re: [DNG] Giving Devuan sans-initramfs capabilities

2016-01-06 Thread aitor_czr
On 01/06/2016 10:10 AM, Daniel Reurich wrote: choosing configuration is the hard part. You are right :) -- Aitor. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] netman-autostart_0.1.1

2016-01-06 Thread aitor_czr
Hi Edward, On 01/06/2016 08:10 AM, Edward Bartolo wrote: Hi, Since I received no replies I will attempt a manual edit of netman-gui.postinst keeping debconf-41822e0-27.12.2015.patch as a guide. Trying to persuade the patching software to accept the patch is more likely to be time consuming, the

Re: [DNG] Giving Devuan sans-initramfs capabilities

2016-01-06 Thread karl
Daniel Reurich: > On 06/01/16 07:55, k...@aspodata.se wrote: > > Rainer Weikusat: > > ... > >> The sensible way to handle this is really "the distribution ships a > >> kernel which optionally supports everything" (via aggressive > >> modularization) and people who think they want/ need more control

Re: [DNG] PAM usage (Was: Giving Devuan sans-initramfs capabilities)

2016-01-06 Thread karl
Teodoro Santoni: ... > I'm asking if someone use PAMs daily, because I suspect that I can > answer "patch any kind of strange permission code away, everywhere" > to the "how can I waste my time and work happily with Linux OSes > installed on my pc without any trace of systemd code but have cups > a